Activity log for bug #1417331

Date Who What changed Old value New value Message
2015-02-03 00:51:42 Maru Newby bug added bug
2015-02-03 00:53:56 Maru Newby oslo.rootwrap: assignee Maru Newby (maru)
2015-02-03 00:57:22 Maru Newby description When invoking a command via IpNetnsExecFilter, the 'ip' command is automatically qualified depending on where it has been found via exec_dirs (e.g. the 'ip' command is found at '/sbin/ip' and that qualified command is executed). However, a command invoked by ip netns is not similarly qualified such that it being found is entirely dependent on the PATH environment. This is causing problems for neutron functional testing where the target command is in a venv bin directory and a qualified path is required. When invoking a command via IpNetnsExecFilter, the 'ip' command is automatically qualified depending on where it has been found via exec_dirs (e.g. the 'ip' command is found at '/sbin/ip' and that qualified command is executed). However, a command invoked by ip netns is not similarly qualified such that it being found is entirely dependent on the PATH environment. This is causing problems for neutron functional testing where the target command is in a venv bin directory and a qualified path is required, e.g. The following command is executed: sudo /usr/local/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ip netns exec mynamespace neutron-ns-metadata-proxy Resulting in: exec of "neutron-ns-metadata-proxy" failed: No such file or directory This despite exec_dirs including the path of the neutron-ns-metadata-proxy command. What should be executed: /sbin/ip netns exec mynamespace /[path to proxy]/neutron-ns-metadata-proxy What is being executed: /sbin/ip netns exec mynamespace neutron-ns-metadata-proxy
2015-02-03 18:24:29 Ihar Hrachyshka bug added subscriber Ihar Hrachyshka
2015-02-04 11:40:48 Miguel Angel Ajo oslo.rootwrap: assignee Maru Newby (maru) Miguel Angel Ajo (mangelajo)
2015-02-04 14:17:28 OpenStack Infra oslo.rootwrap: status New In Progress
2015-02-25 17:29:37 Joe Julian bug added subscriber Joe Julian
2015-05-23 22:14:56 OpenStack Infra oslo.rootwrap: assignee Miguel Angel Ajo (mangelajo) Stephen Ma (stephen-ma)
2015-07-13 20:28:20 Davanum Srinivas (DIMS) oslo.rootwrap: status In Progress Confirmed
2016-03-04 03:32:21 Davanum Srinivas (DIMS) oslo.rootwrap: assignee Stephen Ma (stephen-ma)
2017-05-16 08:25:19 Ebbex attachment added rootwrap.patch https://bugs.launchpad.net/oslo.rootwrap/+bug/1417331/+attachment/4877362/+files/rootwrap.patch
2017-05-16 08:29:37 Ebbex bug added subscriber Ebbex