← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1710436] [NEW] openstack image create fails to support qcow2 conatiner format

 

Public bug reported:

stack@xxxxxxxxxxxxxxx-nn:~/devstack$ openstack image create --container-format qcow2 --disk-format raw --file Fedora-Cloud-Base-25-1.3.x86_64.qcow2 Fedora-Cloud-Base-25-1.3.x86_64.qcow2
openstack image create: error: argument --container-format: invalid choice: u'qcow2' (choose from 'ami', 'ari', 'aki', 'bare', 'docker', 'ova', 'ovf')
0)

tried bare as syntax claimed support for 
stack@xxxxxxxxxxxxxxx-nn:~/devstack$ openstack image create --container-format bare --disk-format raw --file Fedora-Cloud-Base-25-1.3.x86_64.qcow2 Fedora-Cloud-Base-25-1.3.x86_64.qcow2
500 Internal Server Error
The server has either erred or is incapable of performing the requested operation.
    (HTTP 500)

This is an ubutntu xenial
lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.2 LTS
Release:	16.04
Codename:	xenial

lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             8
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 45
Model name:            Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz
Stepping:              7
CPU MHz:               2593.540
BogoMIPS:              5265.10
Hypervisor vendor:     Xen
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              20480K
NUMA node0 CPU(s):     0-7
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush mmx fxsr sse sse2 syscall nx rdtscp lm constant_tsc rep_good nopl pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm

Any Rackspace folks can possibly point since Hypervisor vendor is Xen
does it mean qemu can not support qcow2 conatiner format, if so are
there any pointers to fix this?

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1710436

Title:
  openstack image create fails to support qcow2 conatiner format

Status in Glance:
  New

Bug description:
  stack@xxxxxxxxxxxxxxx-nn:~/devstack$ openstack image create --container-format qcow2 --disk-format raw --file Fedora-Cloud-Base-25-1.3.x86_64.qcow2 Fedora-Cloud-Base-25-1.3.x86_64.qcow2
  openstack image create: error: argument --container-format: invalid choice: u'qcow2' (choose from 'ami', 'ari', 'aki', 'bare', 'docker', 'ova', 'ovf')
  0)

  tried bare as syntax claimed support for 
  stack@xxxxxxxxxxxxxxx-nn:~/devstack$ openstack image create --container-format bare --disk-format raw --file Fedora-Cloud-Base-25-1.3.x86_64.qcow2 Fedora-Cloud-Base-25-1.3.x86_64.qcow2
  500 Internal Server Error
  The server has either erred or is incapable of performing the requested operation.
      (HTTP 500)

  This is an ubutntu xenial
  lsb_release -a
  No LSB modules are available.
  Distributor ID:	Ubuntu
  Description:	Ubuntu 16.04.2 LTS
  Release:	16.04
  Codename:	xenial

  lscpu
  Architecture:          x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Byte Order:            Little Endian
  CPU(s):                8
  On-line CPU(s) list:   0-7
  Thread(s) per core:    1
  Core(s) per socket:    1
  Socket(s):             8
  NUMA node(s):          1
  Vendor ID:             GenuineIntel
  CPU family:            6
  Model:                 45
  Model name:            Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz
  Stepping:              7
  CPU MHz:               2593.540
  BogoMIPS:              5265.10
  Hypervisor vendor:     Xen
  Virtualization type:   full
  L1d cache:             32K
  L1i cache:             32K
  L2 cache:              256K
  L3 cache:              20480K
  NUMA node0 CPU(s):     0-7
  Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush mmx fxsr sse sse2 syscall nx rdtscp lm constant_tsc rep_good nopl pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm

  Any Rackspace folks can possibly point since Hypervisor vendor is Xen
  does it mean qemu can not support qcow2 conatiner format, if so are
  there any pointers to fix this?

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


Follow ups