<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi everyone!<br>
    I'm having a problem with Quantum and my recent installation of
    Grizzly on Ubuntu 12.04.<br>
    <br>
    I have this Network topology:<br>
    <br>
    <img src="cid:part1.09000404.09060101@gmail.com" alt=""><br>
    <br>
    <br>
    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:<br>
    <br>
    <br>
    <b>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']</b><b><br>
    </b><b>Exit code: 1</b><b><br>
    </b><b>Stdout: ''</b><b><br>
    </b><b>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'</b><b><br>
    </b><b>2013-06-17 09:51:59    ERROR [quantum.agent.dhcp_agent]
      Unable to sync network state.</b><b><br>
    </b><b>Traceback (most recent call last):</b><b><br>
    </b><b>  File
      "/usr/lib/python2.7/dist-packages/quantum/agent/dhcp_agent.py",
      line 155, in sync_state</b><b><br>
    </b><b>    self.refresh_dhcp_helper(network_id)</b><b><br>
    </b><b>  File
      "/usr/lib/python2.7/dist-packages/quantum/agent/dhcp_agent.py",
      line 209, in refresh_dhcp_helper</b><b><br>
    </b><b>    return self.enable_dhcp_helper(network_id)</b><b><br>
    </b><b>  File
      "/usr/lib/python2.7/dist-packages/quantum/agent/dhcp_agent.py",
      line 188, in enable_dhcp_helper</b><b><br>
    </b><b>    self.enable_isolated_metadata_proxy(network)</b><b><br>
    </b><b>  File
      "/usr/lib/python2.7/dist-packages/quantum/agent/dhcp_agent.py",
      line 329, in enable_isolated_metadata_proxy</b><b><br>
    </b><b>    pm.enable(callback)</b><b><br>
    </b><b>  File
      "/usr/lib/python2.7/dist-packages/quantum/agent/linux/external_process.py",
      line 55, in enable</b><b><br>
    </b><b>    ip_wrapper.netns.execute(cmd)</b><b><br>
    </b><b>  File
      "/usr/lib/python2.7/dist-packages/quantum/agent/linux/ip_lib.py",
      line 407, in execute</b><b><br>
    </b><b>    check_exit_code=check_exit_code)</b><b><br>
    </b><b>  File
      "/usr/lib/python2.7/dist-packages/quantum/agent/linux/utils.py",
      line 61, in execute</b><b><br>
    </b><b>    raise RuntimeError(m)</b><b><br>
    </b><b>RuntimeError:</b><b><br>
    </b><b>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']</b><b><br>
    </b><b>Exit code: 1</b><b><br>
    </b><b>Stdout: ''</b><b><br>
    </b><b>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'</b><b><br>
    </b><b>Waiting for data... (interrupt to abort)</b><br>
    <br>
    <br>
    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.<br>
    On Quantum, the Gateways Interface are down:<br>
    <br>
    <img src="cid:part2.01050908.09040000@gmail.com" alt=""><br>
    <br>
    On Google, I see some similar errors, but not a real solution.<br>
    <br>
    Someone had this issue? How it was resolved?<br>
    <br>
    Thanks!<br>
    Ricardo<br>
    <br>
  </body>
</html>