neutron-linux-bridge-check not right

Bug #1452626 reported by FenghuaFang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Medium
FenghuaFang

Bug Description

[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]#

Changed in kolla:
assignee: nobody → FenghuaFang (449171342-q)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.openstack.org/181065

Changed in kolla:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/181065
Committed: https://git.openstack.org/cgit/stackforge/kolla/commit/?id=f374a02a75c7ac8db0b7be017b2abbb891ae86c8
Submitter: Jenkins
Branch: master

commit f374a02a75c7ac8db0b7be017b2abbb891ae86c8
Author: Fang Fenghua <email address hidden>
Date: Fri May 8 00:25:27 2015 +0800

    linuxbridge check.sh not right

    linuxbridge check.sh script got wrong
    value of status.

    Change-Id: I975562a62c9ebf7afc22289dc96e672ed877537c
    Closes-Bug: #1452626

Changed in kolla:
status: In Progress → Fix Committed
Steven Dake (sdake)
Changed in kolla:
importance: Undecided → Medium
Steven Dake (sdake)
Changed in kolla:
milestone: none → liberty-1
Sam Yaple (s8m)
Changed in kolla:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.