Project

General

Profile

Bug #17393

Host create docs should mention that boolean in start attribute is numeric

Added by Tomáš Strachota over 3 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Compute resources
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

The docs mention that the 'start' key for compute-attributes is a boolean. This suggests values like 'true', 'false', 'yes' and 'no' would be accepted.

For libvirt and oVirt a 'true' or 'false' value does nothing, only a 1 or 0 makes the host start.

Also oVirt docs in hammer host create -h are overrode by Rackspace docs due to a copy-paste typo.

Associated revisions

Revision 3a8c32b4 (diff)
Added by Maxim Burgerhout over 3 years ago

Fixes #17393 - The 'start' key always needs a 1 or 0

Previously, the docs mentioned that the 'start' key for compute-attributes is
a boolean. This suggests values like 'true', 'false', 'yes' and 'no' would be
accepted.

This was not the case. For libvirt (which is what I tested with, I assume oVirt
is the same), a 'true' or 'false' value did nothing, only a 1 or 0 did.

This patch fixes the docs to explain a 0 or 1 is required to influence
autostart behaviour.

History

#1 Updated by Anonymous over 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#2 Updated by Tomáš Strachota over 3 years ago

  • Legacy Backlogs Release (now unused) set to 236

Also available in: Atom PDF