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,
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
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
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
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.
** 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
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' }
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.
[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.
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=
** 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
** 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
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
** 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,
14 matches
Mail list logo