Make linux.utils.execute log error on return codes
Previously, the execute method in neutron logs everything as debug which hides
a lot of extremely fatal errors like unable to apply security group rules!
This patch changes this code so that we log all non 0 returns as error.
Reviewed: https:/ /review. openstack. org/95902 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=77046d0d889 a8bff095083ae80 a2accd0e25406b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 77046d0d889a8bf f095083ae80a2ac cd0e25406b
Author: Aaron Rosen <email address hidden>
Date: Tue May 27 13:39:39 2014 -0700
Make linux.utils.execute log error on return codes
Previously, the execute method in neutron logs everything as debug which hides
a lot of extremely fatal errors like unable to apply security group rules!
This patch changes this code so that we log all non 0 returns as error.
Change-Id: I7328e62269212c cd9c7950ff064a3 e337de56918
Closes-bug: 1323832
Related-bug: 1322945