After sharing an image with consumer, owner id is assigned as consumer project id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[root@ip9-
-------
| checksum | d41d8cd98f00b20
| container_format | bare |
| created_at | 2018-10-
| disk_format | raw |
| file | /v2/images/
| id | 8fa5a8c6-
| min_disk | 1 |
| min_ram | 0 |
| name | rhel-svc |
| owner | bf46fb095af3447
| properties | architecture=
| protected | False |
| schema | /v2/schemas/image |
| size | 0 |
| status | active |
| tags | |
| updated_at | 2018-10-
| virtual_size | None |
| visibility | private |
So Image rhel-svc is currently belong to project ibm-default
[root@ip9-
+------
| ID | Name |
+------
| 2546035b8188472
| 2f53abb621194ac
| a1968f4e651d444
| b33fb44f96f64d8
| b7633f4048304bb
| b90df91061e44d8
| bf46fb095af3447
| cd25a7adcb884ae
+------
[root@ip9-
[root@ip9-
[root@ip9-
Sharing with Project prodpvc
[root@ip9-
+------
| Field | Value |
+------
| created_at | 2018-10-
| image_id | 8fa5a8c6-
| member_id | b90df91061e44d8
| schema | /v2/schemas/member |
| status | pending |
| updated_at | 2018-10-
+------
[root@ip9-
On consumer accepting the project
[bob@ip9-
[bob@ip9-
Setting the owner_id for the consumer project id
[bob@ip9-
| owner | b90df91061e44d8
[bob@ip9-
Openstack stable/queens
This is not a Glance bug. Possibly an openstackclient bug.