| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| python-openstackclient | Fix Released | Undecided | Praveen N | ||
deleting a network agent throws below error:
[root@server] # openstack network agent delete e8d1c0ff-
Failed to delete network agent with ID 'e8d1c0ff-
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_
once i removed the second attribute in this line the command worked successfully.
| Changed in python-openstackclient: | |
| assignee: | nobody → Praveen N (praveenn) |

| OpenStack Infra (hudson-openstack) wrote:Fix proposed to python-openstackclient (master) | #1 |
Fix proposed to branch: master
Review:https:/
| Changed in python-openstackclient: | |
| status: | New → In Progress |

| OpenStack Infra (hudson-openstack) wrote:Fix merged to python-openstackclient (master) | #2 |
Reviewed:https:/
Committed:https:/
Submitter: Zuul
Branch: master
commit 6c8e5177bc54ba2
Author: npraveen35 <email address hidden>
Date: Fri Aug 18 15:48:54 2017 +0530
Neutron agent delete: remove the wrong argument
The take_action() function was calling get_agent() with the wrong
attribute, causing agent deletion to fail. It turns out calling
get_agent() isn't necessary; this removes the call entirely and moves
the 'ignore_missing' argument to the delete_agent() function.
Change-Id: Iaa3754a3be0765
Closes-Bug: #1711301
| Changed in python-openstackclient: | |
| status: | In Progress → Fix Released |

| OpenStack Infra (hudson-openstack) wrote:Fix proposed to python-openstackclient (stable/pike) | #3 |
Fix proposed to branch: stable/pike
Review:https:/

| OpenStack Infra (hudson-openstack) wrote:Fix proposed to python-openstackclient (stable/ocata) | #4 |
Fix proposed to branch: stable/ocata
Review:https:/

| OpenStack Infra (hudson-openstack) wrote:Fix merged to python-openstackclient (stable/pike) | #5 |
Reviewed:https:/
Committed:https:/
Submitter: Zuul
Branch: stable/pike
commit 11e2f54ea4b45e8
Author: npraveen35 <email address hidden>
Date: Fri Aug 18 15:48:54 2017 +0530
Neutron agent delete: remove the wrong argument
The take_action() function was calling get_agent() with the wrong
attribute, causing agent deletion to fail. It turns out calling
get_agent() isn't necessary; this removes the call entirely and moves
the 'ignore_missing' argument to the delete_agent() function.
Change-Id: Iaa3754a3be0765
Closes-Bug: #1711301
(cherry picked from commit 6c8e5177bc54ba2
| tags: | added: in-stable-pike |
| tags: | added: in-stable-ocata |

| OpenStack Infra (hudson-openstack) wrote:Fix merged to python-openstackclient (stable/ocata) | #6 |
Reviewed:https:/
Committed:https:/
Submitter: Zuul
Branch: stable/ocata
commit e2cbe8bedb868cc
Author: npraveen35 <email address hidden>
Date: Fri Aug 18 15:48:54 2017 +0530
Neutron agent delete: remove the wrong argument
The take_action() function was calling get_agent() with the wrong
attribute, causing agent deletion to fail. It turns out calling
get_agent() isn't necessary; this removes the call entirely and moves
the 'ignore_missing' argument to the delete_agent() function.
Change-Id: Iaa3754a3be0765
Closes-Bug: #1711301
(cherry picked from commit 6c8e5177bc54ba2

| OpenStack Infra (hudson-openstack) wrote:Fix included in openstack/python-openstackclient 3.13.0 | #7 |
This issue was fixed in the openstack/

| OpenStack Infra (hudson-openstack) wrote:Fix included in openstack/python-openstackclient 3.12.1 | #8 |
This issue was fixed in the openstack/

| OpenStack Infra (hudson-openstack) wrote:Fix included in openstack/python-openstackclient 3.8.2 | #9 |
This issue was fixed in the openstack/
Bug watches keep track of this bug in other bug trackers.