themattrix / vagrant-docker-teamcity

TeamCity inside Docker inside Vagrant
17 stars 0 forks source link

Puppet failure #1

Open evdoks opened 10 years ago

evdoks commented 10 years ago

Puppet fails with following message (on OS X)

==> default: Running provisioner: puppet...
Running Puppet with default.pp...
stdin: is not a tty
notice: /Stage[main]/Dev_tools/Package[git]/ensure: created
notice: /Stage[main]/Docker_runtime/Package[apparmor-utils]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Docker_runtime/Package[lxc-docker]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Dev_tools/Package[tmux]/ensure: ensure changed 'purged' to 'present'
err: /Stage[main]/Docker_runtime/Exec[lxc-complain]/returns: change from notrun to 0 failed: aa-complain /etc/apparmor.d/lxc/lxc-default /usr/bin/lxc-start returned 1 instead of one of [0] at /tmp/vagrant-puppet-1/modules-0/docker_runtime/manifests/init.pp:15
notice: /Stage[main]/Dev_tools/Package[vim]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Dev_tools/Package[socat]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Docker_runtime/Exec[reload-apparmor]: Dependency Exec[lxc-complain] has failures: true
warning: /Stage[main]/Docker_runtime/Exec[reload-apparmor]: Skipping because of failed dependencies
notice: Finished catalog run in 77.91 seconds
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

puppet apply --modulepath '/tmp/vagrant-puppet-1/modules-0:/etc/puppet/modules' --manifestdir /tmp/vagrant-puppet-1/manifests --detailed-exitcodes /tmp/vagrant-puppet-1/manifests/default.pp || [ $? -eq 2 ]

Stdout from the command:

notice: /Stage[main]/Dev_tools/Package[git]/ensure: created
notice: /Stage[main]/Docker_runtime/Package[apparmor-utils]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Docker_runtime/Package[lxc-docker]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Dev_tools/Package[tmux]/ensure: ensure changed 'purged' to 'present'
err: /Stage[main]/Docker_runtime/Exec[lxc-complain]/returns: change from notrun to 0 failed: aa-complain /etc/apparmor.d/lxc/lxc-default /usr/bin/lxc-start returned 1 instead of one of [0] at /tmp/vagrant-puppet-1/modules-0/docker_runtime/manifests/init.pp:15
notice: /Stage[main]/Dev_tools/Package[vim]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Dev_tools/Package[socat]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Docker_runtime/Exec[reload-apparmor]: Dependency Exec[lxc-complain] has failures: true
warning: /Stage[main]/Docker_runtime/Exec[reload-apparmor]: Skipping because of failed dependencies
notice: Finished catalog run in 77.91 seconds
themattrix commented 10 years ago

Sorry for the delay - this project has stagnated a bit. What I'd like to do is replace the base OS with boot2docker, but I'll leave this issue open until I make that change.