cmon silently fails if addr is wrong in ceph.conf (0.20.1)
hi
i missconfigured the mon addr in ceph.conf. /etc/init.d/ceph did not show any errors - seemd to start. but cmon did not start.
i've "straced" cmon:
bind(6, {sa_family=AF_INET, sin_port=htons(6789), sin_addr=inet_addr ("192.168.32.61")}, 16) = -1 EADDRNOTAVAbind(6, {sa_family=AF_INET, sin_port=htons(6789), sin_addr=inet_addr("192.168.32.61")}, 16) = -1 EADDRNOTAVAIL (Cannot assign requested address)IL (Cannot assign requested address)
A descriptive error message would be cool.
- Thomas
Hi Thomas,
Quoted 5 lines · Thomas Mueller
i missconfigured the mon addr in ceph.conf.
/etc/init.d/cephdid not show any errors - seemd to start. but cmon did not start.i've "straced" cmon:
Quoted 7 lines
bind(6, {sa_family=AF_INET, sin_port=htons(6789), sin_addr=inet_addr ("192.168.32.61")}, 16)= -1EADDRNOTAVAbind(6, {sa_family=AF_INET, sin_port=htons(6789), sin_addr=inet_addr("192.168.32.61")}, 16)= -1 EADDRNOTAVAIL (Cannot assign requested address)IL (Cannot assign requested address)A descriptive error message would be cool.
I pushed a fix to the unstable and testing branches.5D
Thanks!
sage