All of lore.kernel.org
 help / color / mirror / Atom feed
* cmon silently fails if addr is wrong in ceph.conf (0.20.1)
@ 2010-05-28  7:47 Thomas Mueller
  2010-05-28 20:57 ` Sage Weil
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Mueller @ 2010-05-28  7:47 UTC (permalink / raw)
  To: ceph-devel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cmon silently fails if addr is wrong in ceph.conf (0.20.1)
  2010-05-28  7:47 cmon silently fails if addr is wrong in ceph.conf (0.20.1) Thomas Mueller
@ 2010-05-28 20:57 ` Sage Weil
  0 siblings, 0 replies; 2+ messages in thread
From: Sage Weil @ 2010-05-28 20:57 UTC (permalink / raw)
  To: Thomas Mueller; +Cc: ceph-devel

Hi Thomas,

On Fri, 28 May 2010, Thomas Mueller wrote:
> 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.

I pushed a fix to the unstable and testing branches.5D

Thanks!
sage

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-28 20:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-28  7:47 cmon silently fails if addr is wrong in ceph.conf (0.20.1) Thomas Mueller
2010-05-28 20:57 ` Sage Weil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.