Add appropriate options for all command executing run_vsctl
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Expired
|
Medium
|
Unassigned |
Bug Description
Hi team,
xianghui@
Ubuntu 13.10 \n \l
xianghui@
Linux xianghui 3.11.0-18-generic #32-Ubuntu SMP Tue Feb 18 21:11:14 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
xianghui@
ovs-vsctl (Open vSwitch) 1.10.2
I am encountering the following error when turning "integration_
This error should be raised to stop the agent to remind operators what happened other than flooded in the log.
2013-11-27 21:54:17.517 28492 INFO neutron.
2013-11-27 21:54:17.754 28492 ERROR neutron.
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/
Exit code: 1
Stdout: ''
Stderr: 'ovs-vsctl: bridge br-vlan does not have a port int-br-eth1\n'
2013-11-27 21:54:18.379 28492 ERROR neutron.
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/
Exit code: 1
Stdout: ''
Stderr: 'ovs-vsctl: "--may-exist add-port br-vlan int-br-eth1" but int-br-eth1 is actually attached to bridge br-int\n'
2013-11-27 21:54:19.130 28628 INFO neutron.
2013-11-27 21:54:19.184 28628 INFO neutron.
2013-11-27 21:54:19.220 28628 INFO neutron.
2013-11-27 21:54:19.451 28628 INFO neutron.
2013-11-27 21:54:19.689 28628 ERROR neutron.
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/
Exit code: 1
Stdout: ''
Stderr: 'ovs-vsctl: bridge br-vlan does not have a port int-br-eth1\n'
2013-11-27 21:54:20.106 28628 ERROR neutron.
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/
Exit code: 1
Stdout: ''
Stderr: 'ovs-vsctl: "--may-exist add-port br-vlan int-br-eth1" but int-br-eth1 is actually attached to bridge br-int\n'
2013-11-27 21:54:20.947 28628 INFO neutron.
2013-11-27 21:54:20.947 28628 INFO neutron.
All commands executing run_vsctl should appropriately raise the RuntimeError when do a setting operation and avoid raising the RuntimeError when do a getting operation.
description: | updated |
summary: |
- Should raise the error repoted by vsctl when adding port + Add checking and precaution for command run_vsctl |
summary: |
- Add checking and precaution for command run_vsctl + Add appropriate options for all command executing run_vsctl |
Changed in neutron: | |
importance: | Undecided → Medium |
milestone: | none → icehouse-3 |
Changed in neutron: | |
milestone: | icehouse-3 → icehouse-rc1 |
Changed in neutron: | |
milestone: | icehouse-rc1 → none |
description: | updated |
Changed in neutron: | |
status: | In Progress → Confirmed |
Fix proposed to branch: master /review. openstack. org/58954
Review: https:/