PLAY [Apply role mariadb] **************************************************************************************************************************** META: ran handlers TASK [common : include_tasks] ************************************************************************************************************************ task path: /root/venv3/share/kolla-ansible/ansible/roles/common/tasks/main.yml:2 skipping: [ss] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [common : Registering common role has run] ****************************************************************************************************** task path: /root/venv3/share/kolla-ansible/ansible/roles/common/tasks/main.yml:6 skipping: [ss] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [mariadb : include_tasks] *********************************************************************************************************************** task path: /root/venv3/share/kolla-ansible/ansible/roles/mariadb/tasks/main.yml:2 included: /root/venv3/share/kolla-ansible/ansible/roles/mariadb/tasks/deploy.yml for ss TASK [mariadb : include_tasks] *********************************************************************************************************************** task path: /root/venv3/share/kolla-ansible/ansible/roles/mariadb/tasks/deploy.yml:2 included: /root/venv3/share/kolla-ansible/ansible/roles/mariadb/tasks/config.yml for ss TASK [mariadb : Ensuring config directories exist] *************************************************************************************************** task path: /root/venv3/share/kolla-ansible/ansible/roles/mariadb/tasks/config.yml:2 Using module file /root/venv3/lib/python3.6/site-packages/ansible/modules/files/file.py Pipelining is enabled. ESTABLISH SSH CONNECTION FOR USER: None 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 ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/bcd6204063 ss '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-fssswbsjzudfhydthbcuvxshmlwrqiew ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"'' Escalation succeeded (0, b'\n{"group": "root", "uid": 0, "changed": true, "owner": "root", "state": "directory", "gid": 0, "mode": "0770", "path": "/etc/kolla//mariadb", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": null, "path": "/etc/kolla//mariadb", "owner": "root", "follow": true, "group": "root", "unsafe_writes": null, "state": "directory", "content": null, "serole": null, "selevel": null, "setype": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": "0770", "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/etc/kolla//mariadb", "state": "directory", "mode": "0770"}, "before": {"path": "/etc/kolla//mariadb", "state": "absent", "mode": "0755"}}, "size": 4096}\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: /etc/ssh/ssh_config line 52: Deprecated option "useroaming"\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 = 23424\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 0\r\n') changed: [ss] => (item={'key': 'mariadb', 'value': {'container_name': 'mariadb', 'group': 'mariadb', 'enabled': True, 'image': 'kolla/ubuntu-source-mariadb:stein', 'volumes': ['/etc/kolla//mariadb/:/var/lib/kolla/config_files/:ro', '/etc/localtime:/etc/localtime:ro', 'mariadb:/var/lib/mysql', 'kolla_logs:/var/log/kolla/'], 'dimensions': {}, 'haproxy': {'mariadb': {'enabled': True, 'mode': 'tcp', 'port': '3306', 'frontend_tcp_extra': ['option clitcpka', 'timeout client 3600s'], 'backend_tcp_extra': ['option srvtcpka', 'timeout server 3600s', 'option mysql-check user haproxy post-41'], 'custom_member_list': ['server ss 172.22.100.1:3306 check inter 2000 rise 2 fall 5', '']}, 'mariadb_external_lb': {'enabled': False, 'mode': 'tcp', 'port': '3306', 'frontend_tcp_extra': ['option clitcpka', 'timeout client 3600s'], 'backend_tcp_extra': ['option srvtcpka', 'timeout server 3600s'], 'custom_member_list': ['server ss ss:3306 check inter 2000 rise 2 fall 5', '']}}}}) => { "ansible_loop_var": "item", "changed": true, "diff": { "after": { "mode": "0770", "path": "/etc/kolla//mariadb", "state": "directory" }, "before": { "mode": "0755", "path": "/etc/kolla//mariadb", "state": "absent" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "directory_mode": null, "follow": true, "force": false, "group": "root", "mode": "0770", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": "root", "path": "/etc/kolla//mariadb", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "unsafe_writes": null } }, "item": { "key": "mariadb", "value": { "container_name": "mariadb", "dimensions": {}, "enabled": true, "group": "mariadb", "haproxy": { "mariadb": { "backend_tcp_extra": [ "option srvtcpka", "timeout server 3600s", "option mysql-check user haproxy post-41" ], "custom_member_list": [ "server ss 172.22.100.1:3306 check inter 2000 rise 2 fall 5", "" ], "enabled": true, "frontend_tcp_extra": [ "option clitcpka", "timeout client 3600s" ], "mode": "tcp", "port": "3306" }, "mariadb_external_lb": { "backend_tcp_extra": [ "option srvtcpka", "timeout server 3600s" ], "custom_member_list": [ "server ss ss:3306 check inter 2000 rise 2 fall 5", "" ], "enabled": false, "frontend_tcp_extra": [ "option clitcpka", "timeout client 3600s" ], "mode": "tcp", "port": "3306" } }, "image": "kolla/ubuntu-source-mariadb:stein", "volumes": [ "/etc/kolla//mariadb/:/var/lib/kolla/config_files/:ro", "/etc/localtime:/etc/localtime:ro", "mariadb:/var/lib/mysql", "kolla_logs:/var/log/kolla/" ] } }, "mode": "0770", "owner": "root", "path": "/etc/kolla//mariadb", "size": 4096, "state": "directory", "uid": 0 } TASK [mariadb : Ensuring database backup config directory exists] ************************************************************************************ task path: /root/venv3/share/kolla-ansible/ansible/roles/mariadb/tasks/config.yml:15 skipping: [ss] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [mariadb : Copying over my.cnf for xtrabackup] ************************************************************************************************** task path: /root/venv3/share/kolla-ansible/ansible/roles/mariadb/tasks/config.yml:27 skipping: [ss] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [mariadb : Copying over config.json files for services] ***************************************************************************************** task path: /root/venv3/share/kolla-ansible/ansible/roles/mariadb/tasks/config.yml:42 ESTABLISH SSH CONNECTION FOR USER: None 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 ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/bcd6204063 ss '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' (0, b'/root\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: /etc/ssh/ssh_config line 52: Deprecated option "useroaming"\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 = 23424\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 0\r\n') ESTABLISH SSH CONNECTION FOR USER: None 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 ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/bcd6204063 ss '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1576414093.9850924-54805795920141 `" && echo ansible-tmp-1576414093.9850924-54805795920141="` echo /root/.ansible/tmp/ansible-tmp-1576414093.9850924-54805795920141 `" ) && sleep 0'"'"'' (0, b'ansible-tmp-1576414093.9850924-54805795920141=/root/.ansible/tmp/ansible-tmp-1576414093.9850924-54805795920141\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: /etc/ssh/ssh_config line 52: Deprecated option "useroaming"\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 = 23424\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 0\r\n') Using module file /root/venv3/lib/python3.6/site-packages/ansible/modules/files/stat.py Pipelining is enabled. ESTABLISH SSH CONNECTION FOR USER: None 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 ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/bcd6204063 ss '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-tpccsaxvunwcumtvejygyxlgodhsfkvw ; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"'' Escalation succeeded (0, b'\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/kolla//mariadb/config.json", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"exists": false}, "changed": false}\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: /etc/ssh/ssh_config line 52: Deprecated option "useroaming"\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 = 23424\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 0\r\n') PUT /root/.ansible/tmp/ansible-local-25776xcd4ffgz/tmpyi_4rq82/mariadb.json.j2 TO /root/.ansible/tmp/ansible-tmp-1576414093.9850924-54805795920141/source SSH: EXEC sftp -b - -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 ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/bcd6204063 '[ss]' (0, b'sftp> put /root/.ansible/tmp/ansible-local-25776xcd4ffgz/tmpyi_4rq82/mariadb.json.j2 /root/.ansible/tmp/ansible-tmp-1576414093.9850924-54805795920141/source\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: /etc/ssh/ssh_config line 52: Deprecated option "useroaming"\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 = 23424\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension "