The git commit 873aad92944f8840e772d65eda4b3320d65a9ce7[1] has moved
"brctl addif" command, but the commit did not move its error check.
Now the error check sees the result of "ip addr show dev <interface>
scope global" command wrongly, and the command outputs "Dump was
interrupted and may be inconsistent" sometimes because of a kernel change.
As the result, gate failures happen sometimes.
Reviewed: https:/ /review. openstack. org/120843 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=311ab5777d0 2bd8a2277afd26c fbeae005b225cb
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit 311ab5777d02bd8 a2277afd26cfbea e005b225cb
Author: Ken'ichi Ohmichi <email address hidden>
Date: Wed Jun 25 18:15:39 2014 +0900
Move the error check for "brctl addif"
The git commit 873aad92944f884 0e772d65eda4b33 20d65a9ce7[ 1] has moved
"brctl addif" command, but the commit did not move its error check.
Now the error check sees the result of "ip addr show dev <interface>
scope global" command wrongly, and the command outputs "Dump was
interrupted and may be inconsistent" sometimes because of a kernel change.
As the result, gate failures happen sometimes.
This patch moves the error check to right place.
[1]: https:/ /github. com/openstack/ nova/commit/ 873aad92944f884 0e772d65eda4b33 20d
Change-Id: I92ee96e3aa34f7 cd154a8ce4b3385 2b96cabe8c9 1e741cf8f608ce5 212b0cc7bb)
Closes-Bug: #1334142
(cherry picked from commit c250696ba12ead7