yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #63150
[Bug 1681005] Re: install hooks fail because enable-os-upgrade/refresh-update ignored
The xenial machine which doesn't run apt-get update/upgrade appears to
have the correct config as shown in cloud-init.log
<snip>
output:
all: '| tee -a /var/log/cloud-init-output.log'
package_update: true
package_upgrade: true
packages:
- curl
- cpu-checker
- bridge-utils
- cloud-utils
- tmux
- socat
<snip>
** Also affects: cloud-init
Importance: Undecided
Status: New
--
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-init:
New
Status in juju:
Triaged
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-init/+bug/1681005/+subscriptions