[Bug 961142] Re: chef 0.10: package installation: returned 100, expected 0

2013-06-21 Thread Bernhard Weisshuhn
Correction: removing man-db is not sufficient, other packages (like ruby-mysql) installed by chef also hang during debconf hooks, because the chef-client started by cloud-init inherit the environment variables. -- You received this bug notification because you are a member of Ubuntu Server Team,

[Bug 961142] Re: chef 0.10: package installation: returned 100, expected 0

2013-06-21 Thread Tobias Wilken
Hey, I solved the process for us, by creating a chef recipe, with just: ` ENV['DEBCONF_REDIR'] = ENV['DEBIAN_HAS_FRONTEND'] = ` This is executed as first recipe and we had no more problems. -- You received this bug notification because you are a member of Ubuntu Server Team, which is

[Bug 961142] Re: chef 0.10: package installation: returned 100, expected 0

2013-06-21 Thread Bernhard Weisshuhn
Including this chef recipe as the first one fixes the problem for me. if platform_family?(debian) %w{ DPKG_MAINTSCRIPT_PACKAGE DEBCONF_REDIR DEBIAN_FRONTEND DEBIAN_HAS_FRONTEND DPKG_NO_TSTP UPSTART_JOB DPKG_MAINTSCRIPT_NAME }.each

[Bug 961142] Re: chef 0.10: package installation: returned 100, expected 0

2013-06-21 Thread Bernhard Weisshuhn
ha! Thanks Tobias - seems we're on the same page ;-) -- 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

[Bug 961142] Re: chef 0.10: package installation: returned 100, expected 0

2013-06-20 Thread Bernhard Weisshuhn
Same here. The workaround that worked for me was to let cloud-init remove man-db via a runcmd: runcmd: - apt-get -y purge man-db -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu.

[Bug 961142] Re: chef 0.10: package installation: returned 100, expected 0

2013-01-31 Thread Scott Moser
** Changed in: cloud-init Importance: Undecided = Low -- 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

[Bug 961142] Re: chef 0.10: package installation: returned 100, expected 0

2012-12-19 Thread Romain Cambien
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' }

[Bug 961142] Re: chef 0.10: package installation: returned 100, expected 0

2012-08-16 Thread Scott Moser
Hi, sorry to come back to this after so long. Do you think this is actually a cloud-init bug? rather than a bug in chef or in munin? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu.

[Bug 961142] Re: chef 0.10: package installation: returned 100, expected 0

2012-08-14 Thread Launchpad Bug Tracker
[Expired for cloud-init (Ubuntu) because there has been no activity for 60 days.] ** Changed in: cloud-init (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu.

[Bug 961142] Re: chef 0.10: package installation: returned 100, expected 0

2012-06-03 Thread Tobias Wilken
Hey, I tried it with 12.04 (AWS ami-1de8d369), same error as before, as you suspected. I appended the cloud-init-output.log, but I couldn't get more information out of this. I also logged the output of `env` inside a chef recipe: Started via cloud init: UPSTART_INSTANCE= SHLVL=1 INSTANCE=

[Bug 961142] Re: chef 0.10: package installation: returned 100, expected 0

2012-05-30 Thread Scott Moser
** Changed in: cloud-init Status: New = Incomplete -- 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

[Bug 961142] Re: chef 0.10: package installation: returned 100, expected 0

2012-05-24 Thread Scott Moser
** Also affects: cloud-init Importance: Undecided Status: New -- 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

[Bug 961142] Re: chef 0.10: package installation: returned 100, expected 0

2012-05-24 Thread Scott Moser
Hi, Sorry for the slow reply to this bug. Could you please try reproducing on 12.04? I suspect it will still fail, but there were changes that might have fixed this issue. It seems strange to me that DEBIAN_HAS_FRONTEND or DEBCONF_REDIR would affect chef. I'd even think that if it is

[Bug 961142] Re: chef 0.10: package installation: returned 100, expected 0

2012-04-02 Thread James Page
** Changed in: cloud-init (Ubuntu) Importance: Undecided = Low -- 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,