Created
March 26, 2018 16:23
-
-
Save thuitaw/31364dbe01b3cbe853145c0a8c29384c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018-03-26T19:21:47.964026 Got extra args to `run` command [container.core] arguments={'debug': True, 'devel': False, 'selinux': True, 'subcommand': 'run', 'service': [], 'detached': False, 'vault_files': [], 'vault_password_file': None, 'roles_path': [], 'with_volumes': [], 'volume_driver': None, 'with_variables': [], 'production': False} caller_file=/Users/thuita/.local/share/virtualenvs/server-configuration-UWykhGFB/lib/python3.6/site-packages/container/core.py caller_func=hostcmd_run caller_line=238 | |
2018-03-26T19:21:48.010810 The default type is [container.config] caller_file=/Users/thuita/.local/share/virtualenvs/server-configuration-UWykhGFB/lib/python3.6/site-packages/container/config.py caller_func=_resolve_defaults caller_line=189 config=<class 'ruamel.yaml.comments.CommentedMap'> defaults=<class 'container.utils.ordereddict.WrappedOrderedDict'> | |
2018-03-26T19:21:48.011925 Getting environment variables... [container.config] caller_file=/Users/thuita/.local/share/virtualenvs/server-configuration-UWykhGFB/lib/python3.6/site-packages/container/config.py caller_func=_get_environment_variables caller_line=205 | |
2018-03-26T19:21:48.013219 Read environment variables [container.config] caller_file=/Users/thuita/.local/share/virtualenvs/server-configuration-UWykhGFB/lib/python3.6/site-packages/container/config.py caller_func=_get_environment_variables caller_line=210 env_vars={} | |
2018-03-26T19:21:48.014838 Resolved template variables [container.config] caller_file=/Users/thuita/.local/share/virtualenvs/server-configuration-UWykhGFB/lib/python3.6/site-packages/container/config.py caller_func=_resolve_defaults caller_line=194 template_vars={"REACT_APP_GRAPHQL_URL": "http://localhost:8000/graphql", "REACT_APP_CORS_URL": "http://localhost:1337/", "REACT_APP_BRAVE_FILE_UPLOAD": "staging.api.braveventurelabs.com/api/v1/file/upload", "REACT_APP_JD_KEYWORD_URL": "http://localhost:1337/138.68.129.172:8000/hard_skill?link=", "REACT_APP_PORT": 8000, "APP_ROOT": "/app", "REACT_APP_USER": "react"} | |
2018-03-26T19:21:48.016208 Parsed config [container.config] caller_file=/Users/thuita/.local/share/virtualenvs/server-configuration-UWykhGFB/lib/python3.6/site-packages/container/config.py caller_func=set_env caller_line=148 config={"version": "2", "settings": {"conductor": {"base": "debian:jessie", "volumes": ["${PWD}/temp-space:/tmp"]}, "pwd": "/Users/thuita/Projects/brave-labs/server-configuration"}, "defaults": {"REACT_APP_GRAPHQL_URL": "http://localhost:8000/graphql", "REACT_APP_CORS_URL": "http://localhost:1337/", "REACT_APP_BRAVE_FILE_UPLOAD": "staging.api.braveventurelabs.com/api/v1/file/upload", "REACT_APP_JD_KEYWORD_URL": "http://localhost:1337/138.68.129.172:8000/hard_skill?link=", "REACT_APP_PORT": 8000, "APP_ROOT": "/app", "REACT_APP_USER": "react"}, "services": {"careers": {"from": "debian:jessie", "roles": [{"role": "careers", "nodejs_install_npm_user": "root"}], "environment": {"GRAPHQL_URL": "{{ REACT_APP_GRAPHQL_URL }}", "UPLOAD_URL": "{{ REACT_APP_BRAVE_FILE_UPLOAD }}"}, "expose": ["{{ REACT_APP_PORT }}"], "working_dir": "{{ APP_ROOT }}", "user": "{{ REACT_APP_USER }}", "entrypoint": "/usr/bin/dumb-init", "ports": ["8000:8000"]}, "admin": {"from": "debian:jessie", "roles": [{"role": "admin", "nodejs_install_npm_user": "root"}], "environment": {"GRAPHQL_URL": "{{ REACT_APP_GRAPHQL_URL }}", "UPLOAD_URL": "{{ REACT_APP_BRAVE_FILE_UPLOAD }}"}, "expose": ["{{ REACT_APP_PORT }}"], "working_dir": "{{ APP_ROOT }}", "user": "{{ REACT_APP_USER }}", "entrypoint": "/usr/bin/dumb-init", "ports": ["7000:7000"]}}} | |
2018-03-26T19:21:48.045879 The default type is [container.config] caller_file=/Users/thuita/.local/share/virtualenvs/server-configuration-UWykhGFB/lib/python3.6/site-packages/container/config.py caller_func=_resolve_defaults caller_line=189 config=<class 'ruamel.yaml.comments.CommentedMap'> defaults=<class 'container.utils.ordereddict.WrappedOrderedDict'> | |
2018-03-26T19:21:48.047462 Getting environment variables... [container.config] caller_file=/Users/thuita/.local/share/virtualenvs/server-configuration-UWykhGFB/lib/python3.6/site-packages/container/config.py caller_func=_get_environment_variables caller_line=205 | |
2018-03-26T19:21:48.048751 Read environment variables [container.config] caller_file=/Users/thuita/.local/share/virtualenvs/server-configuration-UWykhGFB/lib/python3.6/site-packages/container/config.py caller_func=_get_environment_variables caller_line=210 env_vars={} | |
2018-03-26T19:21:48.050294 Resolved template variables [container.config] caller_file=/Users/thuita/.local/share/virtualenvs/server-configuration-UWykhGFB/lib/python3.6/site-packages/container/config.py caller_func=_resolve_defaults caller_line=194 template_vars={"REACT_APP_GRAPHQL_URL": "http://localhost:8000/graphql", "REACT_APP_CORS_URL": "http://localhost:1337/", "REACT_APP_BRAVE_FILE_UPLOAD": "staging.api.braveventurelabs.com/api/v1/file/upload", "REACT_APP_JD_KEYWORD_URL": "http://localhost:1337/138.68.129.172:8000/hard_skill?link=", "REACT_APP_PORT": 8000, "APP_ROOT": "/app", "REACT_APP_USER": "react"} | |
2018-03-26T19:21:48.051343 Parsed config [container.config] caller_file=/Users/thuita/.local/share/virtualenvs/server-configuration-UWykhGFB/lib/python3.6/site-packages/container/config.py caller_func=set_env caller_line=148 config={"version": "2", "settings": {"conductor": {"base": "debian:jessie", "volumes": ["${PWD}/temp-space:/tmp"]}, "pwd": "/Users/thuita/Projects/brave-labs/server-configuration"}, "defaults": {"REACT_APP_GRAPHQL_URL": "http://localhost:8000/graphql", "REACT_APP_CORS_URL": "http://localhost:1337/", "REACT_APP_BRAVE_FILE_UPLOAD": "staging.api.braveventurelabs.com/api/v1/file/upload", "REACT_APP_JD_KEYWORD_URL": "http://localhost:1337/138.68.129.172:8000/hard_skill?link=", "REACT_APP_PORT": 8000, "APP_ROOT": "/app", "REACT_APP_USER": "react"}, "services": {"careers": {"from": "debian:jessie", "roles": [{"role": "careers", "nodejs_install_npm_user": "root"}], "environment": {"GRAPHQL_URL": "{{ REACT_APP_GRAPHQL_URL }}", "UPLOAD_URL": "{{ REACT_APP_BRAVE_FILE_UPLOAD }}"}, "expose": ["{{ REACT_APP_PORT }}"], "working_dir": "{{ APP_ROOT }}", "user": "{{ REACT_APP_USER }}", "entrypoint": "/usr/bin/dumb-init", "ports": ["8000:8000"], "volumes": ["/Users/thuita/Projects/brave-labs/server-configuration:{{ APP_ROOT }}"]}, "admin": {"from": "debian:jessie", "roles": [{"role": "admin", "nodejs_install_npm_user": "root"}], "environment": {"GRAPHQL_URL": "{{ REACT_APP_GRAPHQL_URL }}", "UPLOAD_URL": "{{ REACT_APP_BRAVE_FILE_UPLOAD }}"}, "expose": ["{{ REACT_APP_PORT }}"], "working_dir": "{{ APP_ROOT }}", "user": "{{ REACT_APP_USER }}", "entrypoint": "/usr/bin/dumb-init", "ports": ["7000:7000"], "volumes": ["/Users/thuita/Projects/brave-labs/server-configuration:{{ APP_ROOT }}"]}}} | |
2018-03-26T19:21:48.055262 hostcmd_run configuration [container.core] caller_file=/Users/thuita/.local/share/virtualenvs/server-configuration-UWykhGFB/lib/python3.6/site-packages/container/core.py caller_func=hostcmd_run caller_line=243 config={'base_path': '/Users/thuita/Projects/brave-labs/server-configuration', 'cli_vars_files': [], 'engine_name': 'docker', 'config_path': '/Users/thuita/Projects/brave-labs/server-configuration/container.yml', 'cli_project_name': None, 'cli_vault_files': None, 'remove_engines': {'k8s', 'openshift'}, '_config': CommentedMap([('version', '2'), ('settings', CommentedMap([('conductor', CommentedMap([('base', 'debian:jessie'), ('volumes', ['${PWD}/temp-space:/tmp'])])), ('pwd', '/Users/thuita/Projects/brave-labs/server-configuration')])), ('defaults', WrappedOrderedDict([('REACT_APP_GRAPHQL_URL', 'http://localhost:8000/graphql'), ('REACT_APP_CORS_URL', 'http://localhost:1337/'), ('REACT_APP_BRAVE_FILE_UPLOAD', 'staging.api.braveventurelabs.com/api/v1/file/upload'), ('REACT_APP_JD_KEYWORD_URL', 'http://localhost:1337/138.68.129.172:8000/hard_skill?link='), ('REACT_APP_PORT', 8000), ('APP_ROOT', '/app'), ('REACT_APP_USER', 'react')])), ('services', ordereddict([('careers', CommentedMap([('from', 'debian:jessie'), ('roles', [CommentedMap([('role', 'careers'), ('nodejs_install_npm_user', 'root')])]), ('environment', CommentedMap([('GRAPHQL_URL', '{{ REACT_APP_GRAPHQL_URL }}'), ('UPLOAD_URL', '{{ REACT_APP_BRAVE_FILE_UPLOAD }}')])), ('expose', ['{{ REACT_APP_PORT }}']), ('working_dir', '{{ APP_ROOT }}'), ('user', '{{ REACT_APP_USER }}'), ('entrypoint', '/usr/bin/dumb-init'), ('ports', ['8000:8000']), ('volumes', ['/Users/thuita/Projects/brave-labs/server-configuration:{{ APP_ROOT }}'])])), ('admin', CommentedMap([('from', 'debian:jessie'), ('roles', [CommentedMap([('role', 'admin'), ('nodejs_install_npm_user', 'root')])]), ('environment', CommentedMap([('GRAPHQL_URL', '{{ REACT_APP_GRAPHQL_URL }}'), ('UPLOAD_URL', '{{ REACT_APP_BRAVE_FILE_UPLOAD }}')])), ('expose', ['{{ REACT_APP_PORT }}']), ('working_dir', '{{ APP_ROOT }}'), ('user', '{{ REACT_APP_USER }}'), ('entrypoint', '/usr/bin/dumb-init'), ('ports', ['7000:7000']), ('volumes', ['/Users/thuita/Projects/brave-labs/server-configuration:{{ APP_ROOT }}'])]))]))])} | |
2018-03-26T19:21:48.058122 Loading engine capabilities [container.utils.loader] caller_file=/Users/thuita/.local/share/virtualenvs/server-configuration-UWykhGFB/lib/python3.6/site-packages/container/utils/loader.py caller_func=load_engine caller_line=14 capabilities=['RUN'] engine=docker | |
2018-03-26T19:21:48.160011 Setting Docker client timeout to 60 [container.docker.engine] caller_file=/Users/thuita/.local/share/virtualenvs/server-configuration-UWykhGFB/lib/python3.6/site-packages/container/docker/engine.py caller_func=get_timeout caller_line=122 | |
2018-03-26T19:21:48.191084 Could not find container for conductor [container.docker.engine] all_containers=[] caller_file=/Users/thuita/.local/share/virtualenvs/server-configuration-UWykhGFB/lib/python3.6/site-packages/container/docker/engine.py caller_func=get_container_id_for_service caller_line=531 container=server-configuration_conductor | |
2018-03-26T19:21:48.197077 Params passed to conductor for run [container.core] caller_file=/Users/thuita/.local/share/virtualenvs/server-configuration-UWykhGFB/lib/python3.6/site-packages/container/core.py caller_func=hostcmd_run caller_line=260 params={'deployment_output_path': '/Users/thuita/Projects/brave-labs/server-configuration/ansible-deployment', 'host_user_uid': 501, 'host_user_gid': 20, 'settings': CommentedMap([('conductor', CommentedMap([('base', 'debian:jessie'), ('volumes', ['${PWD}/temp-space:/tmp'])])), ('pwd', '/Users/thuita/Projects/brave-labs/server-configuration')]), 'debug': True, 'devel': False, 'selinux': True, 'subcommand': 'run', 'service': [], 'detached': False, 'vault_files': [], 'vault_password_file': None, 'roles_path': [], 'with_volumes': [], 'volume_driver': None, 'with_variables': [], 'production': False} | |
2018-03-26T19:21:48.219704 Call: Engine.run_conductor [container.docker.engine] args=('run', {'version': '2', 'settings': CommentedMap([('conductor', CommentedMap([('base', 'debian:jessie'), ('volumes', ['${PWD}/temp-space:/tmp'])])), ('pwd', '/Users/thuita/Projects/brave-labs/server-configuration')]), 'defaults': WrappedOrderedDict([('REACT_APP_GRAPHQL_URL', 'http://localhost:8000/graphql'), ('REACT_APP_CORS_URL', 'http://localhost:1337/'), ('REACT_APP_BRAVE_FILE_UPLOAD', 'staging.api.braveventurelabs.com/api/v1/file/upload'), ('REACT_APP_JD_KEYWORD_URL', 'http://localhost:1337/138.68.129.172:8000/hard_skill?link='), ('REACT_APP_PORT', 8000), ('APP_ROOT', '/app'), ('REACT_APP_USER', 'react')]), 'services': ordereddict([('careers', CommentedMap([('from', 'debian:jessie'), ('roles', [CommentedMap([('role', 'careers'), ('nodejs_install_npm_user', 'root')])]), ('environment', CommentedMap([('GRAPHQL_URL', '{{ REACT_APP_GRAPHQL_URL }}'), ('UPLOAD_URL', '{{ REACT_APP_BRAVE_FILE_UPLOAD }}')])), ('expose', ['{{ REACT_APP_PORT }}']), ('working_dir', '{{ APP_ROOT }}'), ('user', '{{ REACT_APP_USER }}'), ('entrypoint', '/usr/bin/dumb-init'), ('ports', ['8000:8000']), ('volumes', ['/Users/thuita/Projects/brave-labs/server-configuration:{{ APP_ROOT }}'])])), ('admin', CommentedMap([('from', 'debian:jessie'), ('roles', [CommentedMap([('role', 'admin'), ('nodejs_install_npm_user', 'root')])]), ('environment', CommentedMap([('GRAPHQL_URL', '{{ REACT_APP_GRAPHQL_URL }}'), ('UPLOAD_URL', '{{ REACT_APP_BRAVE_FILE_UPLOAD }}')])), ('expose', ['{{ REACT_APP_PORT }}']), ('working_dir', '{{ APP_ROOT }}'), ('user', '{{ REACT_APP_USER }}'), ('entrypoint', '/usr/bin/dumb-init'), ('ports', ['7000:7000']), ('volumes', ['/Users/thuita/Projects/brave-labs/server-configuration:{{ APP_ROOT }}'])]))])}, '/Users/thuita/Projects/brave-labs/server-configuration', {'deployment_output_path': '/Users/thuita/Projects/brave-labs/server-configuration/ansible-deployment', 'host_user_uid': 501, 'host_user_gid': 20, 'settings': CommentedMap([('conductor', CommentedMap([('base', 'debian:jessie'), ('volumes', ['${PWD}/temp-space:/tmp'])])), ('pwd', '/Users/thuita/Projects/brave-labs/server-configuration')]), 'debug': True, 'devel': False, 'selinux': True, 'subcommand': 'run', 'service': [], 'detached': False, 'vault_files': [], 'vault_password_file': None, 'roles_path': [], 'with_volumes': [], 'volume_driver': None, 'with_variables': [], 'production': False}) caller_file=/Users/thuita/.local/share/virtualenvs/server-configuration-UWykhGFB/lib/python3.6/site-packages/container/docker/engine.py caller_func=Engine.run_conductor caller_line=278 kwargs={} | |
2018-03-26T19:21:48.258239 Docker run: [container.docker.engine] caller_file=/Users/thuita/.local/share/virtualenvs/server-configuration-UWykhGFB/lib/python3.6/site-packages/container/docker/engine.py caller_func=run_conductor caller_line=435 image=sha256:de90fd2260fb3b38b9c5494b3ceb47ccc129f409768e48061e2e8b471ffd8ee9 params={'name': 'server-configuration_conductor', 'command': ['conductor', 'run', '--project-name', 'server-configuration', '--engine', 'docker', '--params', 'eyJkZXBsb3ltZW50X291dHB1dF9wYXRoIjogIi9Vc2Vycy90aHVpdGEvUHJvamVjdHMvYnJhdmUtbGFicy9zZXJ2ZXItY29uZmlndXJhdGlvbi9hbnNpYmxlLWRlcGxveW1lbnQiLCAiaG9zdF91c2VyX3VpZCI6IDUwMSwgImhvc3RfdXNlcl9naWQiOiAyMCwgInNldHRpbmdzIjogeyJjb25kdWN0b3IiOiB7ImJhc2UiOiAiZGViaWFuOmplc3NpZSIsICJ2b2x1bWVzIjogWyIke1BXRH0vdGVtcC1zcGFjZTovdG1wIl19LCAicHdkIjogIi9Vc2Vycy90aHVpdGEvUHJvamVjdHMvYnJhdmUtbGFicy9zZXJ2ZXItY29uZmlndXJhdGlvbiJ9LCAiZGVidWciOiB0cnVlLCAiZGV2ZWwiOiBmYWxzZSwgInNlbGludXgiOiB0cnVlLCAic3ViY29tbWFuZCI6ICJydW4iLCAic2VydmljZSI6IFtdLCAiZGV0YWNoZWQiOiBmYWxzZSwgInZhdWx0X2ZpbGVzIjogW10sICJ2YXVsdF9wYXNzd29yZF9maWxlIjogbnVsbCwgInJvbGVzX3BhdGgiOiBbXSwgIndpdGhfdm9sdW1lcyI6IFtdLCAidm9sdW1lX2RyaXZlciI6IG51bGwsICJ3aXRoX3ZhcmlhYmxlcyI6IFtdLCAicHJvZHVjdGlvbiI6IGZhbHNlfQ==', '--config', 'eyJ2ZXJzaW9uIjogIjIiLCAic2V0dGluZ3MiOiBbWyJjb25kdWN0b3IiLCB7ImJhc2UiOiAiZGViaWFuOmplc3NpZSIsICJ2b2x1bWVzIjogWyIke1BXRH0vdGVtcC1zcGFjZTovdG1wIl19XSwgWyJwd2QiLCAiL1VzZXJzL3RodWl0YS9Qcm9qZWN0cy9icmF2ZS1sYWJzL3NlcnZlci1jb25maWd1cmF0aW9uIl1dLCAiZGVmYXVsdHMiOiBbWyJSRUFDVF9BUFBfR1JBUEhRTF9VUkwiLCAiaHR0cDovL2xvY2FsaG9zdDo4MDAwL2dyYXBocWwiXSwgWyJSRUFDVF9BUFBfQ09SU19VUkwiLCAiaHR0cDovL2xvY2FsaG9zdDoxMzM3LyJdLCBbIlJFQUNUX0FQUF9CUkFWRV9GSUxFX1VQTE9BRCIsICJzdGFnaW5nLmFwaS5icmF2ZXZlbnR1cmVsYWJzLmNvbS9hcGkvdjEvZmlsZS91cGxvYWQiXSwgWyJSRUFDVF9BUFBfSkRfS0VZV09SRF9VUkwiLCAiaHR0cDovL2xvY2FsaG9zdDoxMzM3LzEzOC42OC4xMjkuMTcyOjgwMDAvaGFyZF9za2lsbD9saW5rPSJdLCBbIlJFQUNUX0FQUF9QT1JUIiwgODAwMF0sIFsiQVBQX1JPT1QiLCAiL2FwcCJdLCBbIlJFQUNUX0FQUF9VU0VSIiwgInJlYWN0Il1dLCAic2VydmljZXMiOiBbWyJjYXJlZXJzIiwgeyJmcm9tIjogImRlYmlhbjpqZXNzaWUiLCAicm9sZXMiOiBbeyJyb2xlIjogImNhcmVlcnMiLCAibm9kZWpzX2luc3RhbGxfbnBtX3VzZXIiOiAicm9vdCJ9XSwgImVudmlyb25tZW50IjogeyJHUkFQSFFMX1VSTCI6ICJ7eyBSRUFDVF9BUFBfR1JBUEhRTF9VUkwgfX0iLCAiVVBMT0FEX1VSTCI6ICJ7eyAgUkVBQ1RfQVBQX0JSQVZFX0ZJTEVfVVBMT0FEIH19In0sICJleHBvc2UiOiBbInt7IFJFQUNUX0FQUF9QT1JUIH19Il0sICJ3b3JraW5nX2RpciI6ICJ7eyBBUFBfUk9PVCB9fSIsICJ1c2VyIjogInt7IFJFQUNUX0FQUF9VU0VSIH19IiwgImVudHJ5cG9pbnQiOiAiL3Vzci9iaW4vZHVtYi1pbml0IiwgInBvcnRzIjogWyI4MDAwOjgwMDAiXSwgInZvbHVtZXMiOiBbIi9Vc2Vycy90aHVpdGEvUHJvamVjdHMvYnJhdmUtbGFicy9zZXJ2ZXItY29uZmlndXJhdGlvbjp7eyBBUFBfUk9PVCB9fSJdfV0sIFsiYWRtaW4iLCB7ImZyb20iOiAiZGViaWFuOmplc3NpZSIsICJyb2xlcyI6IFt7InJvbGUiOiAiYWRtaW4iLCAibm9kZWpzX2luc3RhbGxfbnBtX3VzZXIiOiAicm9vdCJ9XSwgImVudmlyb25tZW50IjogeyJHUkFQSFFMX1VSTCI6ICJ7eyBSRUFDVF9BUFBfR1JBUEhRTF9VUkwgfX0iLCAiVVBMT0FEX1VSTCI6ICJ7eyAgUkVBQ1RfQVBQX0JSQVZFX0ZJTEVfVVBMT0FEIH19In0sICJleHBvc2UiOiBbInt7IFJFQUNUX0FQUF9QT1JUIH19Il0sICJ3b3JraW5nX2RpciI6ICJ7eyBBUFBfUk9PVCB9fSIsICJ1c2VyIjogInt7IFJFQUNUX0FQUF9VU0VSIH19IiwgImVudHJ5cG9pbnQiOiAiL3Vzci9iaW4vZHVtYi1pbml0IiwgInBvcnRzIjogWyI3MDAwOjcwMDAiXSwgInZvbHVtZXMiOiBbIi9Vc2Vycy90aHVpdGEvUHJvamVjdHMvYnJhdmUtbGFicy9zZXJ2ZXItY29uZmlndXJhdGlvbjp7eyBBUFBfUk9PVCB9fSJdfV1dfQ==', '--encoding', 'b64json'], 'detach': True, 'user': 'root', 'volumes': {'/Users/thuita/Projects/brave-labs/server-configuration/temp-space': {'bind': '/tmp', 'mode': 'rw'}, 'server-configuration_secrets': {'bind': '/run/secrets', 'mode': 'rw'}, '/Users/thuita/Projects/brave-labs/server-configuration': {'bind': '/src', 'mode': 'ro'}, '/Users/thuita/Projects/brave-labs/server-configuration/ansible-deployment': {'bind': '/Users/thuita/Projects/brave-labs/server-configuration/ansible-deployment', 'mode': 'rw'}, '/var/run/docker.sock': {'bind': '/var/run/docker.sock', 'mode': 'rw'}}, 'environment': {'DOCKER_HOST': 'unix:///var/run/docker.sock', 'ANSIBLE_ROLES_PATH': '/src/roles:/etc/ansible/roles'}, 'working_dir': '/src', 'cap_add': ['SYS_ADMIN'], 'privileged': True} | |
Parsing conductor CLI args. | |
2018-03-26T16:22:23.531628 Processing defaults section... [container.config] caller_file=/_ansible/container/config.py caller_func=_process_defaults caller_line=325 | |
2018-03-26T16:22:23.541344 Processing section... [container.config] caller_file=/_ansible/container/config.py caller_func=_process_top_level_sections caller_line=334 section=volumes | |
2018-03-26T16:22:23.546810 Processing section... [container.config] caller_file=/_ansible/container/config.py caller_func=_process_top_level_sections caller_line=334 section=registries | |
2018-03-26T16:22:23.552747 Processing section... [container.config] caller_file=/_ansible/container/config.py caller_func=_process_top_level_sections caller_line=334 section=secrets | |
2018-03-26T16:22:23.568954 Processing service... [container.config] caller_file=/_ansible/container/config.py caller_func=_process_services caller_line=340 service=u'careers' service_data={u'from': u'debian:jessie', u'roles': [{u'nodejs_install_npm_user': u'root', u'role': u'careers'}], u'expose': [u'{{ REACT_APP_PORT }}'], u'environment': {u'GRAPHQL_URL': u'{{ REACT_APP_GRAPHQL_URL }}', u'UPLOAD_URL': u'{{ REACT_APP_BRAVE_FILE_UPLOAD }}'}, u'working_dir': u'{{ APP_ROOT }}', u'entrypoint': u'/usr/bin/dumb-init', u'user': u'{{ REACT_APP_USER }}', u'volumes': [u'/Users/thuita/Projects/brave-labs/server-configuration:{{ APP_ROOT }}'], u'ports': [u'8000:8000']} | |
2018-03-26T16:22:23.640561 Rendering service keys from defaults [container.config] caller_file=/_ansible/container/config.py caller_func=_process_services caller_line=363 defaults={"REACT_APP_GRAPHQL_URL": "http://localhost:8000/graphql", "REACT_APP_CORS_URL": "http://localhost:1337/", "REACT_APP_BRAVE_FILE_UPLOAD": "staging.api.braveventurelabs.com/api/v1/file/upload", "REACT_APP_JD_KEYWORD_URL": "http://localhost:1337/138.68.129.172:8000/hard_skill?link=", "REACT_APP_PORT": 8000, "APP_ROOT": "/app", "REACT_APP_USER": "react", "nodejs_version": "8.x", "nodejs_install_npm_user": "root", "npm_config_prefix": "/usr/local/lib/npm", "npm_config_unsafe_perm": "false", "nodejs_npm_global_packages": [{"name": "yarn"}], "nodejs_package_json_path": "", "application_home": "/app", "application_user": "react", "application_directory": "careers", "github_user": "thuitaw", "github_pass": "invictus12"} service=u'careers' | |
2018-03-26T16:22:23.692970 Processing service... [container.config] caller_file=/_ansible/container/config.py caller_func=_process_services caller_line=340 service=u'admin' service_data={u'from': u'debian:jessie', u'roles': [{u'nodejs_install_npm_user': u'root', u'role': u'admin'}], u'expose': [u'{{ REACT_APP_PORT }}'], u'environment': {u'GRAPHQL_URL': u'{{ REACT_APP_GRAPHQL_URL }}', u'UPLOAD_URL': u'{{ REACT_APP_BRAVE_FILE_UPLOAD }}'}, u'working_dir': u'{{ APP_ROOT }}', u'entrypoint': u'/usr/bin/dumb-init', u'user': u'{{ REACT_APP_USER }}', u'volumes': [u'/Users/thuita/Projects/brave-labs/server-configuration:{{ APP_ROOT }}'], u'ports': [u'7000:7000']} | |
2018-03-26T16:22:23.739795 Rendering service keys from defaults [container.config] caller_file=/_ansible/container/config.py caller_func=_process_services caller_line=363 defaults={"REACT_APP_GRAPHQL_URL": "http://localhost:8000/graphql", "REACT_APP_CORS_URL": "http://localhost:1337/", "REACT_APP_BRAVE_FILE_UPLOAD": "staging.api.braveventurelabs.com/api/v1/file/upload", "REACT_APP_JD_KEYWORD_URL": "http://localhost:1337/138.68.129.172:8000/hard_skill?link=", "REACT_APP_PORT": 8000, "APP_ROOT": "/app", "REACT_APP_USER": "react", "nodejs_version": "8.x", "nodejs_install_npm_user": "root", "npm_config_prefix": "/usr/local/lib/npm", "npm_config_unsafe_perm": "false", "nodejs_npm_global_packages": [{"name": "yarn"}], "nodejs_package_json_path": "", "application_home": "/app", "application_user": "react", "application_directory": "admin", "github_user": "thuitaw", "github_pass": "invictus12"} service=u'admin' | |
2018-03-26T16:22:23.826075 Starting Ansible Container Conductor: run [container.cli] caller_file=/_ansible/container/cli.py caller_func=conductor_commandline caller_line=391 services={"careers": {"from": "debian:jessie", "roles": [{"nodejs_install_npm_user": "root", "role": "careers"}], "expose": ["8000"], "environment": {"GRAPHQL_URL": "http://localhost:8000/graphql", "UPLOAD_URL": "staging.api.braveventurelabs.com/api/v1/file/upload"}, "working_dir": "/app", "entrypoint": "/usr/bin/dumb-init", "user": "react", "volumes": ["/Users/thuita/Projects/brave-labs/server-configuration:/app"], "ports": ["8000:8000"], "defaults": {"REACT_APP_GRAPHQL_URL": "http://localhost:8000/graphql", "REACT_APP_CORS_URL": "http://localhost:1337/", "REACT_APP_BRAVE_FILE_UPLOAD": "staging.api.braveventurelabs.com/api/v1/file/upload", "REACT_APP_JD_KEYWORD_URL": "http://localhost:1337/138.68.129.172:8000/hard_skill?link=", "REACT_APP_PORT": 8000, "APP_ROOT": "/app", "REACT_APP_USER": "react", "nodejs_version": "8.x", "nodejs_install_npm_user": "root", "npm_config_prefix": "/usr/local/lib/npm", "npm_config_unsafe_perm": "false", "nodejs_npm_global_packages": [{"name": "yarn"}], "nodejs_package_json_path": "", "application_home": "/app", "application_user": "react", "application_directory": "careers", "github_user": "thuitaw", "github_pass": "invictus12"}}, "admin": {"from": "debian:jessie", "roles": [{"nodejs_install_npm_user": "root", "role": "admin"}], "expose": ["8000"], "environment": {"GRAPHQL_URL": "http://localhost:8000/graphql", "UPLOAD_URL": "staging.api.braveventurelabs.com/api/v1/file/upload"}, "working_dir": "/app", "entrypoint": "/usr/bin/dumb-init", "user": "react", "volumes": ["/Users/thuita/Projects/brave-labs/server-configuration:/app"], "ports": ["7000:7000"], "defaults": {"REACT_APP_GRAPHQL_URL": "http://localhost:8000/graphql", "REACT_APP_CORS_URL": "http://localhost:1337/", "REACT_APP_BRAVE_FILE_UPLOAD": "staging.api.braveventurelabs.com/api/v1/file/upload", "REACT_APP_JD_KEYWORD_URL": "http://localhost:1337/138.68.129.172:8000/hard_skill?link=", "REACT_APP_PORT": 8000, "APP_ROOT": "/app", "REACT_APP_USER": "react", "nodejs_version": "8.x", "nodejs_install_npm_user": "root", "npm_config_prefix": "/usr/local/lib/npm", "npm_config_unsafe_perm": "false", "nodejs_npm_global_packages": [{"name": "yarn"}], "nodejs_package_json_path": "", "application_home": "/app", "application_user": "react", "application_directory": "admin", "github_user": "thuitaw", "github_pass": "invictus12"}}} | |
2018-03-26T16:22:23.866120 Loading engine capabilities [container.utils.loader] caller_file=/_ansible/container/utils/loader.py caller_func=load_engine caller_line=14 capabilities=['RUN'] engine=docker | |
2018-03-26T16:22:23.994166 Engine integration loaded. Preparing run. [container.core] caller_file=/_ansible/container/core.py caller_func=conductorcmd_run caller_line=844 engine=u'Docker\u2122 daemon' | |
2018-03-26T16:22:24.020340 Verifying service image [container.docker.engine] caller_file=/_ansible/container/docker/engine.py caller_func=containers_built_for_services caller_line=588 service=u'careers' | |
2018-03-26T16:22:24.025799 Setting Docker client timeout to 60 [container.docker.engine] caller_file=/_ansible/container/docker/engine.py caller_func=get_timeout caller_line=122 | |
2018-03-26T16:22:24.044272 Verifying service image [container.docker.engine] caller_file=/_ansible/container/docker/engine.py caller_func=containers_built_for_services caller_line=588 service=u'admin' | |
2018-03-26T16:22:24.064444 Adding new service to definition [container.docker.engine] caller_file=/_ansible/container/docker/engine.py caller_func=generate_orchestration_playbook caller_line=760 definition={u'image': u'server-configuration-careers:20180326161222', 'ports': ['8000:8000'], 'environment': ordereddict([('GRAPHQL_URL', 'http://localhost:8000/graphql'), ('UPLOAD_URL', 'staging.api.braveventurelabs.com/api/v1/file/upload')]), 'working_dir': u'/app', 'entrypoint': u'/usr/bin/dumb-init', 'user': u'react', 'volumes': ['/Users/thuita/Projects/brave-labs/server-configuration:/app'], 'expose': ['8000']} service=u'careers' | |
2018-03-26T16:22:24.096078 Adding new service to definition [container.docker.engine] caller_file=/_ansible/container/docker/engine.py caller_func=generate_orchestration_playbook caller_line=760 definition={u'image': u'server-configuration-admin:20180326153107', 'ports': ['7000:7000'], 'environment': ordereddict([('GRAPHQL_URL', 'http://localhost:8000/graphql'), ('UPLOAD_URL', 'staging.api.braveventurelabs.com/api/v1/file/upload')]), 'working_dir': u'/app', 'entrypoint': u'/usr/bin/dumb-init', 'user': u'react', 'volumes': ['/Users/thuita/Projects/brave-labs/server-configuration:/app'], 'expose': ['8000']} service=u'admin' | |
2018-03-26T16:22:24.143303 Found image for service [container.docker.engine] caller_file=/_ansible/container/docker/engine.py caller_func=generate_orchestration_playbook caller_line=815 id=u'sha256:c05f772ad4' tags=[u'server-configuration-careers:20180326161222', u'server-configuration-careers:latest'] | |
2018-03-26T16:22:24.147145 Adding task to destroy image [container.docker.engine] caller_file=/_ansible/container/docker/engine.py caller_func=generate_orchestration_playbook caller_line=817 tag=u'server-configuration-careers:20180326161222' | |
2018-03-26T16:22:24.151100 Adding task to destroy image [container.docker.engine] caller_file=/_ansible/container/docker/engine.py caller_func=generate_orchestration_playbook caller_line=817 tag=u'server-configuration-careers:latest' | |
2018-03-26T16:22:24.160011 Found image for service [container.docker.engine] caller_file=/_ansible/container/docker/engine.py caller_func=generate_orchestration_playbook caller_line=815 id=u'sha256:29c28ce438' tags=[u'server-configuration-careers:20180326152728'] | |
2018-03-26T16:22:24.183157 Adding task to destroy image [container.docker.engine] caller_file=/_ansible/container/docker/engine.py caller_func=generate_orchestration_playbook caller_line=817 tag=u'server-configuration-careers:20180326152728' | |
2018-03-26T16:22:24.215133 Found image for service [container.docker.engine] caller_file=/_ansible/container/docker/engine.py caller_func=generate_orchestration_playbook caller_line=815 id=u'sha256:75f90800de' tags=[u'server-configuration-admin:20180326153107', u'server-configuration-admin:latest'] | |
2018-03-26T16:22:24.252714 Adding task to destroy image [container.docker.engine] caller_file=/_ansible/container/docker/engine.py caller_func=generate_orchestration_playbook caller_line=817 tag=u'server-configuration-admin:20180326153107' | |
2018-03-26T16:22:24.279538 Adding task to destroy image [container.docker.engine] caller_file=/_ansible/container/docker/engine.py caller_func=generate_orchestration_playbook caller_line=817 tag=u'server-configuration-admin:latest' | |
2018-03-26T16:22:24.324803 Found image for service [container.docker.engine] caller_file=/_ansible/container/docker/engine.py caller_func=generate_orchestration_playbook caller_line=815 id=u'sha256:de90fd2260' tags=[u'server-configuration-conductor:latest'] | |
2018-03-26T16:22:24.327457 Adding task to destroy image [container.docker.engine] caller_file=/_ansible/container/docker/engine.py caller_func=generate_orchestration_playbook caller_line=817 tag=u'server-configuration-conductor:latest' | |
2018-03-26T16:22:24.358103 Created playbook to run project [container.docker.engine] caller_file=/_ansible/container/docker/engine.py caller_func=generate_orchestration_playbook caller_line=830 playbook=[ordereddict([(u'name', 'Deploy server-configuration'), (u'hosts', u'localhost'), (u'gather_facts', False), (u'tasks', [{u'docker_service': {u'definition': {u'services': {u'admin': {u'image': u'server-configuration-admin:20180326153107', 'ports': ['7000:7000'], 'environment': ordereddict([('GRAPHQL_URL', 'http://localhost:8000/graphql'), ('UPLOAD_URL', 'staging.api.braveventurelabs.com/api/v1/file/upload')]), 'working_dir': u'/app', 'entrypoint': u'/usr/bin/dumb-init', 'user': u'react', 'volumes': ['/Users/thuita/Projects/brave-labs/server-configuration:/app'], 'expose': ['8000']}, u'careers': {u'image': u'server-configuration-careers:20180326161222', 'ports': ['8000:8000'], 'environment': ordereddict([('GRAPHQL_URL', 'http://localhost:8000/graphql'), ('UPLOAD_URL', 'staging.api.braveventurelabs.com/api/v1/file/upload')]), 'working_dir': u'/app', 'entrypoint': u'/usr/bin/dumb-init', 'user': u'react', 'volumes': ['/Users/thuita/Projects/brave-labs/server-configuration:/app'], 'expose': ['8000']}}, u'version': u'2'}, u'state': u'present', u'project_name': 'server-configuration'}, u'tags': ['start']}, {u'docker_service': {u'definition': {u'services': {u'admin': {u'image': u'server-configuration-admin:20180326153107', 'ports': ['7000:7000'], 'environment': ordereddict([('GRAPHQL_URL', 'http://localhost:8000/graphql'), ('UPLOAD_URL', 'staging.api.braveventurelabs.com/api/v1/file/upload')]), 'working_dir': u'/app', 'entrypoint': u'/usr/bin/dumb-init', 'user': u'react', 'volumes': ['/Users/thuita/Projects/brave-labs/server-configuration:/app'], 'expose': ['8000']}, u'careers': {u'image': u'server-configuration-careers:20180326161222', 'ports': ['8000:8000'], 'environment': ordereddict([('GRAPHQL_URL', 'http://localhost:8000/graphql'), ('UPLOAD_URL', 'staging.api.braveventurelabs.com/api/v1/file/upload')]), 'working_dir': u'/app', 'entrypoint': u'/usr/bin/dumb-init', 'user': u'react', 'volumes': ['/Users/thuita/Projects/brave-labs/server-configuration:/app'], 'expose': ['8000']}}, u'version': u'2'}, u'state': u'present', u'project_name': 'server-configuration', u'restarted': True}, u'tags': ['restart']}, {u'docker_service': {u'definition': {u'services': {u'admin': {u'image': u'server-configuration-admin:20180326153107', 'ports': ['7000:7000'], 'environment': ordereddict([('GRAPHQL_URL', 'http://localhost:8000/graphql'), ('UPLOAD_URL', 'staging.api.braveventurelabs.com/api/v1/file/upload')]), 'working_dir': u'/app', 'entrypoint': u'/usr/bin/dumb-init', 'user': u'react', 'volumes': ['/Users/thuita/Projects/brave-labs/server-configuration:/app'], 'expose': ['8000']}, u'careers': {u'image': u'server-configuration-careers:20180326161222', 'ports': ['8000:8000'], 'environment': ordereddict([('GRAPHQL_URL', 'http://localhost:8000/graphql'), ('UPLOAD_URL', 'staging.api.braveventurelabs.com/api/v1/file/upload')]), 'working_dir': u'/app', 'entrypoint': u'/usr/bin/dumb-init', 'user': u'react', 'volumes': ['/Users/thuita/Projects/brave-labs/server-configuration:/app'], 'expose': ['8000']}}, u'version': u'2'}, u'state': u'present', u'project_name': 'server-configuration', u'stopped': True}, u'tags': ['stop']}, {u'docker_service': {u'definition': {u'services': {u'admin': {u'image': u'server-configuration-admin:20180326153107', 'ports': ['7000:7000'], 'environment': ordereddict([('GRAPHQL_URL', 'http://localhost:8000/graphql'), ('UPLOAD_URL', 'staging.api.braveventurelabs.com/api/v1/file/upload')]), 'working_dir': u'/app', 'entrypoint': u'/usr/bin/dumb-init', 'user': u'react', 'volumes': ['/Users/thuita/Projects/brave-labs/server-configuration:/app'], 'expose': ['8000']}, u'careers': {u'image': u'server-configuration-careers:20180326161222', 'ports': ['8000:8000'], 'environment': ordereddict([('GRAPHQL_URL', 'http://localhost:8000/graphql'), ('UPLOAD_URL', 'staging.api.braveventurelabs.com/api/v1/file/upload')]), 'working_dir': u'/app', 'entrypoint': u'/usr/bin/dumb-init', 'user': u'react', 'volumes': ['/Users/thuita/Projects/brave-labs/server-configuration:/app'], 'expose': ['8000']}}, u'version': u'2'}, u'state': u'absent', u'project_name': 'server-configuration', u'remove_volumes': u'yes'}, u'tags': ['destroy']}, {u'docker_image': {u'state': u'absent', u'force': u'yes', u'name': u'server-configuration-careers:20180326161222'}, u'tags': u'destroy'}, {u'docker_image': {u'state': u'absent', u'force': u'yes', u'name': u'server-configuration-careers:latest'}, u'tags': u'destroy'}, {u'docker_image': {u'state': u'absent', u'force': u'yes', u'name': u'server-configuration-careers:20180326152728'}, u'tags': u'destroy'}, {u'docker_image': {u'state': u'absent', u'force': u'yes', u'name': u'server-configuration-admin:20180326153107'}, u'tags': u'destroy'}, {u'docker_image': {u'state': u'absent', u'force': u'yes', u'name': u'server-configuration-admin:latest'}, u'tags': u'destroy'}, {u'docker_image': {u'state': u'absent', u'force': u'yes', u'name': u'server-configuration-conductor:latest'}, u'tags': u'destroy'}])])] | |
2018-03-26T16:22:24.409401 writing playbook to /Users/thuita/Projects/brave-labs/server-configuration/ansible-deployment/playbook.yml [container.core] caller_file=/_ansible/container/core.py caller_func=run_playbook caller_line=551 | |
2018-03-26T16:22:24.413965 playbook [container.core] caller_file=/_ansible/container/core.py caller_func=run_playbook caller_line=552 playbook=[ordereddict([(u'name', 'Deploy server-configuration'), (u'hosts', u'localhost'), (u'gather_facts', False), (u'tasks', [{u'docker_service': {u'definition': {u'services': {u'admin': {u'image': u'server-configuration-admin:20180326153107', 'ports': ['7000:7000'], 'environment': ordereddict([('GRAPHQL_URL', 'http://localhost:8000/graphql'), ('UPLOAD_URL', 'staging.api.braveventurelabs.com/api/v1/file/upload')]), 'working_dir': u'/app', 'entrypoint': u'/usr/bin/dumb-init', 'user': u'react', 'volumes': ['/Users/thuita/Projects/brave-labs/server-configuration:/app'], 'expose': ['8000']}, u'careers': {u'image': u'server-configuration-careers:20180326161222', 'ports': ['8000:8000'], 'environment': ordereddict([('GRAPHQL_URL', 'http://localhost:8000/graphql'), ('UPLOAD_URL', 'staging.api.braveventurelabs.com/api/v1/file/upload')]), 'working_dir': u'/app', 'entrypoint': u'/usr/bin/dumb-init', 'user': u'react', 'volumes': ['/Users/thuita/Projects/brave-labs/server-configuration:/app'], 'expose': ['8000']}}, u'version': u'2'}, u'state': u'present', u'project_name': 'server-configuration'}, u'tags': ['start']}, {u'docker_service': {u'definition': {u'services': {u'admin': {u'image': u'server-configuration-admin:20180326153107', 'ports': ['7000:7000'], 'environment': ordereddict([('GRAPHQL_URL', 'http://localhost:8000/graphql'), ('UPLOAD_URL', 'staging.api.braveventurelabs.com/api/v1/file/upload')]), 'working_dir': u'/app', 'entrypoint': u'/usr/bin/dumb-init', 'user': u'react', 'volumes': ['/Users/thuita/Projects/brave-labs/server-configuration:/app'], 'expose': ['8000']}, u'careers': {u'image': u'server-configuration-careers:20180326161222', 'ports': ['8000:8000'], 'environment': ordereddict([('GRAPHQL_URL', 'http://localhost:8000/graphql'), ('UPLOAD_URL', 'staging.api.braveventurelabs.com/api/v1/file/upload')]), 'working_dir': u'/app', 'entrypoint': u'/usr/bin/dumb-init', 'user': u'react', 'volumes': ['/Users/thuita/Projects/brave-labs/server-configuration:/app'], 'expose': ['8000']}}, u'version': u'2'}, u'state': u'present', u'project_name': 'server-configuration', u'restarted': True}, u'tags': ['restart']}, {u'docker_service': {u'definition': {u'services': {u'admin': {u'image': u'server-configuration-admin:20180326153107', 'ports': ['7000:7000'], 'environment': ordereddict([('GRAPHQL_URL', 'http://localhost:8000/graphql'), ('UPLOAD_URL', 'staging.api.braveventurelabs.com/api/v1/file/upload')]), 'working_dir': u'/app', 'entrypoint': u'/usr/bin/dumb-init', 'user': u'react', 'volumes': ['/Users/thuita/Projects/brave-labs/server-configuration:/app'], 'expose': ['8000']}, u'careers': {u'image': u'server-configuration-careers:20180326161222', 'ports': ['8000:8000'], 'environment': ordereddict([('GRAPHQL_URL', 'http://localhost:8000/graphql'), ('UPLOAD_URL', 'staging.api.braveventurelabs.com/api/v1/file/upload')]), 'working_dir': u'/app', 'entrypoint': u'/usr/bin/dumb-init', 'user': u'react', 'volumes': ['/Users/thuita/Projects/brave-labs/server-configuration:/app'], 'expose': ['8000']}}, u'version': u'2'}, u'state': u'present', u'project_name': 'server-configuration', u'stopped': True}, u'tags': ['stop']}, {u'docker_service': {u'definition': {u'services': {u'admin': {u'image': u'server-configuration-admin:20180326153107', 'ports': ['7000:7000'], 'environment': ordereddict([('GRAPHQL_URL', 'http://localhost:8000/graphql'), ('UPLOAD_URL', 'staging.api.braveventurelabs.com/api/v1/file/upload')]), 'working_dir': u'/app', 'entrypoint': u'/usr/bin/dumb-init', 'user': u'react', 'volumes': ['/Users/thuita/Projects/brave-labs/server-configuration:/app'], 'expose': ['8000']}, u'careers': {u'image': u'server-configuration-careers:20180326161222', 'ports': ['8000:8000'], 'environment': ordereddict([('GRAPHQL_URL', 'http://localhost:8000/graphql'), ('UPLOAD_URL', 'staging.api.braveventurelabs.com/api/v1/file/upload')]), 'working_dir': u'/app', 'entrypoint': u'/usr/bin/dumb-init', 'user': u'react', 'volumes': ['/Users/thuita/Projects/brave-labs/server-configuration:/app'], 'expose': ['8000']}}, u'version': u'2'}, u'state': u'absent', u'project_name': 'server-configuration', u'remove_volumes': u'yes'}, u'tags': ['destroy']}, {u'docker_image': {u'state': u'absent', u'force': u'yes', u'name': u'server-configuration-careers:20180326161222'}, u'tags': u'destroy'}, {u'docker_image': {u'state': u'absent', u'force': u'yes', u'name': u'server-configuration-careers:latest'}, u'tags': u'destroy'}, {u'docker_image': {u'state': u'absent', u'force': u'yes', u'name': u'server-configuration-careers:20180326152728'}, u'tags': u'destroy'}, {u'docker_image': {u'state': u'absent', u'force': u'yes', u'name': u'server-configuration-admin:20180326153107'}, u'tags': u'destroy'}, {u'docker_image': {u'state': u'absent', u'force': u'yes', u'name': u'server-configuration-admin:latest'}, u'tags': u'destroy'}, {u'docker_image': {u'state': u'absent', u'force': u'yes', u'name': u'server-configuration-conductor:latest'}, u'tags': u'destroy'}])])] | |
2018-03-26T16:22:24.957844 Running Ansible Playbook [container.core] caller_file=/_ansible/container/core.py caller_func=run_playbook caller_line=621 command=ansible-playbook -vvvv --tags=start -i /Users/thuita/Projects/brave-labs/server-configuration/ansible-deployment/hosts -c local /Users/thuita/Projects/brave-labs/server-configuration/ansible-deployment/playbook.yml cwd=/src | |
ansible-playbook 2.5.0 | |
config file = /src/ansible.cfg | |
configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] | |
ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible | |
executable location = /usr/local/bin/ansible-playbook | |
python version = 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2] | |
Using /src/ansible.cfg as config file | |
setting up inventory plugins | |
Parsed /Users/thuita/Projects/brave-labs/server-configuration/ansible-deployment/hosts inventory source with ini plugin | |
Loading callback plugin default of type stdout, v2.0 from /usr/local/lib/python2.7/dist-packages/ansible/plugins/callback/__init__.pyc | |
PLAYBOOK: playbook.yml ********************************************************* | |
1 plays in /Users/thuita/Projects/brave-labs/server-configuration/ansible-deployment/playbook.yml | |
PLAY [Deploy server-configuration] ********************************************* | |
META: ran handlers | |
TASK [docker_service] ********************************************************** | |
task path: /Users/thuita/Projects/brave-labs/server-configuration/ansible-deployment/playbook.yml:5 | |
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/cloud/docker/docker_service.py | |
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root | |
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /tmp/.ansible-${USER}/tmp/ansible-tmp-1522081347.82-115198107152817 `" && echo ansible-tmp-1522081347.82-115198107152817="` echo /tmp/.ansible-${USER}/tmp/ansible-tmp-1522081347.82-115198107152817 `" ) && sleep 0' | |
<127.0.0.1> PUT /tmp/tmpLsOoWs TO /tmp/.ansible-/tmp/ansible-tmp-1522081347.82-115198107152817/docker_service.py | |
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /tmp/.ansible-/tmp/ansible-tmp-1522081347.82-115198107152817/ /tmp/.ansible-/tmp/ansible-tmp-1522081347.82-115198107152817/docker_service.py && sleep 0' | |
<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python /tmp/.ansible-/tmp/ansible-tmp-1522081347.82-115198107152817/docker_service.py; rm -rf "/tmp/.ansible-/tmp/ansible-tmp-1522081347.82-115198107152817/" > /dev/null 2>&1 && sleep 0' | |
The full traceback is: | |
File "/tmp/ansible_bjY6eq/ansible_module_docker_service.py", line 746, in cmd_up | |
timeout=self.timeout) | |
File "/usr/local/lib/python2.7/dist-packages/compose/project.py", line 457, in up | |
'Encountered errors while bringing up the project.' | |
fatal: [localhost]: FAILED! => { | |
"changed": false, | |
"errors": [ | |
"ERROR: for 61ab7516a6bd_61ab7516a6bd_61ab7516a6bd_61ab7516a6bd_61ab7516a6bd_61ab7516a6bd_serverconfiguration_careers_1 no such image: sha256:d7b6c3aa7519e30cd7288e9d7b72ab632d36b8975c0be8411f76601aa98e3b53: No such image: sha256:d7b6c3aa7519e30cd7288e9d7b72ab632d36b8975c0be8411f76601aa98e3b53", | |
"ERROR: for 84bb012fd62d_84bb012fd62d_84bb012fd62d_84bb012fd62d_84bb012fd62d_84bb012fd62d_serverconfiguration_admin_1 no such image: sha256:e443466e4537a9fda9c85acf360b44e94dfa676c81b0b51f9c8de6fe0ba7b058: No such image: sha256:e443466e4537a9fda9c85acf360b44e94dfa676c81b0b51f9c8de6fe0ba7b058", | |
"ERROR: for admin no such image: sha256:e443466e4537a9fda9c85acf360b44e94dfa676c81b0b51f9c8de6fe0ba7b058: No such image: sha256:e443466e4537a9fda9c85acf360b44e94dfa676c81b0b51f9c8de6fe0ba7b058", | |
"ERROR: for careers no such image: sha256:d7b6c3aa7519e30cd7288e9d7b72ab632d36b8975c0be8411f76601aa98e3b53: No such image: sha256:d7b6c3aa7519e30cd7288e9d7b72ab632d36b8975c0be8411f76601aa98e3b53" | |
], | |
"failed": true, | |
"invocation": { | |
"module_args": { | |
"api_version": null, | |
"build": false, | |
"cacert_path": null, | |
"cert_path": null, | |
"debug": false, | |
"definition": { | |
"services": { | |
"admin": { | |
"entrypoint": "/usr/bin/dumb-init", | |
"environment": { | |
"GRAPHQL_URL": "http://localhost:8000/graphql", | |
"UPLOAD_URL": "staging.api.braveventurelabs.com/api/v1/file/upload" | |
}, | |
"expose": [ | |
"8000" | |
], | |
"image": "server-configuration-admin:20180326153107", | |
"ports": [ | |
"7000:7000" | |
], | |
"user": "react", | |
"volumes": [ | |
"/Users/thuita/Projects/brave-labs/server-configuration:/app" | |
], | |
"working_dir": "/app" | |
}, | |
"careers": { | |
"entrypoint": "/usr/bin/dumb-init", | |
"environment": { | |
"GRAPHQL_URL": "http://localhost:8000/graphql", | |
"UPLOAD_URL": "staging.api.braveventurelabs.com/api/v1/file/upload" | |
}, | |
"expose": [ | |
"8000" | |
], | |
"image": "server-configuration-careers:20180326161222", | |
"ports": [ | |
"8000:8000" | |
], | |
"user": "react", | |
"volumes": [ | |
"/Users/thuita/Projects/brave-labs/server-configuration:/app" | |
], | |
"working_dir": "/app" | |
} | |
}, | |
"version": "2" | |
}, | |
"dependencies": true, | |
"docker_host": null, | |
"files": null, | |
"filter_logger": false, | |
"hostname_check": false, | |
"key_path": null, | |
"nocache": false, | |
"project_name": "server-configuration", | |
"project_src": null, | |
"pull": false, | |
"recreate": "smart", | |
"remove_images": null, | |
"remove_orphans": false, | |
"remove_volumes": false, | |
"restarted": false, | |
"scale": null, | |
"services": null, | |
"ssl_version": null, | |
"state": "present", | |
"stopped": false, | |
"timeout": 10, | |
"tls": null, | |
"tls_hostname": null, | |
"tls_verify": null | |
} | |
}, | |
"module_stderr": "Recreating 84bb012fd62d_84bb012fd62d_84bb012fd62d_84bb012fd62d_84bb012fd62d_84bb012fd62d_serverconfiguration_admin_1 ... \r\nRecreating 61ab7516a6bd_61ab7516a6bd_61ab7516a6bd_61ab7516a6bd_61ab7516a6bd_61ab7516a6bd_serverconfiguration_careers_1 ... \r\n\r\u001b[1B\nERROR: for 61ab7516a6bd_61ab7516a6bd_61ab7516a6bd_61ab7516a6bd_61ab7516a6bd_61ab7516a6bd_serverconfiguration_careers_1 no such image: sha256:d7b6c3aa7519e30cd7288e9d7b72ab632d36b8975c0be8411f76601aa98e3b53: No such image: sha256:d7b6c3aa7519e30cd7288e9d7b72ab632d36b8975c0be8411f76601aa98e3b53\n\r\u001b[1B\nERROR: for 84bb012fd62d_84bb012fd62d_84bb012fd62d_84bb012fd62d_84bb012fd62d_84bb012fd62d_serverconfiguration_admin_1 no such image: sha256:e443466e4537a9fda9c85acf360b44e94dfa676c81b0b51f9c8de6fe0ba7b058: No such image: sha256:e443466e4537a9fda9c85acf360b44e94dfa676c81b0b51f9c8de6fe0ba7b058\n\nERROR: for admin no such image: sha256:e443466e4537a9fda9c85acf360b44e94dfa676c81b0b51f9c8de6fe0ba7b058: No such image: sha256:e443466e4537a9fda9c85acf360b44e94dfa676c81b0b51f9c8de6fe0ba7b058\n\nERROR: for careers no such image: sha256:d7b6c3aa7519e30cd7288e9d7b72ab632d36b8975c0be8411f76601aa98e3b53: No such image: sha256:d7b6c3aa7519e30cd7288e9d7b72ab632d36b8975c0be8411f76601aa98e3b53\n", | |
"module_stdout": "", | |
"msg": "Error starting project ERROR: for careers no such image: sha256:d7b6c3aa7519e30cd7288e9d7b72ab632d36b8975c0be8411f76601aa98e3b53: No such image: sha256:d7b6c3aa7519e30cd7288e9d7b72ab632d36b8975c0be8411f76601aa98e3b53" | |
} | |
to retry, use: --limit @/Users/thuita/Projects/brave-labs/server-configuration/ansible-deployment/playbook.retry | |
PLAY RECAP ********************************************************************* | |
localhost : ok=0 changed=0 unreachable=0 failed=1 | |
Traceback (most recent call last): | |
File "/usr/local/bin/conductor", line 11, in <module> | |
load_entry_point('ansible-container', 'console_scripts', 'conductor')() | |
File "/_ansible/container/__init__.py", line 19, in __wrapped__ | |
return fn(*args, **kwargs) | |
File "/_ansible/container/cli.py", line 399, in conductor_commandline | |
**params) | |
File "/_ansible/container/__init__.py", line 19, in __wrapped__ | |
return fn(*args, **kwargs) | |
File "/_ansible/container/core.py", line 854, in conductorcmd_run | |
'Error executing the run command. Not all containers may be running.' | |
container.exceptions.AnsibleContainerException: Error executing the run command. Not all containers may be running. | |
2018-03-26T19:22:12.864624 Conductor terminated. Cleaning up. [container.docker.engine] caller_file=/Users/thuita/.local/share/virtualenvs/server-configuration-UWykhGFB/lib/python3.6/site-packages/container/docker/engine.py caller_func=await_conductor_command caller_line=462 command_rc=1 conductor_id=600361beacd1aea2689b40e7ddadb5f9a3222afd5339d8bccda675247a03f22a save_container=False | |
2018-03-26T19:22:13.499580 Conductor exited with status 1 [container.cli] caller_file=/Users/thuita/.local/share/virtualenvs/server-configuration-UWykhGFB/lib/python3.6/site-packages/container/cli.py caller_func=__call__ caller_line=311 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment