ansible2-breaks-cleanup-role

Bug #1586658 reported by Hui Kang on 2016-05-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
High
Unassigned

Bug Description

Kolla recently switched to ansible2 [1], which breaks the clean up script.

[1] https://review.openstack.org/#/c/317421/

fatal: [9.2.212.56]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_name": "command"}, "module_stderr": "OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014\r\ndebug1: Reading configuration data /root/.ssh/config\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 = 23206\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\nShared connection to 9.2.212.56 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n File \"/root/.ansible/tmp/ansible-tmp-1464449958.06-85304143345496/command\", line 2146, in <module>\r\n main()\r\n File \"/root/.ansible/tmp/ansible-tmp-1464449958.06-85304143345496/command\", line 91, in main\r\n module = CommandModule(argument_spec=dict())\r\n File \"/root/.ansible/tmp/ansible-tmp-1464449958.06-85304143345496/command\", line 713, in __init__\r\n self._check_arguments(check_invalid_arguments)\r\n File \"/root/.ansible/tmp/ansible-tmp-1464449958.06-85304143345496/command\", line 1257, in _check_arguments\r\n for (k,v) in self.params.items():\r\nAttributeError: 'tuple' object has no attribute 'items'\r\n", "msg": "MODULE FAILURE", "parsed": false}
fatal: [9.2.212.54]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_name": "command"}, "module_stderr": "OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014\r\ndebug1: Reading configuration data /root/.ssh/config\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 = 23197\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\nShared connection to 9.2.212.54 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n File \"/root/.ansible/tmp/ansible-tmp-1464449958.05-72805724541513/command\", line 2146, in <module>\r\n main()\r\n File \"/root/.ansible/tmp/ansible-tmp-1464449958.05-72805724541513/command\", line 91, in main\r\n module = CommandModule(argument_spec=dict())\r\n File \"/root/.ansible/tmp/ansible-tmp-1464449958.05-72805724541513/command\", line 713, in __init__\r\n self._check_arguments(check_invalid_arguments)\r\n File \"/root/.ansible/tmp/ansible-tmp-1464449958.05-72805724541513/command\", line 1257, in _check_arguments\r\n for (k,v) in self.params.items():\r\nAttributeError: 'tuple' object has no attribute 'items'\r\n", "msg": "MODULE FAILURE", "parsed": false}
fatal: [9.2.212.55]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_name": "command"}, "module_stderr": "OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014\r\ndebug1: Reading configuration data /root/.ssh/config\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 = 23203\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\nShared connection to 9.2.212.55 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n File \"/root/.ansible/tmp/ansible-tmp-1464449958.05-81932001419951/command\", line 2146, in <module>\r\n main()\r\n File \"/root/.ansible/tmp/ansible-tmp-1464449958.05-81932001419951/command\", line 91, in main\r\n module = CommandModule(argument_spec=dict())\r\n File \"/root/.ansible/tmp/ansible-tmp-1464449958.05-81932001419951/command\", line 713, in __init__\r\n self._check_arguments(check_invalid_arguments)\r\n File \"/root/.ansible/tmp/ansible-tmp-1464449958.05-81932001419951/command\", line 1257, in _check_arguments\r\n for (k,v) in self.params.items():\r\nAttributeError: 'tuple' object has no attribute 'items'\r\n", "msg": "MODULE FAILURE", "parsed": false}
fatal: [9.2.212.53]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_name": "command"}, "module_stderr": "OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014\r\ndebug1: Reading configuration data /root/.ssh/config\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 = 23200\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\nShared connection to 9.2.212.53 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n File \"/root/.ansible/tmp/ansible-tmp-1464449958.07-138293491415638/command\", line 2146, in <module>\r\n main()\r\n File \"/root/.ansible/tmp/ansible-tmp-1464449958.07-138293491415638/command\", line 91, in main\r\n module = CommandModule(argument_spec=dict())\r\n File \"/root/.ansible/tmp/ansible-tmp-1464449958.07-138293491415638/command\", line 713, in __init__\r\n self._check_arguments(check_invalid_arguments)\r\n File \"/root/.ansible/tmp/ansible-tmp-1464449958.07-138293491415638/command\", line 1257, in _check_arguments\r\n for (k,v) in self.params.items():\r\nAttributeError: 'tuple' object has no attribute 'items'\r\n", "msg": "MODULE FAILURE", "parsed": false}

PLAY RECAP *********************************************************************
9.2.212.53 : ok=7 changed=4 unreachable=0 failed=1
9.2.212.54 : ok=7 changed=4 unreachable=0 failed=1
9.2.212.55 : ok=7 changed=4 unreachable=0 failed=1
9.2.212.56 : ok=7 changed=4 unreachable=0 failed=1

Hui Kang (huikang27) wrote :

After I downgrade ansible to 1.9.4, the problem is resolved. - Hui

Changed in kolla:
importance: Undecided → Medium
importance: Medium → High
Changed in kolla:
assignee: nobody → Swapnil Kulkarni (coolsvap)
milestone: none → newton-2
Swapnil Kulkarni (coolsvap) wrote :

Hi Hui,

I am not able to reproduce the issue. Can you please let me know if you are still getting this. Thanks

Swapnil

Changed in kolla:
status: New → Triaged
Changed in kolla:
milestone: newton-2 → newton-3
Changed in kolla:
milestone: newton-3 → newton-rc1
Changed in kolla:
milestone: newton-rc1 → newton-rc2
Steven Dake (sdake) on 2016-10-13
Changed in kolla:
milestone: newton-rc2 → ocata-1
Changed in kolla:
milestone: ocata-1 → ocata-2
Changed in kolla:
milestone: ocata-2 → ocata-3
Christian Berendt (berendt) wrote :

According to the last comment this bug cannot be reproduced. Please provide further details.

Changed in kolla:
status: Triaged → Incomplete
assignee: Swapnil Kulkarni (coolsvap) → nobody
Jeffrey Zhang (jeffrey4l) wrote :

mark it invalid.
please re-open it when it occurs.

Changed in kolla:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers