<div dir="ltr"><br clear="all"><div>Hi Team,</div><div>we were trying to deploy OpenStack wallaby, and we see that 4 out of 5 runs deployment is getting failed for mentioned below reasons:</div><div><b>Error:</b></div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><span style="box-sizing:border-box;color:rgb(191,191,191);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Web",sans-serif;font-size:14px;background-color:rgb(15,23,61)">2022-08-25 17:34:29.036371 | 5254004d-021e-d4db-067d-000000007b1a |<span style="box-sizing:border-box">       </span>TASK | Create identity internal endpoint</span><br style="box-sizing:border-box;color:rgb(191,191,191);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Web",sans-serif;font-size:14px;background-color:rgb(15,23,61)"><span style="box-sizing:border-box;color:rgb(191,191,191);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Web",sans-serif;font-size:14px;background-color:rgb(15,23,61)">2022-08-25 17:34:31.176105 | 5254004d-021e-d4db-067d-000000007b1a |<span style="box-sizing:border-box">      </span>FATAL | Create identity internal endpoint | undercloud | error={"changed": false, "extra_data": {"data": null, "details": "The request you have made requires authentication.", "response": "{\"error\":{\"code\":401,\"message\":\"The request you have made requires authentication.\",\"title\":\"Unauthorized\"}<span style="box-sizing:border-box">}</span>\n"}, "msg": "Failed to list services: Client Error for url: 

<a href="https://overcloud-public.myhsc.com:13000/v3/services" target="_blank" style="font-family:Arial,Helvetica,sans-serif;font-size:small;background-color:rgb(255,255,255)">overcloud-public.myhsc.com</a> <a aria-label="Link https://overcloud-public.myhsc.com:13000/v3/services" title="https://overcloud-public.myhsc.com:13000/v3/services" href="https://overcloud-public.myhsc.com:13000/v3/services" rel="noopener noreferrer" target="_blank" style="color:rgb(166,168,216);box-sizing:border-box;background-color:transparent;outline-style:none;text-decoration-line:none">:13000/v3/services</a>, The request you have made requires authentication."}</span><br></div></blockquote><font color="#bfbfbf" face="-apple-system, BlinkMacSystemFont, Segoe UI, system-ui, Apple Color Emoji, Segoe UI Emoji, Segoe UI Web, sans-serif"><span style="font-size:14px"><br></span></font></div><div><div>Debug logs:</div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>pending results....<br>The full traceback is:<br>  File "/tmp/ansible_openstack.cloud.endpoint_payload_qhlqb_qw/ansible_openstack.cloud.endpoint_payload.zip/ansible_collections/open          stack/cloud/plugins/module_utils/openstack.py", line 407, in __call__<br>    results = self.run()<br>  File "/tmp/ansible_openstack.cloud.endpoint_payload_qhlqb_qw/ansible_openstack.cloud.endpoint_payload.zip/ansible_collections/open          stack/cloud/plugins/modules/endpoint.py", line 150, in run<br>  File "/usr/lib/python3.6/site-packages/openstack/cloud/_identity.py", line 537, in get_service<br>    return _utils._get_entity(self, 'service', name_or_id, filters)<br>  File "/usr/lib/python3.6/site-packages/openstack/cloud/_utils.py", line 197, in _get_entity<br>    entities = search(name_or_id, filters, **kwargs)<br>  File "/usr/lib/python3.6/site-packages/openstack/cloud/_identity.py", line 517, in search_services<br>    services = self.list_services()<br>  File "/usr/lib/python3.6/site-packages/openstack/cloud/_identity.py", line 501, in list_services<br>    error_message="Failed to list services")<br>  File "/usr/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 395, in get<br>    return self.request(url, 'GET', **kwargs)<br>  File "/usr/lib/python3.6/site-packages/openstack/proxy.py", line 668, in request<br>    return _json_response(response, error_message=error_message)<br>  File "/usr/lib/python3.6/site-packages/openstack/proxy.py", line 646, in _json_response<br>    exceptions.raise_from_response(response, error_message=error_message)<br>  File "/usr/lib/python3.6/site-packages/openstack/exceptions.py", line 238, in raise_from_response<br>    http_status=http_status, request_id=request_id<br>2022-08-25 19:38:03.201899 | 5254004d-021e-7578-cd65-000000007ad6 |      FATAL | Create identity internal endpoint | undercloud | er          ror={<span class="gmail-im" style="color:rgb(80,0,80)"><br>    "changed": false,<br>    "extra_data": {<br>        "data": null,<br>        "details": "The request you have made requires authentication.",<br>        "response": "{\"error\":{\"code\":401,\"message\":\"The request you have made requires authentication.\",\"title\":\"Unautho          rized\"}}\n"<br>    },<br></span>    "invocation": {<br>        "module_args": {<br>            "api_timeout": null,<br>            "auth": null,<br>            "auth_type": null,<br>            "availability_zone": null,<br>            "ca_cert": null,<br>            "client_cert": null,<br>            "client_key": null,<br>            "enabled": true,<br>            "endpoint_interface": "internal",<br>            "interface": "public",<br>            "region": "regionOne",<br>            "region_name": null,<br>            "service": "keystone",<br>            "state": "present",<br>            "timeout": 180,<br>            "url": "http://[fd00:fd00:fd00:2000::368]:5000",<br>            "validate_certs": null,<br>            "wait": true<br>        }<br>    },<br>    "msg": "Failed to list services: Client Error for url: <a href="https://overcloud-public.myhsc.com:13000/v3/services" target="_blank">https://overcloud-public.myhsc.com:13000/v3/services</a>, The request you have made requires authentication."<br>}</div><div><br></div></blockquote>DeployCommand that was used:</div></div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div> openstack overcloud deploy --templates \<br>    -r /home/stack/templates/roles_data.yaml \<br>    -n /home/stack/templates/custom_network_data.yaml \<br>    -e /usr/share/openstack-tripleo-heat-templates/environments/services/ironic-conductor.yaml \<br>    -e /usr/share/openstack-tripleo-heat-templates/environments/services/ironic-inspector.yaml \<br>    -e /usr/share/openstack-tripleo-heat-templates/environments/services/ironic-overcloud.yaml \<br>    -e /usr/share/openstack-tripleo-heat-templates/environments/services/ptp.yaml \<br>    -e /usr/share/openstack-tripleo-heat-templates/environments/ssl/tls-endpoints-public-dns.yaml \<br>    -e /usr/share/openstack-tripleo-heat-templates/environments/ssl/inject-trust-anchor-hiera.yaml \<br>    -e /usr/share/openstack-tripleo-heat-templates/environments/external-ceph.yaml \<br>    -e /usr/share/openstack-tripleo-heat-templates/environments/docker-ha.yaml \<br>    -e /usr/share/openstack-tripleo-heat-templates/environments/podman.yaml \<br>    -e /home/stack/templates/overcloud-baremetal-deployed.yaml \<br>    -e /home/stack/templates/networks-deployed-environment.yaml \<br>    -e /home/stack/templates/vip-deployed-environment.yaml \<br>    -e /home/stack/templates/environment.yaml \<br>    -e /home/stack/templates/ironic-config.yaml \<br>    -e /home/stack/templates/enable-tls.yaml \<br>    -e /home/stack/templates/cloudname.yaml \<br>    -e /home/stack/templates/my-additional-ceph-settings.yaml \<br>    -e /home/stack/containers-prepare-parameter.yaml<br></div><div><br></div></blockquote>[Issue]</div><div>we are seeing the deployment is working perfectly once and the same setting is not working perfectly in the second run. </div><div>the failure rate is high. </div><div><br></div><div>what can be the reasons behind this? </div><div><br></div><div><b><u>Note:</u></b></div><div>Before this, we were deploying with DNS and SSL and it was perfectly working fine in multiple reruns.</div><div>But after SSL we have seen this random failure. </div><div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr">~ Lokendra<br></div><div>skype: lokendrarathour</div><div dir="ltr"><img width="200" height="41" src="https://ci3.googleusercontent.com/mail-sig/AIorK4zyd6LpJOGqagxmzUlY59eMQx0-FN0t8HtjdtGE7VLZSKIxBUz3bI7z-MBqbgDVg1-XbtvHgN_ATJ10N6bonyO-JSGTtl5s_mNSbDoXBg"><br></div><div dir="ltr"><br></div></div></div></div></div>