← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1854235] Re: Missing image type 'ploop'

 

You're also going to need a nova change to update the virt driver
interface so the libvirt driver reports the trait.

** Also affects: nova
   Importance: Undecided
       Status: New

-- 
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/1854235

Title:
  Missing image type 'ploop'

Status in OpenStack Compute (nova):
  New
Status in os-traits:
  Fix Committed

Bug description:
  Description of the problem
  ======================
  Missing image type 'ploop'

  Recreate steps
  ============
  1. upload image: openstack image creat --file xxx.img --disk-format ploop --container-format bare --public test-ploop
  2. configure: [scheduler]/query_placement_for_image_type_support=true, then restart devstack@n-sch
  3. create server: openstack server create --flavor flv-cpu --image test-ploop --network private vm-test

  Expected:
  The server created fail.

  Actual:
  server created successfully.

  Traits of compute node:
  # openstack --os-placement-api-version 1.6 resource provider trait list 98029e51-2f81-46a3-9746-443174a1ba51
  +---------------------------------------+
  | name                                  |
  +---------------------------------------+
  | HW_CPU_HYPERTHREADING                 |
  | COMPUTE_IMAGE_TYPE_RAW                |
  | HW_CPU_X86_SSE2                       |
  | HW_CPU_X86_SVM                        |
  | HW_CPU_X86_SSE                        |
  | COMPUTE_IMAGE_TYPE_ISO                |
  | COMPUTE_VOLUME_ATTACH_WITH_TAG        |
  | COMPUTE_VOLUME_EXTEND                 |
  | HW_CPU_X86_MMX                        |
  | COMPUTE_VOLUME_MULTI_ATTACH           |
  | COMPUTE_NET_ATTACH_INTERFACE_WITH_TAG |
  | COMPUTE_IMAGE_TYPE_AKI                |
  | COMPUTE_IMAGE_TYPE_ARI                |
  | COMPUTE_IMAGE_TYPE_AMI                |
  | COMPUTE_DEVICE_TAGGING                |
  | COMPUTE_IMAGE_TYPE_QCOW2              |
  | COMPUTE_NET_ATTACH_INTERFACE          |
  | COMPUTE_TRUSTED_CERTS                 |
  | CUSTOM_LICENSED_WINDOWS               |
  +---------------------------------------+

  
  Version of os-traits and Nova
  =======================
  os-traits:
  # pip show os-traits
  Name: os-traits
  Version: 1.1.0

  nova:
  # git log
  commit ab6834145f3fe1d33ce7f292727a6bc2be50efd9 (HEAD -> stable/train, origin/stable/train)
  Merge: 66585e8af1 821506a50c
  Author: Zuul <zuul@xxxxxxxxxxxxxxxxxx>
  Date:   Mon Oct 21 18:50:20 2019 +0000

      Merge "Fix exception translation when creating volume" into
  stable/train

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