[root@kolla check-scripts]# neutron agent-list
+--------------------------------------+--------------------+-------+-------+----------------+
| id | agent_type | host | alive | admin_state_up |
+--------------------------------------+--------------------+-------+-------+----------------+
| 7383eac5-3285-49c3-a1af-b505d04aa532 | Linux bridge agent | kolla | :-) | True |
| bb26e326-06cb-4c86-a8da-9db2a865c402 | Metadata agent | kolla | :-) | True |
| d11d0d45-5988-41b6-9ece-b53c8cd63c89 | L3 agent | kolla | :-) | True |
| d60405a9-3e13-438b-9735-efc3874e051b | Open vSwitch agent | kolla | xxx | True |
| f0f063dd-829c-418b-85b8-0ad05a833cf7 | DHCP agent | kolla | :-) | True |
+--------------------------------------+--------------------+-------+-------+----------------+
[root@kolla check-scripts]# sh -x check-linuxbridge-agent.sh
+ RES=0
++ /usr/bin/neutron agent-list
++ awk '/ Linux / {print $9}'
+ check='|'
+ error='ERROR: Neutron Linux Bridge agent is not alive.'
+ [[ | != \:\-\) ]]
+ echo ERROR: Neutron Linux Bridge agent is not alive.
ERROR: Neutron Linux Bridge agent is not alive.
+ RES=1
+ exit 1
[root@kolla check-scripts]#
Fix proposed to branch: master /review. openstack. org/181065
Review: https:/