Ask Your Question
0

multi-node installation issue

asked 2013-09-03 08:13:36 -0500

cberaghuram gravatar image

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.

edit retag flag offensive close merge delete

6 answers

Sort by ยป oldest newest most voted
0

answered 2013-09-04 07:51:40 -0500

cberaghuram gravatar image

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

edit flag offensive delete link more
0

answered 2013-09-04 07:45:24 -0500

cberaghuram gravatar image

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/

edit flag offensive delete link more
0

answered 2013-09-17 06:17:37 -0500

Do you can try this?

Install python-keyring - 1.6-1

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

edit flag offensive delete link more
0

answered 2013-09-18 05:22:31 -0500

cberaghuram gravatar image

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.

edit flag offensive delete link more
0

answered 2013-09-04 08:13:09 -0500

cberaghuram gravatar image

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$

edit flag offensive delete link more
0

answered 2013-09-04 04:16:35 -0500

Please, paste the commands of ALL nodes:

nova-manage service list nova host-list

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: 2013-09-03 08:13:36 -0500

Seen: 64 times

Last updated: Sep 18 '13