The search() method failing if there are multiple key=value arguments

Bug #1639235 reported by Ravi Kumar Kota
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nova-powervm
Fix Released
Undecided
Unassigned

Bug Description

2016-11-04 02:56:04.925 3099 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/nova_powervm/virt/powervm/live_migration.py", line 230, in rollback_live_migration_at_destination
2016-11-04 02:56:04.925 3099 ERROR oslo_messaging.rpc.server network_info, migrate_data.vea_vlan_mappings)
2016-11-04 02:56:04.925 3099 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/nova_powervm/virt/powervm/vif.py", line 213, in rollback_live_migration_at_destination
2016-11-04 02:56:04.925 3099 ERROR oslo_messaging.rpc.server vif_drv.rollback_live_migration_at_destination(vif, vea_vlan_mappings)
2016-11-04 02:56:04.925 3099 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/nova_powervm/virt/powervm/vif.py", line 806, in rollback_live_migration_at_destination
2016-11-04 02:56:04.925 3099 ERROR oslo_messaging.rpc.server one_result=True)
2016-11-04 02:56:04.925 3099 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/dist-packages/pypowervm/wrappers/entry_wrapper.py", line 983, in search
2016-11-04 02:56:04.925 3099 ERROR oslo_messaging.rpc.server raise ValueError(_('The search() method requires exactly one '
2016-11-04 02:56:04.925 3099 ERROR oslo_messaging.rpc.server ValueError: The search() method requires exactly one key=value argument.
2016-11-04 02:56:04.925 3099 ERROR oslo_messaging.rpc.server

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova-powervm (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/396341

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

Reviewed: https://review.openstack.org/393801
Committed: https://git.openstack.org/cgit/openstack/nova-powervm/commit/?id=a8ebbb893b02a3a4552c49ce9b22f18c73b7799d
Submitter: Jenkins
Branch: master

commit a8ebbb893b02a3a4552c49ce9b22f18c73b7799d
Author: Drew Thorstensen <email address hidden>
Date: Fri Nov 4 09:30:32 2016 -0400

    Fix rollback op's search call

    The pypowervm search call only accepts one input. We need to key off a
    few (PVID and vswitch id). This change updates the vif rollback code to
    search appropriately.

    Change-Id: Ib813fe4b668d208b379ec05cacd1704f60c7abc6
    Closes-Bug: 1639235

Changed in nova-powervm:
status: New → Fix Released
tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova-powervm (stable/newton)

Reviewed: https://review.openstack.org/396341
Committed: https://git.openstack.org/cgit/openstack/nova-powervm/commit/?id=75e9992b11e27bcde291f73ba6f6235727c9aae5
Submitter: Jenkins
Branch: stable/newton

commit 75e9992b11e27bcde291f73ba6f6235727c9aae5
Author: Drew Thorstensen <email address hidden>
Date: Fri Nov 4 09:30:32 2016 -0400

    Fix rollback op's search call

    The pypowervm search call only accepts one input. We need to key off a
    few (PVID and vswitch id). This change updates the vif rollback code to
    search appropriately.

    Change-Id: Ib813fe4b668d208b379ec05cacd1704f60c7abc6
    Closes-Bug: 1639235

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.