[openstack-dev] --detailed-description for OpenStack items

Matt Riedemann mriedem at linux.vnet.ibm.com
Fri Aug 28 00:29:21 UTC 2015



On 8/27/2015 12:23 PM, Tim Bell wrote:
> Some project such as cinder include a detailed description option where
> you can include an arbitrary string with a volume to remind the admins
> what the volume is used for.
>
> Has anyone looked at doing something similar for Nova for instances and
> Glance for images ?
>
> In many cases, the names get heavily overloaded with information.
>
> Tim
>
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>

The nova instances table already has a display_description column:

http://git.openstack.org/cgit/openstack/nova/tree/nova/db/sqlalchemy/models.py#n287

Couldn't that just be used?  It doesn't look like the nova boot command 
in the CLI exposes it though.  Seems like an easy enough add.

Although the server create API would have to be changed since today it 
just sets the description to be the same as the name:

http://git.openstack.org/cgit/openstack/nova/tree/nova/api/openstack/compute/servers.py#n589

That could be enabled with a microversion change in mitaka though.

-- 

Thanks,

Matt Riedemann




More information about the OpenStack-dev mailing list