← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1794827] Re: Queens openstack client does not support --block-device

 

Reviewed:  https://review.openstack.org/607589
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=16027094ebabc5cd9f2e766431f18aadeff54a40
Submitter: Zuul
Branch:    master

commit 16027094ebabc5cd9f2e766431f18aadeff54a40
Author: Matt Riedemann <mriedem.os@xxxxxxxxx>
Date:   Wed Oct 3 10:27:22 2018 -0400

    doc: fix and clarify --block-device usage in user docs
    
    The docs on create a volume-backed server from the command
    line were wrong in a few ways:
    
    * The openstack server create command does not currently allow
      booting from a volume where a source image is provided and
      nova creates the volume from the image and uses that volume
      as the root disk. The nova boot command supports that, so the
      docs are updated to call out the nova boot command since that
      is the appropriate command in this case (even the syntax with
      the openstack server create --block-device was wrong).
    
    * When creating a server from a bootable volume with the OSC CLI,
      either the --volume or --block-device options should be used
      for a single volume, but not both. The docs were using both, so
      the latter is dropped and a note is added which links to the CLI
      documentation for more details on --block-device option usage.
    
    Change-Id: I985b870759d6c21ef9357b04f39099c02354f135
    Closes-Bug: #1794827


** 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/1794827

Title:
  Queens openstack client does not support --block-device

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  This bug tracker is for errors with the documentation, use the
  following as a template and remove or add fields as you see fit.
  Convert [ ] into [x] to check boxes:

  - [x] This doc is inaccurate in this way:

  Anchor #create-volume-from-image-and-boot-instance describes the usage of option --block-device to generate a volume from an image and boot from there. That option is not implemented in the Queens openstack client, although it does exist in the nova client.
  I suggest substituting the openstack client syntax with the equivalent nova syntax.

  
  If you have a troubleshooting or support issue, use the following  resources:

   - Ask OpenStack: http://ask.openstack.org
   - The mailing list: http://lists.openstack.org
   - IRC: 'openstack' channel on Freenode

  -----------------------------------
  Release: 17.0.6.dev116 on 2018-09-22 00:26
  SHA: 8157b16a65094035cbf0efc75e7bd6a2feee150f
  Source: https://git.openstack.org/cgit/openstack/nova/tree/doc/source/user/launch-instance-from-volume.rst
  URL: https://docs.openstack.org/nova/queens/user/launch-instance-from-volume.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1794827/+subscriptions


References