Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TASK [os_keystone : Check current state of Keystone DB] *********************************************************************************
- task path: /etc/ansible/roles/os_keystone/tasks/keystone_db_setup.yml:44
- <infra1_keystone_container-041e69d2> The "physical_host" variable of "infra1" has been found to have a corresponding host entry in inventory.
- <infra1_keystone_container-041e69d2> The "physical_host" variable of "infra1" terminates at "172.10.10.2" using the host variable "ansible_host".
- container_name: "infra1_keystone_container-041e69d2"
- physical_host: "infra1"
- Container confirmed
- Container type "lxc"
- Using module file /opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/modules/commands/command.py
- container_name: "infra1_keystone_container-041e69d2"
- physical_host: "infra1"
- Container confirmed
- Container type "lxc"
- <172.10.10.2> ESTABLISH SSH CONNECTION FOR USER: root
- <172.10.10.2> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
- <172.10.10.2> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
- <172.10.10.2> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
- <172.10.10.2> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=root)
- <172.10.10.2> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=5)
- <172.10.10.2> SSH: PlayContext set ssh_extra_args: (-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)
- <172.10.10.2> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/c3728729b3)
- <172.10.10.2> SSH: EXEC ssh -vvv -C -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/c3728729b3 172.10.10.2 'lxc-attach --clear-env --name infra1_keystone_container-041e69d2 -- su - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'sudo -H -S -n -u keystone /bin/sh -c '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-movfnmoeongbuywpvqlglhsjdqmzocrv; /usr/bin/python'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"' && sleep 0'"'"'"'"'"'"'"'"''"'"''
- Escalation succeeded
- <172.10.10.2> (1, '\n{"changed": true, "end": "2019-05-16 13:52:29.894012", "stdout": "", "cmd": ["/openstack/venvs/keystone-18.1.4/bin/keystone-manage", "db_sync", "--check"], "failed": true, "delta": "0:01:41.906057", "stderr": "", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/openstack/venvs/keystone-18.1.4/bin/keystone-manage db_sync --check", "removes": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-05-16 13:50:47.987955", "msg": "non-zero return code"}\n', 'OpenSSH_7.2p2 Ubuntu-4ubuntu2.8, OpenSSL 1.0.2g 1 Mar 2016\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 4439\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\nmesg: ttyname failed: Inappropriate ioctl for device\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
- fatal: [infra1_keystone_container-041e69d2]: FAILED! => {
- "changed": true,
- "cmd": [
- "/openstack/venvs/keystone-18.1.4/bin/keystone-manage",
- "db_sync",
- "--check"
- ],
- "delta": "0:01:41.906057",
- "end": "2019-05-16 13:52:29.894012",
- "failed_when_result": true,
- "invocation": {
- "module_args": {
- "_raw_params": "/openstack/venvs/keystone-18.1.4/bin/keystone-manage db_sync --check",
- "_uses_shell": false,
- "chdir": null,
- "creates": null,
- "executable": null,
- "removes": null,
- "stdin": null,
- "warn": true
- }
- },
- "msg": "non-zero return code",
- "rc": 1,
- "start": "2019-05-16 13:50:47.987955",
- "stderr": "",
- "stderr_lines": [],
- "stdout": "",
- "stdout_lines": []
- }
- NO MORE HOSTS LEFT **********************************************************************************************************************
- PLAY RECAP ******************************************************************************************************************************
- infra1_keystone_container-041e69d2 : ok=67 changed=26 unreachable=0 failed=1
- localhost : ok=3 changed=0 unreachable=0 failed=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement