2016-05-23 19:41:22 |
Francis Ginther |
bug |
|
|
added bug |
2016-05-23 19:41:22 |
Francis Ginther |
attachment added |
|
logs.tgz https://bugs.launchpad.net/bugs/1584938/+attachment/4668889/+files/logs.tgz |
|
2016-05-23 19:41:30 |
Francis Ginther |
tags |
|
landscape |
|
2016-05-23 19:41:41 |
Francis Ginther |
bug |
|
|
added subscriber Landscape |
2016-05-23 19:42:11 |
Francis Ginther |
bug task added |
|
landscape |
|
2016-05-23 19:42:45 |
Francis Ginther |
nominated for series |
|
landscape/16.05 |
|
2016-05-23 19:42:45 |
Francis Ginther |
bug task added |
|
landscape/16.05 |
|
2016-05-23 19:42:52 |
Francis Ginther |
landscape/16.05: milestone |
|
16.05 |
|
2016-05-24 12:32:55 |
Данило Шеган |
glance-simplestreams-sync-charm: assignee |
|
Данило Шеган (danilo) |
|
2016-05-24 12:51:19 |
Francis Ginther |
attachment added |
|
glance-logs.tgz https://bugs.launchpad.net/glance-simplestreams-sync-charm/+bug/1584938/+attachment/4669361/+files/glance-logs.tgz |
|
2016-05-24 15:23:36 |
Данило Шеган |
landscape: assignee |
|
Данило Шеган (danilo) |
|
2016-05-24 15:23:38 |
Данило Шеган |
landscape/16.05: assignee |
|
Данило Шеган (danilo) |
|
2016-05-25 07:38:13 |
Данило Шеган |
bug task added |
|
simplestreams |
|
2016-05-25 07:38:19 |
Данило Шеган |
simplestreams: status |
New |
In Progress |
|
2016-05-25 07:38:21 |
Данило Шеган |
simplestreams: assignee |
|
Данило Шеган (danilo) |
|
2016-05-25 07:38:25 |
Данило Шеган |
glance-simplestreams-sync-charm: status |
New |
Invalid |
|
2016-05-25 07:56:45 |
Данило Шеган |
landscape: status |
New |
In Progress |
|
2016-05-25 07:56:48 |
Данило Шеган |
landscape/16.05: status |
New |
In Progress |
|
2016-05-25 07:57:03 |
Данило Шеган |
tags |
landscape |
kanban landscape |
|
2016-05-25 08:09:46 |
🤖 Landscape Builder |
tags |
kanban landscape |
landscape |
|
2016-06-10 07:12:42 |
Данило Шеган |
branch linked |
|
lp:~danilo/simplestreams/write-out-index-after-every-product |
|
2016-06-14 20:17:07 |
Scott Moser |
bug task added |
|
simplestreams (Ubuntu) |
|
2016-06-14 20:17:20 |
Scott Moser |
simplestreams (Ubuntu): importance |
Undecided |
High |
|
2016-06-14 20:17:20 |
Scott Moser |
simplestreams (Ubuntu): status |
New |
Confirmed |
|
2016-06-14 20:21:31 |
Launchpad Janitor |
branch linked |
|
lp:simplestreams |
|
2016-06-14 21:19:51 |
Данило Шеган |
simplestreams: status |
In Progress |
Fix Committed |
|
2016-06-14 21:49:00 |
Launchpad Janitor |
simplestreams (Ubuntu): status |
Confirmed |
Fix Released |
|
2016-06-16 17:49:55 |
Andreas Hasenack |
landscape/16.05: status |
In Progress |
Won't Fix |
|
2016-07-14 05:19:55 |
Данило Шеган |
landscape: status |
In Progress |
Fix Committed |
|
2017-09-14 13:47:21 |
Launchpad Janitor |
branch linked |
|
lp:~simplestreams-dev/simplestreams/artful |
|
2018-03-09 08:08:12 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~smoser/ubuntu/+source/simplestreams/+git/simplestreams/+merge/341205 |
|
2018-04-12 16:54:10 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~smoser/ubuntu/+source/simplestreams/+git/simplestreams/+merge/341214 |
|
2018-06-25 14:52:48 |
Scott Moser |
simplestreams: status |
Fix Committed |
Fix Released |
|
2019-09-20 09:25:59 |
Rafael David Tinoco |
nominated for series |
|
Ubuntu Disco |
|
2019-09-20 09:25:59 |
Rafael David Tinoco |
bug task added |
|
simplestreams (Ubuntu Disco) |
|
2019-09-20 09:25:59 |
Rafael David Tinoco |
nominated for series |
|
Ubuntu Xenial |
|
2019-09-20 09:25:59 |
Rafael David Tinoco |
bug task added |
|
simplestreams (Ubuntu Xenial) |
|
2019-09-20 09:25:59 |
Rafael David Tinoco |
nominated for series |
|
Ubuntu Bionic |
|
2019-09-20 09:25:59 |
Rafael David Tinoco |
bug task added |
|
simplestreams (Ubuntu Bionic) |
|
2019-09-20 09:26:20 |
Rafael David Tinoco |
simplestreams (Ubuntu Disco): status |
New |
Fix Released |
|
2019-09-20 09:26:23 |
Rafael David Tinoco |
simplestreams (Ubuntu Bionic): status |
New |
Fix Released |
|
2019-09-20 09:26:25 |
Rafael David Tinoco |
simplestreams (Ubuntu Xenial): status |
New |
In Progress |
|
2019-09-20 09:26:28 |
Rafael David Tinoco |
simplestreams (Ubuntu Xenial): importance |
Undecided |
Medium |
|
2019-09-20 09:26:30 |
Rafael David Tinoco |
simplestreams (Ubuntu): importance |
High |
Medium |
|
2019-09-20 09:26:36 |
Rafael David Tinoco |
simplestreams (Ubuntu Xenial): assignee |
|
Rafael David Tinoco (rafaeldtinoco) |
|
2019-09-20 09:32:26 |
Rafael David Tinoco |
description |
This was seen on a Landscape Autopilot deployment (using ceph/ceph) after the fix for lp:1583276 was committed:
root@juju-machine-0-lxc-1:/var/lib/landscape/juju-homes/1# juju ssh glance-simplestreams-sync/0 apt-cache policy python-simplestreams
Warning: Permanently added 'node-11.vmwarestack,10.245.202.81' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.245.201.73' (ECDSA) to the list of known hosts.
python-simplestreams:
Installed: 0.1.0~bzr434~trunk-0ubuntu1~ubuntu14.04.1
Candidate: 0.1.0~bzr434~trunk-0ubuntu1~ubuntu14.04.1
The glance-simplestreams-sync.log [1] shows that the xenial image was not completely updated and got stuck in the queued state:
WARNING * 05-23 16:29:08 [PID:18247] * sstreams * Ignoring inactive image 37d8dfe7-f829-48e0-a66f-aff0cbe0a201 with status 'queued'
The log then shows that another xenial image was downloaded and ultimately the sync process switches to the daily cron.
The problem occurs with the user tries to juju bootstrap with trusty. It appears that the trusty simplestreams metadata is incomplete [2,3] and leads to a failed bootstrap [4]. Creating a trusty instance via horizon (no juju involved) works fine and a bootstrap with xenial works also.
Attached are a collection of logs including all of the pastebins linked here.
[1] - https://pastebin.canonical.com/157049/
[2] - https://pastebin.canonical.com/157058/
[3] - https://pastebin.canonical.com/157059/
[4] - https://pastebin.canonical.com/157060/ |
[Impact]
This was seen on a Landscape Autopilot deployment (using ceph/ceph) after the fix for lp:1583276 was committed:
root@juju-machine-0-lxc-1:/var/lib/landscape/juju-homes/1# juju ssh glance-simplestreams-sync/0 apt-cache policy python-simplestreams
Warning: Permanently added 'node-11.vmwarestack,10.245.202.81' (ECDSA) to the list of known hosts.
Warning: Permanently added '10.245.201.73' (ECDSA) to the list of known hosts.
python-simplestreams:
Installed: 0.1.0~bzr434~trunk-0ubuntu1~ubuntu14.04.1
Candidate: 0.1.0~bzr434~trunk-0ubuntu1~ubuntu14.04.1
The glance-simplestreams-sync.log [1] shows that the xenial image was not completely updated and got stuck in the queued state:
WARNING * 05-23 16:29:08 [PID:18247] * sstreams * Ignoring inactive image 37d8dfe7-f829-48e0-a66f-aff0cbe0a201 with status 'queued'
The log then shows that another xenial image was downloaded and ultimately the sync process switches to the daily cron.
[Test Case]
The problem occurs with the user tries to juju bootstrap with trusty. It appears that the trusty simplestreams metadata is incomplete [2,3] and leads to a failed bootstrap [4]. Creating a trusty instance via horizon (no juju involved) works fine and a bootstrap with xenial works also.
[Regression Potention]
This part was added specifically for the Xenial backport, including:
- 436-glance-fix-race-conditions.patch (LP: #1584938)
And chances of regression are small based on the MR feedback from SEG and this particular bug already stating the issue was fixed.
[Other Info]
Attached are a collection of logs including all the pastebins linked here.
[1] - https://pastebin.canonical.com/157049/
[2] - https://pastebin.canonical.com/157058/
[3] - https://pastebin.canonical.com/157059/
[4] - https://pastebin.canonical.com/157060/ |
|
2019-09-20 09:47:36 |
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:12 |
Rafael David Tinoco |
simplestreams (Ubuntu Xenial): status |
In Progress |
Won't Fix |
|
2019-10-16 15:20:14 |
Rafael David Tinoco |
simplestreams (Ubuntu Bionic): status |
Fix Released |
In Progress |
|
2019-10-16 15:21:44 |
Rafael David Tinoco |
simplestreams (Ubuntu Xenial): assignee |
Rafael David Tinoco (rafaeldtinoco) |
|
|
2019-10-16 15:22:01 |
Rafael David Tinoco |
simplestreams (Ubuntu Bionic): assignee |
|
Rafael David Tinoco (rafaeldtinoco) |
|
2019-11-04 18:34:34 |
Rafael David Tinoco |
simplestreams (Ubuntu Bionic): status |
In Progress |
Fix Released |
|
2019-11-04 18:34:38 |
Rafael David Tinoco |
simplestreams (Ubuntu Bionic): assignee |
Rafael David Tinoco (rafaeldtinoco) |
|
|