precise services cannot be deployed (again)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
Undecided
|
Unassigned | ||
juju-core |
Fix Released
|
High
|
Ian Booth | ||
1.22 |
Fix Released
|
Critical
|
Ian Booth |
Bug Description
Commit 4c05466 Merge pull request #1597 from wallyworld/
http://
http://
Like bug 1407699 which was fixed bug disabling we see cloud-init report that many things are not installed
Feb 18 01:25:37 ip-172-31-24-59 [CLOUDINIT] __init__.py[ERROR]: config handling of la ndscape, None, [] failed
Feb 18 01:25:37 ip-172-31-24-59 [CLOUDINIT] __init__.py[ERROR]: config handling of timezone, None, [] failed
Feb 18 01:25:37 ip-172-31-24-59 [CLOUDINIT] __init__.py[ERROR]: config handling of puppet, None, [] failed
Feb 18 01:25:37 ip-172-31-24-59 [CLOUDINIT] __init__.py[ERROR]: config handling of chef, None, [] failed
Feb 18 01:25:37 ip-172-31-24-59 [CLOUDINIT] __init__.py[ERROR]: config handling of salt-minion, None, [] failed
Feb 18 01:25:37 ip-172-31-24-59 [CLOUDINIT] __init__.py[ERROR]: config handling of mcollective, None, [] failed
Feb 18 01:25:37 ip-172-31-24-59 [CLOUDINIT] __init__.py[ERROR]: config handling of disable-
Feb 18 01:25:37 ip-172-31-24-59 [CLOUDINIT] __init__.py[ERROR]: config handling of runcmd, None, [] failed
Feb 18 01:25:37 ip-172-31-24-59 [CLOUDINIT] cloud-init-
affects: | cloud-init (Ubuntu) → cloud-archive |
Changed in juju-core: | |
milestone: | none → 1.23 |
status: | New → Triaged |
importance: | Undecided → High |
Changed in cloud-archive: | |
status: | New → Fix Released |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
Changed in juju-core: | |
milestone: | 1.23 → 1.23-beta1 |
The issue originally was that packaging metadata for debs in the precise cloud archive was incorrect. This has now been fixed (I looked at the cloud archive repo to be sure). I can deploy a precise AWS environment just fine (see below). Note the line:
Installing package: cloud-image-utils
This was what broken previously before the upstream packaging change.
I looked at the log from a failed CI run http:// juju-ci. vapour. ws:8080/ job/aws- deploy- precise- amd64/2304/
and see this line:
The following packages will be REMOVED: -growroot cloud-utils
cloud-init cloud-initramfs
This implies that a stale mirror is being used for retrieving the cloud archive packages. The above is what happens when debs without the correct metadata are used.
Can we confirm that the issue is not due to a stale apt mirror?
juju bootstrap --show-log utopic- amd64 gc] bootstrap bootstrap.go:178 newest version: 1.22-beta3 bootstrap bootstrap.go:201 failed to find 1.22-beta4 tools, will attempt to use 1.22-beta3 bootstrap bootstrap.go:206 picked bootstrap tools version: 1.22-beta3 cloud-init- output. log on remote host ubuntu- cloud.archive. canonical. com/ubuntu precise- updates/ cloud-tools main /juju-dist. s3.amazonaws. com/tools/ devel/juju- 1.22-beta3- precise- amd64.tgz]> 126:17070]
2015-02-18 03:13:25 INFO juju.cmd supercommand.go:37 running juju [1.22-beta4-
2015-02-18 03:13:25 INFO juju.provider.ec2 provider.go:35 opening environment "amazon"
2015-02-18 03:13:31 INFO juju.network network.go:114 setting prefer-ipv6 to false
Bootstrapping environment "amazon"
2015-02-18 03:13:37 INFO juju.environs.tools tools.go:86 reading tools with major.minor version 1.22
Starting new instance for initial state server
Launching instance
2015-02-18 03:14:21 INFO juju.provider.ec2 environ.go:509 "us-east-1a" is constrained, trying another availability zone
2015-02-18 03:14:23 INFO juju.provider.ec2 environ.go:509 "us-east-1b" is constrained, trying another availability zone
2015-02-18 03:14:26 INFO juju.provider.ec2 environ.go:525 started instance "i-3425a1ce" in "us-east-1c"
- i-3425a1ce
2015-02-18 03:14:36 INFO juju.environs.
2015-02-18 03:14:36 WARNING juju.environs.
2015-02-18 03:14:36 INFO juju.environs.
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to 50.17.99.1:22
Attempting to connect to 10.73.158.126:22
Logging to /var/log/
Installing add-apt-repository
Adding apt repository: deb http://
Running apt-get update
Running apt-get upgrade
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: cloud-image-utils
Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz <[https:/
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
Bootstrap complete
2015-02-18 03:20:43 INFO juju.api api.go:502 new API addresses to cache [50.17.99.1:17070 10.73.158.
2015-02-18 03:20:43 INFO juju.cmd supercommand.go:417 command finished
$ juju deploy mysql mysql-51" to the environment.
Added charm "cs:precise/
$ juju s...