← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1859766] [NEW] functional tests intermittently fails with "ReadOnlyFieldError: Cannot modify readonly field uuid"

 

Public bug reported:

On stable/stain and stable/rocky multiple functional tests fails
randomly with the following stack trace[1]:

Traceback (most recent call last):
  File "nova/compute/manager.py", line 2322, in _build_and_run_instance
    with self.rt.instance_claim(context, instance, node, limits):
  File "/home/zuul/src/opendev.org/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 328, in inner
    return f(*args, **kwargs)
  File "nova/compute/resource_tracker.py", line 235, in instance_claim
    self._update(elevated, cn)
  File "nova/compute/resource_tracker.py", line 1034, in _update
    self.old_resources[nodename] = old_compute
  File "/home/zuul/src/opendev.org/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
    self.force_reraise()
  File "/home/zuul/src/opendev.org/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
    six.reraise(self.type_, self.value, self.tb)
  File "nova/compute/resource_tracker.py", line 1028, in _update
    compute_node.save()
  File "/home/zuul/src/opendev.org/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 226, in wrapper
    return fn(self, *args, **kwargs)
  File "nova/objects/compute_node.py", line 341, in save
    self._from_db_object(self._context, self, db_compute)
  File "nova/objects/compute_node.py", line 214, in _from_db_object
    setattr(compute, key, value)
  File "/home/zuul/src/opendev.org/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 77, in setter
    raise exception.ReadOnlyFieldError(field=name)
ReadOnlyFieldError: Cannot modify readonly field uuid

logstash signature:
http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22ReadOnlyFieldError%3A%20Cannot%20modify%20readonly%20field%20uuid%5C%22


[1] https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_234/702181/1/check/nova-tox-functional/2341192/testr_results.html

** Affects: nova
     Importance: Undecided
         Status: New

** Affects: nova/rocky
     Importance: Undecided
         Status: New

** Affects: nova/stein
     Importance: Undecided
         Status: New


** Tags: testing

** Tags added: testing

** Also affects: nova/stein
   Importance: Undecided
       Status: New

** Also affects: nova/rocky
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1859766

Title:
  functional tests intermittently fails with "ReadOnlyFieldError: Cannot
  modify readonly field uuid"

Status in OpenStack Compute (nova):
  New
Status in OpenStack Compute (nova) rocky series:
  New
Status in OpenStack Compute (nova) stein series:
  New

Bug description:
  On stable/stain and stable/rocky multiple functional tests fails
  randomly with the following stack trace[1]:

  Traceback (most recent call last):
    File "nova/compute/manager.py", line 2322, in _build_and_run_instance
      with self.rt.instance_claim(context, instance, node, limits):
    File "/home/zuul/src/opendev.org/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 328, in inner
      return f(*args, **kwargs)
    File "nova/compute/resource_tracker.py", line 235, in instance_claim
      self._update(elevated, cn)
    File "nova/compute/resource_tracker.py", line 1034, in _update
      self.old_resources[nodename] = old_compute
    File "/home/zuul/src/opendev.org/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
      self.force_reraise()
    File "/home/zuul/src/opendev.org/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
      six.reraise(self.type_, self.value, self.tb)
    File "nova/compute/resource_tracker.py", line 1028, in _update
      compute_node.save()
    File "/home/zuul/src/opendev.org/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 226, in wrapper
      return fn(self, *args, **kwargs)
    File "nova/objects/compute_node.py", line 341, in save
      self._from_db_object(self._context, self, db_compute)
    File "nova/objects/compute_node.py", line 214, in _from_db_object
      setattr(compute, key, value)
    File "/home/zuul/src/opendev.org/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 77, in setter
      raise exception.ReadOnlyFieldError(field=name)
  ReadOnlyFieldError: Cannot modify readonly field uuid

  logstash signature:
  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22ReadOnlyFieldError%3A%20Cannot%20modify%20readonly%20field%20uuid%5C%22

  
  [1] https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_234/702181/1/check/nova-tox-functional/2341192/testr_results.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1859766/+subscriptions


Follow ups