charm failure to install - The following packages cannot be authenticated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
New
|
Undecided
|
Unassigned |
Bug Description
I am seeing a number of charms failing to install because of authentication failure during package install. It retries a few times. I have observed it for multiple charms so thinking this may be a charm helpers issue.
This is from unit log for contrail-webui:
2015-09-14 14:22:50 DEBUG worker.uniter.jujuc server.go:159 hook context id "contrail-
2015-09-14 14:22:50 INFO juju-log Couldn't acquire DPKG lock. Will retry in 10 seconds.
2015-09-14 14:22:58 DEBUG juju.worker.
2015-09-14 14:22:58 DEBUG juju.worker.
2015-09-14 14:22:59 DEBUG juju.worker.
2015-09-14 14:22:59 INFO juju.worker.
2015-09-14 14:23:00 INFO install Reading package lists...
2015-09-14 14:23:01 INFO install Building dependency tree...
2015-09-14 14:23:01 INFO install Reading state information...
2015-09-14 14:23:01 INFO install The following packages were automatically installed and are no longer required:
2015-09-14 14:23:01 INFO install libfreetype6 os-prober
2015-09-14 14:23:01 INFO install Use 'apt-get autoremove' to remove them.
2015-09-14 14:23:01 INFO install The following packages will be upgraded:
2015-09-14 14:23:01 INFO install bind9-host dnsutils libbind9-90 libdns100 libisc95 libisccc90 libisccfg90
2015-09-14 14:23:01 INFO install liblwres90
2015-09-14 14:23:01 INFO install 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2015-09-14 14:23:01 INFO install Need to get 1194 kB of archives.
2015-09-14 14:23:01 INFO install After this operation, 9216 B disk space will be freed.
2015-09-14 14:23:01 INFO install WARNING: The following packages cannot be authenticated!
2015-09-14 14:23:01 INFO install dnsutils bind9-host libisc95 libdns100 libisccc90 libisccfg90 liblwres90
2015-09-14 14:23:01 INFO install libbind9-90
2015-09-14 14:23:01 INFO install E: There are problems and -y was used without --force-yes
2015-09-14 14:23:01 INFO worker.uniter.jujuc server.go:158 running hook tool "juju-log" ["Couldn't acquire DPKG lock. Will retry in 10 seconds."]
2015-09-14 14:23:01 DEBUG worker.uniter.jujuc server.go:159 hook context id "contrail-
2015-09-14 14:23:01 INFO juju-log Couldn't acquire DPKG lock. Will retry in 10 seconds.
2015-09-14 14:23:11 INFO install Reading package lists...
2015-09-14 14:23:11 INFO install Building dependency tree...
2015-09-14 14:23:11 INFO install Reading state information...
2015-09-14 14:23:11 INFO install The following packages were automatically installed and are no longer required:
2015-09-14 14:23:11 INFO install libfreetype6 os-prober
2015-09-14 14:23:11 INFO install Use 'apt-get autoremove' to remove them.
2015-09-14 14:23:11 INFO install The following packages will be upgraded:
2015-09-14 14:23:11 INFO install bind9-host dnsutils libbind9-90 libdns100 libisc95 libisccc90 libisccfg90
2015-09-14 14:23:11 INFO install liblwres90
2015-09-14 14:23:11 INFO install 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2015-09-14 14:23:11 INFO install Need to get 1194 kB of archives.
2015-09-14 14:23:11 INFO install After this operation, 9216 B disk space will be freed.
2015-09-14 14:23:11 INFO install WARNING: The following packages cannot be authenticated!
2015-09-14 14:23:11 INFO install dnsutils bind9-host libisc95 libdns100 libisccc90 libisccfg90 liblwres90
2015-09-14 14:23:11 INFO install libbind9-90
2015-09-14 14:23:11 INFO install E: There are problems and -y was used without --force-yes
2015-09-14 14:23:11 INFO install Traceback (most recent call last):
2015-09-14 14:23:11 INFO install File "/var/lib/
2015-09-14 14:23:11 INFO install install()
2015-09-14 14:23:11 INFO install File "/var/lib/
2015-09-14 14:23:11 INFO install apt_upgrade(
2015-09-14 14:23:11 INFO install File "/var/lib/
2015-09-14 14:23:11 INFO install _run_apt_
2015-09-14 14:23:11 INFO install File "/var/lib/
2015-09-14 14:23:11 INFO install result = subprocess.
2015-09-14 14:23:11 INFO install File "/usr/lib/
2015-09-14 14:23:11 INFO install raise CalledProcessEr
2015-09-14 14:23:11 INFO install subprocess.
2015-09-14 14:23:11 INFO juju.worker.
2015-09-14 14:23:11 ERROR juju.worker.
2015-09-14 14:23:11 DEBUG juju.worker.uniter modes.go:31 [AGENT-STATUS] failed: run install hook
2015-09-14 14:23:12 INFO juju.worker.uniter modes.go:543 ModeContinue exiting
2015-09-14 14:23:12 INFO juju.worker.uniter modes.go:541 ModeHookError starting
2015-09-14 14:23:12 DEBUG juju.worker.
2015-09-14 14:23:12 DEBUG juju.worker.
2015-09-14 14:23:12 DEBUG juju.worker.
2015-09-14 14:23:12 DEBUG juju.worker.uniter modes.go:31 [AGENT-STATUS] error: hook failed: "install"
2015-09-14 14:23:28 DEBUG juju.worker.
2015-09-14 14:23:28 DEBUG juju.worker.
2015-09-14 14:23:29 DEBUG juju.worker.