[Openstack-operators] Quantum Gateway Interfaces Problem

Ricardo Contreras rcontreras1989 at gmail.com
Mon Jun 17 13:55:13 UTC 2013


Hi everyone!
I'm having a problem with Quantum and my recent installation of Grizzly 
on Ubuntu 12.04.

I have this Network topology:




The Virtual Machine "Testing" take correctly the IP Address on the 
Network that it was created. The problem here is that the Router doesn't 
take the IP Address of the Subnet (In this case is 10.0.1.1 and 
10.0.2.1). If I check the logs of Quantum, I found this errors on 
dhcp-agent.log:


*Command: ['sudo', 'ip', 'netns', 'exec', 
'qdhcp-308fa2d9-d600-462e-b09a-be007cb8a6e8', 
'quantum-ns-metadata-proxy', 
'--pid_file=/var/lib/quantum/external/pids/308fa2d9-d600-462e-b09a-be007cb8a6e8.pid', 
'--network_id=308fa2d9-d600-462e-b09a-be007cb8a6e8', 
'--state_path=/var/lib/quantum', '--metadata_port=80', 
'--log-file=quantum-ns-metadata-proxy308fa2d9-d600-462e-b09a-be007cb8a6e8.log', 
'--log-dir=/var/log/quantum']**
**Exit code: 1**
**Stdout: ''**
**Stderr: 'sudo: no tty present and no askpass program specified\nSorry, 
try again.\nsudo: no tty present and no askpass program 
specified\nSorry, try again.\nsudo: no tty present and no askpass 
program specified\nSorry, try again.\nsudo: 3 incorrect password 
attempts\n'**
**2013-06-17 09:51:59    ERROR [quantum.agent.dhcp_agent] Unable to sync 
network state.**
**Traceback (most recent call last):**
**  File "/usr/lib/python2.7/dist-packages/quantum/agent/dhcp_agent.py", 
line 155, in sync_state**
**    self.refresh_dhcp_helper(network_id)**
**  File "/usr/lib/python2.7/dist-packages/quantum/agent/dhcp_agent.py", 
line 209, in refresh_dhcp_helper**
**    return self.enable_dhcp_helper(network_id)**
**  File "/usr/lib/python2.7/dist-packages/quantum/agent/dhcp_agent.py", 
line 188, in enable_dhcp_helper**
**    self.enable_isolated_metadata_proxy(network)**
**  File "/usr/lib/python2.7/dist-packages/quantum/agent/dhcp_agent.py", 
line 329, in enable_isolated_metadata_proxy**
**    pm.enable(callback)**
**  File 
"/usr/lib/python2.7/dist-packages/quantum/agent/linux/external_process.py", 
line 55, in enable**
**    ip_wrapper.netns.execute(cmd)**
**  File 
"/usr/lib/python2.7/dist-packages/quantum/agent/linux/ip_lib.py", line 
407, in execute**
**    check_exit_code=check_exit_code)**
**  File 
"/usr/lib/python2.7/dist-packages/quantum/agent/linux/utils.py", line 
61, in execute**
**    raise RuntimeError(m)**
**RuntimeError:**
**Command: ['sudo', 'ip', 'netns', 'exec', 
'qdhcp-308fa2d9-d600-462e-b09a-be007cb8a6e8', 
'quantum-ns-metadata-proxy', 
'--pid_file=/var/lib/quantum/external/pids/308fa2d9-d600-462e-b09a-be007cb8a6e8.pid', 
'--network_id=308fa2d9-d600-462e-b09a-be007cb8a6e8', 
'--state_path=/var/lib/quantum', '--metadata_port=80', 
'--log-file=quantum-ns-metadata-proxy308fa2d9-d600-462e-b09a-be007cb8a6e8.log', 
'--log-dir=/var/log/quantum']**
**Exit code: 1**
**Stdout: ''**
**Stderr: 'sudo: no tty present and no askpass program specified\nSorry, 
try again.\nsudo: no tty present and no askpass program 
specified\nSorry, try again.\nsudo: no tty present and no askpass 
program specified\nSorry, try again.\nsudo: 3 incorrect password 
attempts\n'**
**Waiting for data... (interrupt to abort)*


It repeats several time (when I start up Quantum or when I create a new 
virtual machine). If I try to do a ping to the "Gateway" address, it 
doesn't response.
On Quantum, the Gateways Interface are down:



On Google, I see some similar errors, but not a real solution.

Someone had this issue? How it was resolved?

Thanks!
Ricardo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130617/32741882/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hbfhaigg.png
Type: image/png
Size: 29400 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130617/32741882/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: idfaegca.png
Type: image/png
Size: 29485 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130617/32741882/attachment-0001.png>


More information about the OpenStack-operators mailing list