← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1681005] Re: install hooks fail because enable-os-upgrade/refresh-update ignored

 

Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/2854

** Bug watch added: github.com/canonical/cloud-init/issues #2854
   https://github.com/canonical/cloud-init/issues/2854

** Changed in: cloud-init
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1681005

Title:
  install hooks fail because enable-os-upgrade/refresh-update ignored

Status in cloud-images:
  New
Status in cloud-init:
  Expired
Status in Canonical Juju:
  Invalid

Bug description:
  As seen at
     http://reports.vapour.ws/releases/issue/5553b279749a56508ba88b45

  There is a dramatic rise in hook failures since March 24. This is
  because juju is not running apt-get update or upgrade.

  Joyent dominates, but rackspace and GCE have had spots of failures.
  The unit logs show apt fails to find packages. Joyent tends to have
  stale images so Juju CI tests always run with os-enable-refresh-update
  to have the correct list of packages.

  Today I deployed the landscape bundle in joyent and repeated the
  postgresql install hook failures. The log confirm an apt issue

      E: Failed to fetch
  http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-
  dev_4.4.0-71.92_amd64.deb  404  Not Found [IP: 91.189.88.149 80]

  juju model-config shows apt should have been updated and the host
  upgraded

      enable-os-refresh-update    default  true
      enable-os-upgrade           default  true

  But /var/log/apt/history.log and /var/log/apt/term.log show apt has
  not been touched since the image was made in March.

  I left the model untouched for 3 hours. It remained in error. I ran
      juju ssh 2 -- sudo apt-get update

  3 minutes later the unit was installed.

  This bug is in 2.1 and 2.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1681005/+subscriptions