[Bug 961142] Re: chef 0.10: package installation: returned 100, expected 0
Romain Cambien
romain at cambien.net
Wed Dec 19 11:56:39 UTC 2012
Hi,
I had the same problem with cloud-init and chef.
Some package installation failed with code 100 (Dpkg sub-process
failed).
I manage to fix it by installing chef and running chef-client manually
in the cloud-config :
#cloud-config
output: { all: '| tee -a /var/log/cloud-init-output.log' }
packages:
- chef
chef:
install_type: packages
server_url: http://xxxxxxx:4000
validation_name: chef-validator
validation_key: |
-----BEGIN RSA PRIVATE KEY-----
xxxxxxx
-----END RSA PRIVATE KEY-----
run_list:
- role[front]
runcmd:
- [chef-client]
I also have a problem during postfix package installation that become
interactive when installed by chef through cloud-init.
I tested with Ubuntu 12.04 and 12.10 on Amazon EC2.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/961142
Title:
chef 0.10: package installation: returned 100, expected 0
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/961142/+subscriptions
More information about the Ubuntu-server-bugs
mailing list