Skip to content

Instantly share code, notes, and snippets.

@a1git
Created February 17, 2017 09:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a1git/ba029006ca05103dcf499d118ad49a78 to your computer and use it in GitHub Desktop.
Save a1git/ba029006ca05103dcf499d118ad49a78 to your computer and use it in GitHub Desktop.
ml) => {"ansible_facts": {"keystone_apache_conf": "/etc/apache2/apache2.conf", "keystone_apache_configs": [{"dest": "/etc/apache2/ports.conf", "src": "keystone-ports.conf.j2"}, {"dest": "/etc/apache2/sites-available/keystone-httpd.conf", "src": "keystone-httpd.conf.j2"}, {"dest": "/etc/apache2/mods-available/mpm_{{ keystone_httpd_mpm_backend }}.conf", "src": "keystone-httpd-mpm.conf.j2"}], "keystone_apache_default_sites": ["/etc/apache2/sites-enabled/000-default.conf"], "keystone_apache_distro_packages": ["apache2", "apache2-utils"], "keystone_apache_security_conf": "/etc/apache2/conf-available/security.conf", "keystone_apache_site_available": "/etc/apache2/sites-available/keystone-httpd.conf", "keystone_apache_site_enabled": "/etc/apache2/sites-enabled/keystone-httpd.conf", "keystone_developer_mode_distro_packages": ["build-essential"], "keystone_distro_packages": ["debhelper", "dh-apparmor", "docutils-common", "git", "libffi-dev", "libjs-sphinxdoc", "libjs-underscore", "libldap2-dev", "libsasl2-dev", "libxslt1.1", "libxslt1-dev", "libxml2-dev", "python-dev", "rsync"], "keystone_idp_distro_packages": ["ssl-cert", "xmlsec1"], "keystone_mod_proxy_uwsgi_distro_packages": ["libapache2-mod-proxy-uwsgi"], "keystone_mod_wsgi_distro_packages": ["libapache2-mod-wsgi"], "keystone_nginx_conf_path": "sites-available", "keystone_nginx_distro_packages": ["nginx-full"], "keystone_sp_distro_packages": ["libapache2-mod-shib2"], "keystone_system_service_name": "apache2"}, "invocation": {"module_args": {"_raw_params": "/etc/ansible/roles/os_keystone/vars/ubuntu-16.04.yml"}, "module_name": "include_vars"}, "item": "/etc/ansible/roles/os_keystone/vars/ubuntu-16.04.yml"}
TASK [os_keystone : create the system group] ***********************************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_pre_install.yml:16
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
<172.20.236.11> ESTABLISH SSH CONNECTION FOR USER: root
<172.20.236.11> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.20.236.11 'lxc-attach --name api_keystone_container-7e487f24 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
ok: [api_keystone_container-7e487f24] => {"changed": false, "gid": 999, "invocation": {"module_args": {"gid": null, "name": "keystone", "state": "present", "system": true}, "module_name": "group"}, "name": "keystone", "state": "present", "system": true}
TASK [os_keystone : create additional groups] **********************************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_pre_install.yml:22
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
<172.20.236.11> ESTABLISH SSH CONNECTION FOR USER: root
<172.20.236.11> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.20.236.11 'lxc-attach --name api_keystone_container-7e487f24 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
ok: [api_keystone_container-7e487f24] => (item=ssl_cert) => {"changed": false, "gid": 998, "invocation": {"module_args": {"gid": null, "name": "ssl_cert", "state": "present", "system": true}, "module_name": "group"}, "item": "ssl_cert", "name": "ssl_cert", "state": "present", "system": true}
TASK [os_keystone : Remove old key file(s) if found] ***************************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_pre_install.yml:29
skipping: [api_keystone_container-7e487f24] => (item=/var/lib/keystone/.ssh/authorized_keys) => {"changed": false, "item": "/var/lib/keystone/.ssh/authorized_keys", "skip_reason": "Conditional check failed", "skipped": true}
skipping: [api_keystone_container-7e487f24] => (item=/var/lib/keystone/.ssh/id_rsa) => {"changed": false, "item": "/var/lib/keystone/.ssh/id_rsa", "skip_reason": "Conditional check failed", "skipped": true}
skipping: [api_keystone_container-7e487f24] => (item=/var/lib/keystone/.ssh/id_rsa.pub) => {"changed": false, "item": "/var/lib/keystone/.ssh/id_rsa.pub", "skip_reason": "Conditional check failed", "skipped": true}
TASK [os_keystone : Create the keystone system user] ***************************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_pre_install.yml:39
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
<172.20.236.11> ESTABLISH SSH CONNECTION FOR USER: root
<172.20.236.11> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.20.236.11 'lxc-attach --name api_keystone_container-7e487f24 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
ok: [api_keystone_container-7e487f24] => {"append": false, "changed": false, "comment": "keystone system user", "group": 999, "groups": "ssl_cert", "home": "/var/lib/keystone", "invocation": {"module_args": {"append": false, "comment": "keystone system user", "createhome": true, "expires": null, "force": false, "generate_ssh_key": true, "group": "keystone", "groups": "ssl_cert", "home": "/var/lib/keystone", "login_class": null, "move_home": false, "name": "keystone", "non_unique": false, "password": null, "remove": false, "seuser": null, "shell": "/bin/bash", "skeleton": null, "ssh_key_bits": "2048", "ssh_key_comment": "ansible-generated on api-keystone-container-7e487f24", "ssh_key_file": null, "ssh_key_passphrase": null, "ssh_key_type": "rsa", "state": "present", "system": true, "uid": null, "update_password": "always"}, "module_name": "user"}, "move_home": false, "name": "keystone", "shell": "/bin/bash", "ssh_fingerprint": "2048 SHA256:nBSXR6raZC5Y78Kj6c4MdN1BNkxkI3BCS0mpypTAJgQ ansible-generated on api-keystone-container-7e487f24 (RSA)", "ssh_key_file": "/var/lib/keystone/.ssh/id_rsa", "ssh_public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCz1aXoyV65PvrylrHHO9pPFtgAq9e1mDsSUm2kn6UErxphAw65j5srTOH/eoDzLJ40d0f8TCOHxv7dLHeOVyuhV+fwNDRhXTdtbC3oEp51cVyqakp2nnyHhIKh/soNQaugu1D8xWWtpzlCC0bciAQ658Cv0/EsU2ln/k5wovH3Dd1MSQQ54mknJRSyhHr4zpEjBMnR2zEzg2rzXNYRyWSUotm7ulnDOBGEp6wfPVY+qFjMZQmolwZnN3a5vtG2vdHDXmfpy3hb+5i7mAHOjh008UC4AmiO5VBUS7MAu9x0StxEaYgMtDdP995nTfcJUkTNhhbLqiHxuwNNG5HFzlsf ansible-generated on api-keystone-container-7e487f24", "state": "present", "uid": 999}
TASK [os_keystone : Create keystone dir] ***************************************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_pre_install.yml:51
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
<172.20.236.11> ESTABLISH SSH CONNECTION FOR USER: root
<172.20.236.11> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.20.236.11 'lxc-attach --name api_keystone_container-7e487f24 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
ok: [api_keystone_container-7e487f24] => (item={u'owner': u'root', u'path': u'/openstack', u'group': u'root', u'mode': u'0755'}) => {"changed": false, "diff": {"after": {"path": "/openstack"}, "before": {"path": "/openstack"}}, "gid": 0, "group": "root", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "0755", "original_basename": null, "owner": "root", "path": "/openstack", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "validate": null}, "module_name": "file"}, "item": {"group": "root", "mode": "0755", "owner": "root", "path": "/openstack"}, "mode": "0755", "owner": "root", "path": "/openstack", "size": 4096, "state": "directory", "uid": 0}
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
<172.20.236.11> ESTABLISH SSH CONNECTION FOR USER: root
<172.20.236.11> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.20.236.11 'lxc-attach --name api_keystone_container-7e487f24 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
ok: [api_keystone_container-7e487f24] => (item={u'path': u'/etc/keystone', u'mode': u'0750'}) => {"changed": false, "diff": {"after": {"path": "/etc/keystone"}, "before": {"path": "/etc/keystone"}}, "gid": 999, "group": "keystone", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": "keystone", "mode": "0750", "original_basename": null, "owner": "keystone", "path": "/etc/keystone", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "validate": null}, "module_name": "file"}, "item": {"mode": "0750", "path": "/etc/keystone"}, "mode": "0750", "owner": "keystone", "path": "/etc/keystone", "size": 4096, "state": "directory", "uid": 999}
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
<172.20.236.11> ESTABLISH SSH CONNECTION FOR USER: root
<172.20.236.11> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.20.236.11 'lxc-attach --name api_keystone_container-7e487f24 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
ok: [api_keystone_container-7e487f24] => (item={u'path': u'/etc/keystone/domains'}) => {"changed": false, "diff": {"after": {"path": "/etc/keystone/domains"}, "before": {"path": "/etc/keystone/domains"}}, "gid": 999, "group": "keystone", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": "keystone", "mode": "755", "original_basename": null, "owner": "keystone", "path": "/etc/keystone/domains", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "validate": null}, "module_name": "file"}, "item": {"path": "/etc/keystone/domains"}, "mode": "0755", "owner": "keystone", "path": "/etc/keystone/domains", "size": 4096, "state": "directory", "uid": 999}
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
<172.20.236.11> ESTABLISH SSH CONNECTION FOR USER: root
<172.20.236.11> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.20.236.11 'lxc-attach --name api_keystone_container-7e487f24 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
ok: [api_keystone_container-7e487f24] => (item={u'path': u'/etc/keystone/ssl'}) => {"changed": false, "diff": {"after": {"path": "/etc/keystone/ssl"}, "before": {"path": "/etc/keystone/ssl"}}, "gid": 999, "group": "keystone", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": "keystone", "mode": "755", "original_basename": null, "owner": "keystone", "path": "/etc/keystone/ssl", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "validate": null}, "module_name": "file"}, "item": {"path": "/etc/keystone/ssl"}, "mode": "0755", "owner": "keystone", "path": "/etc/keystone/ssl", "size": 4096, "state": "directory", "uid": 999}
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
<172.20.236.11> ESTABLISH SSH CONNECTION FOR USER: root
<172.20.236.11> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.20.236.11 'lxc-attach --name api_keystone_container-7e487f24 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
ok: [api_keystone_container-7e487f24] => (item={u'path': u'/etc/keystone/fernet-keys', u'mode': u'2750'}) => {"changed": false, "diff": {"after": {"path": "/etc/keystone/fernet-keys"}, "before": {"path": "/etc/keystone/fernet-keys"}}, "gid": 999, "group": "keystone", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": "keystone", "mode": "2750", "original_basename": null, "owner": "keystone", "path": "/etc/keystone/fernet-keys", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "validate": null}, "module_name": "file"}, "item": {"mode": "2750", "path": "/etc/keystone/fernet-keys"}, "mode": "02750", "owner": "keystone", "path": "/etc/keystone/fernet-keys", "size": 4096, "state": "directory", "uid": 999}
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
<172.20.236.11> ESTABLISH SSH CONNECTION FOR USER: root
<172.20.236.11> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.20.236.11 'lxc-attach --name api_keystone_container-7e487f24 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
ok: [api_keystone_container-7e487f24] => (item={u'path': u'/var/lib/keystone'}) => {"changed": false, "diff": {"after": {"path": "/var/lib/keystone"}, "before": {"path": "/var/lib/keystone"}}, "gid": 999, "group": "keystone", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": "keystone", "mode": "755", "original_basename": null, "owner": "keystone", "path": "/var/lib/keystone", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "validate": null}, "module_name": "file"}, "item": {"path": "/var/lib/keystone"}, "mode": "0755", "owner": "keystone", "path": "/var/lib/keystone", "size": 4096, "state": "directory", "uid": 999}
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
<172.20.236.11> ESTABLISH SSH CONNECTION FOR USER: root
<172.20.236.11> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.20.236.11 'lxc-attach --name api_keystone_container-7e487f24 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
ok: [api_keystone_container-7e487f24] => (item={u'owner': u'root', u'path': u'/var/www/cgi-bin', u'group': u'root'}) => {"changed": false, "diff": {"after": {"path": "/var/www/cgi-bin"}, "before": {"path": "/var/www/cgi-bin"}}, "gid": 0, "group": "root", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": "755", "original_basename": null, "owner": "root", "path": "/var/www/cgi-bin", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "validate": null}, "module_name": "file"}, "item": {"group": "root", "owner": "root", "path": "/var/www/cgi-bin"}, "mode": "0755", "owner": "root", "path": "/var/www/cgi-bin", "size": 4096, "state": "directory", "uid": 0}
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
<172.20.236.11> ESTABLISH SSH CONNECTION FOR USER: root
<172.20.236.11> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.20.236.11 'lxc-attach --name api_keystone_container-7e487f24 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
ok: [api_keystone_container-7e487f24] => (item={u'path': u'/var/www/cgi-bin/keystone'}) => {"changed": false, "diff": {"after": {"path": "/var/www/cgi-bin/keystone"}, "before": {"path": "/var/www/cgi-bin/keystone"}}, "gid": 999, "group": "keystone", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": "keystone", "mode": "755", "original_basename": null, "owner": "keystone", "path": "/var/www/cgi-bin/keystone", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "validate": null}, "module_name": "file"}, "item": {"path": "/var/www/cgi-bin/keystone"}, "mode": "0755", "owner": "keystone", "path": "/var/www/cgi-bin/keystone", "size": 4096, "state": "directory", "uid": 999}
TASK [os_keystone : Test for log directory or link] ****************************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_pre_install.yml:68
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
<172.20.236.11> ESTABLISH SSH CONNECTION FOR USER: root
<172.20.236.11> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.20.236.11 'lxc-attach --name api_keystone_container-7e487f24 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
changed: [api_keystone_container-7e487f24] => {"changed": true, "cmd": "if [ -h \"/var/log/keystone\" ]; then\n chown -h keystone:keystone \"/var/log/keystone\"\n chown -R keystone:keystone \"$(readlink /var/log/keystone)\"\n else\n exit 1\n fi", "delta": "0:00:00.002823", "end": "2017-02-17 10:20:12.719623", "failed": false, "failed_when_result": false, "invocation": {"module_args": {"_raw_params": "if [ -h \"/var/log/keystone\" ]; then\n chown -h keystone:keystone \"/var/log/keystone\"\n chown -R keystone:keystone \"$(readlink /var/log/keystone)\"\n else\n exit 1\n fi", "_uses_shell": true, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 1, "start": "2017-02-17 10:20:12.716800", "stderr": "", "stdout": "", "stdout_lines": [], "warnings": []}
TASK [os_keystone : Create keystone log dir] ***********************************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_pre_install.yml:80
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
<172.20.236.11> ESTABLISH SSH CONNECTION FOR USER: root
<172.20.236.11> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.20.236.11 'lxc-attach --name api_keystone_container-7e487f24 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
ok: [api_keystone_container-7e487f24] => {"changed": false, "diff": {"after": {"path": "/var/log/keystone"}, "before": {"path": "/var/log/keystone"}}, "gid": 999, "group": "keystone", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": "keystone", "mode": "0755", "original_basename": null, "owner": "keystone", "path": "/var/log/keystone", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "validate": null}, "module_name": "file"}, "mode": "0755", "owner": "keystone", "path": "/var/log/keystone", "size": 4096, "state": "directory", "uid": 999}
TASK [os_keystone : include] ***************************************************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_install.yml:16
included: /etc/ansible/roles/os_keystone/tasks/keystone_install_apt.yml for api_keystone_container-7e487f24
TASK [os_keystone : Update apt sources] ****************************************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_install_apt.yml:16
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
<172.20.236.11> ESTABLISH SSH CONNECTION FOR USER: root
<172.20.236.11> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.20.236.11 'lxc-attach --name api_keystone_container-7e487f24 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
ok: [api_keystone_container-7e487f24] => {"cache_update_time": 1487323032, "cache_updated": false, "changed": false, "invocation": {"module_args": {"allow_unauthenticated": false, "autoremove": false, "cache_valid_time": 600, "deb": null, "default_release": null, "dpkg_options": "force-confdef,force-confold", "force": false, "install_recommends": null, "only_upgrade": false, "package": null, "purge": false, "state": "present", "update_cache": true, "upgrade": null}, "module_name": "apt"}}
TASK [os_keystone : Install apt packages] **************************************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_install_apt.yml:25
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
<172.20.236.11> ESTABLISH SSH CONNECTION FOR USER: root
<172.20.236.11> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.20.236.11 'lxc-attach --name api_keystone_container-7e487f24 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
ok: [api_keystone_container-7e487f24] => (item=[u'debhelper', u'dh-apparmor', u'docutils-common', u'git', u'libffi-dev', u'libjs-sphinxdoc', u'libjs-underscore', u'libldap2-dev', u'libsasl2-dev', u'libxslt1.1', u'libxslt1-dev', u'libxml2-dev', u'python-dev', u'rsync']) => {"cache_update_time": 0, "cache_updated": false, "changed": false, "invocation": {"module_args": {"allow_unauthenticated": false, "autoremove": false, "cache_valid_time": null, "deb": null, "default_release": null, "dpkg_options": "force-confdef,force-confold", "force": false, "install_recommends": null, "name": ["debhelper", "dh-apparmor", "docutils-common", "git", "libffi-dev", "libjs-sphinxdoc", "libjs-underscore", "libldap2-dev", "libsasl2-dev", "libxslt1.1", "libxslt1-dev", "libxml2-dev", "python-dev", "rsync"], "only_upgrade": false, "package": ["debhelper", "dh-apparmor", "docutils-common", "git", "libffi-dev", "libjs-sphinxdoc", "libjs-underscore", "libldap2-dev", "libsasl2-dev", "libxslt1.1", "libxslt1-dev", "libxml2-dev", "python-dev", "rsync"], "purge": false, "state": "latest", "update_cache": false, "upgrade": null}, "module_name": "apt"}, "item": ["debhelper", "dh-apparmor", "docutils-common", "git", "libffi-dev", "libjs-sphinxdoc", "libjs-underscore", "libldap2-dev", "libsasl2-dev", "libxslt1.1", "libxslt1-dev", "libxml2-dev", "python-dev", "rsync"]}
TASK [os_keystone : Install Apache apt packages] *******************************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_install_apt.yml:35
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
<172.20.236.11> ESTABLISH SSH CONNECTION FOR USER: root
<172.20.236.11> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.20.236.11 'lxc-attach --name api_keystone_container-7e487f24 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
ok: [api_keystone_container-7e487f24] => (item=[u'apache2', u'apache2-utils']) => {"cache_update_time": 0, "cache_updated": false, "changed": false, "invocation": {"module_args": {"allow_unauthenticated": false, "autoremove": false, "cache_valid_time": null, "deb": null, "default_release": null, "dpkg_options": "force-confdef,force-confold", "force": false, "install_recommends": null, "name": ["apache2", "apache2-utils"], "only_upgrade": false, "package": ["apache2", "apache2-utils"], "purge": false, "state": "latest", "update_cache": false, "upgrade": null}, "module_name": "apt"}, "item": ["apache2", "apache2-utils"]}
TASK [os_keystone : Install mod_wsgi apt packages] *****************************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_install_apt.yml:47
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
<172.20.236.11> ESTABLISH SSH CONNECTION FOR USER: root
<172.20.236.11> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.20.236.11 'lxc-attach --name api_keystone_container-7e487f24 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
ok: [api_keystone_container-7e487f24] => (item=[u'libapache2-mod-wsgi']) => {"cache_update_time": 0, "cache_updated": false, "changed": false, "invocation": {"module_args": {"allow_unauthenticated": false, "autoremove": false, "cache_valid_time": null, "deb": null, "default_release": null, "dpkg_options": "force-confdef,force-confold", "force": false, "install_recommends": null, "name": ["libapache2-mod-wsgi"], "only_upgrade": false, "package": ["libapache2-mod-wsgi"], "purge": false, "state": "latest", "update_cache": false, "upgrade": null}, "module_name": "apt"}, "item": ["libapache2-mod-wsgi"]}
TASK [os_keystone : Install mod_proxy_uwsgi apt packages] **********************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_install_apt.yml:59
skipping: [api_keystone_container-7e487f24] => (item=[]) => {"changed": false, "item": [], "skip_reason": "Conditional check failed", "skipped": true}
TASK [os_keystone : Install Nginx apt packages] ********************************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_install_apt.yml:71
skipping: [api_keystone_container-7e487f24] => (item=[]) => {"changed": false, "item": [], "skip_reason": "Conditional check failed", "skipped": true}
TASK [os_keystone : Install IdP apt packages] **********************************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_install_apt.yml:83
skipping: [api_keystone_container-7e487f24] => (item=[]) => {"changed": false, "item": [], "skip_reason": "Conditional check failed", "skipped": true}
TASK [os_keystone : Install SP apt packages] ***********************************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_install_apt.yml:96
skipping: [api_keystone_container-7e487f24] => (item=[]) => {"changed": false, "item": [], "skip_reason": "Conditional check failed", "skipped": true}
TASK [os_keystone : Install developer mode apt packages] ***********************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_install_apt.yml:109
skipping: [api_keystone_container-7e487f24] => (item=[]) => {"changed": false, "item": [], "skip_reason": "Conditional check failed", "skipped": true}
TASK [os_keystone : include] ***************************************************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_install.yml:20
<api_keystone_container-7e487f24> Task "" has been omitted from the job because the conditional "[u"ansible_pkg_mgr == 'yum'"]" was evaluated as "False"
TASK [os_keystone : Create WSGI symlinks] **************************************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_install.yml:24
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
<172.20.236.11> ESTABLISH SSH CONNECTION FOR USER: root
<172.20.236.11> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.20.236.11 'lxc-attach --name api_keystone_container-7e487f24 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
ok: [api_keystone_container-7e487f24] => (item={u'dest': u'admin', u'src': u'/openstack/venvs/keystone-14.0.8/bin/keystone-wsgi-admin'}) => {"changed": false, "dest": "/var/www/cgi-bin/keystone/admin", "diff": {"after": {"path": "/var/www/cgi-bin/keystone/admin"}, "before": {"path": "/var/www/cgi-bin/keystone/admin"}}, "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "dest": "/var/www/cgi-bin/keystone/admin", "diff_peek": null, "directory_mode": null, "follow": false, "force": true, "group": null, "mode": null, "original_basename": null, "owner": null, "path": "/var/www/cgi-bin/keystone/admin", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/openstack/venvs/keystone-14.0.8/bin/keystone-wsgi-admin", "state": "link", "validate": null}, "module_name": "file"}, "item": {"dest": "admin", "src": "/openstack/venvs/keystone-14.0.8/bin/keystone-wsgi-admin"}, "src": "/openstack/venvs/keystone-14.0.8/bin/keystone-wsgi-admin", "state": "absent"}
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
<172.20.236.11> ESTABLISH SSH CONNECTION FOR USER: root
<172.20.236.11> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.20.236.11 'lxc-attach --name api_keystone_container-7e487f24 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
ok: [api_keystone_container-7e487f24] => (item={u'dest': u'main', u'src': u'/openstack/venvs/keystone-14.0.8/bin/keystone-wsgi-public'}) => {"changed": false, "dest": "/var/www/cgi-bin/keystone/main", "diff": {"after": {"path": "/var/www/cgi-bin/keystone/main"}, "before": {"path": "/var/www/cgi-bin/keystone/main"}}, "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "dest": "/var/www/cgi-bin/keystone/main", "diff_peek": null, "directory_mode": null, "follow": false, "force": true, "group": null, "mode": null, "original_basename": null, "owner": null, "path": "/var/www/cgi-bin/keystone/main", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/openstack/venvs/keystone-14.0.8/bin/keystone-wsgi-public", "state": "link", "validate": null}, "module_name": "file"}, "item": {"dest": "main", "src": "/openstack/venvs/keystone-14.0.8/bin/keystone-wsgi-public"}, "src": "/openstack/venvs/keystone-14.0.8/bin/keystone-wsgi-public", "state": "absent"}
TASK [os_keystone : Create developer mode constraint file] *********************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_install.yml:36
<api_keystone_container-7e487f24> Task "Create developer mode constraint file" has been omitted from the job because the conditional "[u'keystone_developer_mode | bool']" was evaluated as "False"
TASK [os_keystone : Install required pip packages] *****************************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_install.yml:45
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
container_name: "api_keystone_container-7e487f24"
physical_hostname: "api"
Container confirmed
<172.20.236.11> ESTABLISH SSH CONNECTION FOR USER: root
<172.20.236.11> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.20.236.11 'lxc-attach --name api_keystone_container-7e487f24 -- /bin/sh -c '"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"''
ok: [api_keystone_container-7e487f24] => {"changed": false, "cmd": "/usr/local/bin/pip install -U --constraint http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt virtualenv virtualenv-tools python-keystoneclient httplib2", "invocation": {"module_args": {"chdir": null, "editable": true, "executable": null, "extra_args": "--constraint http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt ", "name": "virtualenv virtualenv-tools python-keystoneclient httplib2", "requirements": null, "state": "latest", "umask": null, "use_mirrors": true, "version": null, "virtualenv": null, "virtualenv_command": "virtualenv", "virtualenv_python": null, "virtualenv_site_packages": false}, "module_name": "pip"}, "name": "virtualenv virtualenv-tools python-keystoneclient httplib2", "requirements": null, "state": "latest", "stderr": "Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', BadStatusLine(\"''\",))': /os-releases/14.0.8/requirements_absolute_requirements.txt\n", "stdout": "Requirement already up-to-date: httplib2==0.9.2 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 54))\nRequirement already up-to-date: python_keystoneclient==3.5.0 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 171))\nRequirement already up-to-date: requests==2.11.1 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 196))\nRequirement already up-to-date: six==1.10.0 in /usr/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 212))\nRequirement already up-to-date: stevedore==1.17.1 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 217))\nRequirement already up-to-date: virtualenv==15.0.3 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 232))\nRequirement already up-to-date: virtualenv_tools==1.0 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 233))\nRequirement already up-to-date: oslo.i18n==3.9.0 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 110))\nRequirement already up-to-date: pbr==1.10.0 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 134))\nRequirement already up-to-date: debtcollector==1.8.0 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 24))\nRequirement already up-to-date: positional==1.1.1 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 141))\nRequirement already up-to-date: oslo.config==3.17.1 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 107))\nRequirement already up-to-date: oslo.serialization==2.13.0 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 118))\nRequirement already up-to-date: keystoneauth1==2.12.2 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 66))\nRequirement already up-to-date: oslo.utils==3.16.0 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 120))\nRequirement already up-to-date: babel==2.3.4 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 8))\nRequirement already up-to-date: wrapt==1.10.8 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 241))\nRequirement already up-to-date: funcsigs==1.0.2 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 42))\nRequirement already up-to-date: rfc3986==0.4.1 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 200))\nRequirement already up-to-date: netaddr==0.7.18 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 83))\nRequirement already up-to-date: msgpack_python==0.4.8 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 80))\nRequirement already up-to-date: pytz==2016.6.1 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 190))\nRequirement already up-to-date: iso8601==0.1.11 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 59))\nRequirement already up-to-date: monotonic==1.2 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 79))\nRequirement already up-to-date: netifaces==0.10.5 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 84))\nRequirement already up-to-date: pyparsing==2.1.10 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 157))\n", "stdout_lines": ["Requirement already up-to-date: httplib2==0.9.2 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 54))", "Requirement already up-to-date: python_keystoneclient==3.5.0 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 171))", "Requirement already up-to-date: requests==2.11.1 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 196))", "Requirement already up-to-date: six==1.10.0 in /usr/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 212))", "Requirement already up-to-date: stevedore==1.17.1 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 217))", "Requirement already up-to-date: virtualenv==15.0.3 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 232))", "Requirement already up-to-date: virtualenv_tools==1.0 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 233))", "Requirement already up-to-date: oslo.i18n==3.9.0 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 110))", "Requirement already up-to-date: pbr==1.10.0 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 134))", "Requirement already up-to-date: debtcollector==1.8.0 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 24))", "Requirement already up-to-date: positional==1.1.1 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 141))", "Requirement already up-to-date: oslo.config==3.17.1 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 107))", "Requirement already up-to-date: oslo.serialization==2.13.0 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 118))", "Requirement already up-to-date: keystoneauth1==2.12.2 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 66))", "Requirement already up-to-date: oslo.utils==3.16.0 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 120))", "Requirement already up-to-date: babel==2.3.4 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 8))", "Requirement already up-to-date: wrapt==1.10.8 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 241))", "Requirement already up-to-date: funcsigs==1.0.2 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 42))", "Requirement already up-to-date: rfc3986==0.4.1 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 200))", "Requirement already up-to-date: netaddr==0.7.18 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 83))", "Requirement already up-to-date: msgpack_python==0.4.8 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 80))", "Requirement already up-to-date: pytz==2016.6.1 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 190))", "Requirement already up-to-date: iso8601==0.1.11 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 59))", "Requirement already up-to-date: monotonic==1.2 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 79))", "Requirement already up-to-date: netifaces==0.10.5 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 84))", "Requirement already up-to-date: pyparsing==2.1.10 in /usr/local/lib/python2.7/dist-packages (from -c http://172.20.236.9:8181/os-releases/14.0.8/requirements_absolute_requirements.txt (line 157))"], "version": null, "virtualenv": null}
TASK [os_keystone : Attempt venv download] *************************************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_install.yml:57
url lookup connecting to http://172.20.236.9:8181/venvs/14.0.8/ubuntu/keystone-14.0.8-x86_64.checksum
fatal: [api_keystone_container-7e487f24]: FAILED! => {"failed": true, "msg": "An unhandled exception occurred while running the lookup plugin 'url'. Error was a <class 'httplib.BadStatusLine'>, original message: ''"}
NO MORE HOSTS LEFT *************************************************************
PLAY RECAP *********************************************************************
api_keystone_container-7e487f24 : ok=51 changed=2 unreachable=0 failed=1
TASK: os_keystone : Install required pip packages ----------------------- 3.84s
TASK: os_keystone : Create keystone dir --------------------------------- 3.23s
TASK: pip_install : Install pip packages -------------------------------- 2.90s
TASK: pip_install : Install PIP ----------------------------------------- 2.89s
TASK: Ensure rabbitmq user ---------------------------------------------- 2.35s
TASK: galera_client : Ensure host can talk to HTTPS apt repos ----------- 1.69s
TASK: galera_client : Update apt if needed ------------------------------ 1.59s
TASK: os_keystone : Install mod_wsgi apt packages ----------------------- 1.56s
TASK: os_keystone : Install apt packages -------------------------------- 1.55s
TASK: Ensure Rabbitmq vhost --------------------------------------------- 1.49s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment