network agent delete throws "ignore_missing" error
Bug #1711301 reported by do3meli
This bug affects 3 people
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| python-openstackclient |
Fix Released |
Undecided |
Praveen N | ||
Bug Description
deleting a network agent throws below error:
[root@server] # openstack network agent delete e8d1c0ff- 483c-4e19- a9c2-274816827d e1
Failed to delete network agent with ID 'e8d1c0ff- 483c-4e19- a9c2-274816827d e1': get_agent() got an unexpected keyword argument 'ignore_missing'
1 of 1 network agents failed to delete.
it seems that the take_action() function is using the get_agent() function with wrong attributes.
the following line [1] should not have the "ignore_ missing= False" attribute. any other get_agent() call in this script is not having a second attribute. so i assume that one got missed when the second attribute got removed.
once i removed the second attribute in this line the command worked successfully.