I can also see the expected apt-get output in the cloud init logs showing the package indices being updated from the expected sources, and the result of the dist-upgrade. So from what I can see:
- Juju is correctly configuring cloud init to run the apt commands
- cloud init is running the commands
- the cloud init logs show the commands being run
Maybe the archive mirrors are out of date?
The log output below shows the refresh happening based off a mirror.
I can also see the expected apt-get output in the cloud init logs showing the package indices being updated from the expected sources, and the result of the dist-upgrade. So from what I can see:
- Juju is correctly configuring cloud init to run the apt commands
- cloud init is running the commands
- the cloud init logs show the commands being run
Maybe the archive mirrors are out of date?
The log output below shows the refresh happening based off a mirror.
Cloud-init v. 0.7.5 running 'modules:config' at Wed, 12 Apr 2017 01:14:36 +0000. Up 15.00 seconds. security. ubuntu. com trusty-security InRelease [65.9 kB] security. ubuntu. com trusty- security/ main Sources [129 kB] security. ubuntu. com trusty- security/ universe Sources [50.6 kB] security. ubuntu. com trusty- security/ main amd64 Packages [606 kB] security. ubuntu. com trusty- security/ universe amd64 Packages [155 kB] eu-ams- 1.joyent. clouds. archive. ubuntu. com trusty InRelease security. ubuntu. com trusty- security/ main Translation-en [332 kB] security. ubuntu. com trusty- security/ universe Translation-en [90.3 kB] eu-ams- 1.joyent. clouds. archive. ubuntu. com trusty-updates InRelease [65.9 kB] eu-ams- 1.joyent. clouds. archive. ubuntu. com trusty-backports InRelease eu-ams- 1.joyent. clouds. archive. ubuntu. com trusty Release.gpg eu-ams- 1.joyent. clouds. archive. ubuntu. com trusty-updates/main Sources [395 kB] eu-ams- 1.joyent. clouds. archive. ubuntu. com trusty- updates/ restricted Sources [6327 B] eu-ams- 1.joyent. clouds. archive. ubuntu. com trusty- updates/ universe Sources [176 kB] eu-ams- 1.joyent. clouds. archive. ubuntu. com trusty- updates/ multiverse Sources [7759 B] eu-ams- 1.joyent. clouds. archive. ubuntu. com trusty-updates/main amd64 Packages [973 kB]
Generating locales...
en_US.UTF-8... up-to-date
Generation complete.
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Ign http://
Get:6 http://
Get:7 http://
Get:8 http://
Hit http://
Hit http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
<snip>