Guest User

Untitled

a guest
Jun 1st, 2020
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 11.22 KB | None | 0 0
  1. TASK [os_nova : Preserve original configuration file(s)] *************************************************************************************************************************************
  2. task path: /etc/ansible/roles/os_nova/tasks/nova_post_install.yml:92
  3. <compute1> The "physical_host" variable of "compute1" has been found to have a corresponding host entry in inventory.
  4. <compute1> The "physical_host" variable of "compute1" terminates at "172.29.236.15" using the host variable "ansible_host".
  5. container_name: "compute1"
  6. physical_host: "compute1"
  7. Using module file /opt/ansible-runtime/lib/python3.6/site-packages/ansible/modules/commands/command.py
  8. Pipelining is enabled.
  9. container_name: "compute1"
  10. physical_host: "compute1"
  11. <172.29.236.15> ESTABLISH SSH CONNECTION FOR USER: root
  12. <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'"'"''
  13. <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')
  14. <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
  15. debug1: Reading configuration data /etc/ssh/ssh_config
  16. debug1: /etc/ssh/ssh_config line 19: Applying options for *
  17. debug1: auto-mux: Trying existing master
  18. debug2: fd 3 setting O_NONBLOCK
  19. debug2: mux_client_hello_exchange: master version 4
  20. debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
  21. debug3: mux_client_request_session: entering
  22. debug3: mux_client_request_alive: entering
  23. debug3: mux_client_request_alive: done pid = 116105
  24. debug3: mux_client_request_session: session request sent
  25. debug1: mux_client_request_session: master session id: 2
  26. debug3: mux_client_read_packet: read header failed: Broken pipe
  27. debug2: Received exit status from master 1
  28. failed: [compute1] (item={'tmp_f': '/tmp/api-paste.ini', 'target_f': '/etc/nova/api-paste.ini', 'config_overrides': {}, 'config_type': 'ini'}) => {
  29.    "ansible_loop_var": "item",
  30.    "changed": true,
  31.    "cmd": [
  32.        "cp",
  33.        "/etc/nova/api-paste.ini",
  34.        "/etc/nova/api-paste.ini.original"
  35.    ],
  36.    "delta": "0:00:00.003094",
  37.    "end": "2020-06-01 15:23:26.459697",
  38.    "invocation": {
  39.        "module_args": {
  40.            "_raw_params": "cp /etc/nova/api-paste.ini /etc/nova/api-paste.ini.original",
  41.            "_uses_shell": false,
  42.            "argv": null,
  43.            "chdir": null,
  44.            "creates": "/etc/nova/api-paste.ini.original",
  45.            "executable": null,
  46.            "removes": null,
  47.            "stdin": null,
  48.            "stdin_add_newline": true,
  49.            "strip_empty_ends": true,
  50.            "warn": true
  51.        }
  52.    },
  53.    "item": {
  54.        "config_overrides": {},
  55.        "config_type": "ini",
  56.        "target_f": "/etc/nova/api-paste.ini",
  57.        "tmp_f": "/tmp/api-paste.ini"
  58.    },
  59.    "msg": "non-zero return code",
  60.    "rc": 1,
  61.    "start": "2020-06-01 15:23:26.456603",
  62.    "stderr": "cp: cannot stat '/etc/nova/api-paste.ini': No such file or directory",
  63.    "stderr_lines": [
  64.        "cp: cannot stat '/etc/nova/api-paste.ini': No such file or directory"
  65.    ],
  66.    "stdout": "",
  67.    "stdout_lines": []
  68. }
  69. container_name: "compute1"
  70. physical_host: "compute1"
  71. Using module file /opt/ansible-runtime/lib/python3.6/site-packages/ansible/modules/commands/command.py
  72. Pipelining is enabled.
  73. container_name: "compute1"
  74. physical_host: "compute1"
  75. <172.29.236.15> ESTABLISH SSH CONNECTION FOR USER: root
  76. <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'"'"''
  77. <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')
  78. <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
  79. debug1: Reading configuration data /etc/ssh/ssh_config
  80. debug1: /etc/ssh/ssh_config line 19: Applying options for *
  81. debug1: auto-mux: Trying existing master
  82. debug2: fd 3 setting O_NONBLOCK
  83. debug2: mux_client_hello_exchange: master version 4
  84. debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
  85. debug3: mux_client_request_session: entering
  86. debug3: mux_client_request_alive: entering
  87. debug3: mux_client_request_alive: done pid = 116105
  88. debug3: mux_client_request_session: session request sent
  89. debug1: mux_client_request_session: master session id: 2
  90. debug3: mux_client_read_packet: read header failed: Broken pipe
  91. debug2: Received exit status from master 1
  92. 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'}) => {
  93.    "ansible_loop_var": "item",
  94.    "changed": true,
  95.    "cmd": [
  96.        "cp",
  97.        "/etc/nova/rootwrap.conf",
  98.        "/etc/nova/rootwrap.conf.original"
  99.    ],
  100.    "delta": "0:00:00.003131",
  101.    "end": "2020-06-01 15:23:26.673091",
  102.    "invocation": {
  103.        "module_args": {
  104.            "_raw_params": "cp /etc/nova/rootwrap.conf /etc/nova/rootwrap.conf.original",
  105.            "_uses_shell": false,
  106.            "argv": null,
  107.            "chdir": null,
  108.            "creates": "/etc/nova/rootwrap.conf.original",
  109.            "executable": null,
  110.            "removes": null,
  111.            "stdin": null,
  112.            "stdin_add_newline": true,
  113.            "strip_empty_ends": true,
  114.            "warn": true
  115.        }
  116.    },
  117.    "item": {
  118.        "config_overrides": {
  119.            "DEFAULT": {
  120.                "exec_dirs": "/openstack/venvs/nova-20.1.1/bin,/sbin,/usr/sbin,/bin,/usr/bin,/usr/local/bin,/usr/local/sbin",
  121.                "filters_path": "/etc/nova/rootwrap.d,/usr/share/nova/rootwrap"
  122.            }
  123.        },
  124.        "config_type": "ini",
  125.        "group": "nova",
  126.        "mode": "0640",
  127.        "owner": "root",
  128.        "target_f": "/etc/nova/rootwrap.conf",
  129.        "tmp_f": "/tmp/rootwrap.conf"
  130.    },
  131.    "msg": "non-zero return code",
  132.    "rc": 1,
  133.    "start": "2020-06-01 15:23:26.669960",
  134.    "stderr": "cp: cannot stat '/etc/nova/rootwrap.conf': No such file or directory",
  135.    "stderr_lines": [
  136.        "cp: cannot stat '/etc/nova/rootwrap.conf': No such file or directory"
  137.    ],
  138.    "stdout": "",
  139.    "stdout_lines": []
  140. }
  141.  
  142. PLAY RECAP ***********************************************************************************************************************************************************************************
  143. compute1                   : ok=51   changed=5    unreachable=0    failed=1    skipped=13   rescued=0    ignored=0
  144. controller1_cinder_api_container-161d275e : ok=123  changed=3    unreachable=0    failed=0    skipped=59   rescued=0    ignored=0
  145. controller1_cinder_volumes_container-19b96dc7 : ok=134  changed=6    unreachable=0    failed=0    skipped=61   rescued=0    ignored=0
  146. controller1_glance_container-15596c06 : ok=134  changed=5    unreachable=0    failed=0    skipped=44   rescued=0    ignored=0
  147. controller1_keystone_container-fbbed9ac : ok=103  changed=5    unreachable=0    failed=0    skipped=60   rescued=0    ignored=0
  148. controller1_nova_api_container-a6527aa1 : ok=130  changed=10   unreachable=0    failed=0    skipped=59   rescued=0    ignored=0
  149. controller1_placement_container-0ca61a87 : ok=84   changed=4    unreachable=0    failed=0    skipped=33   rescued=0    ignored=0
  150. localhost                  : ok=3    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0
Add Comment
Please, Sign In to add comment