openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #15715
Re: [Quantum] Removing quantum-rootwrap
> From: Thierry Carrez <thierry@xxxxxxxxxxxxx>
> Date: Fri, 10 Aug 2012 17:38:52 +0200
>
> jrd@xxxxxxxxxx wrote:
> > Apologies for the not-very coherent description. Please let me know
> > if you think I'm off in the weeds or missing important bits.
>
> One other thing I spotted when I evaluated how broken quantum-rootwrap
> was is at quantum/agent/linux/dhcp.py:181 where a command is called with
> environment set. That works with sudo but rootwrap clears the
> environment. This call therefore needs a specific filter (and probably
> never worked with rootwrap).
Hmmm. I hadn't even considered that. Ok, I'll keep that in mind as
I'm in there.
>
> There is one filter defined for dnsmasq (the DnsmasqFilter which is
> defined at quantum/rootwrap/filters.py:71) but it sets a slightly
> different set of env variables. So it might need to be adapted (or the
> call adjusted).
>
Fair enough. I don't even know what that does yet, so will need to
work that out and figure out how to adjust.
> Hope this helps.
Very much, thanks. More news as it happens...
Follow ups
References
-
[Quantum] Removing quantum-rootwrap
From: Thierry Carrez, 2012-08-08
-
Re: [Quantum] Removing quantum-rootwrap
From: Robert Kukura, 2012-08-08
-
Re: [Quantum] Removing quantum-rootwrap
From: Thierry Carrez, 2012-08-08
-
Re: [Quantum] Removing quantum-rootwrap
From: Dan Wendlandt, 2012-08-08
-
Re: [Quantum] Removing quantum-rootwrap
From: jrd, 2012-08-08
-
Re: [Quantum] Removing quantum-rootwrap
From: Thierry Carrez, 2012-08-09
-
Re: [Quantum] Removing quantum-rootwrap
From: jrd, 2012-08-09
-
Re: [Quantum] Removing quantum-rootwrap
From: Thierry Carrez, 2012-08-09
-
Re: [Quantum] Removing quantum-rootwrap
From: jrd, 2012-08-10
-
Re: [Quantum] Removing quantum-rootwrap
From: Thierry Carrez, 2012-08-10