Bug 1533268 - openstack network agent delete fails with unexpected keyword argument
Summary: openstack network agent delete fails with unexpected keyword argument
Keywords:
Status: CLOSED DUPLICATE of bug 1430338
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-openstackclient
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Julie Pichon
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-10 22:33 UTC by Kevin Jones
Modified: 2018-01-11 09:50 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-11 09:50:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1711301 0 None None None 2018-01-11 09:43:47 UTC
OpenStack gerrit 518371 0 None None None 2018-01-11 09:45:57 UTC

Description Kevin Jones 2018-01-10 22:33:11 UTC
Description of problem:
While following the scale down docs, I got to the last step to delete the neutron ovs agent for my deleted compute nodes and I got the following errors.

(kmfj2) [stack@kmfj-2-undercloud ~]$ openstack network agent delete 97cabe3e-d005-4545-ad89-774a98963ab0
Failed to delete network agent with ID '97cabe3e-d005-4545-ad89-774a98963ab0': get_agent() got an unexpected keyword argument 'ignore_missing'
1 of 1 network agents failed to delete.
(kmfj2) [stack@kmfj-2-undercloud ~]$ openstack network agent delete 2946c977-bc80-4987-936c-b664fa390605
Failed to delete network agent with ID '2946c977-bc80-4987-936c-b664fa390605': get_agent() got an unexpected keyword argument 'ignore_missing'
1 of 1 network agents failed to delete.

Version-Release number of selected component (if applicable):
12

How reproducible:
100%

Steps to Reproduce:
1. Run openstack network agent delete
2.
3.

Actual results:
Fails with:
(kmfj2) [stack@kmfj-2-undercloud ~]$ openstack network agent delete 97cabe3e-d005-4545-ad89-774a98963ab0
Failed to delete network agent with ID '97cabe3e-d005-4545-ad89-774a98963ab0': get_agent() got an unexpected keyword argument 'ignore_missing'
1 of 1 network agents failed to delete.
(kmfj2) [stack@kmfj-2-undercloud ~]$ openstack network agent delete 2946c977-bc80-4987-936c-b664fa390605
Failed to delete network agent with ID '2946c977-bc80-4987-936c-b664fa390605': get_agent() got an unexpected keyword argument 'ignore_missing'
1 of 1 network agents failed to delete.

Expected results:
Successfully delete the network agent.

Additional info:

Comment 2 Julie Pichon 2018-01-11 09:45:58 UTC
Could you confirm the python-openstackclient RPM version?

Comment 3 Julie Pichon 2018-01-11 09:50:35 UTC
Ah, never mind, I thought this was already fixed but I see now it is being tracked as part of bug 1430338 and still in POST. The fix will be included the next OSP12 import.

*** This bug has been marked as a duplicate of bug 1430338 ***


Note You need to log in before you can comment on or make changes to this bug.