Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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/instance.py:185 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.

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

I'd like VMs to have random IDs as their hostname/display name in nova list and horizon and not have nova boot <name>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/instance.py:185 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.

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

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/instance.py:185 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.