Ask Your Question
0

Unable to use( ping or ssh ) the vm instances ... even after multiple attempts of clean openstack Installation

asked 2011-04-18 08:16:30 -0600

nkanthikiran gravatar image

*** Query ******

I have been trying to setup proof of concept installation of OpenStack with no luck so far. My installation is based on the openstack official guides. Its little confusing to chose the installation method. I have tried both scripted and manual installation so far with ttylinux image up and running but unable to ping or ssh it.

Today I have done a clean manual installation of Cactus release and again facing the same issue.

I had a sucess with Openstack installation in VirtualBox as instructed in this link http://uksysadmin.wordpress.com/2011/02/17/running-openstack-under-virtualbox-a-complete-guide/ (http://uksysadmin.wordpress.com/2011/...)

I am looking for a single server ( all services on same server ) setup with multiple projects and users with OpenDashboard to work in sync to demonstrate OpenStack at my working place to be able to scale it with multiple nodes in future

Please guide me if i am missing anything in the setup

Also suggest me the best ways of configuring setup for POC

** Installation Architecture **

All In One - Currently all the services are running on a single hardware server. using the following document

http://docs.openstack.org/cactus/openstack-compute/admin/content/ (http://docs.openstack.org/cactus/open...)

Used FlatDHCPManager


** Installation Procedure **

Manual Installation as per the openstack official documentation


** Running Instances Procedure **


** Ping and SSH **


** nova.conf **

--dhcpbridge_flagfile=/etc/nova/nova.conf --dhcpbridge=/usr/bin/nova-dhcpbridge --logdir=/var/log/nova --state_path=/var/lib/nova --lock_path=/var/lock/nova --verbose --s3_host=192.168.138.150 --rabbit_host=192.168.138.150 --cc_host=192.168.138.150 --ec2_url=http://192.168.138.150:8773/services/Cloud --fixed_range=10.0.0.0/12 --network_size=8 --routing_source_ip=192.168.138.150 --sql_connection=mysql://root:nova@192.168.138.150/nova --network_manager=nova.network.manager.FlatDHCPManager --flat_network_dhcp_start=10.0.0.2 --flat_interface=eth1 --flat_injected=False --public_interface=eth0


** ifconfig **

root@openstack-manual:~# ifconfig br100 Link encap:Ethernet HWaddr 00:05:5d:42:05:70
inet addr:192.168.0.1 Bcast:192.168.0.127 Mask:255.255.255.128 inet6 addr: fe80::218:8bff:fe8d:69fa/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:495822 errors:0 dropped:0 overruns:0 frame:0 TX packets:189 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:401146574 (401.1 MB) TX bytes:9054 (9.0 KB)

eth0 Link encap:Ethernet HWaddr 00:05:5d:42:05:70
inet addr:192.168.138.150 Bcast:192.168.138.255 Mask:255.255.255.0 inet6 addr: fe80::205:5dff:fe42:570/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:425228 errors:0 dropped:0 overruns:0 frame:0 TX packets:721472 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:600450491 (600.4 MB) TX bytes:427543412 (427.5 MB) Interrupt:17 Base address:0xcc00

eth1 Link encap:Ethernet HWaddr 00:18:8b:8d:69:fa
inet6 addr: fe80::218:8bff:fe8d:69fa/64 Scope:Link ...

(more)
edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
1

answered 2011-04-19 06:55:00 -0600

nkanthikiran gravatar image

Thanks Vish Ishaya, that solved my question.

edit flag offensive delete link more
0

answered 2011-04-18 13:12:38 -0600

nkanthikiran gravatar image

Also adding the below information:

root@openstack-manual:/var# ps aux | grep dnsmasq root 13534 0.0 0.0 7620 916 pts/0 S+ 09:09 0:00 grep --color=auto dnsmasq nobody 16537 0.0 0.0 22856 1016 ? S 02:21 0:00 dnsmasq --strict-order --bind-interfaces --conf-file= --domain=novalocal --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=192.168.0.1 --except-interface=lo --dhcp-range=10.0.0.2,static,120s --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro root 16538 0.0 0.0 22856 292 ? S 02:21 0:00 dnsmasq --strict-order --bind-interfaces --conf-file= --domain=novalocal --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=192.168.0.1 --except-interface=lo --dhcp-range=10.0.0.2,static,120s --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro root@openstack-manual:/var#

edit flag offensive delete link more
0

answered 2011-04-18 15:13:22 -0600

vishvananda gravatar image

Looks like you are missing dhcp_listen_address. Since you are trying to use the 192 address range, you need something like --flat_network_dhcp_start=192.168.0.2

then:

killall dnsmasq restart nova-network

and you should be good to go.

Vish

On Apr 18, 2011, at 6:12 AM, Kanthi Kiran N wrote:

Question #153251 on OpenStack Compute (nova) changed: https://answers.launchpad.net/nova/+q...

Kanthi Kiran N gave more information on the question: Also adding the below information:

root@openstack-manual:/var# ps aux | grep dnsmasq root 13534 0.0 0.0 7620 916 pts/0 S+ 09:09 0:00 grep --color=auto dnsmasq nobody 16537 0.0 0.0 22856 1016 ? S 02:21 0:00 dnsmasq --strict-order --bind-interfaces --conf-file= --domain=novalocal --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=192.168.0.1 --except-interface=lo --dhcp-range=10.0.0.2,static,120s --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro root 16538 0.0 0.0 22856 292 ? S 02:21 0:00 dnsmasq --strict-order --bind-interfaces --conf-file= --domain=novalocal --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=192.168.0.1 --except-interface=lo --dhcp-range=10.0.0.2,static,120s --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro root@openstack-manual:/var#


You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more
0

answered 2011-04-19 06:45:23 -0600

nkanthikiran gravatar image

Hi Vish,

Thank You . This solved the issue. I would like to know to know if there are any comprehensive reference to understand the OpenStack Networking which would help to plan the setup at Enterprise Level.

I shall post my questions as a new Query.

Thank you once again.

Regards, Kanthi

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-04-18 08:16:30 -0600

Seen: 48 times

Last updated: Apr 19 '11