[Openstack] How do I manually start dnsmasq with rootwrap?

Zhi-Wei Lu zwlu at ucdavis.edu
Tue May 27 17:55:42 UTC 2014


Hi,

I am trying to debug issue in nova-network with single network node/flatdhcpmanager.  I tried to start dnsmasq as user nova.
I am getting the error of "no filter matched", but I thought that the filter is defined in
/usr/share/nova/rootwrap/network.filters

su - nova -s /bin/bash

sudo nova-rootwrap /etc/nova/rootwrap.conf env CONFIG_FILE=["/usr/share/nova/nova-dist.conf", "/etc/nova/nova.conf"] NETWORK_ID=3 dnsmasq --strict-order --bind-interfaces --conf-file= --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=192.168.165.1 --except-interface=lo --dhcp-range=set:demo-net,192.168.165.2,static,255.255.255.0,120s --dhcp-lease-max=256 --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro --domain=novalocal exec

/usr/bin/nova-rootwrap: Unauthorized command: CONFIG_FILE=[/usr/share/nova/nova-dist.conf, /etc/nova/nova.conf] NETWORK_ID=3 dnsmasq --strict-order --bind-interfaces --conf-file= --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=192.168.165.1 --except-interface=lo --dhcp-range=set:demo-net,192.168.165.2,static,255.255.255.0,120s --dhcp-lease-max=256 --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro --domain=novalocal exec (no filter matched)

Thanks for your help!

Zhi-Wei Lu
IET-CR-Network Operations Center
University of California, Davis
(530) 752-0155

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140527/a0169859/attachment.html>


More information about the Openstack mailing list