Rename openstack instance

asked 2017-02-21 16:50:00 -0600

krishnan.prakash gravatar image


Is there any API to rename an existing openstack instance by id ?

Thanks Krish

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-02-21 22:09:24 -0600

You mean you want to change the name of an instance that you identify by its ID? Try update server.

If you mean that you want to change its ID - I am 99% certain this is not possible.

edit flag offensive delete link more


Hi Bernd,

Thanks for the response. I tried your suggestion. It just updates the name of the instance. I am looking to change the fqdn and hostname itself.

krishnan.prakash gravatar imagekrishnan.prakash ( 2017-02-22 13:42:16 -0600 )edit

You want DNS resolution. Internal DNS is easy; external requires setup of DNSaaS. The guide shows the required CLI commands; I suppose you can use port creation or port update APIs to achieve the same thing.

Bernd Bausch gravatar imageBernd Bausch ( 2017-02-22 20:45:29 -0600 )edit

The port APIs are in the Neutron section of the API guide.

Bernd Bausch gravatar imageBernd Bausch ( 2017-02-22 20:47:23 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-02-21 16:50:00 -0600

Seen: 1,481 times

Last updated: Feb 21 '17