<meta http-equiv="Content-Type" content="text/html; charset=GB18030"><div><p style="margin: 0px 0px 1.2em; padding: 0px; width: auto; max-width: 75em; font-family: "Ubuntu Mono variable", "Ubuntu Mono", Consolas, Monaco, Courier, monospace; font-size: 12.8px;"><b>I reported an error on the compute node after building novaĦ£</b></p><p id="yui_3_10_3_1_1687659287840_2376" style="margin: 0px 0px 1.2em; padding: 0px; width: auto; max-width: 75em; font-family: "Ubuntu Mono variable", "Ubuntu Mono", Consolas, Monaco, Courier, monospace; font-size: 12.8px;">2023-06-23 10:04:25.334 15207 ERROR nova.compute.<wbr>manager [req-a85e1436-<wbr>e5a4-4395-<wbr>ba5c-899d3b21b7<wbr>bc - - - - -] Error updating resources for node compute.: KeyError: 'allocations'<br>2023-06-23 10:04:25.334 15207 ERROR nova.compute.<wbr>manager Traceback (most recent call last):<br>2023-06-23 10:04:25.334 15207 ERROR nova.compute.<wbr>manager File "/usr/lib/<wbr>python2.<wbr>7/site-<wbr>packages/<wbr>nova/compute/<wbr>manager.<wbr>py", line 7578, in update_<wbr>available_<wbr>resource_<wbr>for_node<br>2023-06-23 10:04:25.334 15207 ERROR nova.compute.<wbr>manager rt.update_<wbr>available_<wbr>resource(<wbr>context, nodename)<br>2023-06-23 10:04:25.334 15207 ERROR nova.compute.<wbr>manager File "/usr/lib/<wbr>python2.<wbr>7/site-<wbr>packages/<wbr>nova/compute/<wbr>resource_<wbr>tracker.<wbr>py", line 720, in update_<wbr>available_<wbr>resource<br>2023-06-23 10:04:25.334 15207 ERROR nova.compute.<wbr>manager self._update_<wbr>available_<wbr>resource(<wbr>context, resources)<br>2023-06-23 10:04:25.334 15207 ERROR nova.compute.<wbr>manager File "/usr/lib/<wbr>python2.<wbr>7/site-<wbr>packages/<wbr>oslo_concurrenc<wbr>y/lockutils.<wbr>py", line 274, in inner<br>2023-06-23 10:04:25.334 15207 ERROR nova.compute.<wbr>manager return f(*args, **kwargs)<br>2023-06-23 10:04:25.334 15207 ERROR nova.compute.<wbr>manager File "/usr/lib/<wbr>python2.<wbr>7/site-<wbr>packages/<wbr>nova/compute/<wbr>resource_<wbr>tracker.<wbr>py", line 771, in _update_<wbr>available_<wbr>resource<br>2023-06-23 10:04:25.334 15207 ERROR nova.compute.<wbr>manager context, self.compute_<wbr>nodes[nodename]<wbr>, migrations)<br>2023-06-23 10:04:25.334 15207 ERROR nova.compute.<wbr>manager File "/usr/lib/<wbr>python2.<wbr>7/site-<wbr>packages/<wbr>nova/compute/<wbr>resource_<wbr>tracker.<wbr>py", line 1277, in _remove_<wbr>deleted_<wbr>instances_<wbr>allocations<br>2023-06-23 10:04:25.334 15207 ERROR nova.compute.<wbr>manager context, cn.uuid) or {}<br>2023-06-23 10:04:25.334 15207 ERROR nova.compute.<wbr>manager File "/usr/lib/<wbr>python2.<wbr>7/site-<wbr>packages/<wbr>nova/scheduler/<wbr>client/<wbr>__init_<wbr>_.py", line 37, in __run_method<br>2023-06-23 10:04:25.334 15207 ERROR nova.compute.<wbr>manager return getattr(<wbr>self.instance, __name)(*args, **kwargs)<br>2023-06-23 10:04:25.334 15207 ERROR nova.compute.<wbr>manager File "/usr/lib/<wbr>python2.<wbr>7/site-<wbr>packages/<wbr>nova/scheduler/<wbr>client/<wbr>report.<wbr>py", line 64, in wrapper<br>2023-06-23 10:04:25.334 15207 ERROR nova.compute.<wbr>manager return f(self, *a, **k)<br>2023-06-23 10:04:25.334 15207 ERROR nova.compute.<wbr>manager File "/usr/lib/<wbr>python2.<wbr>7/site-<wbr>packages/<wbr>nova/scheduler/<wbr>client/<wbr>report.<wbr>py", line 1785, in get_allocations<wbr>_for_resource_<wbr>provider</p><p style="margin: 0px 0px 1.2em; padding: 0px; width: auto; max-width: 75em; font-family: "Ubuntu Mono variable", "Ubuntu Mono", Consolas, Monaco, Courier, monospace; font-size: 12.8px;"><b>After this error occurs, after building the neutron and creating the virtual machine, it will be unable to create the virtual machine, which will be reported in the controller</b></p><p id="yui_3_10_3_1_1687659287840_2377" style="margin: 0px 0px 1.2em; padding: 0px; width: auto; max-width: 75em; font-family: "Ubuntu Mono variable", "Ubuntu Mono", Consolas, Monaco, Courier, monospace; font-size: 12.8px;">NoValidHost: No valid host was found.<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager Traceback (most recent call last):<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager File "/usr/lib/<wbr>python2.<wbr>7/site-<wbr>packages/<wbr>nova/conductor/<wbr>manager.<wbr>py", line 1165, in schedule_<wbr>and_build_<wbr>instances<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager instance_uuids, return_<wbr>alternates=<wbr>True)<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager File "/usr/lib/<wbr>python2.<wbr>7/site-<wbr>packages/<wbr>nova/conductor/<wbr>manager.<wbr>py", line 760, in _schedule_instances<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager return_<wbr>alternates=<wbr>return_<wbr>alternates)<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager File "/usr/lib/<wbr>python2.<wbr>7/site-<wbr>packages/<wbr>nova/scheduler/<wbr>utils.py"<wbr>, line 793, in wrapped<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager return func(*args, **kwargs)<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager File "/usr/lib/<wbr>python2.<wbr>7/site-<wbr>packages/<wbr>nova/scheduler/<wbr>client/<wbr>init.py"<wbr>, line 53, in select_destinations<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager instance_uuids, return_objects, return_alternates)<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager File "/usr/lib/<wbr>python2.<wbr>7/site-<wbr>packages/<wbr>nova/scheduler/<wbr>client/<wbr>init.py"<wbr>, line 37, in __run_method<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager return getattr(<wbr>self.instance, __name)(*args, **kwargs)<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager File "/usr/lib/<wbr>python2.<wbr>7/site-<wbr>packages/<wbr>nova/scheduler/<wbr>client/<wbr>query.py"<wbr>, line 42, in select_destinations<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager instance_uuids, return_objects, return_alternates)<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager File "/usr/lib/<wbr>python2.<wbr>7/site-<wbr>packages/<wbr>nova/scheduler/<wbr>rpcapi.<wbr>py", line 158, in select_destinations<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager return cctxt.call(ctxt, 'select_<wbr>destinations'<wbr>, **msg_args)<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager File "/usr/lib/<wbr>python2.<wbr>7/site-<wbr>packages/<wbr>oslo_messaging/<wbr>rpc/client.<wbr>py", line 174, in call<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager retry=self.retry)<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager File "/usr/lib/<wbr>python2.<wbr>7/site-<wbr>packages/<wbr>oslo_messaging/<wbr>transport.<wbr>py", line 131, in _send<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager timeout=timeout, retry=retry)<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager File "/usr/lib/<wbr>python2.<wbr>7/site-<wbr>packages/<wbr>oslo_messaging/<wbr>_drivers/<wbr>amqpdriver.<wbr>py", line 625, in send<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager retry=retry)<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager File "/usr/lib/<wbr>python2.<wbr>7/site-<wbr>packages/<wbr>oslo_messaging/<wbr>_drivers/<wbr>amqpdriver.<wbr>py", line 616, in _send<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager raise result<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager NoValidHost_Remote: No valid host was found.<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager Traceback (most recent call last):<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager File "/usr/lib/<wbr>python2.<wbr>7/site-<wbr>packages/<wbr>oslo_messaging/<wbr>rpc/server.<wbr>py", line 229, in inner<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager return func(*args, **kwargs)<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager File "/usr/lib/<wbr>python2.<wbr>7/site-<wbr>packages/<wbr>nova/scheduler/<wbr>manager.<wbr>py", line 139, in select_destinations<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager raise exception.<wbr>NoValidHost(<wbr>reason=<wbr>"")<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager NoValidHost: No valid host was found.<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager<br>2023-06-22 10:57:15.649 3732 ERROR nova.conductor.<wbr>manager</p><p style="margin: 0px 0px 1.2em; padding: 0px; width: auto; max-width: 75em; font-family: "Ubuntu Mono variable", "Ubuntu Mono", Consolas, Monaco, Courier, monospace; font-size: 12.8px;"><b>Note: As the logs were obtained at different times, please ignore the timing issue.</b></p><p style="margin: 0px 0px 1.2em; padding: 0px; width: auto; max-width: 75em; font-family: "Ubuntu Mono variable", "Ubuntu Mono", Consolas, Monaco, Courier, monospace; font-size: 12.8px;"><b>The following will list my nova configuration files. Please review them. Thank you</b></p><p id="yui_3_10_3_1_1687659287840_2377" style="margin: 0px 0px 1.2em; padding: 0px; width: auto; max-width: 75em; font-family: "Ubuntu Mono variable", "Ubuntu Mono", Consolas, Monaco, Courier, monospace; font-size: 12.8px;"><b>system is centos 7 2009</b></p><p id="yui_3_10_3_1_1687659287840_2377" style="margin: 0px 0px 1.2em; padding: 0px; width: auto; max-width: 75em; font-family: "Ubuntu Mono variable", "Ubuntu Mono", Consolas, Monaco, Courier, monospace; font-size: 12.8px;"><b>When a computer error is found, Error updating resources for node compute.:</b> KeyError: 'allocations' the controller will report it 2023-06-24 10:45:51.133 96992 INFO nova.osapi_<wbr>compute.<wbr>wsgi.server [-] 192.168.80.20 "GET /resource_<wbr>providers/<wbr>6304d158-<wbr>7a38-4a61-<wbr>b6f6-f16c22e27b<wbr>53/allocations HTTP/1.1" status: 300 len: 720 time: 0.0006239</p><p style="margin: 0px 0px 0.8em; padding: 0px; width: auto; max-width: 75em; font-family: "Ubuntu Mono variable", "Ubuntu Mono", Consolas, Monaco, Courier, monospace; font-size: 12.8px;"><b>the placement is Fix bugs</b><br>Listen 8778</p><p style="margin: 0px 0px 0.8em; padding: 0px; width: auto; max-width: 75em; font-family: "Ubuntu Mono variable", "Ubuntu Mono", Consolas, Monaco, Courier, monospace; font-size: 12.8px;"><VirtualHost *:8778><br>  WSGIProcessGroup nova-placement-api<br>  WSGIApplicati<wbr>onGroup %{GLOBAL}<br>  WSGIPassAutho<wbr>rization On<br>  WSGIDaemonProcess nova-placement-api processes=3 threads=1 user=nova group=nova<br>  WSGIScriptAlias / /usr/bin/<wbr>nova-placement-<wbr>api<br>  <IfVersion >= 2.4><br>    ErrorLogFormat "%M"<br>  </IfVersion><br>  ErrorLog /var/log/<wbr>nova/nova-<wbr>placement-<wbr>api.log<br>  #SSLEngine On<br>  #SSLCertifica<wbr>teFile ...<br>  #SSLCertifica<wbr>teKeyFile ...<br></VirtualHost></p><p style="margin: 0px 0px 0.8em; padding: 0px; width: auto; max-width: 75em; font-family: "Ubuntu Mono variable", "Ubuntu Mono", Consolas, Monaco, Courier, monospace; font-size: 12.8px;">Alias /nova-placement-api /usr/bin/<wbr>nova-placement-<wbr>api<br><Location /nova-placement<wbr>-api><br>  SetHandler wsgi-script<br>  Options +ExecCGI<br>  WSGIProcessGroup nova-placement-api<br>  WSGIApplicati<wbr>onGroup %{GLOBAL}<br>  WSGIPassAutho<wbr>rization On<br></Location></p><p id="yui_3_10_3_1_1687659287840_2392" style="margin: 0px 0px 0.8em; padding: 0px; width: auto; max-width: 75em; font-family: "Ubuntu Mono variable", "Ubuntu Mono", Consolas, Monaco, Courier, monospace; font-size: 12.8px;"><Directory /usr/bin><br>  <IfVersion >= 2.4><br>        Require all granted<br>  </IfVersion><br>  <IfVersion < 2.4><br>        Order allow,deny<br>        Allow from all<br>  </IfVersion><br></Directory></p><p id="yui_3_10_3_1_1687659287840_2377" style="margin: 0px 0px 1.2em; padding: 0px; width: auto; max-width: 75em; font-family: "Ubuntu Mono variable", "Ubuntu Mono", Consolas, Monaco, Courier, monospace; font-size: 12.8px;"><br></p><p id="yui_3_10_3_1_1687659287840_2377" style="margin: 0px 0px 1.2em; padding: 0px; width: auto; max-width: 75em; font-family: "Ubuntu Mono variable", "Ubuntu Mono", Consolas, Monaco, Courier, monospace; font-size: 12.8px;"><br></p></div><div><br></div><div></div>