<div dir="ltr"><div>now deployment failed on first ansible job with:</div><div><br></div><div><localhost> ssh_retry: attempt: 8, ssh return code is 255. cmd (['ssh', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=30m', '-o', 'ServerAliveInterval=5', '-o', 'ServerAliveCountMax=5', '-o', 'IdentityFile="/var/lib/mistral/.ssh/tripleo-admin-rsa"', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User="tripleo-admin"', '-o', 'ConnectTimeout=30', '-o', 'ControlPath=/var/lib/mistral/C104/ansible-ssh/ff320dd376', 'localhost', "/bin/sh -c '/usr/bin/python2 && sleep 0'"]...), pausing for 30 seconds<br>fatal: [undercloud]: UNREACHABLE! => {"changed": false, "msg": "SSH Error: data could not be sent to remote host \"localhost\". Make sure this host can be reached over ssh", "unreachable": true}<br></div><div><br></div><div>interesting, that it fails to connect to localhost and fails, I have checked and </div><div>[stack@undercloud104 ~]$ ssh -l stack localhost<br>The authenticity of host 'localhost (::1)' can't be established.<br>ECDSA key fingerprint is SHA256:0/Axj7n0cQU9eKCFisOpI2HeaOZeI05RhNa/qT/2/2A.<br>ECDSA key fingerprint is MD5:fa:e4:df:f5:8b:63:41:ae:c3:a3:2d:7d:55:2d:7f:65.<br>Are you sure you want to continue connecting (yes/no)? yes<br>Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.<br>Last login: Thu Oct 3 09:04:45 2019 from 10.120.123.5<br>[stack@undercloud104 ~]$ logout<br>Connection to localhost closed.<br>[stack@undercloud104 ~]$<br></div><div><br></div><div>Also from mistral container:</div><div>)[mistral@undercloud104 /]$ ssh -l stack -i /var/lib/mistral/.ssh/tripleo-admin-rsa localhost<br>The authenticity of host 'localhost (::1)' can't be established.<br><...></div><div>Last login: Thu Oct 3 09:05:32 2019 from ::1<br>[stack@undercloud104 ~]$ <br></div><div><br></div><div>any ideas?</div><div>If I should send this to a different group/page, please let me know.</div><div><br></div><div>Thank you</div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 2 Oct 2019 at 15:25, Ruslanas Gžibovskis <<a href="mailto:ruslanas@lpic.lt">ruslanas@lpic.lt</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">just now noticed, I do not have controller! Even I have 1 in node-info.yaml:<div>(undercloud) [stack@undercloud104 ~]$ less c104/node-info.yaml <br>parameter_defaults:<br> OvercloudControllerFlavor: control<br> OvercloudComputeFlavor: compute<br> ControllerCount: 1<br> ComputeCount: 3<br></div><div>(undercloud) [stack@undercloud104 ~]$ openstack baremetal node list -c UUID -c "Instance UUID" -c "Power State" -c "Provisioning State"<br>+--------------------------------------+---------------+-------------+--------------------+<br>| UUID | Instance UUID | Power State | Provisioning State |<br>+--------------------------------------+---------------+-------------+--------------------+<br>| 7162d96f-65c9-4f87-b9ef-982e75dc8abc | None | power off | available |<br>| db52c6da-67dd-4e21-baa0-455937822300 | None | power off | available |<br>| e5420f96-05c5-4ebb-b9a6-499b8b9b6841 | None | power off | available |<br>| dcb47213-f2fa-48a9-bf1a-2d2ebdf13784 | None | power off | available |<br>| 8bc1e8e4-9c51-44bf-81be-b1dd1d19dec4 | None | power off | available |<br>| c9687294-c336-481c-b0a3-1464d4209ba9 | None | power off | available |<br>| 2f398a0b-a73c-4bc9-affd-df62e1eaa262 | None | power off | available |<br>| b011dfb9-aa3c-4f9f-ade8-88ee96f8ae16 | None | power on | active |<br>| f2fb7e39-73f5-42da-a3d1-03f16fa6457e | None | power off | available |<br>| c75e7582-1f1f-424b-8614-2110cc0a7539 | None | power on | active |<br>| f4ed164a-56d3-4536-a665-aa626b9346b9 | None | power off | available |<br>| 44d9d25b-3e88-42d4-b17f-770b262584bb | None | power off | available |<br>| 3bccd4ae-4e1c-419f-b2b1-124af13e4fce | None | power off | available |<br>| 83857f28-8b2f-4d08-9354-0f9488867d62 | None | power off | available |<br>| 095da91b-bba9-4a49-a7b0-2af00f26f309 | None | power on | active |<br>| 9d3475c6-4cdf-4406-8df8-beaff1a1db45 | None | power off | available |<br>+--------------------------------------+---------------+-------------+--------------------+<br></div><div><br></div><div><br></div><div>I believe it is a cause, but not sure, how to cure it, try to redeploy it now.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 2 Oct 2019 at 13:16, Ruslanas Gžibovskis <<a href="mailto:ruslanas@lpic.lt" target="_blank">ruslanas@lpic.lt</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi team.</div><div><br></div><div>I am using CentOS7 + Openstack-stein repo and " OpenStack stein Trunk Tested".</div><div>yum repolist:</div><div>!base/7/x86_64<br>!centos-ceph-nautilus/7/x86_64<br>!centos-nfs-ganesha28/7/x86_64<br>!centos-openstack-stein/7/x86_64<br>!centos-qemu-ev/7/x86_64</div><div>!extras/7/x86_64<br>!rdo-trunk-stein-tested</div><div>!updates/7/x86_64<br></div><div><br></div><div>When doing deployment everything looks promising but failing with the last steps, according to error, looks like ansible version error.</div><div><br></div><div>QUESTION:</div><div>What I can check more, to debug. I am stuck now.</div><div><br></div><div><br></div><div>files used for install:</div><div>(undercloud) [stack@undercloud104 ~]$ ls -ld *<br>drwxrwxr-x. 3 stack stack 4096 Oct 2 09:43 c104<br>-rw-r--r--. 1 stack stack 4683 Sep 30 12:19 cert.2019-09-06.pem<br>-rw-rw-r--. 1 stack stack 543 Oct 1 14:21 deploy.sh<br>drwxrwxr-x. 17 stack stack 4096 Sep 30 12:58 generated-openstack-tripleo-heat-templates<br>-rw-rw-r--. 1 stack stack 8632 Sep 30 09:30 hosts.json<br>-rw-rw-r--. 1 stack stack 0 Oct 1 14:16 install-undercloud.log<br>drwxr-xr-x. 2 stack stack 4096 Sep 27 15:25 repos<br>lrwxrwxrwx. 1 stack stack 58 Sep 30 14:11 scripts -> generated-openstack-tripleo-heat-templates/network/scripts<br>-rw-------. 1 stack stack 775 Sep 30 17:42 stackrc<br>drwxrwxr-x. 2 stack stack 40 Sep 27 11:17 tripleo-config-generated-env-files<br>-rw-------. 1 stack root 9697 Sep 30 17:18 tripleo-undercloud-passwords.yaml<br>-rw-------. 1 stack root 2250 Sep 30 17:18 undercloud-passwords.conf<br>-rw-r--r--. 1 stack stack 14405 Sep 30 16:57 undercloud.conf<br>(undercloud) [stack@undercloud104 ~]$ ls -ld repos/*<br>-rw-r--r--. 1 stack stack 1664 Sep 27 15:25 repos/CentOS-Base.repo<br>-rw-r--r--. 1 stack stack 1309 Sep 27 15:25 repos/CentOS-CR.repo<br>-rw-r--r--. 1 stack stack 956 Sep 27 15:25 repos/CentOS-Ceph-Nautilus.repo<br>-rw-r--r--. 1 stack stack 649 Sep 27 15:25 repos/CentOS-Debuginfo.repo<br>-rw-r--r--. 1 stack stack 630 Sep 27 15:25 repos/CentOS-Media.repo<br>-rw-r--r--. 1 stack stack 715 Sep 27 15:25 repos/CentOS-NFS-Ganesha-28.repo<br>-rw-r--r--. 1 stack stack 1290 Sep 27 15:25 repos/CentOS-OpenStack-stein.repo<br>-rw-r--r--. 1 stack stack 612 Sep 27 15:25 repos/CentOS-QEMU-EV.repo<br>-rw-r--r--. 1 stack stack 1331 Sep 27 15:25 repos/CentOS-Sources.repo<br>-rw-r--r--. 1 stack stack 353 Sep 27 15:25 repos/CentOS-Storage-common.repo<br>-rw-r--r--. 1 stack stack 6639 Sep 27 15:25 repos/CentOS-Vault.repo<br>-rw-r--r--. 1 stack stack 314 Sep 27 15:25 repos/CentOS-fasttrack.repo<br>(undercloud) [stack@undercloud104 ~]$<br></div><div><br></div><div>Last lines in output were:</div><div>Removing short term keys locally<br>Enabling ssh admin - COMPLETE.<br>Waiting for messages on queue 'tripleo' with no timeout.<br>Config downloaded at /var/lib/mistral/C104<br>The action raised an exception [action_ex_id=49561c17-928d-4d66-a2ad-466b57c13253, action_cls='<class 'mistral.actions.action_factory.AnsibleGenerateInventoryAction'>', attributes='{}', params='{u'work_dir': u'/var/lib/mistral/C104', u'ansible_python_interpreter': None, u'ansible_ssh_user': u'tripleo-admin', u'undercloud_key_file': u'/var/lib/mistral/.ssh/tripleo-admin-rsa', u'plan_name': u'C104', u'ssh_network': u'ctlplane'}']<br> list index out of range<br>Overcloud configuration failed.<br>(undercloud) [stack@undercloud104 ~]$<br></div><div><br></div><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div>Ruslanas Gžibovskis<br>+370 6030 7030<br></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div>Ruslanas Gžibovskis<br>+370 6030 7030<br></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Ruslanas Gžibovskis<br>+370 6030 7030<br></div></div></div></div>