← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1775665] Re: api-ref: rebuild server does not mention pre-conditions

 

Reviewed:  https://review.openstack.org/576438
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=1a079a6394b567ea38cc892146ad13829c1c0256
Submitter: Zuul
Branch:    master

commit 1a079a6394b567ea38cc892146ad13829c1c0256
Author: jichenjc <jichenjc@xxxxxxxxxx>
Date:   Fri Jun 8 14:59:05 2018 +0800

    Mention server status in api-ref when rebuild
    
    Add description about server status in active, shutoff,
    error can accept a rebuild action.
    
    Closes-Bug: 1775665
    
    Change-Id: Id52acb9fdb264b337a6a9748049aeecd22901bf4


** Changed in: nova
       Status: In Progress => Fix Released

-- 
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):
  Fix Released

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


References