Merge "Follow up for nova-manage image property commands"

This commit is contained in:
Zuul 2022-04-21 09:43:55 +00:00 committed by Gerrit Code Review
commit 840c48fea7
3 changed files with 9 additions and 2 deletions

View File

@ -165,4 +165,5 @@ To update the stored image properties of an instance:
.. code-block:: shell
$ nova-manage image_property set $instance_uuid --property $property
$ nova-manage image_property set \
$instance_uuid --property $property_name=$property_value

View File

@ -521,6 +521,7 @@ This command should be run before ``nova-manage db sync``.
.. _man-page-cells-v2:
Cells v2 Commands
=================
@ -1144,6 +1145,7 @@ Delete a host by the given host name and the given cell UUID.
* - 4
- The host with the specified name has instances (host not empty).
Placement Commands
==================
@ -1531,6 +1533,7 @@ command.
* - 6
- Instance is not attached to volume
Libvirt Commands
================
@ -1668,6 +1671,7 @@ within an environment.
* - 3
- Instances found without ``hw_machine_type`` set
Image Property Commands
=======================
@ -1754,12 +1758,14 @@ for example.
* - 5
- The provided image property value is invalid
See Also
========
:doc:`nova-policy(1) <nova-policy>`,
:doc:`nova-status(1) <nova-status>`
Bugs
====

View File

@ -3192,7 +3192,7 @@ class VolumeAttachmentCommands(object):
return 1
class ImagePropertyCommands():
class ImagePropertyCommands:
@action_description(_("Show the value of an instance image property."))
@args(