Puppet training VM - issues with agent_setup

asked 2016-05-10 01:17:20 -0600

Hi

I have been working through the training vm. ran into a lot of issue with the agent_setup.

I have fixed up the docker -T issue but still can't get it to start I run puppet agent -t

puppet agent -t Info: Using configured environment 'production' Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Info: Caching catalog for learning.puppetlabs.vm Info: Applying configuration version '1462860876' Notice: /Stage[main]/Docker::Service/Service[docker]/ensure: ensure changed 'stopped' to 'running' Info: /Stage[main]/Docker::Service/Service[docker]: Unscheduling refresh on Service[docker] Notice: /Stage[main]/Multinode/Docker::Image[phusion/baseimage]/Exec[checkimagephusion/baseimageinstall]/returns: executed successfully Info: /Stage[main]/Multinode/Docker::Image[phusion/baseimage]/Exec[checkimagephusion/baseimageinstall]: Scheduling refresh of Exec[docker pull phusion/baseimage] Notice: /Stage[main]/Multinode/Docker::Image[phusion/baseimage]/Exec[docker pull phusion/baseimage]/returns: Using default tag: latest Notice: /Stage[main]/Multinode/Docker::Image[phusion/baseimage]/Exec[docker pull phusion/baseimage]/returns: Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon. Is the docker daemon running on this host?). Using system default: https://index.docker.io/v1/ Notice: /Stage[main]/Multinode/Docker::Image[phusion/baseimage]/Exec[docker pull phusion/baseimage]/returns: Cannot connect to the Docker daemon. Is the docker daemon running on this host? Error: /Stage[main]/Multinode/Docker::Image[phusion/baseimage]/Exec[docker pull phusion/baseimage]: Failed to call refresh: docker pull phusion/baseimage returned 1 instead of one of [0] Error: /Stage[main]/Multinode/Docker::Image[phusion/baseimage]/Exec[docker pull phusion/baseimage]: docker pull phusion/baseimage returned 1 instead of one of [0] Error: Could not start Service[docker-webserver]: Execution of '/bin/systemctl start docker-webserver' returned 1: A dependency job for docker-webserver.service failed. See 'journalctl -xe' for details. Error: /Stage[main]/Multinode/Docker::Run[webserver]/Service[docker-webserver]/ensure: change from stopped to running failed: Could not start Service[docker-webserver]: Execution of '/bin/systemctl start docker-webserver' returned 1: A dependency job for docker-webserver.service failed. See 'journalctl -xe' for details. Error: Could not start Service[docker-database]: Execution of '/bin/systemctl start docker-database' returned 1: A dependency job for docker-database.service failed. See 'journalctl -xe' for details. Error: /Stage[main]/Multinode/Docker::Run[database]/Service[docker-database]/ensure: change from stopped to running failed: Could not start Service[docker-database]: Execution of '/bin/systemctl start docker-database' returned 1: A dependency job for docker-database.service failed. See 'journalctl -xe' for details. Info: Class[Multinode]: Unscheduling all events on Class[Multi_node] Notice: /Stage[main]/Graphite::Config/Service[carbon-cache]/enable: enable changed 'false' to 'true'

edit retag flag offensive close merge delete