<div dir="ltr"><div><div>Stderr: "sudo: no tty present and no askpass program specified\nSorry, user quantum is not allowed to execute<br><br></div>above caused by quantum user does not have permission for sudo<br><br>
</div>See this discussion:<br><br><a href="https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/issues/39">https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/issues/39</a><br><br>quantum ALL=NOPASSWD: ALL<br>
</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">Thank You,<br><br>Regards<br>Kamarul<br><br>Follow me at <a href="http://rehdat.blogspot.com" target="_blank">rehdat.blogspot.com</a><br></div></div>
<br><br><div class="gmail_quote">On Fri, May 10, 2013 at 4:22 PM, Nikhil Mittal <span dir="ltr"><<a href="mailto:mittalnikhil@gmail.com" target="_blank">mittalnikhil@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Kamarul,<br>The status shown on the dashboard is confusing. Under Router Detail section, it shows Status as Active. But under Interfaces it shows as DOWN but Admin status as UP (refer the cut-paste below).<br>Also i see following error message in /var/log/quantum/dhcp-agent.log:<br>

<br>+++++++++++++++<br>Stderr: "sudo: no tty present and no askpass program specified\nSorry, user quantum is not allowed to execute<br>......<br> ERROR [quantum.agent.dhcp_agent] Unable to sync network state.<br>+++++++++++++++<br>

<br>==============================================<br><h3>Router Overview: router_osk_1</h3>

<div>
  <dl><dt>Name</dt><dd>router_osk_1</dd><dt>ID</dt><dd>a04a3393-f292-4943-9e13-4a5733921bb6</dd><dt>Status</dt><dd>ACTIVE</dd></dl>
</div>


<hr>

   


  
  

  
    <table><thead>
  
      <tr>
        <th colspan="7">
          <h3>Interfaces</h3>
          <div>


    
        
            <a href="http://10.78.104.111/horizon/project/routers/a04a3393-f292-4943-9e13-4a5733921bb6/addinterface" title="Add Interface" target="_blank">Add Interface</a>
        
    

    
        
            
        
    

</div>

        </th>
      </tr>
  
  
      
  
  
      
      <tr>
        
          <th><input type="checkbox"></th>
        
          <th>Name</th>
        
          <th>Fixed IPs</th>
        
          <th>Status</th>
        
          <th>Type</th>
        
          <th>Admin State</th>
        
          <th>Actions</th>
        
      </tr>
      
  
    </thead>
  
    <tbody>
    
      <tr>
  <td><input name="object_ids" value="449eac7f-e582-4816-b099-93f5dd49c15f" type="checkbox"></td><td><a href="http://10.78.104.111/horizon/project/networks/ports/449eac7f-e582-4816-b099-93f5dd49c15f/detail" target="_blank">(449eac7f)</a></td>

<td>
<ul><li>
    10.78.99.81
  </li></ul>

</td><td>DOWN</td><td>Internal Interface</td><td>UP</td><td>


<br></td>
</tr>

    
    </tbody>
  
  
    
    <tfoot>
      
      <tr>
        <td colspan="7">
          <span>Displaying 1 item</span></td></tr></tfoot></table>=================================================================<br>Thanks,<br>Nikhil<div class="HOEnZb"><div class="h5"><br><br><br><br><div class="gmail_quote">
On Fri, May 10, 2013 at 11:59 AM, Kamarul <span dir="ltr"><<a href="mailto:profkamarul@gmail.com" target="_blank">profkamarul@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><img name="13e8d88c963ce4f8_13e8d2112779d2e1_:0" style="background-color:rgb(204,204,204)"></div>

</div><font><span name="Nikhil Mittal">Nikhil,<br>
<br></span></font></div><font><span name="Nikhil Mittal">Configuring networking (quantum) is a common problem as such a vm cannot ping to other host outside of openstack setup.<br></span></font></div><font><span name="Nikhil Mittal">For a start, you may look into logs (/var/log/quantum), that will give you clue.<br>


<br></span></font></div><div><font><span name="Nikhil Mittal">What is your router's interfaces status, up or down?<br></span></font></div><div><font><span name="Nikhil Mittal"><br></span></font></div>
<span name="Nikhil Mittal"><font>Go through below logs<br><br>dhcp-agent.log <br>l3-agent.log  <br>openvswitch-agent.log  <br>ovs-cleanup.log  <br>server.log</font><br></span><div><span name="Nikhil Mittal"><br>
<br><br><br></span></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">Thank You,<br><br>Regards<br>Kamarul<br><br>Follow me at <a href="http://rehdat.blogspot.com" target="_blank">rehdat.blogspot.com</a><br>


</div></div>
<br><br><div class="gmail_quote"><div><div>On Fri, May 10, 2013 at 1:29 PM, Nikhil Mittal <span dir="ltr"><<a href="mailto:mittalnikhil@gmail.com" target="_blank">mittalnikhil@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
Hello,<br>I followed the guide on installing Grizzly on 
single-node setup. I was able to install my own customized VM 
successfully (though after resolving a few glitches) but the VM is not accessible on the same host or from another machine. The IP address assigned to the VM does not respond to pings, etc. though the instance is very much alive (can access via 
Dashboard console). Network topology shows Router and the VM being assigned an
 IP.<br><br>The commands 'ifconfig' does not show any of the bridges, nor 
'route' shows any additional routes created.<br>
I have attached the screenshot of the network topology (from Dashboard).<br><br>NOTE:<br>1. I am using Ubuntu
 13.04 on x86 64 bit Intel platform with two NICs. Both NICs have 
addresses which are accessible within the enterprise network.<br>2. I have added required security group to enable TCP and ICMP traffic.<br>
<br>Thanks,<br>Nikhil
<br></div></div>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div>