Unable to use( ping or ssh ) the vm instances ... even after multiple attempts of clean openstack Installation
************ 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://
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://
Used FlatDHCPManager
*******
********** Installation Procedure **********
Manual Installation as per the openstack official documentation
*******
********** Running Instances Procedure **********
*******
********** Ping and SSH **********
*******
********** nova.conf **********
--dhcpbridge_
--dhcpbridge=
--logdir=
--state_
--lock_
--verbose
--s3_host=
--rabbit_
--cc_host=
--ec2_url=http://
--fixed_
--network_size=8
--routing_
--sql_connectio
--network_
--flat_
--flat_
--flat_
--public_
*******
********** ifconfig **********
root@openstack-
br100 Link encap:Ethernet HWaddr 00:05:5d:42:05:70
inet addr:192.168.0.1 Bcast:192.168.0.127 Mask:255.
inet6 addr: fe80::218:
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
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.
inet6 addr: fe80::205:
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
RX bytes:600450491 (600.4 MB) TX bytes:427543412 (427.5 MB)
eth1 Link encap:Ethernet HWaddr 00:18:8b:8d:69:fa
inet6 addr: fe80::218:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:495328 errors:1433 dropped:0 overruns:0 frame:1433
TX packets:688 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:409705698 (409.7 MB) TX bytes:171344 (171.3 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1850756 errors:0 dropped:0 overruns:0 frame:0
TX packets:1850756 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:568185003 (568.1 MB) TX bytes:568185003 (568.1 MB)
virbr0 Link encap:Ethernet HWaddr a2:23:55:5a:86:d9
inet addr:192.168.122.1 Bcast:192.
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
vlan100 Link encap:Ethernet HWaddr 00:05:5d:42:05:70
inet6 addr: fe80::205:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:495719 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:410037554 (410.0 MB)
vnet0 Link encap:Ethernet HWaddr fe:16:3e:7b:3b:c2
inet6 addr: fe80::fc16:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:252 errors:0 dropped:0 overruns:0 frame:0
TX packets:353384 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:79680 (79.6 KB) TX bytes:292425458 (292.4 MB)
vnet1 Link encap:Ethernet HWaddr fe:16:3e:6a:52:d4
inet6 addr: fe80::fc16:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:33 errors:0 dropped:0 overruns:0 frame:0
TX packets:41625 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:9162 (9.1 KB) TX bytes:35288362 (35.2 MB)
root@openstack-
*******
*************** /etc/network/
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.138.150
netmask 255.255.255.0
network 192.168.138.0
broadcast 192.168.138.255
gateway 192.168.138.111
# dns-* options are implemented by the resolvconf package, if installed
dns-search rnd.local
# Networking for OpenStack Compute
auto br100
iface br100 inet dhcp
bridge_ports eth1
bridge_stp off
bridge_maxwait 0
bridge_fd 0
*******
********** iptables-save **********
root@openstack-
# Generated by iptables-save v1.4.4 on Mon Apr 18 04:29:37 2011
*nat
:PREROUTING ACCEPT [214:30960]
:POSTROUTING ACCEPT [86:5544]
:OUTPUT ACCEPT [78:4680]
:nova-compute-
:nova-compute-
:nova-compute-
:nova-compute-
:nova-compute-snat - [0:0]
:nova-network-
:nova-network-
:nova-network-
:nova-network-
:nova-network-snat - [0:0]
:nova-postrouti
-A PREROUTING -j nova-compute-
-A PREROUTING -j nova-network-
-A PREROUTING -d 169.254.169.254/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.
-A POSTROUTING -j nova-compute-
-A POSTROUTING -j nova-network-
-A POSTROUTING -j nova-postroutin
-A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -p tcp -j MASQUERADE --to-ports 1024-65535
-A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -p udp -j MASQUERADE --to-ports 1024-65535
-A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -j MASQUERADE
-A OUTPUT -j nova-compute-OUTPUT
-A OUTPUT -j nova-network-OUTPUT
-A nova-compute-snat -j nova-compute-
-A nova-network-
-A nova-network-
-A nova-network-
-A nova-network-snat -j nova-network-
-A nova-network-snat -s 10.0.0.0/12 -j SNAT --to-source 192.168.138.150
-A nova-postroutin
-A nova-postroutin
COMMIT
# Completed on Mon Apr 18 04:29:37 2011
# Generated by iptables-save v1.4.4 on Mon Apr 18 04:29:37 2011
*filter
:INPUT ACCEPT [757440:64298993]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [756114:66751153]
:nova-compute-
:nova-compute-INPUT - [0:0]
:nova-compute-
:nova-compute-
:nova-compute-local - [0:0]
:nova-compute-
:nova-filter-top - [0:0]
:nova-network-
:nova-network-INPUT - [0:0]
:nova-network-
:nova-network-local - [0:0]
-A INPUT -j nova-compute-INPUT
-A INPUT -j nova-network-INPUT
-A INPUT -i virbr0 -p udp -m udp --dport 53 -j ACCEPT
-A INPUT -i virbr0 -p tcp -m tcp --dport 53 -j ACCEPT
-A INPUT -i virbr0 -p udp -m udp --dport 67 -j ACCEPT
-A INPUT -i virbr0 -p tcp -m tcp --dport 67 -j ACCEPT
-A FORWARD -j nova-filter-top
-A FORWARD -j nova-compute-
-A FORWARD -j nova-network-
-A FORWARD -d 192.168.122.0/24 -o virbr0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -s 192.168.122.0/24 -i virbr0 -j ACCEPT
-A FORWARD -i virbr0 -o virbr0 -j ACCEPT
-A FORWARD -o virbr0 -j REJECT --reject-with icmp-port-
-A FORWARD -i virbr0 -j REJECT --reject-with icmp-port-
-A OUTPUT -j nova-filter-top
-A OUTPUT -j nova-compute-OUTPUT
-A OUTPUT -j nova-network-OUTPUT
-A nova-compute-
-A nova-compute-
-A nova-compute-inst-7 -m state --state INVALID -j DROP
-A nova-compute-inst-7 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A nova-compute-inst-7 -s 192.168.0.1/32 -p udp -m udp --sport 67 --dport 68 -j ACCEPT
-A nova-compute-inst-7 -s 192.168.0.0/25 -j ACCEPT
-A nova-compute-inst-7 -p icmp -j ACCEPT
-A nova-compute-inst-7 -p tcp -m tcp --dport 22 -j ACCEPT
-A nova-compute-inst-7 -j nova-compute-
-A nova-compute-local -d 192.168.0.7/32 -j nova-compute-inst-7
-A nova-compute-
-A nova-filter-top -j nova-compute-local
-A nova-filter-top -j nova-network-local
COMMIT
# Completed on Mon Apr 18 04:29:37 2011
root@openstack-
*******
********** brctl show **********
root@openstack-
bridge name bridge id STP enabled interfaces
br100 8000.00055d420570 no eth1
vlan100
vnet0
vnet1
virbr0 8000.000000000000 yes
root@openstack-
*******
********** Logs **********
nova-manage.log : http://
nova-network.log : http://
nova-compute.log : http://
nova-api.log : http://
qemu.log :
-------
root@openstack-
2011-04-18 03:37:33.734: starting up
LC_ALL=C PATH=/usr/
char device redirected to /dev/pts/9
pci_add_option_rom: failed to find romfile "pxe-rtl8139.bin"
2011-04-18 03:42:27.098: shutting down
root@openstack-
-------
*******
********** euca-get-
http://
*******
************* Misc *************
-------
root@openstack-
IMAGE aki-6c7c0f60 mybucket/
IMAGE ami-4aafbf4b dub-bucket/
IMAGE ari-538468d0 mybucket/
IMAGE ami-5abeaabd mybucket/
IMAGE aki-32ca7710 dub-bucket/
root@openstack-
-------
root@openstack-
RESERVATION r-5e8pjgvl project1 default
INSTANCE i-00000003 ami-5abeaabd 192.168.0.5 192.168.0.5 running test (project1, openstack-manual)0 m1.tiny 2011-04-
RESERVATION r-hz681ung project1 default
INSTANCE i-00000004 ami-5abeaabd 192.168.0.3 192.168.0.3 running test (project1, openstack-manual)0 m1.tiny 2011-04-
root@openstack-
-------
*******
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Vish Ishaya
- Solved:
- Last query:
- Last reply: