How to augment instance naming (and display) in Nova and remove the ability to specify a name?

asked 2013-10-11 12:43:46 -0500

nmilford gravatar image

updated 2013-10-11 17:18:36 -0500

smaffulli gravatar image

I'd like VMs to have random IDs as their hostname/display name in nova list and horizon and not have nova boot name honored.

I want VMs to be anonymous, a la EC2, and discourage users from thinking in terms of a server, but as a process or component of a larger system.

It seems nova.conf:instance_name_template looks interesting but maybe not what I need.

Looking at nova/objects/ it seems a good place to start, but I suspect if I modify that things will break in lots of other places.

Ultimately I'd love to have a schema like tenant_name-instance_number, but I'm happy to settle for just an instance number.

edit retag flag offensive close merge delete