yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #36141
[Bug 1472494] Re: when enable vpn agent, no vpn related infomation is shown by running 'neutron agent list' .
** Changed in: neutron
Status: Fix Committed => Fix Released
** Changed in: neutron
Milestone: None => liberty-2
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1472494
Title:
when enable vpn agent, no vpn related infomation is shown by running
'neutron agent list' .
Status in neutron:
Fix Released
Bug description:
vpn agent is inherited from l3 agent, and use l3's report_status function to sync status, when running agent-list, we can not see its information , although vpn agent is enabled, this is confusing. So override its agent_state['binary'] to make admin know neutron-vpn-agent is running not the neutron-l3-agent, and leave the agent_type to 'L3 agent', which will be used to schedule router resource.
Here is the out before:
+--------------------------------------+--------------------+-------------------+-------+----------------+---------------------------+
| id | agent_type | host | alive | admin_state_up | binary |
+--------------------------------------+--------------------+-------------------+-------+----------------+---------------------------+
| 9070ec99-90f0-4fb6-b990-ba840986123a | DHCP agent | zy126.sce.ibm.com | :-) | True | neutron-dhcp-agent |
| 5f62b451-2ff7-4399-9225-d730b8a55e50 | Loadbalancer agent | zy126.sce.ibm.com | :-) | True | neutron-lbaas-agent |
| c02bfa52-eb2b-46a7-95ba-312cfcaaec44 | Open vSwitch agent | zy126.sce.ibm.com | :-) | True | neutron-openvswitch-agent |
| 46e2e710-8da3-4549-8502-524da817172c | Metadata agent | zy126.sce.ibm.com | :-) | True | neutron-metadata-agent |
| fc313849-fbdf-4244-9767-57d273bf7e55 | Open vSwitch agent | zy127.sce.ibm.com | :-) | True | neutron-openvswitch-agent |
| 84d4ae21-3095-4acb-ad1c-00004ff043a3 | L3 agent | zy126.sce.ibm.com | :-) | True | neutron-l3-agent |
+--------------------------------------+--------------------+-------------------+-------+----------------+---------------------------+
Here is the output after change the code:
+--------------------------------------+--------------------+-------------------+-------+----------------+---------------------------+
| id | agent_type | host | alive | admin_state_up | binary |
+--------------------------------------+--------------------+-------------------+-------+----------------+---------------------------+
| 9070ec99-90f0-4fb6-b990-ba840986123a | DHCP agent | zy126.sce.ibm.com | :-) | True | neutron-dhcp-agent |
| 5f62b451-2ff7-4399-9225-d730b8a55e50 | Loadbalancer agent | zy126.sce.ibm.com | :-) | True | neutron-lbaas-agent |
| c02bfa52-eb2b-46a7-95ba-312cfcaaec44 | Open vSwitch agent | zy126.sce.ibm.com | :-) | True | neutron-openvswitch-agent |
| 46e2e710-8da3-4549-8502-524da817172c | Metadata agent | zy126.sce.ibm.com | :-) | True | neutron-metadata-agent |
| fc313849-fbdf-4244-9767-57d273bf7e55 | Open vSwitch agent | zy127.sce.ibm.com | :-) | True | neutron-openvswitch-agent |
| eb16d147-2242-48e0-92c5-08575d9e9d03 | L3 agent | zy126.sce.ibm.com | :-) | True | neutron-vpn-agent |
+--------------------------------------+--------------------+-------------------+-------+----------------+---------------------------+
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1472494/+subscriptions
References