Skip to content

Instantly share code, notes, and snippets.

@packetninja
Created September 18, 2016 12:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save packetninja/74c4aba30058450be5e35c5a6b4e7cf8 to your computer and use it in GitHub Desktop.
Save packetninja/74c4aba30058450be5e35c5a6b4e7cf8 to your computer and use it in GitHub Desktop.
TASK: [galera_server | Check major galera install version] ********************
<192.168.0.156> ESTABLISH CONNECTION FOR USER: root
<192.168.0.156> REMOTE_MODULE command dpkg -s mariadb-galera-server-10.0
<192.168.0.156> EXEC ssh -C -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=120 192.168.0.156 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'
failed: [infra1_galera_container-91e35083] => {"changed": true, "cmd": ["dpkg", "-s", "mariadb-galera-server-10.0"], "delta": "0:00:00.039713", "end": "2016-09-18 11:25:26.160434", "rc": 1, "start": "2016-09-18 11:25:26.120721", "warnings": []}
stderr: dpkg-query: package 'mariadb-galera-server-10.0' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
...ignoring
TASK: [galera_server | Check for any galera install version] ******************
<192.168.0.156> ESTABLISH CONNECTION FOR USER: root
<192.168.0.156> REMOTE_MODULE command dpkg --get-selections | grep mariadb-galera-server #USE_SHELL
<192.168.0.156> EXEC ssh -C -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=120 192.168.0.156 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'
failed: [infra1_galera_container-91e35083] => {"changed": true, "cmd": "dpkg --get-selections | grep mariadb-galera-server", "delta": "0:00:00.031437", "end": "2016-09-18 11:25:26.400682", "rc": 1, "start": "2016-09-18 11:25:26.369245", "warnings": []}
...ignoring
TASK: [os_nova | Create DB for service] ***************************************
skipping: [infra1_nova_api_metadata_container-5dddbafb]
skipping: [infra1_nova_console_container-69b3d89a]
<192.168.0.179> ESTABLISH CONNECTION FOR USER: root
<192.168.0.179> REMOTE_MODULE mysql_db name=nova state=present login_password=VALUE_HIDDEN login_host=172.30.10.10 login_user=root
<192.168.0.179> EXEC ssh -C -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=120 192.168.0.179 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'
skipping: [infra1_nova_conductor_container-6d7748f4]
skipping: [infra1_nova_scheduler_container-b38cf5a2]
skipping: [infra1_nova_cert_container-7e9816f8]
skipping: [compute2]
skipping: [compute1]
failed: [infra1_nova_api_os_compute_container-ddc0ca9a] => {"failed": true}
msg: unable to connect, check login credentials (login_user, and login_password, which can be defined in ~/.my.cnf), check that mysql socket exists and mysql server is running
TASK: [os_neutron | Create DB for service] ************************************
skipping: [infra1_neutron_agents_container-feefdac8]
<192.168.0.227> ESTABLISH CONNECTION FOR USER: root
skipping: [compute1]
<192.168.0.227> REMOTE_MODULE mysql_db name=neutron state=present login_password=VALUE_HIDDEN login_host=172.30.10.10 login_user=root
<192.168.0.227> EXEC ssh -C -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=120 192.168.0.227 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'
skipping: [compute2]
failed: [infra1_neutron_server_container-2a7e3e65] => {"failed": true}
msg: unable to connect, check login credentials (login_user, and login_password, which can be defined in ~/.my.cnf), check that mysql socket exists and mysql server is running
FATAL: all hosts have already failed -- aborting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment