** Changed in: simplestreams (Ubuntu Bionic)
       Status: In Progress => Fix Released

** Changed in: simplestreams (Ubuntu Bionic)
     Assignee: Rafael David Tinoco (rafaeldtinoco) => (unassigned)

You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs

  Incomplete simplestreams metadata and failed juju bootstrap

Status in Glance - Simplestreams Sync Charm:
Status in Landscape Server:
  Fix Committed
Status in Landscape Server 16.06 series:
  Won't Fix
Status in simplestreams:
  Fix Released
Status in simplestreams package in Ubuntu:
  Fix Released
Status in simplestreams source package in Xenial:
  Won't Fix
Status in simplestreams source package in Bionic:
  Fix Released
Status in simplestreams source package in Disco:
  Fix Released

Bug 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,' (ECDSA) to the 
list of known hosts.
  Warning: Permanently added '' (ECDSA) to the list of known hosts.
    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

  [1] - https://pastebin.canonical.com/157049/
  [2] - https://pastebin.canonical.com/157058/
  [3] - https://pastebin.canonical.com/157059/
  [4] - https://pastebin.canonical.com/157060/

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~group.of.nepali.translators
Post to     : group.of.nepali.translators@lists.launchpad.net
Unsubscribe : https://launchpad.net/~group.of.nepali.translators
More help   : https://help.launchpad.net/ListHelp

Reply via email to