How do you set tags for Rackspace servers using novaclient?
I see how to add it in the GUI:
However, I don't see a way when launched with nova
. How do I set tags? If not via nova, is there API access to the tags?
Tags are not implemented in the API itself, so they're not accessible from a nova CLI command.
Metadata is available to set key=value identifiers on your servers, using the nova CLI. These won't appear as tags in your control panel though. Here's some info about setting metadata on your servers with the nova CLI.
nova meta <server> <action> <key=value> [<key=value> ...]
Set or Delete metadata on a server.
Positional arguments:
<server> Name or ID of server
<action> Actions: 'set' or 'delete'
<key=value> Metadata to set or delete (only key is necessary on delete)