[Bug 1487645] Re: glance image-show does not output correctly

Ed Balduf ed.balduf at solidfire.com
Mon Aug 24 03:39:51 UTC 2015


I'm getting this too, on a fresh devstack pull from head on Friday 8/21
onto Fedora 21.

[e at devstack devstack]$ glance image-list
+--------------------------------------+---------------------------------+-------------+------------------+----------+--------+
| ID                                   | Name                            | Disk Format | Container Format | Size     | Status |
+--------------------------------------+---------------------------------+-------------+------------------+----------+--------+
| e20fae04-35b1-42f4-9025-2712be7396e0 | cirros-0.3.2-x86_64-disk        | qcow2       | bare             | 13167616 | active |
| 66e788d6-ee11-492a-ba7b-3d3e1ff70cbe | cirros-0.3.2-x86_64-uec         | ami         | ami              | 25165824 | active |
| 51b75631-d165-4f5f-b869-997a25ecc211 | cirros-0.3.2-x86_64-uec-kernel  | aki         | aki              | 4969360  | active |
| c6ecd6bc-031c-4129-8de4-c8c0c9263bf6 | cirros-0.3.2-x86_64-uec-ramdisk | ari         | ari              | 3723817  | active |
+--------------------------------------+---------------------------------+-------------+------------------+----------+--------+
[e at devstack devstack]$ glance image-show e20fae04-35b1-42f4-9025-2712be7396e0
id
[e at devstack devstack]$ glance --version
0.19.0
[e at devstack devstack]$ cat /etc/fedora-release
Fedora release 21 (Twenty One)
[e at devstack devstack]$ uname -a
Linux devstack.p.solidfire.net 4.0.4-202.fc21.x86_64 #1 SMP Wed May 27 22:28:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-glanceclient in Ubuntu.
https://bugs.launchpad.net/bugs/1487645

Title:
  glance image-show does not output correctly

Status in python-glanceclient package in Ubuntu:
  Confirmed

Bug description:
  1) Description of the problem

  When running `glance image-show` on an existing image, the glance
  client does not output the details of the image.

  glance client version: 0.19.0

  operating system: ubuntu 14.04

  The glance client is installed from the UCA liberty-staging repo. This
  bug does not appear when python-glanceclient is installed from the
  CentOS 7 delorean repo or when installed directly from pip.

  2) Impact

  A user can't view details of their image via the command line.

  The behavior trickles down to python-openstackclient.

  Our use case is in puppet: the glance_image provider in the glance
  puppet module cannot fetch details of an uploaded image, and so tries
  to upload the image again with --copy-from and fails.

  3) Expected behavior

  (Installed from UCA Kilo)

  # glance --version
  0.15.0
  # glance image-show 3aa89a60-a18f-4c5e-bda1-a60eed5f6997
  +------------------+--------------------------------------+
  | Property         | Value                                |
  +------------------+--------------------------------------+
  | checksum         | d972013792949d0d3ba628fbe8685bce     |
  | container_format | bare                                 |
  | created_at       | 2015-08-21T21:22:57.000000           |
  | deleted          | False                                |
  | disk_format      | qcow2                                |
  | id               | 3aa89a60-a18f-4c5e-bda1-a60eed5f6997 |
  | is_public        | True                                 |
  | min_disk         | 0                                    |
  | min_ram          | 0                                    |
  | name             | test_image                           |
  | owner            | fe3360a176d54a049883f9914552798d     |
  | protected        | False                                |
  | size             | 13147648                             |
  | status           | active                               |
  | updated_at       | 2015-08-21T21:23:00.000000           |
  +------------------+--------------------------------------+

  4) Actual behavior

  (Installed from UCA Liberty-staging)

  # glance --version
  0.19.0
  # glance image-show 728d718c-22cd-4c59-a25d-58ec163d7c69
  id

  5) Steps to reproduce

   - install the liberty-staging repo
   - apt-get install python-glanceclient
   - run glance image-show against an openstack cloud with glance exposed

  Additional information:

  # lsb_release -rd
  Description:	Ubuntu 14.04.2 LTS
  Release:	14.04
  # apt-cache policy python-glanceclient
  python-glanceclient:
    Installed: 1:0.19.0-1ubuntu1~cloud0
    Candidate: 1:0.19.0-1ubuntu1~cloud0
    Version table:
   *** 1:0.19.0-1ubuntu1~cloud0 0
          500 http://ppa.launchpad.net/ubuntu-cloud-archive/liberty-staging/ubuntu/ trusty/main amd64 Packages
          100 /var/lib/dpkg/status
       1:0.12.0-0ubuntu1 0
          500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-glanceclient/+bug/1487645/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list