rh-osp-demo / dp-demo

Deprecated
https://rh-osp-demo.github.io/showroom_osp-on-ocp/
7 stars 12 forks source link

Found 0 unmapped computes in cell #12

Closed AlexonOliveiraRH closed 8 months ago

AlexonOliveiraRH commented 8 months ago

Even after following command by command, no compute is mapped:

[root@ocp4-bastion files]# oc rsh nova-cell0-conductor-0 nova-manage cell_v2 discover_hosts --verbose

Modules with known eventlet monkey patching issues were imported prior to eventlet monkey patching: urllib3. This warning can usually be ignored if the caller is only importing and not executing nova code.
2024-03-28 21:24:36.247 273798 WARNING oslo_policy.policy [None req-92bd4ca3-5e48-45fc-963d-87c1c6d88f03 - - - - - -] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html.
2024-03-28 21:24:36.248 273798 WARNING oslo_policy.policy [None req-92bd4ca3-5e48-45fc-963d-87c1c6d88f03 - - - - - -] JSON formatted policy_file support is deprecated since Victoria release. You need to use YAML format which will be default in future. You can use ``oslopolicy-convert-json-to-yaml`` tool to convert existing JSON-formatted policy file to YAML-formatted in backward compatible way: https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-to-yaml.html.
Found 2 cell mappings.
Skipping cell0 since it does not contain hosts.
Getting computes from cell 'cell1': e7e25965-9002-4609-ad83-255996b52995
Found 0 unmapped computes in cell: e7e25965-9002-4609-ad83-255996b52995

[root@ocp4-bastion files]# oc rsh -n openstack openstackclient

sh-5.1$ openstack hypervisor list

sh-5.1$ 
spotz commented 8 months ago

Hey the issues in the github repo aren’t for support of failures. That said you might have run into a race condition and can try the nova-manage command again