<div style="color:;font: 10pt Helvetica Neue;">
<div><font size="2"><font face="Arial, Helvetica, sans-serif">Hi Experts, <br>
</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif"><br>
</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif">I am facing on below issues while following guide of </font></font><font size="2"><font face="Arial, Helvetica, sans-serif">Tripleo Standalone Deployment: </font></font><br>
<font size="2"><font face="Arial, Helvetica, sans-serif"><font size="2"><font face="Arial, Helvetica, sans-serif">https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/deployment/standalone.html</font></font></font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif"><br>
</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif"><span style="font-weight: bold;">Issue 1) </span>Using custom domain will cause vm instantiation error after machine reboot<br>
<br>
<br>
Description<br>
===========<br>
After Openstack installed, it's adding centos82.localdomain on /etc/hosts and causing OVN Southbound (ovn-sbctl show) using this centos82.localdomain. But after the machine rebooted, "ovn-sbctl show" is showing the correct fqdn: centos82.domain.tld, and it is causing VM instantiate error (Refusing to bind port <UUID> due to no OVN chassis for host: centos82.localdomain).<br>
<br>
<br>
Steps to reproduce<br>
==================<br>
Base installation: https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/deployment/standalone.html<br>
Tested on Centos 8.2 latest, tested several times on Train and Ussuri. <br>
100% reproduceable. <br>
<br>
<br>
Set the custom FQDN hostname<br>
<br>
<span style="font-style: italic;">hostnamectl set-hostname centos82.domain.tld<br>
hostnamectl set-hostname centos82.domain.tld --transient    (also tested with or without this line)</span><br>
<br>
<span style="font-style: italic;">cat /etc/hosts<br>
127.0.0.1       centos82.domain.tld localhost localhost.localdomain localhost4 localhost4.localdomain4<br>
::1             centos82.domain.tld localhost localhost.localdomain localhost6 localhost6.localdomain6<br>
192.168.156.82  centos82.domain.tld</span><br>
<br>
also tested with<br>
<br>
<span style="font-style: italic;">hostnamectl set-hostname centos82.domain.tld</span></font></font><br>
<font size="2"><font face="Arial, Helvetica, sans-serif"><span style="font-style: italic;"><font size="2"><font face="Arial, Helvetica, sans-serif"><span style="font-style: italic;">hostnamectl set-hostname centos82.domain.tld --transient    (also tested with or without this line)</span></font></font></span></font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif"><span style="font-style: italic;"><br>
cat /etc/hosts<br>
127.0.0.1       localhost localhost.localdomain localhost4 localhost4.localdomain4<br>
::1             localhost localhost.localdomain localhost6 localhost6.localdomain6<br>
192.168.156.82  centos82.domain.tld centos82</span><br>
<br>
also tested with<br>
<br>
hostnamectl set-hostname centos82.domain.tld</font></font><br>
<font size="2"><font face="Arial, Helvetica, sans-serif"><font size="2"><font face="Arial, Helvetica, sans-serif"><span style="font-style: italic;">hostnamectl set-hostname centos82.domain.tld --transient    (also tested with or without this line)</span></font></font></font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif"><br>
<span style="font-style: italic;">cat /etc/hosts</span><br>
<span style="font-style: italic;">127.0.0.1       localhost localhost.localdomain localhost4 localhost4.localdomain4<br>
::1             localhost localhost.localdomain localhost6 localhost6.localdomain6<br>
192.168.156.82  centos82.domain.tld</span><br>
<br>
<br>
Part of </font></font><font size="2"><font face="Arial, Helvetica, sans-serif">standalone_parameters.yaml for domain: <br>
</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif">  # domain name used by the host<br>
<span style="font-style: italic;">  NeutronDnsDomain: domain.tld        </span><br>
<br>
<br>
<br>
Follow the guide to install (without ceph)<br>
<br>
<font size="1">(<span style="font-weight: bold;">Issue 1B</span>) with ceph was having another error, just tested once on Train:<br>
<span style="font-style: italic;">fatal: [undercloud]: FAILED! => {<br>
    "ceph_ansible_std_out_err": [<br>
        "Using /home/stack/standalone-ansible-huva1ccw/ansible.cfg as config file",<br>
        "ERROR! the playbook: /usr/share/ceph-ansible/site-container.yml.sample could not be found"<br>
    ],<br>
    "failed_when_result": true<br>
}</span></font><br>
<br>
<br>
<br>
<br>
All will be installed successfully, and able to instantiate VMs and these VMs are able to ping to each other. <br>
<br>
Then do "reboot" on this standalone host/server. <br>
<br>
Do instantiate a new VM, and then this new VM status will be ERROR. <br>
<br>
On Neutron logs: <br>
<span style="font-weight: bold;"><span style="font-style: italic;">Refusing to bind port <UUID> due to no OVN chassis for host: centos82.localdomain bind_port</span></span><br>
<br>
</font></font></div>

<div><br>
</div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif"><br>
</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif">Found the cause on OVN: <br>
<br>
Previous after installed (before reboot)<br>
<br>
[root@centos82 /]# <span style="font-style: italic;">ovn-sbctl show<br>
Chassis "<UUID>"<br>
    hostname: <span style="font-weight: bold;">centos82.localdomain</span><br>
    Encap geneve<br>
        ip: "192.168.156.82"<br>
        options: {csum="true"}</span><br>
[root@centos82 /]# <br>
<br>
<br>
After reboot<br>
<br>
[root@centos82 /]# <span style="font-style: italic;">ovn-sbctl show<br>
Chassis "<UUID>"<br>
    hostname: <span style="font-weight: bold;">centos82.domain.tld</span><br>
    Encap geneve<br>
        ip: "192.168.156.82"<br>
        options: {csum="true"}</span><br>
[root@centos82 /]# <br>
<br>
<br>
So that the OVN seems could not bind the port to different hostname (that already changed). <br>
<br>
<br>
Environment<br>
===========<br>
1. Exact version of OpenStack you are running: Any, tested Train and Ussuri<br>
2. Centos 8.2 latest update<br>
Others (without ceph): https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/deployment/standalone.html<br>
<br>
<br>
<br>
Workaround<br>
==========<br>
Don't use custom domain, instead use "localdomain" as on the document<br>
<br>
<span style="font-style: italic;">hostnamectl set-hostname centos82.localdomain<br>
<br>
[root@centos82 ~]# cat /etc/hosts<br>
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4<br>
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6<br>
192.168.156.82 centos82.localdomain centos82</span><br>
<br>
Deploy, test instantiate, reboot, test instantiate, and working perfectly fine. <br>
<br>
<br>
Question: For custom domain, where did I do wrongly? Is it expected or kind of bugs?<br>
</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif"><br>
</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif"><br>
</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif"><br>
</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif"><br>
</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif"><br>
</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif"><span style="font-weight: bold;">Issue 2</span>) This is not Openstack issue, perhaps bugs or perhaps my issue, but it is still related with the topic on Tripleo Standalone Deployment.<br>
</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif"><br>
</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif">On the same Standalone Deployment Guide (https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/deployment/standalone.html)<br>
</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif">with Centos 7.6 or 7.7 with "python-tripleoclient" and this has dependency of Docker 1.13.1, encounters kind of Dns querying issue which I posted here: https://serverfault.com/questions/1032816/centos-7-and-docker-1-13-1-error-timeout-exceeded-while-awaiting-headers-no<br>
</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif">Perhaps if anybody knows how to resolve this.<br>
</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif">Also, just wondering is there any way for "</font></font><font size="2"><font face="Arial, Helvetica, sans-serif"><font size="2"><font face="Arial, Helvetica, sans-serif">python-tripleoclient" to use newer docker-ce 1.19.x instead of docker 1.13.1?<br>
</font></font></font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif"><br>
</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif"><br>
</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif"><br>
</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif"><br>
</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif">Thanks</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif">Best regards, <br>
</font></font></div>

<div><font size="2"><font face="Arial, Helvetica, sans-serif">TY<br>
</font></font></div>

<div><br>
</div>
</div>