2017-10-31 13:30:46 |
Scott Moser |
bug |
|
|
added bug |
2017-10-31 13:30:54 |
Scott Moser |
simplestreams: status |
New |
In Progress |
|
2017-10-31 13:30:59 |
Scott Moser |
simplestreams: importance |
Undecided |
High |
|
2017-10-31 13:31:07 |
Scott Moser |
simplestreams: assignee |
|
David Ames (thedac) |
|
2017-10-31 13:31:36 |
Scott Moser |
branch linked |
|
lp:~thedac/simplestreams/lp1719879 |
|
2017-10-31 13:35:38 |
Launchpad Janitor |
branch linked |
|
lp:simplestreams |
|
2017-10-31 13:36:11 |
Scott Moser |
simplestreams: status |
In Progress |
Fix Committed |
|
2017-10-31 14:19:14 |
Launchpad Janitor |
branch linked |
|
lp:~simplestreams-dev/simplestreams/bionic |
|
2017-11-02 20:28:17 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~smoser/ubuntu/+source/simplestreams/+git/simplestreams/+merge/333165 |
|
2017-11-02 20:35:07 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~smoser/ubuntu/+source/simplestreams/+git/simplestreams/+merge/333167 |
|
2017-11-02 20:44:56 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~smoser/ubuntu/+source/simplestreams/+git/simplestreams/+merge/333168 |
|
2017-11-10 16:32:12 |
Scott Moser |
bug task added |
|
simplestreams (Ubuntu) |
|
2017-11-10 16:32:20 |
Scott Moser |
simplestreams (Ubuntu): status |
New |
Fix Released |
|
2017-11-10 16:32:28 |
Scott Moser |
simplestreams (Ubuntu): importance |
Undecided |
High |
|
2017-11-10 16:34:28 |
Scott Moser |
nominated for series |
|
Ubuntu Artful |
|
2017-11-10 16:34:28 |
Scott Moser |
bug task added |
|
simplestreams (Ubuntu Artful) |
|
2017-11-10 16:34:28 |
Scott Moser |
nominated for series |
|
Ubuntu Bionic |
|
2017-11-10 16:34:28 |
Scott Moser |
bug task added |
|
simplestreams (Ubuntu Bionic) |
|
2017-11-10 16:35:17 |
Scott Moser |
simplestreams (Ubuntu Artful): status |
New |
Confirmed |
|
2017-11-10 16:35:26 |
Scott Moser |
simplestreams (Ubuntu Bionic): status |
Fix Released |
Confirmed |
|
2017-11-10 16:35:35 |
Scott Moser |
simplestreams (Ubuntu Artful): importance |
Undecided |
Medium |
|
2017-11-10 16:36:46 |
Scott Moser |
description |
When using the newly added (revno 450) v3 support for mirroring to openstack simplestreams will not notice that images already exist in glace. The result is that every 'sync' will import all new images.
The issue was simply that the tenant_id was not being correctly passed through to the glance query.
It ended considering only existing images that were owned by None, which didn't match anything. |
When using the newly added (revno 450) v3 support for mirroring to openstack simplestreams will not notice that images already exist in glace. The result is that every 'sync' will import all new images.
The issue was simply that the tenant_id was not being correctly passed through to the glance query.
It ended considering only existing images that were owned by None, which didn't match anything.
Note:
* This bug is present in Artful when using the v3 keystone api. It is *not* present in xenial or zesty as they do not have v3 keystone support, and the code that is submitted for merge request has the fix included. |
|
2017-11-13 21:25:44 |
Launchpad Janitor |
simplestreams (Ubuntu Bionic): status |
Confirmed |
Fix Released |
|
2017-12-08 08:14:49 |
Dmitrii Shcherbakov |
bug |
|
|
added subscriber Dmitrii Shcherbakov |
2017-12-08 08:15:20 |
Dmitrii Shcherbakov |
tags |
|
cpe-onsite |
|
2018-03-09 08:08:12 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~smoser/ubuntu/+source/simplestreams/+git/simplestreams/+merge/341205 |
|
2018-03-09 08:08:27 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~smoser/ubuntu/+source/simplestreams/+git/simplestreams/+merge/341206 |
|
2018-03-09 08:43:52 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~smoser/ubuntu/+source/simplestreams/+git/simplestreams/+merge/341214 |
|
2018-03-09 08:45:04 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~smoser/ubuntu/+source/simplestreams/+git/simplestreams/+merge/341215 |
|
2018-04-24 21:31:39 |
Felipe Reyes |
description |
When using the newly added (revno 450) v3 support for mirroring to openstack simplestreams will not notice that images already exist in glace. The result is that every 'sync' will import all new images.
The issue was simply that the tenant_id was not being correctly passed through to the glance query.
It ended considering only existing images that were owned by None, which didn't match anything.
Note:
* This bug is present in Artful when using the v3 keystone api. It is *not* present in xenial or zesty as they do not have v3 keystone support, and the code that is submitted for merge request has the fix included. |
[Impact]
On every execution of /etc/cron.*/glance_simplestreams_sync simplestreams will upload all the images that match the configured filters no matter of those same images were already uploaded in a previous execution.
This will potentially lead to the inability to upload new images due to not having enough free space.
[Test Case]
* deploy artful-pike
juju deploy ./artful-pike.yaml # http://paste.ubuntu.com/p/RZqm3cGjqk/
* Wait until glance-simplestreams-sync runs the first sync-up execution.
* Verify the images are in glance running "openstack image list"
* Run the synchronization script again
juju ssh glance-simplestreams-sync/0 sudo /etc/cron.daily/glance_simplestreams-sync
Expected results:
"openstack image list" prints the same list of images as before running the synchronization script for the 2nd time
Actual result:
"openstack image list" prints a list of images duplicates, e.g.:
$ openstack image list
+--------------------------------------+---------------------------------------------------------------+--------+
| ID | Name | Status |
+--------------------------------------+---------------------------------------------------------------+--------+
| 7f946cbf-57e1-4704-92ea-928d8d4e9454 | auto-sync/ubuntu-trusty-14.04-amd64-server-20180404-disk1.img | active |
| 7a5afbf8-f072-49af-9629-483fc27c627a | auto-sync/ubuntu-trusty-14.04-amd64-server-20180404-disk1.img | active |
| c9a1dfbd-9e5d-4261-b43f-585e65f9733a | auto-sync/ubuntu-xenial-16.04-amd64-server-20180405-disk1.img | active |
| a731c994-61f3-43ea-b86c-227baec101e3 | auto-sync/ubuntu-xenial-16.04-amd64-server-20180405-disk1.img | active |
+--------------------------------------+---------------------------------------------------------------+--------+
[Potential Regression]
* this patch allows simplestreams to connect to swift and verify if the image was already uploaded or not, any possible regression will manifest around the ability of simplestreams to connect to swift.
[Other Info]
When using the newly added (revno 450) v3 support for mirroring to openstack simplestreams will not notice that images already exist in glace. The result is that every 'sync' will import all new images.
The issue was simply that the tenant_id was not being correctly passed through to the glance query.
It ended considering only existing images that were owned by None, which didn't match anything.
Note:
* This bug is present in Artful when using the v3 keystone api. It is *not* present in xenial or zesty as they do not have v3 keystone support, and the code that is submitted for merge request has the fix included. |
|
2018-04-24 21:32:16 |
Felipe Reyes |
summary |
openstack mirror with keystone v3 always imports new images |
[SRU] openstack mirror with keystone v3 always imports new images |
|
2018-06-25 14:52:59 |
Scott Moser |
simplestreams: status |
Fix Committed |
Fix Released |
|
2018-09-20 12:15:25 |
Nobuto Murata |
bug |
|
|
added subscriber Nobuto Murata |
2019-09-19 08:00:06 |
Rafael David Tinoco |
simplestreams (Ubuntu Artful): status |
Confirmed |
Won't Fix |
|
2019-09-20 09:39:37 |
Rafael David Tinoco |
nominated for series |
|
Ubuntu Disco |
|
2019-09-20 09:39:37 |
Rafael David Tinoco |
bug task added |
|
simplestreams (Ubuntu Disco) |
|
2019-09-20 09:39:37 |
Rafael David Tinoco |
nominated for series |
|
Ubuntu Xenial |
|
2019-09-20 09:39:37 |
Rafael David Tinoco |
bug task added |
|
simplestreams (Ubuntu Xenial) |
|
2019-09-20 09:39:47 |
Rafael David Tinoco |
simplestreams (Ubuntu Xenial): status |
New |
Fix Released |
|
2019-09-20 09:39:50 |
Rafael David Tinoco |
simplestreams (Ubuntu Xenial): status |
Fix Released |
In Progress |
|
2019-09-20 09:39:53 |
Rafael David Tinoco |
simplestreams (Ubuntu Xenial): assignee |
|
Rafael David Tinoco (rafaeldtinoco) |
|
2019-09-20 09:39:57 |
Rafael David Tinoco |
simplestreams (Ubuntu Disco): status |
New |
Fix Released |
|
2019-09-20 09:40:01 |
Rafael David Tinoco |
simplestreams (Ubuntu Bionic): importance |
High |
Medium |
|
2019-09-20 09:40:07 |
Rafael David Tinoco |
simplestreams (Ubuntu): importance |
High |
Medium |
|
2019-09-20 09:47:54 |
Rafael David Tinoco |
bug |
|
|
added subscriber Canonical Server Team |
2019-09-20 10:16:14 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/simplestreams/+git/simplestreams/+merge/373030 |
|
2019-10-16 15:20:31 |
Rafael David Tinoco |
simplestreams (Ubuntu Xenial): status |
In Progress |
Won't Fix |
|
2019-10-16 15:20:33 |
Rafael David Tinoco |
simplestreams (Ubuntu Bionic): status |
Fix Released |
In Progress |
|
2019-10-16 15:21:38 |
Rafael David Tinoco |
simplestreams (Ubuntu Xenial): assignee |
Rafael David Tinoco (rafaeldtinoco) |
|
|
2019-10-16 15:22:20 |
Rafael David Tinoco |
simplestreams (Ubuntu Bionic): assignee |
|
Rafael David Tinoco (rafaeldtinoco) |
|
2019-11-04 18:35:38 |
Rafael David Tinoco |
simplestreams (Ubuntu Bionic): status |
In Progress |
Fix Released |
|
2019-11-04 18:35:43 |
Rafael David Tinoco |
simplestreams (Ubuntu Bionic): assignee |
Rafael David Tinoco (rafaeldtinoco) |
|
|