Bug 1533268

Summary: openstack network agent delete fails with unexpected keyword argument
Product: Red Hat OpenStack Reporter: Kevin Jones <kejones>
Component: python-openstackclientAssignee: Julie Pichon <jpichon>
Status: CLOSED DUPLICATE QA Contact: Shai Revivo <srevivo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 12.0 (Pike)CC: apevec, kejones, lhh, srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-11 09:50:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***