Tuesday, 2023-10-17

@gcalixto:matrix.orgHi all,15:16
We found an issue this week when installing our DX lab with STX master to validate STX-O f/antelope:
https://bugs.launchpad.net/starlingx/+bug/2039579
@ldeataid:matrix.org> <@maloute:matrix.org> Sorry to bother you again.15:30
> On my AIO-SX server in a DC architecture, I'm facing an error when I'm creating a new instance on openstack, it fails with the following error: nova.exception.NoValidHost: No valid host was found.
> I think My AIO-SX controller has the correct labels:
>
> ```
> [sysadmin@controller-0 ~(keystone_admin)]$ system host-label-list controller-0
> +--------------+-------------------------+-------------+
> | hostname | label key | label value |
> +--------------+-------------------------+-------------+
> | controller-0 | openstack-compute-node | enabled |
> | controller-0 | openstack-control-plane | enabled |
> | controller-0 | openvswitch | enabled |
> +--------------+-------------------------+-------------+
> ```
>
> But when I'm view the openstack host list, I don't have a compute service:
>
> ```
> [sysadmin@controller-0 ~(keystone\_admin)\]$ openstack host list
> +---------------------------------+-----------+----------+
> | Host Name | Service | Zone |
> +---------------------------------+-----------+----------+
> | nova-conductor-7b49c988cd-5s452 | conductor | internal |
> | nova-scheduler-695fdbdf48-t87tw | scheduler | internal |
> +---------------------------------+-----------+----------+
> ```
>
> And when i'm listing compute service, I see a status disabled and state down for the compute service:
>
> ```
> \[sysadmin@controller-0 ~(keystone\_admin)\]$ openstack compute service list
> +----+----------------+---------------------------------+----------+----------+-------+----------------------------+
> | ID | Binary | Host | Zone | Status | State | Updated At |
> +----+----------------+---------------------------------+----------+----------+-------+----------------------------+
> | 2 | nova-conductor | nova-conductor-7b49c988cd-5s452 | internal | enabled | up | 2023-10-12T20:51:23.000000 |
> | 3 | nova-scheduler | nova-scheduler-695fdbdf48-t87tw | internal | enabled | up | 2023-10-12T20:51:24.000000 |
> | 5 | nova-compute | controller-0 | nova | disabled | down | 2023-10-12T20:51:32.000000 |
> +----+----------------+---------------------------------+----------+----------+-------+----------------------------+
> ```
>
> I tried to enable it with no success, the state is still down. I think it's because the host does not have the correct hostname, because my compute pod has this name:
>
> ```
> \[sysadmin@controller-0 ~(keystone\_admin)\]$ kubectl get po -A | grep compute
> openstack nova-compute-controller-0-937646f6-zzhdm 2/2 Running 8 (4h26m ago) `22h`
> ```
>
> I'm not sure about my diagnostic and how to resolve this ... If someone has an idea, thank you ! 😀
Could you check the logs for this nova-compute pod? Host name for the nova-compute service is right

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!