How to restart OpenStack services after restart/logout?
I have successfully configured OpenStack following this tutorial.
The problem is that when I logout of my system or restart, and then try to access the OpenStack dashboard, it says page not found
. It seems that OpenStack is not started.
I want to know what are the commands to run OpenStack's services?
12.04 cloud openstack
add a comment |
I have successfully configured OpenStack following this tutorial.
The problem is that when I logout of my system or restart, and then try to access the OpenStack dashboard, it says page not found
. It seems that OpenStack is not started.
I want to know what are the commands to run OpenStack's services?
12.04 cloud openstack
Sorry the link is blocked in my place. Is it a devstack installation?
– jobin
Mar 26 '14 at 18:08
@Jobin I have sorted out. Thanks. Now I need to know how to install Apache Hadoop on OpenStack. Any idea? I installed it cloning this git clone github.com/ilearnstack/cloudgear.git
– Umair
Mar 27 '14 at 6:53
Would be great if you post the solution as answer here and post a new question as a new question.
– jobin
Mar 27 '14 at 12:40
@UmairAyub can you please share how you sorted out this problem?
– mshahbazm
Feb 27 '15 at 6:22
add a comment |
I have successfully configured OpenStack following this tutorial.
The problem is that when I logout of my system or restart, and then try to access the OpenStack dashboard, it says page not found
. It seems that OpenStack is not started.
I want to know what are the commands to run OpenStack's services?
12.04 cloud openstack
I have successfully configured OpenStack following this tutorial.
The problem is that when I logout of my system or restart, and then try to access the OpenStack dashboard, it says page not found
. It seems that OpenStack is not started.
I want to know what are the commands to run OpenStack's services?
12.04 cloud openstack
12.04 cloud openstack
edited Mar 26 '14 at 17:08
joseeantonior
607
607
asked Mar 25 '14 at 6:49
UmairUmair
4843932
4843932
Sorry the link is blocked in my place. Is it a devstack installation?
– jobin
Mar 26 '14 at 18:08
@Jobin I have sorted out. Thanks. Now I need to know how to install Apache Hadoop on OpenStack. Any idea? I installed it cloning this git clone github.com/ilearnstack/cloudgear.git
– Umair
Mar 27 '14 at 6:53
Would be great if you post the solution as answer here and post a new question as a new question.
– jobin
Mar 27 '14 at 12:40
@UmairAyub can you please share how you sorted out this problem?
– mshahbazm
Feb 27 '15 at 6:22
add a comment |
Sorry the link is blocked in my place. Is it a devstack installation?
– jobin
Mar 26 '14 at 18:08
@Jobin I have sorted out. Thanks. Now I need to know how to install Apache Hadoop on OpenStack. Any idea? I installed it cloning this git clone github.com/ilearnstack/cloudgear.git
– Umair
Mar 27 '14 at 6:53
Would be great if you post the solution as answer here and post a new question as a new question.
– jobin
Mar 27 '14 at 12:40
@UmairAyub can you please share how you sorted out this problem?
– mshahbazm
Feb 27 '15 at 6:22
Sorry the link is blocked in my place. Is it a devstack installation?
– jobin
Mar 26 '14 at 18:08
Sorry the link is blocked in my place. Is it a devstack installation?
– jobin
Mar 26 '14 at 18:08
@Jobin I have sorted out. Thanks. Now I need to know how to install Apache Hadoop on OpenStack. Any idea? I installed it cloning this git clone github.com/ilearnstack/cloudgear.git
– Umair
Mar 27 '14 at 6:53
@Jobin I have sorted out. Thanks. Now I need to know how to install Apache Hadoop on OpenStack. Any idea? I installed it cloning this git clone github.com/ilearnstack/cloudgear.git
– Umair
Mar 27 '14 at 6:53
Would be great if you post the solution as answer here and post a new question as a new question.
– jobin
Mar 27 '14 at 12:40
Would be great if you post the solution as answer here and post a new question as a new question.
– jobin
Mar 27 '14 at 12:40
@UmairAyub can you please share how you sorted out this problem?
– mshahbazm
Feb 27 '15 at 6:22
@UmairAyub can you please share how you sorted out this problem?
– mshahbazm
Feb 27 '15 at 6:22
add a comment |
2 Answers
2
active
oldest
votes
First, search for "rejoin-stack.sh" on your machine, copy and save its path on your machine.
Second, use the terminal by pressing CTRL+ALT+T on your keyboard.
Compute Nodes:
Third type:
sudo service openstack-nova-api restart
sudo service openstack-nova-cert restart
sudo service openstack-nova-consoleauth restart
sudo service openstack-nova-scheduler restart
sudo service openstack-nova-conductor restart
sudo service openstack-nova-novncproxy restart
Network Nodes:
Fourth type:
sudo service neutron-server restart
sudo service neutron-dhcp-agent restart
sudo service neutron-l3-agent restart
sudo service neutron-metadata-agent restart
[[Open Virtual Switch if installed]]
sudo service neutron-openvswitch-agent restart
Cinder Nodes:
Fifth type:
sudo service openstack-cinder-api restart
sudo service openstack-cinder-backup restart
sudo service openstack-cinder-scheduler restart
sudo service openstack-cinder-volume restart
If you want to get all the names of the services installed:
Sixth Type:
sudo service --status-all | grep nova
sudo service --status-all | grep neutron
sudo service --status-all | grep cinder
One last thing to do is to type:
cd /path/to/rejoin-stack.sh/folder
sudo ./rejoin-stack.sh
then wait for the confirmation to start using OpenStack again.
add a comment |
Easiest solution I found is by openstack-utils
yum install -y openstack-utils dnsmasq-utils
openstack-service restart
now verify the services
openstack-status -l
Tested on queens and rocky.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f438871%2fhow-to-restart-openstack-services-after-restart-logout%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
First, search for "rejoin-stack.sh" on your machine, copy and save its path on your machine.
Second, use the terminal by pressing CTRL+ALT+T on your keyboard.
Compute Nodes:
Third type:
sudo service openstack-nova-api restart
sudo service openstack-nova-cert restart
sudo service openstack-nova-consoleauth restart
sudo service openstack-nova-scheduler restart
sudo service openstack-nova-conductor restart
sudo service openstack-nova-novncproxy restart
Network Nodes:
Fourth type:
sudo service neutron-server restart
sudo service neutron-dhcp-agent restart
sudo service neutron-l3-agent restart
sudo service neutron-metadata-agent restart
[[Open Virtual Switch if installed]]
sudo service neutron-openvswitch-agent restart
Cinder Nodes:
Fifth type:
sudo service openstack-cinder-api restart
sudo service openstack-cinder-backup restart
sudo service openstack-cinder-scheduler restart
sudo service openstack-cinder-volume restart
If you want to get all the names of the services installed:
Sixth Type:
sudo service --status-all | grep nova
sudo service --status-all | grep neutron
sudo service --status-all | grep cinder
One last thing to do is to type:
cd /path/to/rejoin-stack.sh/folder
sudo ./rejoin-stack.sh
then wait for the confirmation to start using OpenStack again.
add a comment |
First, search for "rejoin-stack.sh" on your machine, copy and save its path on your machine.
Second, use the terminal by pressing CTRL+ALT+T on your keyboard.
Compute Nodes:
Third type:
sudo service openstack-nova-api restart
sudo service openstack-nova-cert restart
sudo service openstack-nova-consoleauth restart
sudo service openstack-nova-scheduler restart
sudo service openstack-nova-conductor restart
sudo service openstack-nova-novncproxy restart
Network Nodes:
Fourth type:
sudo service neutron-server restart
sudo service neutron-dhcp-agent restart
sudo service neutron-l3-agent restart
sudo service neutron-metadata-agent restart
[[Open Virtual Switch if installed]]
sudo service neutron-openvswitch-agent restart
Cinder Nodes:
Fifth type:
sudo service openstack-cinder-api restart
sudo service openstack-cinder-backup restart
sudo service openstack-cinder-scheduler restart
sudo service openstack-cinder-volume restart
If you want to get all the names of the services installed:
Sixth Type:
sudo service --status-all | grep nova
sudo service --status-all | grep neutron
sudo service --status-all | grep cinder
One last thing to do is to type:
cd /path/to/rejoin-stack.sh/folder
sudo ./rejoin-stack.sh
then wait for the confirmation to start using OpenStack again.
add a comment |
First, search for "rejoin-stack.sh" on your machine, copy and save its path on your machine.
Second, use the terminal by pressing CTRL+ALT+T on your keyboard.
Compute Nodes:
Third type:
sudo service openstack-nova-api restart
sudo service openstack-nova-cert restart
sudo service openstack-nova-consoleauth restart
sudo service openstack-nova-scheduler restart
sudo service openstack-nova-conductor restart
sudo service openstack-nova-novncproxy restart
Network Nodes:
Fourth type:
sudo service neutron-server restart
sudo service neutron-dhcp-agent restart
sudo service neutron-l3-agent restart
sudo service neutron-metadata-agent restart
[[Open Virtual Switch if installed]]
sudo service neutron-openvswitch-agent restart
Cinder Nodes:
Fifth type:
sudo service openstack-cinder-api restart
sudo service openstack-cinder-backup restart
sudo service openstack-cinder-scheduler restart
sudo service openstack-cinder-volume restart
If you want to get all the names of the services installed:
Sixth Type:
sudo service --status-all | grep nova
sudo service --status-all | grep neutron
sudo service --status-all | grep cinder
One last thing to do is to type:
cd /path/to/rejoin-stack.sh/folder
sudo ./rejoin-stack.sh
then wait for the confirmation to start using OpenStack again.
First, search for "rejoin-stack.sh" on your machine, copy and save its path on your machine.
Second, use the terminal by pressing CTRL+ALT+T on your keyboard.
Compute Nodes:
Third type:
sudo service openstack-nova-api restart
sudo service openstack-nova-cert restart
sudo service openstack-nova-consoleauth restart
sudo service openstack-nova-scheduler restart
sudo service openstack-nova-conductor restart
sudo service openstack-nova-novncproxy restart
Network Nodes:
Fourth type:
sudo service neutron-server restart
sudo service neutron-dhcp-agent restart
sudo service neutron-l3-agent restart
sudo service neutron-metadata-agent restart
[[Open Virtual Switch if installed]]
sudo service neutron-openvswitch-agent restart
Cinder Nodes:
Fifth type:
sudo service openstack-cinder-api restart
sudo service openstack-cinder-backup restart
sudo service openstack-cinder-scheduler restart
sudo service openstack-cinder-volume restart
If you want to get all the names of the services installed:
Sixth Type:
sudo service --status-all | grep nova
sudo service --status-all | grep neutron
sudo service --status-all | grep cinder
One last thing to do is to type:
cd /path/to/rejoin-stack.sh/folder
sudo ./rejoin-stack.sh
then wait for the confirmation to start using OpenStack again.
edited Oct 13 '15 at 6:57
community wiki
2 revs, 2 users 78%
Mostafa A. Hamid
add a comment |
add a comment |
Easiest solution I found is by openstack-utils
yum install -y openstack-utils dnsmasq-utils
openstack-service restart
now verify the services
openstack-status -l
Tested on queens and rocky.
add a comment |
Easiest solution I found is by openstack-utils
yum install -y openstack-utils dnsmasq-utils
openstack-service restart
now verify the services
openstack-status -l
Tested on queens and rocky.
add a comment |
Easiest solution I found is by openstack-utils
yum install -y openstack-utils dnsmasq-utils
openstack-service restart
now verify the services
openstack-status -l
Tested on queens and rocky.
Easiest solution I found is by openstack-utils
yum install -y openstack-utils dnsmasq-utils
openstack-service restart
now verify the services
openstack-status -l
Tested on queens and rocky.
edited Jan 3 at 10:27
SurvivalMachine
1,3263817
1,3263817
answered Jan 2 at 23:44
umairaliumairali
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f438871%2fhow-to-restart-openstack-services-after-restart-logout%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Sorry the link is blocked in my place. Is it a devstack installation?
– jobin
Mar 26 '14 at 18:08
@Jobin I have sorted out. Thanks. Now I need to know how to install Apache Hadoop on OpenStack. Any idea? I installed it cloning this git clone github.com/ilearnstack/cloudgear.git
– Umair
Mar 27 '14 at 6:53
Would be great if you post the solution as answer here and post a new question as a new question.
– jobin
Mar 27 '14 at 12:40
@UmairAyub can you please share how you sorted out this problem?
– mshahbazm
Feb 27 '15 at 6:22