apiv2. owner isn't set for new images

Bug #1730890 reported by Jack Ivanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Invalid
Undecided
Unassigned

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 |
+------------------+------------------------------------------------------+

Revision history for this message
Jack Ivanov (gunph1ld) wrote :
Revision history for this message
Jack Ivanov (gunph1ld) wrote :

[paste_deploy]
# ...
flavor = keystone

should be defined

Changed in glance:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.