Public bug reported: The API reference for the rebuild server action does not mention the preconditions required for rebuild a server, which are pretty basic:
https://developer.openstack.org/api-ref/compute/#rebuild-server-rebuild- action https://github.com/openstack/nova/blob/54c9a944c618dc173bd1214be4de9a44479c8959/nova/compute/api.py#L2972 The server "status" must be ACTIVE, ERROR or SHUTOFF and "OS-SRV- USG:launched_at" must not be null. The server must not also be locked, but that's generally true of all server actions, so it's probably not worth mentioning explicitly. ** Affects: nova Importance: Low Status: Confirmed ** Tags: api-ref docs low-hanging-fruit ** Changed in: nova Importance: Undecided => Medium ** Changed in: nova Importance: Medium => Low ** Changed in: nova Status: New => Confirmed -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1775665 Title: api-ref: rebuild server does not mention pre-conditions Status in OpenStack Compute (nova): Confirmed Bug description: The API reference for the rebuild server action does not mention the preconditions required for rebuild a server, which are pretty basic: https://developer.openstack.org/api-ref/compute/#rebuild-server- rebuild-action https://github.com/openstack/nova/blob/54c9a944c618dc173bd1214be4de9a44479c8959/nova/compute/api.py#L2972 The server "status" must be ACTIVE, ERROR or SHUTOFF and "OS-SRV- USG:launched_at" must not be null. The server must not also be locked, but that's generally true of all server actions, so it's probably not worth mentioning explicitly. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1775665/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

