<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0" bgcolor="#FFFFFF">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Yeah, if you want to use any openstack commands for the containerized/application side you must NOT source the /etc/platform/openrc file at all from the shell, as the expoted variables
will interfere with the settings saved in the clouds.yaml file.<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF362556" style="direction: ltr;"><font size="2" face="Tahoma" color="#000000"><b>From:</b> Andy Ning [andy.ning@windriver.com]<br>
<b>Sent:</b> Wednesday, July 31, 2019 6:06 PM<br>
<b>To:</b> starlingx-discuss@lists.starlingx.io<br>
<b>Subject:</b> Re: [Starlingx-discuss] StarlingX R2.0 Issues against Green Build dated 17Th July 2019<br>
</font><br>
</div>
<div></div>
<div>
<p>So if you source /etc/platform/openrc alread, and then export OS_CLOUD=openstack_helm, openstack will try to talk to the keystone pointed to by OS_AUTH_URL and the command will fail. Using OS_CLOUD=openstack_helm before source /etc/platform/openrc, openstack
command work for me</p>
<p>Andy<br>
</p>
<br>
<div class="moz-cite-prefix">On 2019-07-31 10:49 AM, Andy Ning wrote:<br>
</div>
<blockquote type="cite">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 2019-07-31 10:45 AM, Andy Ning wrote:<br>
</div>
<blockquote type="cite">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 2019-07-31 10:40 AM, Gauld, James wrote:<br>
</div>
<blockquote type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span>Addendum,</span></p>
<p class="MsoNormal"><span>If I create a modified version of /etc/platform/openrc, and change the following line OS_AUTH_URL, source that file, I can successfully run openstack commands from that shell:</span></p>
<p class="MsoNormal"><span>export OS_AUTH_URL=<a class="moz-txt-link-freetext" href="http://keystone.openstack.svc.cluster.local/v3" target="_blank" rel="noopener noreferrer">http://keystone.openstack.svc.cluster.local/v3</a></span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>Something not working for me with the /etc/openstack/clouds.yaml, and horizon openstack GUI.</span></p>
</div>
</blockquote>
<br>
I checked a lab with load BUILD_ID="20190729T233000Z", and I don't see this file exist. Are you sure it exist in your lab?<br>
<br>
</blockquote>
<br>
Sorry, I realized that you have to create such a file ... <br>
<br>
<br>
<blockquote type="cite">Andy<br>
<br>
<blockquote type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span></span></p>
<p class="MsoNormal"><span>-jim</span></p>
<p class="MsoNormal"><span> </span></p>
<div>
<div>
<p class="MsoNormal"><b><span>From:</span></b><span> Gauld, James <br>
<b>Sent:</b> July-31-19 9:55 AM<br>
<b>To:</b> Bailey, Henry Albert (Al); Anirudh Gupta; <a class="moz-txt-link-abbreviated" href="mailto:starlingx-discuss@lists.starlingx.io" target="_blank" rel="noopener noreferrer">
starlingx-discuss@lists.starlingx.io</a>; <a class="moz-txt-link-abbreviated" href="mailto:starlingx-announce@lists.starlingx.io" target="_blank" rel="noopener noreferrer">
starlingx-announce@lists.starlingx.io</a><br>
<b>Subject:</b> RE: [Starlingx-discuss] StarlingX R2.0 Issues against Green Build dated 17Th July 2019</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span>Is anyone having problems with openstack commands on recent build?</span></p>
<p class="MsoNormal"><span>I installed a build from late last night, I did "system application-apply stx-openstack" and that was successful, and everything seems running. I let it sit for several hours. I created the clouds.yaml as per usual old Wiki. Then
cannot continue with the "Verify the cluster endpoints" step. I cannot do "openstack endpoint list".</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>At first I was getting:</span></p>
<p class="MsoNormal"><span>controller-0:~$ openstack endpoint list</span></p>
<p class="MsoNormal"><span>The request you have made requires authentication. (HTTP 401) (Request-ID: req-2e791341-d5e0-4064-9962-eeae6115121d)</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>Now I am getting :</span></p>
<p class="MsoNormal"><span>controller-0:~# export OS_CLOUD=openstack_helm</span></p>
<p class="MsoNormal"><span>controller-0:~# openstack endpoint list</span></p>
<p class="MsoNormal"><span>The account is locked for user: 76aca3c3ce404f28a042b366cc2434cd. (HTTP 401) (Request-ID: req-c3e92a3d-b9fa-4cce-92bb-a84d79ed79b0)</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>And logging out with fresh environment:</span></p>
<p class="MsoNormal"><span>controller-0:~$ export OS_CLOUD=openstack_helm</span></p>
<p class="MsoNormal"><span>controller-0:~$ openstack endpoint list</span></p>
<p class="MsoNormal"><span>The account is locked for user: 76aca3c3ce404f28a042b366cc2434cd. (HTTP 401) (Request-ID: req-ff102b9d-9afa-4fbc-b5c0-ec2fd46846bc)</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>The horizon openstack GUI won't allow me to login, message is "invalid credentials".</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>-jim</span></p>
<p class="MsoNormal"><span> </span></p>
<div>
<div>
<p class="MsoNormal"><b><span>From:</span></b><span> Bailey, Henry Albert (Al) [<a class="moz-txt-link-freetext" href="mailto:Al.Bailey@windriver.com" target="_blank" rel="noopener noreferrer">mailto:Al.Bailey@windriver.com</a>]
<br>
<b>Sent:</b> July-22-19 10:52 AM<br>
<b>To:</b> Anirudh Gupta; <a class="moz-txt-link-abbreviated" href="mailto:starlingx-discuss@lists.starlingx.io" target="_blank" rel="noopener noreferrer">
starlingx-discuss@lists.starlingx.io</a>; <a class="moz-txt-link-abbreviated" href="mailto:starlingx-announce@lists.starlingx.io" target="_blank" rel="noopener noreferrer">
starlingx-announce@lists.starlingx.io</a><br>
<b>Subject:</b> Re: [Starlingx-discuss] StarlingX R2.0 Issues against Green Build dated 17Th July 2019</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span>In order to see the endpoints for nova, neutron, etc.. you need /etc/openstack/clouds.yaml file to be setup.</span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>The steps you need are referenced in this (deprecated) document.
</span></p>
<p class="MsoNormal"><a href="https://wiki.openstack.org/wiki/StarlingX/Containers/Installation#Verify_the_cluster_endpoints" target="_blank" rel="noopener noreferrer">https://wiki.openstack.org/wiki/StarlingX/Containers/Installation#Verify_the_cluster_endpoints</a><span></span></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span>It will also show the appropriate commands for the provider/tenant networking setup, until the official doc is synced with that wiki.</span></p>
<p class="MsoNormal"><span>Al</span></p>
<p class="MsoNormal"><span> </span></p>
<div>
<div>
<p class="MsoNormal"><b><span>From:</span></b><span> Anirudh Gupta [<a class="moz-txt-link-freetext" href="mailto:Anirudh.Gupta@hsc.com" target="_blank" rel="noopener noreferrer">mailto:Anirudh.Gupta@hsc.com</a>]
<br>
<b>Sent:</b> Friday, July 19, 2019 12:13 AM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:starlingx-discuss@lists.starlingx.io" target="_blank" rel="noopener noreferrer">
starlingx-discuss@lists.starlingx.io</a>; <a class="moz-txt-link-abbreviated" href="mailto:starlingx-announce@lists.starlingx.io" target="_blank" rel="noopener noreferrer">
starlingx-announce@lists.starlingx.io</a><br>
<b>Subject:</b> [Starlingx-discuss] StarlingX R2.0 Issues against Green Build dated 17Th July 2019</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span lang="EN-IN">Hi Team,</span></p>
<p class="MsoNormal"><span lang="EN-IN"> </span></p>
<p class="MsoNormal"><span lang="EN-IN">I am following the below document to set up AIO-Simplex R2.0 with the green build dated 17-July.</span></p>
<p class="MsoNormal"><span lang="EN-IN"> </span></p>
<p class="MsoNormal"><span lang="EN-IN"><a href="https://docs.starlingx.io/deploy_install_guides/upcoming/aio_simplex.html" target="_blank" rel="noopener noreferrer">https://docs.starlingx.io/deploy_install_guides/upcoming/aio_simplex.html</a></span></p>
<p class="MsoNormal"><span lang="EN-IN"> </span></p>
<p class="MsoNormal"><span lang="EN-IN"> </span></p>
<p class="MsoNormal"><span lang="EN-IN">I have successfully verified the endpoints, using the command</span></p>
<p class="MsoNormal"><span lang="EN-IN"> <i>openstack endpoint list</i></span></p>
<p class="MsoNormal"><span lang="EN-IN"> </span></p>
<p class="MsoNormal"><span lang="EN-IN"> </span></p>
<p class="MsoNormal"><b><span lang="EN-IN">Issue 1 :- </span></b></p>
<p class="MsoNormal"><span lang="EN-IN"> </span></p>
<p class="MsoNormal"><span lang="EN-IN">The endpoint list contains endpoint of the services fm,patching,vim,smapi,keystone,barbacian and sysinv.</span></p>
<p class="MsoNormal"><span lang="EN-IN"> </span></p>
<p class="MsoNormal"><span lang="EN-IN">The other basic openstack services are visible if I run</span></p>
<p class="MsoNormal"><i><span lang="EN-IN">kubectl get services -n openstack</span></i></p>
<p class="MsoNormal"><span lang="EN-IN"> </span></p>
<p class="MsoNormal"><span lang="EN-IN">But, there are no endpoints of nova,neutron,glance and all other openstack services?</span></p>
<p class="MsoNormal"><span lang="EN-IN"> </span></p>
<p class="MsoNormal"><b><span lang="EN-IN">Issue 2 :-</span></b></p>
<p class="MsoNormal"><span lang="EN-IN"> </span></p>
<p class="MsoNormal"><span lang="EN-IN">I am unable to proceed further with the set up
<a href="https://docs.starlingx.io/deploy_install_guides/upcoming/aio_simplex.html#id14" target="_blank" rel="noopener noreferrer">
Provider/tenant networking setup</a><a href="https://docs.starlingx.io/deploy_install_guides/upcoming/aio_simplex.html#provider-tenant-networking-setup" title="Permalink to this headline" target="_blank" rel="noopener noreferrer">¶</a></span></p>
<p class="MsoNormal"><span lang="EN-IN"> </span></p>
<table class="MsoNormalTable">
<tbody>
<tr>
<td width="623">
<p class="MsoNormal">[root@controller-0 sysadmin(keystone_admin)]# neutron providernet-create ${PHYSNET0} --type vlan</p>
<p class="MsoNormal">neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.</p>
<p class="MsoNormal">Unknown command [u'providernet-create', u'--type', u'vlan']</p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span lang="EN-IN"> </span></p>
<p class="MsoNormal"><span lang="EN-IN">What could be the solution to proceed further?</span></p>
<p class="MsoNormal"><span lang="EN-IN"> </span></p>
<p class="MsoNormal"><span lang="EN-IN">Regards</span></p>
<p class="MsoNormal"><span lang="EN-IN">Anirudh Gupta</span></p>
<p class="MsoNormal"><span lang="EN-IN"> </span></p>
<p class="MsoNormal"><span lang="EN-IN"> </span></p>
<p class="MsoNormal"><span lang="EN-IN">DISCLAIMER: This electronic message and all of its contents, contains information which is privileged, confidential or otherwise protected from disclosure. The information contained in this electronic mail transmission
is intended for use only by the individual or entity to which it is addressed. If you are not the intended recipient or may have received this electronic mail transmission in error, please notify the sender immediately and delete / destroy all copies of this
electronic mail transmission without disclosing, copying, distributing, forwarding, printing or retaining any part of it. Hughes Systique accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including
damage from virus. </span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader" target="_blank" rel="noopener noreferrer">
</fieldset> <br>
<pre>_______________________________________________
Starlingx-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Starlingx-discuss@lists.starlingx.io" target="_blank" rel="noopener noreferrer">Starlingx-discuss@lists.starlingx.io</a>
<a class="moz-txt-link-freetext" href="http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss" target="_blank" rel="noopener noreferrer">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Andy Ning
Cube: 3071
Tel: 613-9631408 (int: 4408)
Skype: andy.ning.wr</pre>
<br>
<fieldset class="mimeAttachmentHeader" target="_blank" rel="noopener noreferrer">
</fieldset> <br>
<pre>_______________________________________________
Starlingx-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Starlingx-discuss@lists.starlingx.io" target="_blank" rel="noopener noreferrer">Starlingx-discuss@lists.starlingx.io</a>
<a class="moz-txt-link-freetext" href="http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss" target="_blank" rel="noopener noreferrer">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Andy Ning
Cube: 3071
Tel: 613-9631408 (int: 4408)
Skype: andy.ning.wr</pre>
<br>
<fieldset class="mimeAttachmentHeader" target="_blank" rel="noopener noreferrer">
</fieldset> <br>
<pre>_______________________________________________
Starlingx-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Starlingx-discuss@lists.starlingx.io" target="_blank" rel="noopener noreferrer">Starlingx-discuss@lists.starlingx.io</a>
<a class="moz-txt-link-freetext" href="http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss" target="_blank" rel="noopener noreferrer">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Andy Ning
Cube: 3071
Tel: 613-9631408 (int: 4408)
Skype: andy.ning.wr</pre>
</div>
</div>
</div>
</body>
</html>