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-0d51ee61> The "physical_host" variable of "infra1" has been found to have a corresponding host entry in inventory.
- <infra1_keystone_container-0d51ee61> The "physical_host" variable of "infra1" terminates at "172.10.10.2" using the host variable "ansible_host".
- container_name: "infra1_keystone_container-0d51ee61"
- 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-0d51ee61"
- physical_host: "infra1"
- Container confirmed
- Container type "lxc"
- <172.10.10.2> ESTABLISH SSH CONNECTION FOR USER: root
- <172.10.10.2> SSH: EXEC ssh -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-0d51ee61 -- su - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'sudo -H -S -n -u keystone /bin/sh -c '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-jqbyzxxvpkdgtxfvbuhpzbqneqszpwwb; /usr/bin/python'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"' && sleep 0'"'"'"'"'"'"'"'"''"'"''
- Escalation succeeded
- <172.10.10.2> (1, '\n{"changed": true, "end": "2019-05-15 16:27:40.668699", "stdout": "", "cmd": ["/openstack/venvs/keystone-18.1.5/bin/keystone-manage", "db_sync", "--check"], "failed": true, "delta": "0:01:41.904812", "stderr": "", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/openstack/venvs/keystone-18.1.5/bin/keystone-manage db_sync --check", "removes": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-05-15 16:25:58.763887", "msg": "non-zero return code"}\n', 'mesg: ttyname failed: Inappropriate ioctl for device\n')
- fatal: [infra1_keystone_container-0d51ee61]: FAILED! => {
- "changed": true,
- "cmd": [
- "/openstack/venvs/keystone-18.1.5/bin/keystone-manage",
- "db_sync",
- "--check"
- ],
- "delta": "0:01:41.904812",
- "end": "2019-05-15 16:27:40.668699",
- "failed_when_result": true,
- "invocation": {
- "module_args": {
- "_raw_params": "/openstack/venvs/keystone-18.1.5/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-15 16:25:58.763887",
- "stderr": "",
- "stderr_lines": [],
- "stdout": "",
- "stdout_lines": []
- }
- NO MORE HOSTS LEFT **********************************************************************************************************************
- PLAY RECAP ******************************************************************************************************************************
- infra1_keystone_container-0d51ee61 : ok=67 changed=26 unreachable=0 failed=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement