On Fri, Jun 11, 2021 at 2:47 PM at <bkslash@poczta.onet.pl> wrote:
Hi, thx for the answer.
openstack compute service list --service nova-compute --host $HOSTNAME so in
openstack segment host create
I should use name which is displayed in "Host" column, right? So that's what I do :(
Yes.
openstack compute service list --service nova-compute
ID Binary Host Zone Status State 20 nova-compute XXXXX nova enabled up
openstack segment host create XXXXX COMPUTE SSH 00dd5bxxxxxx
and still "Compute service with name XXXXX could not be found".....
How masakari discovers hosts?
I wrote this already: openstack compute service list --service nova-compute --host $HOSTNAME did you try including the same hostname in this command? If it works and Masakari does not, I would make sure you set up Masakari to speak to the right Nova API. Finally, if all else fails, please paste (e.g. https://paste.ubuntu.com/ ) masakari api logs for those rejected host creations. Though do that with debug=True in the config [DEFAULT] section. -yoctozepto