Re: [Openstack] Grizzly installation successful but VM is not accessible over network or from the host machine

2013-05-10 Thread Kamarul
Nikhil,

Configuring networking (quantum) is a common problem as such a vm cannot
ping to other host outside of openstack setup.
For a start, you may look into logs (/var/log/quantum), that will give you
clue.

What is your router's interfaces status, up or down?

Go through below logs

dhcp-agent.log
l3-agent.log
openvswitch-agent.log
ovs-cleanup.log
server.log





Thank You,

Regards
Kamarul

Follow me at rehdat.blogspot.com


On Fri, May 10, 2013 at 1:29 PM, Nikhil Mittal mittalnik...@gmail.comwrote:

 Hello,
 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.

 The commands 'ifconfig' does not show any of the bridges, nor 'route'
 shows any additional routes created.
 I have attached the screenshot of the network topology (from Dashboard).

 NOTE:
 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.
 2. I have added required security group to enable TCP and ICMP traffic.

 Thanks,
 Nikhil
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Grizzly installation successful but VM is not accessible over network or from the host machine

2013-05-10 Thread Kamarul
Stderr: sudo: no tty present and no askpass program specified\nSorry, user
quantum is not allowed to execute

above caused by quantum user does not have permission for sudo

See this discussion:

https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/issues/39

quantum ALL=NOPASSWD: ALL

Thank You,

Regards
Kamarul

Follow me at rehdat.blogspot.com


On Fri, May 10, 2013 at 4:22 PM, Nikhil Mittal mittalnik...@gmail.comwrote:

 Kamarul,
 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).
 Also i see following error message in /var/log/quantum/dhcp-agent.log:

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

 ==
 Router Overview: router_osk_1
 Namerouter_osk_1IDa04a3393-f292-4943-9e13-4a5733921bb6StatusACTIVE
 --
   Interfaces
 Add 
 Interfacehttp://10.78.104.111/horizon/project/routers/a04a3393-f292-4943-9e13-4a5733921bb6/addinterface
   Name Fixed IPs Status Type Admin State Actions   
 (449eac7f)http://10.78.104.111/horizon/project/networks/ports/449eac7f-e582-4816-b099-93f5dd49c15f/detail

- 10.78.99.81

 DOWNInternal InterfaceUP
Displaying 1 item
 =
 Thanks,
 Nikhil




 On Fri, May 10, 2013 at 11:59 AM, Kamarul profkama...@gmail.com wrote:

 Nikhil,

 Configuring networking (quantum) is a common problem as such a vm cannot
 ping to other host outside of openstack setup.
 For a start, you may look into logs (/var/log/quantum), that will give
 you clue.

 What is your router's interfaces status, up or down?

 Go through below logs

 dhcp-agent.log
 l3-agent.log
 openvswitch-agent.log
 ovs-cleanup.log
 server.log





 Thank You,

 Regards
 Kamarul

 Follow me at rehdat.blogspot.com


 On Fri, May 10, 2013 at 1:29 PM, Nikhil Mittal mittalnik...@gmail.comwrote:

 Hello,
 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.

 The commands 'ifconfig' does not show any of the bridges, nor 'route'
 shows any additional routes created.
 I have attached the screenshot of the network topology (from Dashboard).

 NOTE:
 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.
 2. I have added required security group to enable TCP and ICMP traffic.

 Thanks,
 Nikhil
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp




___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] [Quantum] Error while creating integration bridge

2013-05-09 Thread Kamarul
Hi Ashutosh,

In reply to your query on Quantum CLI errors on Grizzly

I have similar error when running quantum net-create private as per step
13.1 Create a private network according to
https://fedoraproject.org/wiki/Packstack_to_Quantum

My System information:

RHEL 6.4
Installation done following the Red Hat RDO @
http://openstack.redhat.com/Quickstart, you may go deep into looking my
post on installing RDO for RHEL @
http://openstack.redhat.com/forum/discussion/98/my-redhat-version#Item_4

Workaround:

1) Disable selinux
2) Disable firewall

Above steps might not be the root cause.

Looking into /var/log/quantum

tail /var/log/quantum/l3-agent.log
2013-05-09 11:07:38ERROR [quantum.openstack.common.rpc.impl_qpid]
Unable to connect to AMQP server: [Errno -2] Name or service not known.
Sleeping 16 seconds

It is said that Unable to connect to AMQP server

1) check the qpid service whether it is running or not

# netstat -ntupl |grep 5672
tcp0  0 0.0.0.0:56720.0.0.0:*
LISTEN  2671/qpidd
tcp0  0 :::5672
:::*LISTEN  2671/qpidd

2) check your /etc/quantum/quantum.conf
search for qpid_hostname, for example my configuration

qpid_hostname = rdo

the program look for qpid service on host rdo instead of localhost,
Check whether you can ping the hostname, e.g ping rdo, if it is not then
resolve it via /etc/hosts file

127.0.0.1   localhost localhost.localdomain localhost4 rdo

3) This might also not be the cause, but I did change. Check your
/etc/nova/nova.conf
#grep rabbit /etc/nova/nova.conf

rabbit_host=192.168.204.134

re run the quantum net-create step.

I also able to create network and routers in dashboard

Hope this helps.*

*

Thank You,

Regards
Kamarul

Follow me at rehdat.blogspot.com


On Thu, May 9, 2013 at 2:01 PM, Ashutosh Narayan aashutoshnara...@gmail.com
 wrote:

 Hi Filipe,

 OpenvSwitch module is properly loaded in the kernel.
 I was able to create bridges. I now have problems in
 creating private networks using Quantum CLI.
 ( This has been posted in another thread to the list )

 Thank you,

 On Thu, May 9, 2013 at 3:35 AM, Filipe Manco filipe.ma...@gmail.comwrote:

 Can you provide the logs of openvswitch?
 Also check that the openvswitch kernel module is correctly loaded.

 Filipe Manco
 http://about.me/fmanco


 2013/5/8 Ashutosh Narayan aashutoshnara...@gmail.com

 Hi Filipe,

 Service was already running. I tried restarting it. No luck


 On Wed, May 8, 2013 at 4:49 PM, Filipe Manco filipe.ma...@gmail.comwrote:

 Probably the openvswitch service isn't running. Run service
 openvswitch status to check it. If it is already running try to
 restart it.

 Filipe Manco
 http://about.me/fmanco


 2013/5/8 Ashutosh Narayan aashutoshnara...@gmail.com

  Hi Folks,

 I was following the below link to install Quantum on Grizzly -
 https://fedoraproject.org/wiki/Packstack_to_Quantum

 While running the step to create integration bridge I get
 the following error :
 [root@ ~(keystone_admin)]# ovs-vsctl add-br br-int
 2013-05-08T10:50:37Z|2|reconnect|WARN|unix:/usr/local/var/run/openvswitch/db.sock:
 connection attempt failed (Connection refused)
 ovs-vsctl: unix:/usr/local/var/run/openvswitch/db.sock: database
 connection failed (Connection refused)

 What could be the possible reason behind this ?

 Thank you,
 --
 Ashutosh Narayan

 http://ashutoshn.wordpress.com/


 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp





 --
 Ashutosh Narayan

 http://ashutoshn.wordpress.com/





 --
 Ashutosh Narayan

 http://ashutoshn.wordpress.com/


 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp