yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #80438
[Bug 1849165] [NEW] _populate_assigned_resources raises "TypeError: argument of type 'NoneType' is not iterable" during active migration
Public bug reported:
Seen here:
https://zuul.opendev.org/t/openstack/build/2b10b4a240b84245bcee3366db93951d/log/logs/screen-n-cpu.txt.gz?severity=4#2675
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager [None req-dd5ddbad-4234-4288
-bbab-2c3d20b7f4ad None None] Error updating resources for node ubuntu-
bionic-rax-iad-0012404623.: TypeError: argument of type 'NoneType' is
not iterable
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager Traceback (most recent call
last):
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager File
"/opt/stack/new/nova/nova/compute/manager.py", line 8925, in
_update_available_resource_for_node
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager startup=startup)
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager File
"/opt/stack/new/nova/nova/compute/resource_tracker.py", line 883, in
update_available_resource
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager
self._update_available_resource(context, resources, startup=startup)
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager File
"/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py",
line 328, in inner
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager return f(*args, **kwargs)
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager File
"/opt/stack/new/nova/nova/compute/resource_tracker.py", line 965, in
_update_available_resource
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager
self._populate_assigned_resources(context, instance_by_uuid)
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager File
"/opt/stack/new/nova/nova/compute/resource_tracker.py", line 482, in
_populate_assigned_resources
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager if mig.dest_compute ==
self.host and 'new_resources' in mig_ctx:
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager TypeError: argument of type
'NoneType' is not iterable
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager
This was added late in Train:
https://review.opendev.org/#/c/678452/
** Affects: nova
Importance: High
Status: Confirmed
** Affects: nova/train
Importance: High
Status: Confirmed
** Tags: resource-tracker
--
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/1849165
Title:
_populate_assigned_resources raises "TypeError: argument of type
'NoneType' is not iterable" during active migration
Status in OpenStack Compute (nova):
Confirmed
Status in OpenStack Compute (nova) train series:
Confirmed
Bug description:
Seen here:
https://zuul.opendev.org/t/openstack/build/2b10b4a240b84245bcee3366db93951d/log/logs/screen-n-cpu.txt.gz?severity=4#2675
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager [None req-
dd5ddbad-4234-4288-bbab-2c3d20b7f4ad None None] Error updating
resources for node ubuntu-bionic-rax-iad-0012404623.: TypeError:
argument of type 'NoneType' is not iterable
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager Traceback (most recent call
last):
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager File
"/opt/stack/new/nova/nova/compute/manager.py", line 8925, in
_update_available_resource_for_node
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager startup=startup)
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager File
"/opt/stack/new/nova/nova/compute/resource_tracker.py", line 883, in
update_available_resource
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager
self._update_available_resource(context, resources, startup=startup)
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager File
"/usr/local/lib/python2.7/dist-
packages/oslo_concurrency/lockutils.py", line 328, in inner
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager return f(*args,
**kwargs)
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager File
"/opt/stack/new/nova/nova/compute/resource_tracker.py", line 965, in
_update_available_resource
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager
self._populate_assigned_resources(context, instance_by_uuid)
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager File
"/opt/stack/new/nova/nova/compute/resource_tracker.py", line 482, in
_populate_assigned_resources
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager if mig.dest_compute ==
self.host and 'new_resources' in mig_ctx:
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager TypeError: argument of type
'NoneType' is not iterable
Oct 21 13:35:16.977968 ubuntu-bionic-rax-iad-0012404623 nova-
compute[26938]: ERROR nova.compute.manager
This was added late in Train:
https://review.opendev.org/#/c/678452/
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1849165/+subscriptions
Follow ups