Ask Your Question
0

dashboard cannot retrieve info after server reboot

asked 2015-10-19 11:48:45 -0500

openstack_single_node_saas gravatar image

Hi,

I am a novice user and would greatly appreciate if anybody can answer with my two questions:

1) I have installed Openstack using Devstack on single machine and it seems to work fine when stack.sh script finishes However, after a server reboot, dashboard cannot retrieve info about usage, images, instances etc. Some suggest running rejoin-stack.sh. But is there another solution so that dashboard can run properly after every reboot without this workaround.

2) When an instance is launched, can we make it use hard disk for persistent storage, rather can creating everything in RAM. Perhaps, we need block storage for this purpose. But how do we do that ?

Thanking you in anticipation.

Best regards,

Hamid Sultan

edit retag flag offensive close merge delete

Comments

For point 1, do you have DHCP in the machine where you installed Devstack ?

herrsergio gravatar imageherrsergio ( 2015-10-19 12:31:29 -0500 )edit

Hi herrsergio,

Thank for your reply. No, I have disabled DHCP in my /etc/network/interfaces. I have a static IP address.

I would appreciate your help.

Thanks regards, Hamid Sultan

openstack_single_node_saas gravatar imageopenstack_single_node_saas ( 2015-10-22 03:57:00 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-10-19 14:08:00 -0500

dbaxps gravatar image

Devstack starts daemons for you, not configuring any services
To stop Devstack instance I have to issue

# cd dev*
# sudo ./unstack.sh

When you boot OS again you are supposed to take care of restarting Openstack daemons
Via placing a kind of

ip addr flush dev br-ex
ip addr add 192.168.12.15/24 dev br-ex
ip link set br-ex up
route add -net 10.254.1.0/24 gw 192.168.12.15

in /etc/rc.local and

# cd dev*
# ./rejoin_stack.sh
edit flag offensive delete link more

Comments

  1. even you reboot the machine all the openstack services are going to stop, you need to run stack.sh again.
  2. for block storage part, since you are having all in one devstack installation, if you have installed your base OS in LVM one of the logical disk you can make as cinder and present it to OS
kumar lakshman kumar gravatar imagekumar lakshman kumar ( 2015-10-20 00:25:09 -0500 )edit

Hi lakshman,

Thank you for your message..

For part 1, do you think rejoin-stack.sh would also solve the problem completely. In fact, I tried it. All services get restarted except cinder. Please help. . For part 2, based on your reply, I feel I solved the block storage problem.

Thanks Hamid

openstack_single_node_saas gravatar imageopenstack_single_node_saas ( 2015-10-22 03:57:01 -0500 )edit

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

Stats

Asked: 2015-10-19 11:48:45 -0500

Seen: 393 times

Last updated: Oct 19 '15