← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1246557] Re: image cannot be viewed if it is not public

 

No response. Lets open a new bug if this pops up again.

** Changed in: glance
       Status: Incomplete => Invalid

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

Title:
  image cannot be viewed if it is not public

Status in OpenStack Image Registry and Delivery Service (Glance):
  Invalid

Bug description:
  If create an image by 'glance image-create' without parameter '--is-public' or with parameter '--is-public False', the image was created successfully. There is no error reported and I can query the information from mysql.
  However, the image cannot be viewed by 'glance image-list' by the user who created it. And also, the image cannot be viewed on dashboard.

  please see the output below:
  [root@lycontroller glance]# glance image-list
  +--------------------------------------+----------+-------------+------------------+------------+--------+
  | ID                                   | Name     | Disk Format | Container Format | Size       | Status |
  +--------------------------------------+----------+-------------+------------------+------------+--------+
  | bd4882d3-57f8-492b-af4a-e2e80f21678c | centos64 | qcow2       | bare             | 2388590592 | active |
  | d10746d2-7217-4c9a-a521-9d70188ea45e | necc     | qcow2       | bare             | 2637037568 | active |
  +--------------------------------------+----------+-------------+------------------+------------+--------+
  mysql> select id, name, status, is_public from images order by name;
  +--------------------------------------+----------+---------+-----------+
  | id                                   | name     | status  | is_public |
  +--------------------------------------+----------+---------+-----------+
  | bd4882d3-57f8-492b-af4a-e2e80f21678c | centos64 | active  |         1 |
  | fce3c8f6-2c25-4aca-b300-e5e7f4e8a2c2 | centos64 | deleted |         1 |
  | 5d3117ef-7a63-43da-b97f-dc9ffb1fe387 | necc     | active  |         0 |
  | 69f9763b-334e-463c-9add-5cc083066935 | necc     | active  |         0 |
  | d10746d2-7217-4c9a-a521-9d70188ea45e | necc     | active  |         1 |
  | 025bd38b-5f0a-49ed-aca1-1407ad6f3d00 | necc_5g  | deleted |         1 |
  | 979d860d-bbbb-4d8a-8ba5-d5623609d3ed | necc_5g  | active  |         0 |
  +--------------------------------------+----------+---------+-----------+
  7 rows in set (0.00 sec)

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