Ask Your Question

change forced host execution [closed]

asked 2013-11-25 03:40:29 -0500

aleita gravatar image


I made a typo error on the hostname of the host where i want to launch my vm instance

nova boot --flavor=1 --image=67311771-2633-45d5-8ff7-89b608a480f4 --availability-zone ale

So, right now the vm instance is in ERROR state.

Is there a way to change the hostname of the server to the right one ?



edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by dheeru
close date 2013-11-28 18:56:21.609162

2 answers

Sort by ยป oldest newest most voted

answered 2013-11-28 10:44:14 -0500

aleita gravatar image


I'd already thought at this solution but I'd hoped in some a sort of update switch in the nova command. Anyway thank you for your short reply Bye


edit flag offensive delete link more


That is good. we can update the db if directly for this. Do let me know if you would like to do that. Also If you agree with ans, please click on 'right' click button next to my ans. I will close this request.

dheeru gravatar imagedheeru ( 2013-11-28 10:57:10 -0500 )edit

answered 2013-11-25 10:30:53 -0500

dheeru gravatar image

Simple solution would be to delete the instance and recreate the new one. It hardly takes 5 minute. Any reason you would like to change the hostname of existing instance. Since it is already in error state, it has not worked at all. So You can delete as well.

  1. nova delete <vm-name> or nova delete <instance-id></instance-id></vm-name>
  2. Create the new instance now using nova boot command
edit flag offensive delete link more


Did you resolve this issue. It is good to update and close this.

dheeru gravatar imagedheeru ( 2013-11-27 04:47:14 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-11-25 03:40:29 -0500

Seen: 131 times

Last updated: Nov 28 '13