Ironic driver tries to update the compute_node's UUID which of course fails in case of existing compute_nodes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Matt Riedemann | ||
Rocky |
Fix Committed
|
High
|
Surya Seetharaman |
Bug Description
The patch - https:/
Error traceback:
2018-10-11 02:30:34.142 21850 ERROR nova.compute.
2018-10-11 02:30:34.142 21850 ERROR nova.compute.
2018-10-11 02:30:34.142 21850 ERROR nova.compute.
2018-10-11 02:30:34.142 21850 ERROR nova.compute.
2018-10-11 02:30:34.142 21850 ERROR nova.compute.
2018-10-11 02:30:34.142 21850 ERROR nova.compute.
2018-10-11 02:30:34.142 21850 ERROR nova.compute.
2018-10-11 02:30:34.142 21850 ERROR nova.compute.
2018-10-11 02:30:34.142 21850 ERROR nova.compute.
2018-10-11 02:30:34.142 21850 ERROR nova.compute.
2018-10-11 02:30:34.142 21850 ERROR nova.compute.
2018-10-11 02:30:34.142 21850 ERROR nova.compute.
2018-10-11 02:30:34.142 21850 ERROR nova.compute.
2018-10-11 02:30:34.142 21850 ERROR nova.compute.
2018-10-11 02:30:34.142 21850 ERROR nova.compute.
2018-10-11 02:30:34.142 21850 ERROR nova.compute.
2018-10-11 02:30:34.142 21850 ERROR nova.compute.
2018-10-11 02:30:34.142 21850 ERROR nova.compute.
2018-10-11 02:30:34.142 21850 ERROR nova.compute.
Changed in nova: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: upgrade |
Confirmed in the ironic grenade job in a stable/rocky change:
http:// logs.openstack. org/00/ 607600/ 1/check/ ironic- grenade- dsvm/4d493b1/ logs/screen- n-cpu.txt. gz#_Oct_ 03_18_33_ 59_072341
Oct 03 18:33:59.072341 ubuntu- xenial- vexxhost- sjc1-0002567935 nova-compute[ 14949]: ERROR nova.compute. manager [None req-e6c511df- 45eb-4b7d- b3a5-032f597d1d 01 None None] Error updating resources for node 04adb5c0- 27f0-4ebd- a1d5-859d6efb76 9c.: ReadOnlyFieldError: Cannot modify readonly field uuid xenial- vexxhost- sjc1-0002567935 nova-compute[ 14949]: ERROR nova.compute. manager Traceback (most recent call last): xenial- vexxhost- sjc1-0002567935 nova-compute[ 14949]: ERROR nova.compute. manager File "/opt/stack/ new/nova/ nova/compute/ manager. py", line 7746, in _update_ available_ resource_ for_node xenial- vexxhost- sjc1-0002567935 nova-compute[ 14949]: ERROR nova.compute. manager rt.update_ available_ resource( context, nodename) xenial- vexxhost- sjc1-0002567935 nova-compute[ 14949]: ERROR nova.compute. manager File "/opt/stack/ new/nova/ nova/compute/ resource_ tracker. py", line 724, in update_ available_ resource xenial- vexxhost- sjc1-0002567935 nova-compute[ 14949]: ERROR nova.compute. manager self._update_ available_ resource( context, resources) xenial- vexxhost- sjc1-0002567935 nova-compute[ 14949]: ERROR nova.compute. manager File "/usr/local/ lib/python2. 7/dist- packages/ oslo_concurrenc y/lockutils. py", line 274, in inner xenial- vexxhost- sjc1-0002567935 nova-compute[ 14949]: ERROR nova.compute. manager return f(*args, **kwargs) xenial- vexxhost- sjc1-0002567935 nova-compute[ 14949]: ERROR nova.compute. manager File "/opt/stack/ new/nova/ nova/compute/ resource_ tracker. py", line 747, in _update_ available_ resource xenial- vexxhost- sjc1-0002567935 nova-compute[ 14949]: ERROR nova.compute. manager self._init_ compute_ node(context, resources) xenial- vexxhost- sjc1-0002567935 nova-compute[ 14949]: ERROR nova.compute. manager File "/opt/stack/ new/nova/ nova/compute/ resource_ tracker. py", line 572, in _init_compute_node xenial- vexxhost- sjc1-0002567935 nova-compute[ 14949]: ERROR nova.compute. manager self._copy_ resources( cn, resources) xenial- vexxhost- sjc1-0002567935 nova-compute[ 14949]: ERROR nova.compute. manager File "/opt/stack/ new/nova/ nova/compute/ resource_ tracker. py", line 649, in _copy_resources xenial- vexxhost- sjc1-0002567935 nova-compute[ 14949]: ERROR nova.compute. manager compute_ node.update_ from_virt_ driver( resources) xenial- vexxhost- sjc1-0002567935 nova-compute[ 14949]: ERROR nova.compute. manager File "/opt/stack/ new/nova/ nova/objects/ compute_ node.py" , line 354, in update_ from_virt_ driver xenial- vexxhost- sjc1-0002567935 nova-compute[ 14949]: ERROR nova.compute. manager setattr(self, key, resources[key])
Oct 03 18:33:59.072520 ubuntu-
Oct 03 18:33:59.072688 ubuntu-
Oct 03 18:33:59.072845 ubuntu-
Oct 03 18:33:59.072987 ubuntu-
Oct 03 18:33:59.073143 ubuntu-
Oct 03 18:33:59.073300 ubuntu-
Oct 03 18:33:59.073464 ubuntu-
Oct 03 18:33:59.073621 ubuntu-
Oct 03 18:33:59.073786 ubuntu-
Oct 03 18:33:59.073922 ubuntu-
Oct 03 18:33:59.074065 ubuntu-
Oct 03 18:33:59.074215 ubuntu-
Oct 03 18:33:59.074384 ubuntu-
Oct 03 18:33:59.074548 ubuntu-
Oct 03 18:33:59.074690 ubuntu-
Oct 03 18:33:59.074830 ubunt...