devstack rejoin-stack.sh does not work

asked 2014-12-08 11:14:12 -0600

Rafadotnechi gravatar image

updated 2014-12-08 11:18:32 -0600

Hi, i did the installation of openstack-icehouse on a laptop running Ubuntu 14 using devstack, I know that everytime you reboot you have to run rejoin-stack.sh to get devstack back to work but mine rejoin-stack script is getting stuck when he tries to start n-obj service:

2014-12-08 15:00:53.551 INFO nova.S3 Objectstore.wsgi.server [-] (10191) wsgi starting up on http://0.0.0.0:3333/

looks like he is trying to start the service at 0.0.0.0 wich is wrong(i guess).

I had run devstack with this local.conf:

[[local|localrc]]
HOST_IP=192.168.1.143
ADMIN_PASSWORD=supersecret
MYSQL_PASSWORD=dbpass
RABBIT_PASSWORD=flopsymopsy
SERVICE_PASSWORD=iheartksl
FLOATING_RANGE=192.168.1.0/24
LOGFILE=/home/stack/stack.sh.log
Q_FLOATING_ALLOCATION_POOL=start=192.168.1.230,end=192.168.1.240
PUBLIC_NETWORK_GATEWAY=192.168.1.143
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service neutron
#Neutron Cfg
Q_PLUGIN=ml2
Q_AGENT_EXTRA_OVS_OPTS=(tenant_network_type=local)
OVS_VLAN_RANGE=physnet1
PHYSICAL_NETWORK=physnet1
OVS_PHYSICAL_BRIDGE=br-ex
# Optional, to enable tempest configuration as part of devstack
disable_service tempest

Any help to make rejoin-stack to work would be welcome btw, it's possible to start the services without rejoin-stack script? thanks

edit retag flag offensive close merge delete

Comments

2014-12-08 15:00:53.551 INFO nova.S3 Objectstore.wsgi.server [-] (10191) wsgi starting up on http://0.0.0.0:3333/ This just means that service is listening on all interfaces at port 3333. rejoin-stack.sh is working according to this info If you are unable to access any service then specify.

yatin gravatar imageyatin ( 2014-12-09 00:16:20 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-12-08 13:25:42 -0600

mpetason gravatar image

Listening on 0.0.0.0 is fine, it just means it's opening up a port on all of the interfaces that are able to listen. You need to see where the actual errors are coming up. Are you unable to access Horizon after rejoin?

edit flag offensive delete link more
-1

answered 2015-01-08 15:37:59 -0600

joeq gravatar image

I hate to resurrect this thread but I can't seem to get the rejoin-stack to work as described either. The last output of the script that runs is...

2015-01-08 01:33:59.381 DEBUG heat-api-cloudwatch [-] ************************** from (pid=4264) log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2075 2015-01-08 01:33:59.381 INFO heat.api.cloudwatch [-] Starting Heat CloudWatch API on 0.0.0.0:8003 2015-01-08 01:33:59.383 INFO eventlet.wsgi.server [-] Starting single process server 2015-01-08 01:33:59.384 DEBUG eventlet.wsgi.server [-] (4264) wsgi starting up on http://0.0.0.0:8003/ from (pid=4264) write /opt/stack/heat/heat/common/wsgi.py:183

When I attempt to run a command like

[stack@win2k3 devstack]$ heat stack-list Unable to establish connection to http://10.0.2.15:35357/v2.0/tokens

[stack@win2k3 devstack]$ curl localhost curl: (7) Failed connect to localhost:80; Connection refused

The only way I can get DevStack to work is to rerun stack.sh which takes forever after a reboot. This doesn't seem right. Please help.

edit flag offensive delete link more

Comments

@joeq: this is not an answer. This site is not a forum and this is not a 'thread' :) I suggest you to open a different question since this question has an accepted "answered" already (even though the question was vague) Read https://ask.openstack.org/faq

smaffulli gravatar imagesmaffulli ( 2015-01-08 16:40:04 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-12-08 11:14:12 -0600

Seen: 1,109 times

Last updated: Dec 08 '14