Quantum issues with Openstack EPEL

Nux! nux at li.nux.ro
Sun Nov 18 08:16:57 UTC 2012


On 18.11.2012 05:42, Gary Kotton wrote:
> Hi Lucian,

Hello Gary,

>> 1. At the "Please check that the following are in 
>> /etc/quantum/l3_agent.ini" section turns out that what I had in my ini 
>> file was this:
>> "auth_url = http://127.0.0.1:5000/v2.0/
>> auth_region = RegionOne
>> admin_tenant_name = admin
>> admin_user = admin
>> admin_password = verybadpass"
>> I commented that out and replaced with the settings from 
>> instructions.
>
> Did you run the "sudo quantum-l3-setup --plugin openvswitch"?

Yes!

>>
>> All the quantum/openvswitch router/soubet/etc add worked 
>> (surprisingly). But now I see the following errors:
>>
>> /var/log/quantum/l3-agent.log:
>> Unauthorized: {"error": {"message": "Invalid user / password", 
>> "code": 401, "title": "Not Authorized"}}
>>
>
> This is due to the fact that keystone athentication is not working. A
> quick explanation - the l3 agent makes use of the quantum http client
> to interface with the quantum service. This requires keystone
> authentication. If this fails then the l3 agent will not be able to
> communicate with the service. Can you please do the following:
> 1. Check if the Quantum service is listening on port 9696? (netstat
> -an|grep 9696). Did you reboot after the installation? There is
> currently a know issue that the Quantum service hangs after reboot. 
> If
> this is the case then you can just restart the quantum service (this
> has been fixed and will soon be packaged)

The port shows up in netstat and I have both rebooted and restarted the 
services several times.

> 2. Can you please check the log files in /var/log/quantum. This may
> provide some additional information.
> 3. Can you please check the nova log files?

I'll try to repeat my tests and check the log files for additional 
information.

>
>>
>> And if I try to boot an (ami) image this is what I get:
>>
>> /var/log/quantum/dhcp-agent.log:
>>
>> 012-11-17 20:04:02     INFO [quantum.agent.dhcp_agent] Synchronizing 
>> state
>> 2012-11-17 20:04:02    ERROR [quantum.agent.dhcp_agent] Unable to 
>> enable dhcp.
>> Traceback (most recent call last):
>>   File 
>> "/usr/lib/python2.6/site-packages/quantum/agent/dhcp_agent.py", line 
>> 91, in call_driver
>>     getattr(driver, action)()
>>   File 
>> "/usr/lib/python2.6/site-packages/quantum/agent/linux/dhcp.py", line 
>> 112, in enable
>>     self.spawn_process()
>>   File 
>> "/usr/lib/python2.6/site-packages/quantum/agent/linux/dhcp.py", line 
>> 258, in spawn_process
>>     utils.execute(cmd, self.root_helper)
>>   File 
>> "/usr/lib/python2.6/site-packages/quantum/agent/linux/utils.py", line 
>> 55, in execute
>>     raise RuntimeError(m)
>> RuntimeError:
>> Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 
>> 'QUANTUM_RELAY_SOCKET_PATH=/var/lib/quantum/dhcp/lease_relay', 
>> 'QUANTUM_NETWORK_ID=ac677a39-f950-4a4c-a883-ed1244f122b0', 'dnsmasq', 
>> '--no-hosts', '--no-resolv', '--strict-order', '--bind-interfaces', 
>> '--interface=tape7e12416-33', '--except-interface=lo', 
>> '--domain=openstacklocal', 
>> '--pid-file=/var/lib/quantum/dhcp/ac677a39-f950-4a4c-a883-ed1244f122b0/pid', 
>> '--dhcp-hostsfile=/var/lib/quantum/dhcp/ac677a39-f950-4a4c-a883-ed1244f122b0/host', 
>> '--dhcp-optsfile=/var/lib/quantum/dhcp/ac677a39-f950-4a4c-a883-ed1244f122b0/opts', 
>> '--dhcp-script=/usr/bin/quantum-dhcp-agent-dnsmasq-lease-update', 
>> '--leasefile-ro', '--dhcp-range=set:tag0,10.0.0.0,static,120s']
>> Exit code: 3
>> Stdout: ''
>> Stderr: '\ndnsmasq: cannot run lease-init script 
>> /usr/bin/quantum-dhcp-agent-dnsmasq-lease-update: No such file or 
>> directory\n'
>>
>
> Can you please provide details of "which
> quantum-dhcp-agent-dnsmasq-lease-update"?

[root at openstack ~]# which quantum-dhcp-agent-dnsmasq-lease-update
/usr/bin/quantum-dhcp-agent-dnsmasq-lease-update
[root at openstack ~]# rpm -qf 
/usr/bin/quantum-dhcp-agent-dnsmasq-lease-update
openstack-quantum-2012.2-2.el6.noarch


> Can you please provide the nova.conf file.

Sure, http://fpaste.org/RUt2/

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


More information about the cloud mailing list