Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TASK [os_nova : Preserve original configuration file(s)] *************************************************************************************************************************************
- task path: /etc/ansible/roles/os_nova/tasks/nova_post_install.yml:92
- <compute1> The "physical_host" variable of "compute1" has been found to have a corresponding host entry in inventory.
- <compute1> The "physical_host" variable of "compute1" terminates at "172.29.236.15" using the host variable "ansible_host".
- container_name: "compute1"
- physical_host: "compute1"
- Using module file /opt/ansible-runtime/lib/python3.6/site-packages/ansible/modules/commands/command.py
- Pipelining is enabled.
- container_name: "compute1"
- physical_host: "compute1"
- <172.29.236.15> ESTABLISH SSH CONNECTION FOR USER: root
- <172.29.236.15> 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/549d30e52c 172.29.236.15 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
- <172.29.236.15> (1, b'\n{"msg": "non-zero return code", "cmd": ["cp", "/etc/nova/api-paste.ini", "/etc/nova/api-paste.ini.original"], "stdout": "", "stderr": "cp: cannot stat \'/etc/nova/api-paste.ini\': No such file or directory", "rc": 1, "start": "2020-06-01 15:23:26.456603", "end": "2020-06-01 15:23:26.459697", "delta": "0:00:00.003094", "changed": true, "failed": true, "invocation": {"module_args": {"creates": "/etc/nova/api-paste.ini.original", "_raw_params": "cp /etc/nova/api-paste.ini /etc/nova/api-paste.ini.original", "warn": true, "_uses_shell": false, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "removes": null, "stdin": null}}}\n', b'OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\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 = 116105\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
- <172.29.236.15> Failed to connect to the host via ssh: OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug1: /etc/ssh/ssh_config line 19: Applying options for *
- debug1: auto-mux: Trying existing master
- debug2: fd 3 setting O_NONBLOCK
- debug2: mux_client_hello_exchange: master version 4
- debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
- debug3: mux_client_request_session: entering
- debug3: mux_client_request_alive: entering
- debug3: mux_client_request_alive: done pid = 116105
- debug3: mux_client_request_session: session request sent
- debug1: mux_client_request_session: master session id: 2
- debug3: mux_client_read_packet: read header failed: Broken pipe
- debug2: Received exit status from master 1
- failed: [compute1] (item={'tmp_f': '/tmp/api-paste.ini', 'target_f': '/etc/nova/api-paste.ini', 'config_overrides': {}, 'config_type': 'ini'}) => {
- "ansible_loop_var": "item",
- "changed": true,
- "cmd": [
- "cp",
- "/etc/nova/api-paste.ini",
- "/etc/nova/api-paste.ini.original"
- ],
- "delta": "0:00:00.003094",
- "end": "2020-06-01 15:23:26.459697",
- "invocation": {
- "module_args": {
- "_raw_params": "cp /etc/nova/api-paste.ini /etc/nova/api-paste.ini.original",
- "_uses_shell": false,
- "argv": null,
- "chdir": null,
- "creates": "/etc/nova/api-paste.ini.original",
- "executable": null,
- "removes": null,
- "stdin": null,
- "stdin_add_newline": true,
- "strip_empty_ends": true,
- "warn": true
- }
- },
- "item": {
- "config_overrides": {},
- "config_type": "ini",
- "target_f": "/etc/nova/api-paste.ini",
- "tmp_f": "/tmp/api-paste.ini"
- },
- "msg": "non-zero return code",
- "rc": 1,
- "start": "2020-06-01 15:23:26.456603",
- "stderr": "cp: cannot stat '/etc/nova/api-paste.ini': No such file or directory",
- "stderr_lines": [
- "cp: cannot stat '/etc/nova/api-paste.ini': No such file or directory"
- ],
- "stdout": "",
- "stdout_lines": []
- }
- container_name: "compute1"
- physical_host: "compute1"
- Using module file /opt/ansible-runtime/lib/python3.6/site-packages/ansible/modules/commands/command.py
- Pipelining is enabled.
- container_name: "compute1"
- physical_host: "compute1"
- <172.29.236.15> ESTABLISH SSH CONNECTION FOR USER: root
- <172.29.236.15> 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/549d30e52c 172.29.236.15 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
- <172.29.236.15> (1, b'\n{"msg": "non-zero return code", "cmd": ["cp", "/etc/nova/rootwrap.conf", "/etc/nova/rootwrap.conf.original"], "stdout": "", "stderr": "cp: cannot stat \'/etc/nova/rootwrap.conf\': No such file or directory", "rc": 1, "start": "2020-06-01 15:23:26.669960", "end": "2020-06-01 15:23:26.673091", "delta": "0:00:00.003131", "changed": true, "failed": true, "invocation": {"module_args": {"creates": "/etc/nova/rootwrap.conf.original", "_raw_params": "cp /etc/nova/rootwrap.conf /etc/nova/rootwrap.conf.original", "warn": true, "_uses_shell": false, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "removes": null, "stdin": null}}}\n', b'OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017\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 = 116105\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
- <172.29.236.15> Failed to connect to the host via ssh: OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug1: /etc/ssh/ssh_config line 19: Applying options for *
- debug1: auto-mux: Trying existing master
- debug2: fd 3 setting O_NONBLOCK
- debug2: mux_client_hello_exchange: master version 4
- debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
- debug3: mux_client_request_session: entering
- debug3: mux_client_request_alive: entering
- debug3: mux_client_request_alive: done pid = 116105
- debug3: mux_client_request_session: session request sent
- debug1: mux_client_request_session: master session id: 2
- debug3: mux_client_read_packet: read header failed: Broken pipe
- debug2: Received exit status from master 1
- failed: [compute1] (item={'tmp_f': '/tmp/rootwrap.conf', 'target_f': '/etc/nova/rootwrap.conf', 'config_overrides': {'DEFAULT': {'filters_path': '/etc/nova/rootwrap.d,/usr/share/nova/rootwrap', 'exec_dirs': '/openstack/venvs/nova-20.1.1/bin,/sbin,/usr/sbin,/bin,/usr/bin,/usr/local/bin,/usr/local/sbin'}}, 'config_type': 'ini', 'owner': 'root', 'group': 'nova', 'mode': '0640'}) => {
- "ansible_loop_var": "item",
- "changed": true,
- "cmd": [
- "cp",
- "/etc/nova/rootwrap.conf",
- "/etc/nova/rootwrap.conf.original"
- ],
- "delta": "0:00:00.003131",
- "end": "2020-06-01 15:23:26.673091",
- "invocation": {
- "module_args": {
- "_raw_params": "cp /etc/nova/rootwrap.conf /etc/nova/rootwrap.conf.original",
- "_uses_shell": false,
- "argv": null,
- "chdir": null,
- "creates": "/etc/nova/rootwrap.conf.original",
- "executable": null,
- "removes": null,
- "stdin": null,
- "stdin_add_newline": true,
- "strip_empty_ends": true,
- "warn": true
- }
- },
- "item": {
- "config_overrides": {
- "DEFAULT": {
- "exec_dirs": "/openstack/venvs/nova-20.1.1/bin,/sbin,/usr/sbin,/bin,/usr/bin,/usr/local/bin,/usr/local/sbin",
- "filters_path": "/etc/nova/rootwrap.d,/usr/share/nova/rootwrap"
- }
- },
- "config_type": "ini",
- "group": "nova",
- "mode": "0640",
- "owner": "root",
- "target_f": "/etc/nova/rootwrap.conf",
- "tmp_f": "/tmp/rootwrap.conf"
- },
- "msg": "non-zero return code",
- "rc": 1,
- "start": "2020-06-01 15:23:26.669960",
- "stderr": "cp: cannot stat '/etc/nova/rootwrap.conf': No such file or directory",
- "stderr_lines": [
- "cp: cannot stat '/etc/nova/rootwrap.conf': No such file or directory"
- ],
- "stdout": "",
- "stdout_lines": []
- }
- PLAY RECAP ***********************************************************************************************************************************************************************************
- compute1 : ok=51 changed=5 unreachable=0 failed=1 skipped=13 rescued=0 ignored=0
- controller1_cinder_api_container-161d275e : ok=123 changed=3 unreachable=0 failed=0 skipped=59 rescued=0 ignored=0
- controller1_cinder_volumes_container-19b96dc7 : ok=134 changed=6 unreachable=0 failed=0 skipped=61 rescued=0 ignored=0
- controller1_glance_container-15596c06 : ok=134 changed=5 unreachable=0 failed=0 skipped=44 rescued=0 ignored=0
- controller1_keystone_container-fbbed9ac : ok=103 changed=5 unreachable=0 failed=0 skipped=60 rescued=0 ignored=0
- controller1_nova_api_container-a6527aa1 : ok=130 changed=10 unreachable=0 failed=0 skipped=59 rescued=0 ignored=0
- controller1_placement_container-0ca61a87 : ok=84 changed=4 unreachable=0 failed=0 skipped=33 rescued=0 ignored=0
- localhost : ok=3 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Add Comment
Please, Sign In to add comment