[Openstack] [Quantum] Removing quantum-rootwrap

jrd at redhat.com jrd at redhat.com
Fri Aug 10 15:52:49 UTC 2012


>    From: Thierry Carrez <thierry at openstack.org>
>    Date: Fri, 10 Aug 2012 17:38:52 +0200
>    
>    jrd at redhat.com 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...




More information about the Openstack mailing list