multi-node installation issue

Asked by raghuram

I am trying to install openstack on multi node using 3 nodes. one node for cloud controller and other two nodes a compute node.

I have followed Devstack multi-node setup. i followed procedure, installation is proper without any error i got ip, username, password for admin and demo user for all three nodes. i am able to create instance. but issue is each and every node is installed as seperate node.

I can't find out where i went wrong.

please guide me setup cluster.

Question information

Language:
English Edit question
Status:
Answered
For:
devstack Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Marcelo Dieder (mdieder) said :
#1

Please, paste the commands of ALL nodes:

nova-manage service list
nova host-list

Revision history for this message
raghuram (cberaghuram) said :
#2

node 1(controller):

OS : ubuntu server 12.04.2
harware: x86 64 bit intel xenon
                8GB RAM, virualization enebled

contents of /etc/network/interfaces

# The loopback network interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
 address 192.168.42.11
 netmask 255.255.255.0
 gateway 192.168.42.1

# The primary network interface
auto eth1
iface eth1 inet static
 address 172.16.32.26
 netmask 255.255.0.0
 network 172.16.0.0
 broadcast 172.16.255.255
 gateway 172.16.1.1
 # dns-* options are implemented by the resolvconf package, if installed
 dns-nameservers 172.16.1.0
 dns-search openstack

contents of localrc:

ADMIN_PASSWORD=labstack
MYSQL_PASSWORD=supersecret
RABBIT_PASSWORD=supersecrete
SERVICE_PASSWORD=supersecrete
SERVICE_TOKEN=xyzpdqlazydog
HOST_IP=192.168.42.11
FLAT_INTERFACE=eth0
FIXED_RANGE=10.4.128.0/20
FIXED_NETWORK_SIZE=4096
FLOATING_RANGE=192.68.42.128/25
MULTI_HOST=1
LOGFILE=/opt/stack/logs/stack.sh.log
LOGDAYS=2
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
SWIFT_REPLICAS=1
SWIFT_DATA_DIR=$DEST/data

and i have run stack.sh

output:

Horizon is now available at http://172.16.32.26/
also got user name and password

node 2(compute):

contents of /etc/network/interfaces
auto eth0
iface eth0 inet static
 address 192.168.42.12
 netmask 255.255.255.0
 gateway 192.168.42.1

# The primary network interface
auto eth1
iface eth1 inet static
 address 172.16.32.27
 netmask 255.255.0.0
 network 172.16.0.0
 broadcast 172.16.255.255
 gateway 172.16.1.1
 # dns-* options are implemented by the resolvconf package, if installed
 dns-nameservers 172.16.1.0
 dns-search openstack

contents of localrc:

ADMIN_PASSWORD=labstack
MYSQL_PASSWORD=supersecret
RABBIT_PASSWORD=supersecrete
SERVICE_PASSWORD=supersecrete
SERVICE_TOKEN=xyzpdqlazydog
DATABASE_TYPE=mysql
SERVICE_HOST=192.168.42.11
MYSQL_HOST=192.168.42.11
RABBIT_HOST=192.168.42.11
GLANCE_HOST=192.168.42.11:9292
ENABLED_SERVICES=n-cpu,n-net,n-api,c-sch,c-api,c-vol
HOST_IP=192.168.42.12
FLAT_INTERFACE=eth0
FIXED_RANGE=10.4.128.0/20
FIXED_NETWORK_SIZE=4096
FLOATING_RANGE=192.168.42.128/25
MULTI_HOST=1

output:

Horizon is now available at http://172.16.32.27/
also got user name and password

similarly for node 3 (compute)

internal network : eth0 192.168.42.12
 netmask 255.255.255.0
 gateway 192.168.42.1

# The primary network interface
# external network

eth1 address 172.16.32.28
 netmask 255.255.0.0

i run stack.sh

Horizon is now available at http://172.16.32.28/

Revision history for this message
raghuram (cberaghuram) said :
#3

stack@ubuntu:/home/openstack$ nova host-list
ERROR: root: Could not find any typelib for GnomeKeyring

Revision history for this message
raghuram (cberaghuram) said :
#4

stack@ubuntu:/home/openstack$ nova-mange service list

Binary Host Zone Status State Updated_At

DEBUG nova.servicegroup.api..............
DEBUG nova.servicegroup.drivers.db .......................

nova-conductor ubuntu internal enabled :-) 2013-09-04 08:03:33
DEBUG nova.servicegroup.api..............
DEBUG nova.servicegroup.drivers.db .......................

nova-compute ubuntu nova enabled :-) 2013-09-04 08:03:33
DEBUG nova.servicegroup.api..............
DEBUG nova.servicegroup.drivers.db .......................

nova-cert ubuntu internal enabled :-) 2013-09-04 08:03:29
DEBUG nova.servicegroup.api..............
DEBUG nova.servicegroup.drivers.db .......................

nova-network ubuntu internal enabled :-) 2013-09-04 08:03:32
DEBUG nova.servicegroup.api..............
DEBUG nova.servicegroup.drivers.db .......................

nova-scheduler ubuntu internal enabled :-) 2013-09-04 08:03:29
DEBUG nova.servicegroup.api..............
DEBUG nova.servicegroup.drivers.db .......................

nova-consoleauth ubuntu internal enabled :-) 2013-09-04 08:03:30
stack@ubuntu:/home/openstack$

Revision history for this message
Marcelo Dieder (mdieder) said :
#5

Do you can try this?

Install python-keyring - 1.6-1

https://bugs.launchpad.net/ubuntu/+source/python-keyring/+bug/1197988

Revision history for this message
raghuram (cberaghuram) said :
#6

mistake i done was stack.sh file was not able to locate localrc and local.sh files. i gave path and installed.

but again i succeeded with controller node but compute node has an error while installing.

Can you help with this problem?

Provide an answer of your own, or ask raghuram for more information if necessary.

To post a message you must log in.