l3 agent not using root_helper to check namespace
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Committed
|
Undecided
|
Kevin Benton |
Bug Description
The L3 agent is not using the root helper when checking to see that a namespace already exists. This causes it get no listed namespaces if using an unprivileged account and try to create a duplicate namespace, which then fails because it already exists and raises a runtime error like the one below.
Traceback (most recent call last):
File "/usr/lib/
func(*args, **kwargs)
File "/usr/lib/
p['ip_cidr'], p['mac_address'])
File "/usr/lib/
prefix=
File "/usr/lib/
namespace_obj = ip.ensure_
File "/usr/lib/
ip = self.netns.
File "/usr/lib/
self.
File "/usr/lib/
kwargs.
File "/usr/lib/
namespace)
File "/usr/lib/
root_
File "/usr/lib/
raise RuntimeError(m)
RuntimeError:
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/
Exit code: 1
Stdout: ''
Stderr: 'Could not create /var/run/
Changed in neutron: | |
assignee: | nobody → Kevin Benton (kevinbenton) |
Fix proposed to branch: master /review. openstack. org/109736
Review: https:/