doc: pretty up return code table for sync_aggregates

This just changes the bullet format to a more appealing
table format and is consistent with the other commands
in here that use a table format for documenting return
codes.

Change-Id: I427e64f49f152231810ca48908f1ceff5b8a41d9
This commit is contained in:
Matt Riedemann
2019-08-22 12:57:11 -04:00
parent 73ff2a7878
commit a637d6e071

View File

@@ -534,16 +534,30 @@ Placement
.. versionadded:: Rocky
Return codes:
**Return Codes**
* 0: Successful run
* 1: A host was found with more than one matching compute node record
* 2: An unexpected error occurred while working with the placement API
* 3: Failed updating provider aggregates in placement
* 4: Host mappings not found for one or more host aggregate members
* 5: Compute node records not found for one or more hosts
* 6: Resource provider not found by uuid for a given host
* 255: An unexpected error occurred.
.. list-table::
:widths: 20 80
:header-rows: 1
* - Return code
- Description
* - 0
- Successful run
* - 1
- A host was found with more than one matching compute node record
* - 2
- An unexpected error occurred while working with the placement API
* - 3
- Failed updating provider aggregates in placement
* - 4
- Host mappings not found for one or more host aggregate members
* - 5
- Compute node records not found for one or more hosts
* - 6
- Resource provider not found by uuid for a given host
* - 255
- An unexpected error occurred.
See Also