I'm experimenting with vagrant-managed-servers for an older PuPHPet-based project and I can't seem to get past the puppet provisioning stage.
vagrant destroy demo -f && vagrant up demo --provider=managed && vagrant provision --debug
and then
ps axuww fills up with loads of these process pairs:
root 130956 0.0 0.0 9552 1152 ? S 13:00 0:00 /bin/bash /usr/bin/puppet apply --verbose --hiera_config /vagrant/puphpet/puppet/hiera.yaml --parser future --modulepath /tmp/vagrant-puppet/modules-ca1d2e31b8e8c6e53179ceedf9c5cac0:/etc/puppet/modules --detailed-exitcodes --manifestdir /tmp/vagrant-puppet/manifests-893fcda21077f5a583c2dbbba8515c0a /tmp/vagrant-puppet/manifests-893fcda21077f5a583c2dbbba8515c0a/site.pp
root 131060 0.2 0.2 13680 5616 ? S 13:00 0:00 bash /usr/local/rvm/bin/rvm ruby-2.1.10 do puppet apply --verbose --hiera_config /vagrant/puphpet/puppet/hiera.yaml --parser future --modulepath /tmp/vagrant-puppet/modules-ca1d2e31b8e8c6e53179ceedf9c5cac0:/etc/puppet/modules --detailed-exitcodes --manifestdir /tmp/vagrant-puppet/manifests-893fcda21077f5a583c2dbbba8515c0a /tmp/vagrant-puppet/manifests-893fcda21077f5a583c2dbbba8515c0a/site.pp
and then the provisioning fails with DEBUG ssh: stderr: /usr/local/rvm/scripts/set: fork: Cannot allocate memory
I tried increasing swap, but it just takes longer and runs out of memory anyway.
Please advise, why would it come in an endless loop?
Thanks,
Alex
I'm experimenting with vagrant-managed-servers for an older PuPHPet-based project and I can't seem to get past the puppet provisioning stage.
vagrant destroy demo -f && vagrant up demo --provider=managed && vagrant provision --debugand then
ps axuwwfills up with loads of these process pairs:and then the provisioning fails with
DEBUG ssh: stderr: /usr/local/rvm/scripts/set: fork: Cannot allocate memoryI tried increasing swap, but it just takes longer and runs out of memory anyway.
Please advise, why would it come in an endless loop?
Thanks,
Alex