TypeError: spawn() got multiple values for network_info

Bug #1822929 reported by Stephen Ma
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-vsphere
Fix Released
Undecided
Unassigned

Bug Description

On nova-proxy compute node that uses the ovsvapp_vc_driver, this traceback is found when creating a VM using "openstack server create ..." command:

2019-03-06 07:07:53.356 25863 DEBUG amqp [-] heartbeat_tick : Prev sent/recv: 1291/3857, now - 1292/3860, monotonic - 11110.3857487, last_heartbeat_sent - 11110.3857307, heartbeat int. - 60
for connection 90ce410961b9493d9c9d6c2e43ed9bf2 heartbeat_tick /opt/stack/venv/nova-20190228T153127Z/lib/python2.7/site-packages/amqp/connection.py:706
2019-03-06 07:07:53.358 25863 DEBUG nova.compute.manager [req-caefff8c-4cac-4dee-8758-c11fa957804b 357d4d264af3405bb60ff92b90e5324f b00d5da096e94e8bae4462abf8987079] [instance: 472cf45e-05ad
-4b3f-8bc5-6e9edd4b955e] Start spawning the instance on the hypervisor. _build_and_run_instance /opt/stack/venv/nova-20190228T153127Z/lib/python2.7/site-packages/nova/compute/manager.py:2127
2019-03-06 07:07:53.359 25863 ERROR nova.compute.manager [req-caefff8c-4cac-4dee-8758-c11fa957804b 357d4d264af3405bb60ff92b90e5324f b00d5da096e94e8bae4462abf8987079] [instance: 472cf45e-05ad
-4b3f-8bc5-6e9edd4b955e] Instance failed to spawn: TypeError: spawn() got multiple values for keyword argument 'network_info'
2019-03-06 07:07:53.359 25863 ERROR nova.compute.manager [instance: 472cf45e-05ad-4b3f-8bc5-6e9edd4b955e] Traceback (most recent call last):
2019-03-06 07:07:53.359 25863 ERROR nova.compute.manager [instance: 472cf45e-05ad-4b3f-8bc5-6e9edd4b955e] File "/opt/stack/venv/nova-20190228T153127Z/lib/python2.7/site-packages/nova/compu
te/manager.py", line 2368, in _build_resources
2019-03-06 07:07:53.359 25863 ERROR nova.compute.manager [instance: 472cf45e-05ad-4b3f-8bc5-6e9edd4b955e] yield resources
2019-03-06 07:07:53.359 25863 ERROR nova.compute.manager [instance: 472cf45e-05ad-4b3f-8bc5-6e9edd4b955e] File "/opt/stack/venv/nova-20190228T153127Z/lib/python2.7/site-packages/nova/compu
te/manager.py", line 2132, in _build_and_run_instance
2019-03-06 07:07:53.359 25863 ERROR nova.compute.manager [instance: 472cf45e-05ad-4b3f-8bc5-6e9edd4b955e] block_device_info=block_device_info)
2019-03-06 07:07:53.359 25863 ERROR nova.compute.manager [instance: 472cf45e-05ad-4b3f-8bc5-6e9edd4b955e] TypeError: spawn() got multiple values for keyword argument 'network_info'
2019-03-06 07:07:53.359 25863 ERROR nova.compute.manager [instance: 472cf45e-05ad-4b3f-8bc5-6e9edd4b955e]
2019-03-06 07:07:53.361 25863 DEBUG amqp [-] heartbeat_tick : for connection 90ce410961b9493d9c9d6c2e43ed9bf2 heartbeat_tick /opt/stack/venv/nova-20190228T153127Z/lib/python2.7/site-packages
/amqp/connection.py:684

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-vsphere (master)

Reviewed: https://review.openstack.org/649640
Committed: https://git.openstack.org/cgit/openstack/networking-vsphere/commit/?id=b495900035aeb4cdc5824bd9c13b960441420e7e
Submitter: Zuul
Branch: master

commit b495900035aeb4cdc5824bd9c13b960441420e7e
Author: Stephen Ma <email address hidden>
Date: Wed Apr 3 07:52:13 2019 -0700

    Update argument list for spawn functions

    Update the argument list for the ovsvapp_vmops and
    ovsvapp_vc_driver's spawn() function to reflect argument list
    in nova's virt drivers.

    The OVSvAppVCDriver's spawn() arg. list reflects the changes in
    the patch with Change-Id I00eab47edf1150788777300680e853a872c1db40.

    The OVSvAppVMOps's spawn() arg. list reflects the changes in
    the patch with Change-Id If719b94cf50d5f2212eac4807c80edb886bf7808.

    Change-Id: Idbf9a90d2d5c7fb192b284e0e0061adfe10aa8ee
    Closes-bug: #1822929

Changed in networking-vsphere:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-vsphere (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/649874

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-vsphere (stable/rocky)

Reviewed: https://review.openstack.org/649874
Committed: https://git.openstack.org/cgit/openstack/networking-vsphere/commit/?id=c7e4b528e2f03ea48069a4f5295bae859bf2d052
Submitter: Zuul
Branch: stable/rocky

commit c7e4b528e2f03ea48069a4f5295bae859bf2d052
Author: Stephen Ma <email address hidden>
Date: Wed Apr 3 07:52:13 2019 -0700

    Update argument list for spawn functions

    Update the argument list for the ovsvapp_vmops and
    ovsvapp_vc_driver's spawn() function to reflect argument list
    in nova's virt drivers.

    The OVSvAppVCDriver's spawn() arg. list reflects the changes in
    the patch with Change-Id I00eab47edf1150788777300680e853a872c1db40.

    The OVSvAppVMOps's spawn() arg. list reflects the changes in
    the patch with Change-Id If719b94cf50d5f2212eac4807c80edb886bf7808.

    Change-Id: Idbf9a90d2d5c7fb192b284e0e0061adfe10aa8ee
    Closes-bug: #1822929
    (cherry picked from commit b495900035aeb4cdc5824bd9c13b960441420e7e)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-vsphere (master)

Fix proposed to branch: master
Review: https://review.openstack.org/651404

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-vsphere (master)

Reviewed: https://review.openstack.org/651404
Committed: https://git.openstack.org/cgit/openstack/networking-vsphere/commit/?id=724d8922c138658490c3801892fefb9fb91b5adf
Submitter: Zuul
Branch: master

commit 724d8922c138658490c3801892fefb9fb91b5adf
Author: Stephen Ma <email address hidden>
Date: Tue Apr 9 15:40:01 2019 -0700

    Explicity power on VMs after spawn not required.

    Now spawning a VM also powers it on. So the explicit
    VM power on is no longer required.

    Change-Id: I5c8eee288c857a5f8fa0a7eb1570a5e2ebc2eb74
    Closes-bug: #1822929

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-vsphere (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/651431

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-vsphere (stable/rocky)

Reviewed: https://review.openstack.org/651431
Committed: https://git.openstack.org/cgit/openstack/networking-vsphere/commit/?id=5afe2e1e6050ac3daa955075737ca129255ad66d
Submitter: Zuul
Branch: stable/rocky

commit 5afe2e1e6050ac3daa955075737ca129255ad66d
Author: Stephen Ma <email address hidden>
Date: Tue Apr 9 15:40:01 2019 -0700

    Explicity power on VMs after spawn not required.

    Now spawning a VM also powers it on. So the explicit
    VM power on is no longer required.

    Change-Id: I5c8eee288c857a5f8fa0a7eb1570a5e2ebc2eb74
    Closes-bug: #1822929
    (cherry picked from commit 724d8922c138658490c3801892fefb9fb91b5adf)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.