Hab 0.57.0: hab config apply issue

Hi, I’m having an issue with 0.57, using a hab supervisor per node just to start/monitor/update local services, I’m currently binding the listen-http/listen-gossip to a specific private ip (let’s say 192.168.0.10).

When invoking hab config apply I previously used (with hab 0.55.0) the --peer option, now that this option is gone, it fails with the message: [Err: 0] Cannot send message through ZMQ socket: Resource temporarily unavailable.

It looks to me the listen-gossip option from the supervisor is somehow not used when invoking things via the Control Gateway.

When starting the supervisor without changing listen-gossip/listen-http, hab apply config works as expected.

Any idea how to fix it?

@christophermaier - do you have any insights here?

From what I can see in the code, it seems the butterfly endpoint address is hardcoded to 127.0.0.1 (while the port is correctly taken from the config) : https://github.com/habitat-sh/habitat/blob/master/components/sup/src/manager/mod.rs#L873

@JonathanTron Ugh, yeah that looks like a bug… would you please file an issue over at https://github.com/habitat-sh/habitat/issues/new and we’ll get it triaged.

@christophermaier Thanks for the confirmation, issue opened: https://github.com/habitat-sh/habitat/issues/5257

1 Like