ironic - Node could not be found

asked 2020-03-06 05:38:42 -0500

anonymous user

Anonymous

Hi,

I am trying to install ironic stein. I am following https://docs.openstack.org/ironic/stein/install/get_started.html (Openstack's guide). I have a problem and I couldn't solve it. These steps are done

  • yum install openstack-ironic-api openstack-ironic-conductor python-ironicclient
  • nova.conf and ironic.conf edited
  • endpoints and users added

After openstack-nova-compute restart, service didn't active, it waited at activating state. After search I found this error:

2020-03-06 14:24:21.593 55629 DEBUG nova.compute.manager [req-aaa1f4e7-4f2d-4836-afdd-7b38bd8cc5a1 - - - - -] [instance: f7e84fea-eb86-40fc-921b-bf0b559e6407] Checking state _get_power_state /usr/lib/python2.7/site-packages/nova/compute/manager.py:1387
2020-03-06 14:24:22.205 55629 DEBUG ironicclient.common.http [req-aaa1f4e7-4f2d-4836-afdd-7b38bd8cc5a1 - - - - -] Negotiated API version is 1.46 negotiate_version /usr/lib/python2.7/site-packages/ironicclient/common/http.py:248
2020-03-06 14:24:22.447 55629 ERROR oslo_service.service [req-aaa1f4e7-4f2d-4836-afdd-7b38bd8cc5a1 - - - - -] Error starting thread.: NotFound: Node myhostname could not be found. (HTTP 404)
2020-03-06 14:24:22.447 55629 ERROR oslo_service.service Traceback (most recent call last):
2020-03-06 14:24:22.447 55629 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 810, in run_service
2020-03-06 14:24:22.447 55629 ERROR oslo_service.service     service.start()
2020-03-06 14:24:22.447 55629 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/nova/service.py", line 162, in start
2020-03-06 14:24:22.447 55629 ERROR oslo_service.service     self.manager.init_host()
2020-03-06 14:24:22.447 55629 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1242, in init_host
2020-03-06 14:24:22.447 55629 ERROR oslo_service.service     self._init_instance(context, instance)
2020-03-06 14:24:22.447 55629 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 984, in _init_instance
2020-03-06 14:24:22.447 55629 ERROR oslo_service.service     self.driver.plug_vifs(instance, net_info)
2020-03-06 14:24:22.447 55629 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/nova/virt/ironic/driver.py", line 1601, in plug_vifs
2020-03-06 14:24:22.447 55629 ERROR oslo_service.service     node = self._get_node(instance.node)
2020-03-06 14:24:22.447 55629 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/nova/virt/ironic/driver.py", line 200, in _get_node
2020-03-06 14:24:22.447 55629 ERROR oslo_service.service     fields=_NODE_FIELDS)
2020-03-06 14:24:22.447 55629 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/nova/virt/ironic/client_wrapper.py", line 186, in call
2020-03-06 14:24:22.447 55629 ERROR oslo_service.service     return self._multi_getattr(client, method)(*args, **kwargs)
2020-03-06 14:24:22.447 55629 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/ironicclient/v1/node.py", line 338, in get
2020-03-06 14:24:22.447 55629 ERROR oslo_service.service     os_ironic_api_version=os_ironic_api_version)
2020-03-06 14:24:22.447 55629 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/ironicclient/common/base.py", line 92, in _get
2020-03-06 14:24:22.447 55629 ERROR oslo_service.service     os_ironic_api_version=os_ironic_api_version)[0]
2020-03-06 14:24:22.447 55629 ERROR oslo_service.service   File "/usr/lib/python2.7/site-packages/ironicclient/common/base ...
(more)
edit retag flag offensive close merge delete