Public bug reported: During a test, neutron-sriov-nic-agent was disabled (openstack network agent set --disable <agent-id>) and then some operations that require the intervention of this agent were successfully performned. So, apparently the agent is not really disabled, despite showing state=DOWN.
Please see the bug reproduction here: http://paste.openstack.org/show/797088/ Apparently, only DHCP and L3 agents receive the status flag. In other words: only those two agents are capable of being enabled or disabled: https://github.com/openstack/neutron/blob/master/neutron/db/agentschedulers_db.py#L53-L56 Maybe the API should answer the --disable request with an error, instead of 200 OK. ** Affects: neutron Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1892741 Title: neutron-sriov-nic-agent cannot be disabled Status in neutron: New Bug description: During a test, neutron-sriov-nic-agent was disabled (openstack network agent set --disable <agent-id>) and then some operations that require the intervention of this agent were successfully performned. So, apparently the agent is not really disabled, despite showing state=DOWN. Please see the bug reproduction here: http://paste.openstack.org/show/797088/ Apparently, only DHCP and L3 agents receive the status flag. In other words: only those two agents are capable of being enabled or disabled: https://github.com/openstack/neutron/blob/master/neutron/db/agentschedulers_db.py#L53-L56 Maybe the API should answer the --disable request with an error, instead of 200 OK. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1892741/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp