juju deploy docker
Tim Van Steenburgh
tim.van.steenburgh at canonical.com
Wed Aug 30 19:39:16 UTC 2017
Hi Micheal,
If you want to deploy a registry on CDK you can use the registry action on
a kubernetes-worker. You'll find instructions here:
https://jujucharms.com/u/containers/kubernetes-worker/
Tim
On Wed, Aug 30, 2017 at 3:15 PM, Micheal B <tictoc at tictoc.us> wrote:
> I tired using juju resolved --limit @/var/lib/juju/agents/unit-
> docker-4/charm/playbooks/site.retry and some other variations using
> ansible locally but no joy there.
>
>
>
>
>
> Thanks
>
>
>
> Micheal
>
>
>
> *From: *<juju-bounces at lists.ubuntu.com> on behalf of Micheal B <
> tictoc at tictoc.us>
> *Date: *Wednesday, August 30, 2017 at 11:46 AM
> *To: *<Juju at lists.ubuntu.com>
> *Subject: *Re: juju deploy docker
>
>
>
> Thanks Rick .. looks like ansible is the issue. Not sure how to use the
> --limit @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
> properly .. looking through the docs I am not finding it anyway.
>
>
>
> 2017-08-30 16:02:45 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:02:46 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504108966.08-206513812495860/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504108966.08-206513812495860/setup.py'"}
>
> 2017-08-30 16:02:46 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:02:46 DEBUG config-changed
>
> 2017-08-30 16:02:46 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:02:46 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:02:46 DEBUG config-changed
>
> 2017-08-30 16:02:46 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:02:46 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:02:46 DEBUG config-changed main()
>
> 2017-08-30 16:02:46 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:02:46 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:02:46 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:02:46 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:02:46 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:02:46 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:02:46 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:02:46 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:02:46 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:02:46 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:02:46 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:02:56 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:02:56 DEBUG juju-log Register config-changed
>
> 2017-08-30 16:02:56 DEBUG juju-log Register install
>
> 2017-08-30 16:02:56 DEBUG juju-log Register stop
>
> 2017-08-30 16:02:56 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 16:02:56 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 16:02:56 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 16:02:57 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 16:02:57 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 16:02:57 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 16:02:57 DEBUG config-changed
>
> 2017-08-30 16:02:57 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 16:02:57 DEBUG config-changed
>
> 2017-08-30 16:02:57 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:02:57 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504108977.93-245147739844766/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504108977.93-245147739844766/setup.py'"}
>
> 2017-08-30 16:02:57 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:02:57 DEBUG config-changed
>
> 2017-08-30 16:02:57 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:02:57 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:02:57 DEBUG config-changed
>
> 2017-08-30 16:02:57 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:02:57 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:02:57 DEBUG config-changed main()
>
> 2017-08-30 16:02:57 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:02:57 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:02:57 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:02:57 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:02:57 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:02:57 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:02:57 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:02:57 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:02:57 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:02:58 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:02:58 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:03:18 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:03:18 DEBUG juju-log Register config-changed
>
> 2017-08-30 16:03:18 DEBUG juju-log Register install
>
> 2017-08-30 16:03:18 DEBUG juju-log Register stop
>
> 2017-08-30 16:03:18 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 16:03:18 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 16:03:18 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 16:03:19 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 16:03:19 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 16:03:19 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 16:03:20 DEBUG config-changed
>
> 2017-08-30 16:03:20 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 16:03:20 DEBUG config-changed
>
> 2017-08-30 16:03:20 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:03:20 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504109000.35-179854023640789/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504109000.35-179854023640789/setup.py'"}
>
> 2017-08-30 16:03:20 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:03:20 DEBUG config-changed
>
> 2017-08-30 16:03:20 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:03:20 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:03:20 DEBUG config-changed
>
> 2017-08-30 16:03:20 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:03:20 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:03:20 DEBUG config-changed main()
>
> 2017-08-30 16:03:20 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:03:20 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:03:20 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:03:20 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:03:20 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:03:20 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:03:20 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:03:20 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:03:20 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:03:20 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:03:20 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:04:00 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:04:00 DEBUG juju-log Register config-changed
>
> 2017-08-30 16:04:00 DEBUG juju-log Register install
>
> 2017-08-30 16:04:00 DEBUG juju-log Register stop
>
> 2017-08-30 16:04:00 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 16:04:00 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 16:04:00 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 16:04:01 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 16:04:01 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 16:04:01 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 16:04:01 DEBUG config-changed
>
> 2017-08-30 16:04:01 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 16:04:01 DEBUG config-changed
>
> 2017-08-30 16:04:01 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:04:02 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504109042.17-89594210786622/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504109042.17-89594210786622/setup.py'"}
>
> 2017-08-30 16:04:02 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:04:02 DEBUG config-changed
>
> 2017-08-30 16:04:02 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:04:02 DEBUG config-changed localhost : ok=0
> changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:04:02 DEBUG config-changed
>
> 2017-08-30 16:04:02 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:04:02 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:04:02 DEBUG config-changed main()
>
> 2017-08-30 16:04:02 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:04:02 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:04:02 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:04:02 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:04:02 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:04:02 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:04:02 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:04:02 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:04:02 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:04:02 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:04:02 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:05:20 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:05:20 DEBUG juju-log Register config-changed
>
> 2017-08-30 16:05:20 DEBUG juju-log Register install
>
> 2017-08-30 16:05:20 DEBUG juju-log Register stop
>
> 2017-08-30 16:05:20 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 16:05:20 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 16:05:20 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 16:05:21 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 16:05:21 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 16:05:21 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 16:05:21 DEBUG config-changed
>
> 2017-08-30 16:05:21 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 16:05:21 DEBUG config-changed
>
> 2017-08-30 16:05:21 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:05:22 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504109122.15-20283035399961/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504109122.15-20283035399961/setup.py'"}
>
> 2017-08-30 16:05:22 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:05:22 DEBUG config-changed
>
> 2017-08-30 16:05:22 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:05:22 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:05:22 DEBUG config-changed
>
> 2017-08-30 16:05:22 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:05:22 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:05:22 DEBUG config-changed main()
>
> 2017-08-30 16:05:22 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:05:22 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:05:22 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:05:22 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:05:22 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:05:22 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:05:22 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:05:22 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:05:22 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:05:22 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:05:22 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:07:57 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:07:57 DEBUG juju-log Register config-changed
>
> 2017-08-30 16:07:57 DEBUG juju-log Register install
>
> 2017-08-30 16:07:57 DEBUG juju-log Register stop
>
> 2017-08-30 16:07:58 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 16:07:58 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 16:07:58 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 16:07:58 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 16:07:58 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 16:07:58 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 16:07:59 DEBUG config-changed
>
> 2017-08-30 16:07:59 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 16:07:59 DEBUG config-changed
>
> 2017-08-30 16:07:59 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:07:59 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504109279.46-208125909513457/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504109279.46-208125909513457/setup.py'"}
>
> 2017-08-30 16:07:59 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:07:59 DEBUG config-changed
>
> 2017-08-30 16:07:59 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:07:59 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:07:59 DEBUG config-changed
>
> 2017-08-30 16:07:59 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:07:59 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:07:59 DEBUG config-changed main()
>
> 2017-08-30 16:07:59 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:07:59 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:07:59 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:07:59 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:07:59 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:07:59 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:07:59 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:07:59 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:07:59 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:07:59 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:07:59 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:12:43 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:12:59 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:12:59 DEBUG juju-log Register config-changed
>
> 2017-08-30 16:12:59 DEBUG juju-log Register install
>
> 2017-08-30 16:12:59 DEBUG juju-log Register stop
>
> 2017-08-30 16:13:00 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 16:13:00 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 16:13:00 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 16:13:00 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 16:13:00 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 16:13:00 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 16:13:01 DEBUG config-changed
>
> 2017-08-30 16:13:01 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 16:13:01 DEBUG config-changed
>
> 2017-08-30 16:13:01 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:13:01 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504109581.56-12982937149940/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504109581.56-12982937149940/setup.py'"}
>
> 2017-08-30 16:13:01 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:13:01 DEBUG config-changed
>
> 2017-08-30 16:13:01 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:13:01 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:13:01 DEBUG config-changed
>
> 2017-08-30 16:13:01 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:13:01 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:13:01 DEBUG config-changed main()
>
> 2017-08-30 16:13:01 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:13:01 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:13:01 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:13:01 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:13:01 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:13:01 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:13:01 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:13:01 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:13:01 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:13:01 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:13:01 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:18:01 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:18:01 DEBUG juju-log Register config-changed
>
> 2017-08-30 16:18:01 DEBUG juju-log Register install
>
> 2017-08-30 16:18:02 DEBUG juju-log Register stop
>
> 2017-08-30 16:18:02 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 16:18:02 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 16:18:02 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 16:18:02 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 16:18:02 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 16:18:02 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 16:18:03 DEBUG config-changed
>
> 2017-08-30 16:18:03 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 16:18:03 DEBUG config-changed
>
> 2017-08-30 16:18:03 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:18:03 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504109883.53-176267841413644/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504109883.53-176267841413644/setup.py'"}
>
> 2017-08-30 16:18:03 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:18:03 DEBUG config-changed
>
> 2017-08-30 16:18:03 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:18:03 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:18:03 DEBUG config-changed
>
> 2017-08-30 16:18:03 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:18:03 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:18:03 DEBUG config-changed main()
>
> 2017-08-30 16:18:03 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:18:03 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:18:03 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:18:03 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:18:03 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:18:03 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:18:03 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:18:03 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:18:03 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:18:03 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:18:03 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:23:03 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:23:03 DEBUG juju-log Register config-changed
>
> 2017-08-30 16:23:03 DEBUG juju-log Register install
>
> 2017-08-30 16:23:03 DEBUG juju-log Register stop
>
> 2017-08-30 16:23:04 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 16:23:04 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 16:23:04 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 16:23:04 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 16:23:04 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 16:23:04 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 16:23:05 DEBUG config-changed
>
> 2017-08-30 16:23:05 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 16:23:05 DEBUG config-changed
>
> 2017-08-30 16:23:05 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:23:05 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504110185.57-272223446835286/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504110185.57-272223446835286/setup.py'"}
>
> 2017-08-30 16:23:05 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:23:05 DEBUG config-changed
>
> 2017-08-30 16:23:05 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:23:05 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:23:05 DEBUG config-changed
>
> 2017-08-30 16:23:05 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:23:05 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:23:05 DEBUG config-changed main()
>
> 2017-08-30 16:23:05 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:23:05 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:23:05 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:23:05 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:23:05 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:23:05 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:23:05 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:23:05 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:23:05 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:23:05 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:23:05 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:28:05 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:28:05 DEBUG juju-log Register config-changed
>
> 2017-08-30 16:28:05 DEBUG juju-log Register install
>
> 2017-08-30 16:28:05 DEBUG juju-log Register stop
>
> 2017-08-30 16:28:06 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 16:28:06 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 16:28:06 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 16:28:06 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 16:28:06 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 16:28:06 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 16:28:07 DEBUG config-changed
>
> 2017-08-30 16:28:07 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 16:28:07 DEBUG config-changed
>
> 2017-08-30 16:28:07 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:28:07 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504110487.48-113705990930683/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504110487.48-113705990930683/setup.py'"}
>
> 2017-08-30 16:28:07 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:28:07 DEBUG config-changed
>
> 2017-08-30 16:28:07 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:28:07 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:28:07 DEBUG config-changed
>
> 2017-08-30 16:28:07 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:28:07 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:28:07 DEBUG config-changed main()
>
> 2017-08-30 16:28:07 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:28:07 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:28:07 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:28:07 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:28:07 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:28:07 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:28:07 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:28:07 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:28:07 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:28:07 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:28:07 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:33:07 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:33:07 DEBUG juju-log Register config-changed
>
> 2017-08-30 16:33:07 DEBUG juju-log Register install
>
> 2017-08-30 16:33:07 DEBUG juju-log Register stop
>
> 2017-08-30 16:33:07 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 16:33:07 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 16:33:08 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 16:33:08 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 16:33:08 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 16:33:08 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 16:33:08 DEBUG config-changed
>
> 2017-08-30 16:33:08 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 16:33:08 DEBUG config-changed
>
> 2017-08-30 16:33:08 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:33:09 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504110789.3-33586690026613/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504110789.3-33586690026613/setup.py'"}
>
> 2017-08-30 16:33:09 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:33:09 DEBUG config-changed
>
> 2017-08-30 16:33:09 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:33:09 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:33:09 DEBUG config-changed
>
> 2017-08-30 16:33:09 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:33:09 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:33:09 DEBUG config-changed main()
>
> 2017-08-30 16:33:09 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:33:09 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:33:09 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:33:09 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:33:09 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:33:09 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:33:09 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:33:09 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:33:09 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:33:09 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:33:09 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:38:09 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:38:09 DEBUG juju-log Register config-changed
>
> 2017-08-30 16:38:09 DEBUG juju-log Register install
>
> 2017-08-30 16:38:09 DEBUG juju-log Register stop
>
> 2017-08-30 16:38:09 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 16:38:09 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 16:38:09 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 16:38:10 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 16:38:10 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 16:38:10 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 16:38:10 DEBUG config-changed
>
> 2017-08-30 16:38:10 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 16:38:10 DEBUG config-changed
>
> 2017-08-30 16:38:10 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:38:11 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504111091.18-84784161391055/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504111091.18-84784161391055/setup.py'"}
>
> 2017-08-30 16:38:11 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:38:11 DEBUG config-changed
>
> 2017-08-30 16:38:11 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:38:11 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:38:11 DEBUG config-changed
>
> 2017-08-30 16:38:11 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:38:11 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:38:11 DEBUG config-changed main()
>
> 2017-08-30 16:38:11 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:38:11 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:38:11 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:38:11 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:38:11 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:38:11 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:38:11 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:38:11 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:38:11 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:38:11 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:38:11 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:43:11 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:43:11 DEBUG juju-log Register config-changed
>
> 2017-08-30 16:43:11 DEBUG juju-log Register install
>
> 2017-08-30 16:43:11 DEBUG juju-log Register stop
>
> 2017-08-30 16:43:11 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 16:43:11 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 16:43:11 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 16:43:12 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 16:43:12 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 16:43:12 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 16:43:12 DEBUG config-changed
>
> 2017-08-30 16:43:12 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 16:43:12 DEBUG config-changed
>
> 2017-08-30 16:43:12 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:43:13 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504111393.2-240292141103260/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504111393.2-240292141103260/setup.py'"}
>
> 2017-08-30 16:43:13 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:43:13 DEBUG config-changed
>
> 2017-08-30 16:43:13 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:43:13 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:43:13 DEBUG config-changed
>
> 2017-08-30 16:43:13 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:43:13 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:43:13 DEBUG config-changed main()
>
> 2017-08-30 16:43:13 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:43:13 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:43:13 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:43:13 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:43:13 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:43:13 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:43:13 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:43:13 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:43:13 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:43:13 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:43:13 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:47:39 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:48:13 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:48:13 DEBUG juju-log Register config-changed
>
> 2017-08-30 16:48:13 DEBUG juju-log Register install
>
> 2017-08-30 16:48:13 DEBUG juju-log Register stop
>
> 2017-08-30 16:48:13 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 16:48:13 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 16:48:13 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 16:48:14 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 16:48:14 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 16:48:14 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 16:48:14 DEBUG config-changed
>
> 2017-08-30 16:48:14 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 16:48:14 DEBUG config-changed
>
> 2017-08-30 16:48:14 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:48:15 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504111695.17-119130261828167/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504111695.17-119130261828167/setup.py'"}
>
> 2017-08-30 16:48:15 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:48:15 DEBUG config-changed
>
> 2017-08-30 16:48:15 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:48:15 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:48:15 DEBUG config-changed
>
> 2017-08-30 16:48:15 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:48:15 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:48:15 DEBUG config-changed main()
>
> 2017-08-30 16:48:15 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:48:15 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:48:15 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:48:15 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:48:15 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:48:15 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:48:15 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:48:15 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:48:15 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:48:15 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:48:15 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:48:42 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:48:42 DEBUG juju-log Register config-changed
>
> 2017-08-30 16:48:42 DEBUG juju-log Register install
>
> 2017-08-30 16:48:42 DEBUG juju-log Register stop
>
> 2017-08-30 16:48:42 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 16:48:42 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 16:48:42 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 16:48:43 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 16:48:43 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 16:48:43 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 16:48:43 DEBUG config-changed
>
> 2017-08-30 16:48:43 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 16:48:43 DEBUG config-changed
>
> 2017-08-30 16:48:43 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:48:44 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504111724.01-157527269728346/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504111724.01-157527269728346/setup.py'"}
>
> 2017-08-30 16:48:44 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:48:44 DEBUG config-changed
>
> 2017-08-30 16:48:44 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:48:44 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:48:44 DEBUG config-changed
>
> 2017-08-30 16:48:44 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:48:44 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:48:44 DEBUG config-changed main()
>
> 2017-08-30 16:48:44 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:48:44 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:48:44 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:48:44 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:48:44 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:48:44 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:48:44 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:48:44 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:48:44 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:48:44 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:48:44 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:48:47 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:48:49 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:48:49 DEBUG juju-log Register config-changed
>
> 2017-08-30 16:48:49 DEBUG juju-log Register install
>
> 2017-08-30 16:48:49 DEBUG juju-log Register stop
>
> 2017-08-30 16:48:49 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 16:48:49 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 16:48:49 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 16:48:50 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 16:48:50 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 16:48:50 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 16:48:50 DEBUG config-changed
>
> 2017-08-30 16:48:50 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 16:48:50 DEBUG config-changed
>
> 2017-08-30 16:48:50 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:48:50 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504111730.92-233978996868189/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504111730.92-233978996868189/setup.py'"}
>
> 2017-08-30 16:48:50 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:48:50 DEBUG config-changed
>
> 2017-08-30 16:48:50 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:48:50 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:48:50 DEBUG config-changed
>
> 2017-08-30 16:48:50 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:48:50 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:48:50 DEBUG config-changed main()
>
> 2017-08-30 16:48:50 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:48:50 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:48:50 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:48:50 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:48:50 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:48:50 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:48:50 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:48:50 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:48:50 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:48:50 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:48:50 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:49:00 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:49:01 DEBUG juju-log Register config-changed
>
> 2017-08-30 16:49:01 DEBUG juju-log Register install
>
> 2017-08-30 16:49:01 DEBUG juju-log Register stop
>
> 2017-08-30 16:49:01 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 16:49:01 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 16:49:01 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 16:49:01 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 16:49:01 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 16:49:02 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 16:49:02 DEBUG config-changed
>
> 2017-08-30 16:49:02 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 16:49:02 DEBUG config-changed
>
> 2017-08-30 16:49:02 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:49:02 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504111742.62-109440116307146/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504111742.62-109440116307146/setup.py'"}
>
> 2017-08-30 16:49:02 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:49:02 DEBUG config-changed
>
> 2017-08-30 16:49:02 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:49:02 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:49:02 DEBUG config-changed
>
> 2017-08-30 16:49:02 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:49:02 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:49:02 DEBUG config-changed main()
>
> 2017-08-30 16:49:02 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:49:02 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:49:02 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:49:02 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:49:02 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:49:02 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:49:02 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:49:02 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:49:02 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:49:02 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:49:02 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:49:22 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:49:22 DEBUG juju-log Register config-changed
>
> 2017-08-30 16:49:22 DEBUG juju-log Register install
>
> 2017-08-30 16:49:22 DEBUG juju-log Register stop
>
> 2017-08-30 16:49:22 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 16:49:23 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 16:49:23 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 16:49:23 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 16:49:23 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 16:49:23 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 16:49:24 DEBUG config-changed
>
> 2017-08-30 16:49:24 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 16:49:24 DEBUG config-changed
>
> 2017-08-30 16:49:24 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:49:24 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504111764.4-24779409968106/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504111764.4-24779409968106/setup.py'"}
>
> 2017-08-30 16:49:24 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:49:24 DEBUG config-changed
>
> 2017-08-30 16:49:24 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:49:24 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:49:24 DEBUG config-changed
>
> 2017-08-30 16:49:24 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:49:24 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:49:24 DEBUG config-changed main()
>
> 2017-08-30 16:49:24 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:49:24 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:49:24 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:49:24 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:49:24 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:49:24 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:49:24 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:49:24 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:49:24 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:49:24 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:49:24 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:50:03 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:50:04 DEBUG juju-log Register config-changed
>
> 2017-08-30 16:50:04 DEBUG juju-log Register install
>
> 2017-08-30 16:50:04 DEBUG juju-log Register stop
>
> 2017-08-30 16:50:04 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 16:50:04 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 16:50:04 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 16:50:04 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 16:50:04 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 16:50:05 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 16:50:05 DEBUG config-changed
>
> 2017-08-30 16:50:05 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 16:50:05 DEBUG config-changed
>
> 2017-08-30 16:50:05 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:50:05 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504111805.82-274171200237735/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504111805.82-274171200237735/setup.py'"}
>
> 2017-08-30 16:50:05 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:50:05 DEBUG config-changed
>
> 2017-08-30 16:50:05 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:50:05 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:50:05 DEBUG config-changed
>
> 2017-08-30 16:50:05 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:50:05 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:50:05 DEBUG config-changed main()
>
> 2017-08-30 16:50:05 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:50:05 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:50:05 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:50:05 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:50:05 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:50:05 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:50:05 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:50:05 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:50:05 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:50:05 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:50:05 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:51:26 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:51:26 DEBUG juju-log Register config-changed
>
> 2017-08-30 16:51:26 DEBUG juju-log Register install
>
> 2017-08-30 16:51:26 DEBUG juju-log Register stop
>
> 2017-08-30 16:51:26 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 16:51:26 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 16:51:26 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 16:51:26 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 16:51:26 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 16:51:27 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 16:51:27 DEBUG config-changed
>
> 2017-08-30 16:51:27 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 16:51:27 DEBUG config-changed
>
> 2017-08-30 16:51:27 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:51:27 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504111887.82-279298985161846/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504111887.82-279298985161846/setup.py'"}
>
> 2017-08-30 16:51:27 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:51:27 DEBUG config-changed
>
> 2017-08-30 16:51:27 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:51:27 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:51:27 DEBUG config-changed
>
> 2017-08-30 16:51:27 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:51:27 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:51:27 DEBUG config-changed main()
>
> 2017-08-30 16:51:27 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:51:27 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:51:27 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:51:27 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:51:27 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:51:27 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:51:27 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:51:27 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:51:27 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:51:27 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:51:27 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:54:10 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:54:10 DEBUG juju-log Register config-changed
>
> 2017-08-30 16:54:10 DEBUG juju-log Register install
>
> 2017-08-30 16:54:10 DEBUG juju-log Register stop
>
> 2017-08-30 16:54:10 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 16:54:10 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 16:54:10 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 16:54:11 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 16:54:11 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 16:54:11 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 16:54:11 DEBUG config-changed
>
> 2017-08-30 16:54:11 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 16:54:11 DEBUG config-changed
>
> 2017-08-30 16:54:11 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:54:12 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504112052.0-88053251843248/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504112052.0-88053251843248/setup.py'"}
>
> 2017-08-30 16:54:12 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:54:12 DEBUG config-changed
>
> 2017-08-30 16:54:12 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:54:12 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:54:12 DEBUG config-changed
>
> 2017-08-30 16:54:12 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:54:12 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:54:12 DEBUG config-changed main()
>
> 2017-08-30 16:54:12 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:54:12 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:54:12 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:54:12 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:54:12 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:54:12 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:54:12 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:54:12 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:54:12 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:54:12 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:54:12 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:59:12 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 16:59:12 DEBUG juju-log Register config-changed
>
> 2017-08-30 16:59:12 DEBUG juju-log Register install
>
> 2017-08-30 16:59:12 DEBUG juju-log Register stop
>
> 2017-08-30 16:59:12 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 16:59:12 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 16:59:12 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 16:59:12 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 16:59:12 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 16:59:13 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 16:59:13 DEBUG config-changed
>
> 2017-08-30 16:59:13 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 16:59:13 DEBUG config-changed
>
> 2017-08-30 16:59:13 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 16:59:13 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504112353.85-204795217727786/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504112353.85-204795217727786/setup.py'"}
>
> 2017-08-30 16:59:13 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 16:59:13 DEBUG config-changed
>
> 2017-08-30 16:59:13 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 16:59:13 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 16:59:13 DEBUG config-changed
>
> 2017-08-30 16:59:13 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 16:59:13 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 16:59:13 DEBUG config-changed main()
>
> 2017-08-30 16:59:13 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 16:59:13 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 16:59:13 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 16:59:13 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 16:59:13 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 16:59:13 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 16:59:13 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 16:59:13 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 16:59:13 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 16:59:13 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 16:59:13 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 17:03:14 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 17:04:13 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 17:04:14 DEBUG juju-log Register config-changed
>
> 2017-08-30 17:04:14 DEBUG juju-log Register install
>
> 2017-08-30 17:04:14 DEBUG juju-log Register stop
>
> 2017-08-30 17:04:14 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 17:04:14 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 17:04:14 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 17:04:14 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 17:04:14 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 17:04:15 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 17:04:15 DEBUG config-changed
>
> 2017-08-30 17:04:15 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 17:04:15 DEBUG config-changed
>
> 2017-08-30 17:04:15 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 17:04:15 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504112655.76-81815865673359/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504112655.76-81815865673359/setup.py'"}
>
> 2017-08-30 17:04:15 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 17:04:15 DEBUG config-changed
>
> 2017-08-30 17:04:15 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 17:04:15 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 17:04:15 DEBUG config-changed
>
> 2017-08-30 17:04:15 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 17:04:15 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 17:04:15 DEBUG config-changed main()
>
> 2017-08-30 17:04:15 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 17:04:15 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 17:04:15 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 17:04:15 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 17:04:15 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 17:04:15 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 17:04:15 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 17:04:15 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 17:04:15 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 17:04:15 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 17:04:15 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 17:09:08 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 17:09:15 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 17:09:16 DEBUG juju-log Register config-changed
>
> 2017-08-30 17:09:16 DEBUG juju-log Register install
>
> 2017-08-30 17:09:16 DEBUG juju-log Register stop
>
> 2017-08-30 17:09:16 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 17:09:16 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 17:09:16 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 17:09:16 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 17:09:16 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 17:09:17 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 17:09:17 DEBUG config-changed
>
> 2017-08-30 17:09:17 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 17:09:17 DEBUG config-changed
>
> 2017-08-30 17:09:17 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 17:09:17 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504112957.73-129121337118789/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504112957.73-129121337118789/setup.py'"}
>
> 2017-08-30 17:09:17 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 17:09:17 DEBUG config-changed
>
> 2017-08-30 17:09:17 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 17:09:17 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 17:09:17 DEBUG config-changed
>
> 2017-08-30 17:09:17 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 17:09:17 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 17:09:17 DEBUG config-changed main()
>
> 2017-08-30 17:09:17 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 17:09:17 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 17:09:17 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 17:09:17 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 17:09:17 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 17:09:17 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 17:09:17 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 17:09:17 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 17:09:17 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 17:09:17 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 17:09:17 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 17:14:17 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 17:14:18 DEBUG juju-log Register config-changed
>
> 2017-08-30 17:14:18 DEBUG juju-log Register install
>
> 2017-08-30 17:14:18 DEBUG juju-log Register stop
>
> 2017-08-30 17:14:18 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 17:14:18 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 17:14:18 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 17:14:18 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 17:14:18 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 17:14:18 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 17:14:19 DEBUG config-changed
>
> 2017-08-30 17:14:19 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 17:14:19 DEBUG config-changed
>
> 2017-08-30 17:14:19 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 17:14:19 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504113259.53-197582950912323/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504113259.53-197582950912323/setup.py'"}
>
> 2017-08-30 17:14:19 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 17:14:19 DEBUG config-changed
>
> 2017-08-30 17:14:19 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 17:14:19 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 17:14:19 DEBUG config-changed
>
> 2017-08-30 17:14:19 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 17:14:19 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 17:14:19 DEBUG config-changed main()
>
> 2017-08-30 17:14:19 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 17:14:19 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 17:14:19 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 17:14:19 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 17:14:19 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 17:14:19 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 17:14:19 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 17:14:19 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 17:14:19 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 17:14:19 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 17:14:19 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 17:18:36 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 17:19:19 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 17:19:19 DEBUG juju-log Register config-changed
>
> 2017-08-30 17:19:19 DEBUG juju-log Register install
>
> 2017-08-30 17:19:19 DEBUG juju-log Register stop
>
> 2017-08-30 17:19:19 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 17:19:20 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 17:19:20 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 17:19:20 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 17:19:20 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 17:19:20 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 17:19:20 DEBUG config-changed
>
> 2017-08-30 17:19:20 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 17:19:21 DEBUG config-changed
>
> 2017-08-30 17:19:21 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 17:19:21 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504113561.33-2720225299647/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504113561.33-2720225299647/setup.py'"}
>
> 2017-08-30 17:19:21 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 17:19:21 DEBUG config-changed
>
> 2017-08-30 17:19:21 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 17:19:21 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 17:19:21 DEBUG config-changed
>
> 2017-08-30 17:19:21 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 17:19:21 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 17:19:21 DEBUG config-changed main()
>
> 2017-08-30 17:19:21 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 17:19:21 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 17:19:21 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 17:19:21 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 17:19:21 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 17:19:21 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 17:19:21 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 17:19:21 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 17:19:21 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 17:19:21 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 17:19:21 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 17:24:14 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 17:24:21 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 17:24:21 DEBUG juju-log Register config-changed
>
> 2017-08-30 17:24:21 DEBUG juju-log Register install
>
> 2017-08-30 17:24:21 DEBUG juju-log Register stop
>
> 2017-08-30 17:24:21 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 17:24:21 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 17:24:21 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 17:24:22 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 17:24:22 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 17:24:22 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 17:24:22 DEBUG config-changed
>
> 2017-08-30 17:24:22 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 17:24:22 DEBUG config-changed
>
> 2017-08-30 17:24:22 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 17:24:23 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504113863.23-189098630696667/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504113863.23-189098630696667/setup.py'"}
>
> 2017-08-30 17:24:23 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 17:24:23 DEBUG config-changed
>
> 2017-08-30 17:24:23 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 17:24:23 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 17:24:23 DEBUG config-changed
>
> 2017-08-30 17:24:23 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 17:24:23 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 17:24:23 DEBUG config-changed main()
>
> 2017-08-30 17:24:23 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 17:24:23 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 17:24:23 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 17:24:23 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 17:24:23 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 17:24:23 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 17:24:23 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 17:24:23 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 17:24:23 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 17:24:23 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 17:24:23 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 17:29:23 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 17:29:23 DEBUG juju-log Register config-changed
>
> 2017-08-30 17:29:23 DEBUG juju-log Register install
>
> 2017-08-30 17:29:23 DEBUG juju-log Register stop
>
> 2017-08-30 17:29:23 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 17:29:23 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 17:29:23 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 17:29:24 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 17:29:24 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 17:29:24 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 17:29:24 DEBUG config-changed
>
> 2017-08-30 17:29:24 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 17:29:24 DEBUG config-changed
>
> 2017-08-30 17:29:24 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 17:29:24 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504114164.98-58318136937560/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504114164.98-58318136937560/setup.py'"}
>
> 2017-08-30 17:29:24 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 17:29:24 DEBUG config-changed
>
> 2017-08-30 17:29:24 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 17:29:24 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 17:29:24 DEBUG config-changed
>
> 2017-08-30 17:29:25 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 17:29:25 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 17:29:25 DEBUG config-changed main()
>
> 2017-08-30 17:29:25 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 17:29:25 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 17:29:25 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 17:29:25 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 17:29:25 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 17:29:25 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 17:29:25 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 17:29:25 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 17:29:25 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 17:29:25 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 17:29:25 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 17:34:25 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> 2017-08-30 17:34:25 DEBUG juju-log Register config-changed
>
> 2017-08-30 17:34:25 DEBUG juju-log Register install
>
> 2017-08-30 17:34:25 DEBUG juju-log Register stop
>
> 2017-08-30 17:34:25 DEBUG juju-log Register upgrade-charm
>
> 2017-08-30 17:34:25 DEBUG juju-log Register network-relation-changed
>
> 2017-08-30 17:34:25 DEBUG juju-log Register docker-host-relation-changed
>
> 2017-08-30 17:34:25 INFO juju-log ANSIBLE VARS: /etc/ansible/host_vars/
> localhost
>
> 2017-08-30 17:34:25 INFO juju-log ansible-playbook -c local -v
> playbooks/site.yaml --tags config-changed --module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules
>
> 2017-08-30 17:34:26 DEBUG config-changed No config file found; using
> defaults
>
> 2017-08-30 17:34:26 DEBUG config-changed
>
> 2017-08-30 17:34:26 DEBUG config-changed PLAY [all]
> *********************************************************************
>
> 2017-08-30 17:34:26 DEBUG config-changed
>
> 2017-08-30 17:34:26 DEBUG config-changed TASK [Gathering Facts]
> *********************************************************
>
> 2017-08-30 17:34:26 DEBUG config-changed fatal: [localhost]: FAILED! =>
> {"failed": true, "msg": "failed to transfer file to
> ~/.ansible/tmp/ansible-tmp-1504114466.75-237469688255613/setup.py: [Errno
> 2] No such file or directory: '~/.ansible/tmp/ansible-tmp-
> 1504114466.75-237469688255613/setup.py'"}
>
> 2017-08-30 17:34:26 DEBUG config-changed to retry, use: --limit
> @/var/lib/juju/agents/unit-docker-4/charm/playbooks/site.retry
>
> 2017-08-30 17:34:26 DEBUG config-changed
>
> 2017-08-30 17:34:26 DEBUG config-changed PLAY RECAP
> *********************************************************************
>
> 2017-08-30 17:34:26 DEBUG config-changed localhost :
> ok=0 changed=0 unreachable=0 failed=1
>
> 2017-08-30 17:34:26 DEBUG config-changed
>
> 2017-08-30 17:34:26 DEBUG config-changed Traceback (most recent call last):
>
> 2017-08-30 17:34:26 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 14, in <module>
>
> 2017-08-30 17:34:26 DEBUG config-changed main()
>
> 2017-08-30 17:34:26 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/hooks/config-changed", line 11, in main
>
> 2017-08-30 17:34:26 DEBUG config-changed hooks.execute(args)
>
> 2017-08-30 17:34:26 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 216, in
> execute
>
> 2017-08-30 17:34:26 DEBUG config-changed tags=tags,
> verbosity=verbosity, module_path=modules)
>
> 2017-08-30 17:34:26 DEBUG config-changed File "/var/lib/juju/agents/unit-
> docker-4/charm/src/ansiblecharm/ansiblecharm/runner.py", line 129, in
> apply_playbook
>
> 2017-08-30 17:34:26 DEBUG config-changed subprocess.check_call(call,
> env=env)
>
> 2017-08-30 17:34:26 DEBUG config-changed File "/usr/lib/python2.7/subprocess.py",
> line 541, in check_call
>
> 2017-08-30 17:34:26 DEBUG config-changed raise
> CalledProcessError(retcode, cmd)
>
> 2017-08-30 17:34:26 DEBUG config-changed subprocess.CalledProcessError:
> Command '['ansible-playbook', '-c', 'local', '-v', 'playbooks/site.yaml',
> '--tags', 'config-changed', '--module-path=/var/lib/juju/
> agents/unit-docker-4/charm/modules']' returned non-zero exit status 2
>
> 2017-08-30 17:34:26 ERROR juju.worker.uniter.operation runhook.go:107 hook
> "config-changed" failed: exit status 1
>
> 2017-08-30 17:34:26 INFO juju.worker.uniter resolver.go:100 awaiting error
> resolution for "config-changed" hook
>
> ubuntu at juju-d3f240-13:~$
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *From: *Rick Harding <rick.harding at canonical.com>
> *Date: *Wednesday, August 30, 2017 at 11:12 AM
> *To: *Micheal B <tictoc at tictoc.us>, <Juju at lists.ubuntu.com>
> *Subject: *Re: juju deploy docker
>
>
>
> Can you check the juju debug-log or juju ssh docker/0 and sudo cat
> /var/log/juju/unit-xxxxxxx to see what's failed?
>
>
>
> It looks like the charm there is hitting an error and will have to debug
> what's up by checking the logs.
>
>
>
> On Wed, Aug 30, 2017 at 1:02 PM Micheal B <tictoc at tictoc.us> wrote:
>
> Running juju vsphere cloud – current CDK
>
>
>
> Test both
>
>
>
> Juju deploy docker
>
> And
>
> juju deploy docker --series xenial –force
>
>
>
> always get
>
> hook failed: "config-changed"
>
>
>
> Tested other installs
>
> juju add-unit kubernetes-worker --- install fine
>
>
>
> check DNS / DHCP all of that appears fine
>
>
>
> Trying to setup a registery pod if that help.
>
>
>
>
>
> Thanks
>
>
>
> Micheal
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/juju
>
> -- Juju mailing list Juju at lists.ubuntu.com Modify settings or unsubscribe
> at: https://lists.ubuntu.com/mailman/listinfo/juju
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/juju
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170830/570ba5fd/attachment.html>
More information about the Juju
mailing list