utopic lxc tools.tar.gz and aria2c not found

Bug #1364438 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Critical
Andrew Wilkins

Bug Description

The local-deploy-utopic-amd64 test consistently fails to bring up the services
    http://juju-ci.vapour.ws:8080/job/local-deploy-utopic-amd64/291/console

While the test is running, we could see the containers were running. We captured the cloud-init-output.log

Attempt 5 to download tools...
+ aria2c --max-tries=0 --retry-wait=3 --check-certificate=false -d /var/lib/juju/tools/1.21-alpha1.1-utopic-amd64 -o tools.tar.gz https://10.0.1.1:17070/tools/1.21-alpha1.1-utopic-amd64
/var/lib/cloud/instance/scripts/runcmd: 17: /var/lib/cloud/instance/scripts/runcmd: aria2c: not found
+ [ 5 -lt 5 ]
+ sleep 15
+ sha256sum /var/lib/juju/tools/1.21-alpha1.1-utopic-amd64/tools.tar.gz
sha256sum: /var/lib/juju/tools/1.21-alpha1.1-utopic-amd64/tools.tar.gz: No such file or directory
2014-09-02 14:10:09,442 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/runcmd [1]
2014-09-02 14:10:09,443 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
2014-09-02 14:10:09,443 - util.py[WARNING]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_scripts_user.pyc'>) failed
Cloud-init v. 0.7.6 finished at Tue, 02 Sep 2014 14:10:09 +0000. Datasource DataSourceNoCloudNet [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]. Up 510162.12 seconds

The test was run two different utopic slaves to verify the problem wasn't unique to the host.

Revision history for this message
Curtis Hovey (sinzui) wrote :
summary: - utopuc ixc tools.tar.gz and aria2c not found
+ utopuc lxc tools.tar.gz and aria2c not found
summary: - utopuc lxc tools.tar.gz and aria2c not found
+ utopic lxc tools.tar.gz and aria2c not found
Revision history for this message
Eric Snow (ericsnowcurrently) wrote :

Presumably this is due to https://github.com/juju/juju/commit/f8ff4561eb46623c28ce6e44e3e5e6bc062e6522.

If I recall correctly, there was also some discussion around aria2c being available from universe and not main. Could this be part of the problem? (I'm not familiar enough with how all that package repo stuff works to tell if it matters here.)

Revision history for this message
Curtis Hovey (sinzui) wrote :

The utopic lxc template (created 5 days agot) does universe enabled:
deb http://archive.ubuntu.com/ubuntu utopic universe
deb-src http://archive.ubuntu.com/ubuntu utopic universe
deb http://archive.ubuntu.com/ubuntu utopic-updates universe
deb-src http://archive.ubuntu.com/ubuntu utopic-updates universe
# deb http://archive.ubuntu.com/ubuntu utopic-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu utopic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu utopic-security universe
deb-src http://security.ubuntu.com/ubuntu utopic-security universe

Andrew Wilkins (axwalk)
Changed in juju-core:
assignee: nobody → Andrew Wilkins (axwalk)
status: Triaged → In Progress
Revision history for this message
Andrew Wilkins (axwalk) wrote :

I'm reverting the code to use curl, but have added support for cycling through alternative URLs for tools download.

Andrew Wilkins (axwalk)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.