← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1730890] Re: apiv2. owner isn't set for new images

 

[paste_deploy]
# ...
flavor = keystone

should be defined


** Changed in: glance
       Status: New => 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/1730890

Title:
  apiv2. owner isn't set for new images

Status in Glance:
  Invalid

Bug description:
  After switched to APIv2, owner is not set for new images

  You can see "owner is None". It affects other components, include
  Horizon, to determine the project. Owner should be set even if no
  `--owner` specified

  # openstack image create "cirros-$RANDOM" --file cirros-0.3.5-x86_64-disk.img --disk-format qcow2 --container-format bare
  +------------------+------------------------------------------------------+
  | Field            | Value                                                |
  +------------------+------------------------------------------------------+
  | checksum         | f8ab98ff5e73ebab884d80c9dc9c7290                     |
  | container_format | bare                                                 |
  | created_at       | 2017-11-08T06:33:35Z                                 |
  | disk_format      | qcow2                                                |
  | file             | /v2/images/5b815302-0ee6-442a-91d8-212e1035d91b/file |
  | id               | 5b815302-0ee6-442a-91d8-212e1035d91b                 |
  | min_disk         | 0                                                    |
  | min_ram          | 0                                                    |
  | name             | cirros-32648                                         |
  | owner            | None                                                 |
  | protected        | False                                                |
  | schema           | /v2/schemas/image                                    |
  | size             | 13267968                                             |
  | status           | active                                               |
  | tags             |                                                      |
  | updated_at       | 2017-11-08T06:33:35Z                                 |
  | virtual_size     | None                                                 |
  | visibility       | shared                                               |
  +------------------+------------------------------------------------------+

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


References