"type: local" doesn't work in host with kernel option 'ds=nocloud'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Triaged
|
Low
|
Unassigned |
Bug Description
Because cloud-init in the juju booted lxc instance parses the kernel args by reading /proc/cmdline.
The lxc instance has the same /proc/cmdline with its host, so it reads '... ds=nocloud ...'.
In the lxc instance, juju and its friends will not be installed,
and /etc/init/
Relate files in the instance:
/var/lib/
/var/lib/
Related code:
cloudinit/
cloud-init's version is 0.6.3-0ubuntu1
How to reproduce:
1. Boot a precise cloud image as the juju host with kernel args
"root=/dev/vda ro console=ttyS0 init=/usr/
Install linux-image-
You can use the following code to do so
bzr branch lp:~wenjianhn/+junk/vbuntu
2. In the instance, deploy mysql
http://
The agent state will be infinite pending.
Workaround:
1. apt-get remove cloud-init in the juju host
2. boot the host without "init=/
3. juju time
Changed in juju: | |
importance: | Undecided → Low |
status: | New → Triaged |