Ask Your Question
0

Changing hostname in Devstack two nodes setup

asked 2017-04-05 13:17:51 -0500

ImtiazKhan gravatar image

Hi everyone!

I am running Ubuntu 16.04 on my laptop. Actually I am trying to change my hostname from "X" and "Y" , after changing it both in /etc/hosts and /etc/hostname and rebooting, I get all the services are down and I still see few service running on old host "X". What's the secure way of changing and moving all services on new "Hostname" . I searched a lot but nothing works

In my setup , I have Devstack controller unit running in Virtualbox and ComputeNode running on Raspberry pi.

Really apreciate your support.

Regards, Ali

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-04-05 13:59:50 -0500

kibnelbachyr gravatar image
  • . /devstack/clean.sh
  • . /devstack/unstack.sh
  • change hosts names in /etc/hosts
  • reboot
  • . /devstack/stack.sh
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: 2017-04-05 13:17:51 -0500

Seen: 119 times

Last updated: Apr 05 '17