<div dir="ltr">Dear Saul,<div><br></div><div>follow this document:</div><div><a href="https://docs.starlingx.io/deploy_install_guides/current/access_starlingx_openstack.html">https://docs.starlingx.io/deploy_install_guides/current/access_starlingx_openstack.html</a><br></div><div><br></div><div><br></div><div><em style="box-sizing:border-box;color:rgb(51,51,51);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px">Do not use</em><span style="color:rgb(51,51,51);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px"> source /etc/platform/openrc .</span> <br></div><div><br></div><div><br></div><div>example:</div><div><br></div><div>controller-0:~$ export OS_CLOUD=openstack_helm<br></div><div>controller-0:~$ openstack flavor create --ram 2048 --disk 20 --vcpus 1 --public --id auto test.small<br>+----------------------------+--------------------------------------+<br>| Field | Value |<br>+----------------------------+--------------------------------------+<br>| OS-FLV-DISABLED:disabled | False |<br>| OS-FLV-EXT-DATA:ephemeral | 0 |<br>| disk | 20 |<br>| id | 2987b202-e340-4a0a-a234-36612fc4873a |<br>| name | test.small |<br>| os-flavor-access:is_public | True |<br>| properties | |<br>| ram | 2048 |<br>| rxtx_factor | 1.0 |<br>| swap | |<br>| vcpus | 1 |<br>+----------------------------+--------------------------------------+<br>controller-0:~$<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Saul Wold <<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a>> 於 2019年9月17日 週二 上午9:44寫道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On 9/16/19 5:58 PM, Sun, Austin wrote:<br>
> Hi Saul:<br>
> I think your env is still in platform keystone env, not Openstack keystone env yet.<br>
> 1) could you check 'system application-list' if stx-openstack application has been applied ?<br>
Yes, stx-openstack is fully applied.<br>
<br>
> 2) check "/etc/openstack/clouds.yaml" existing or not ?<br>
Yes, there is a clouds.yaml file.<br>
<br>
> 3) if 1) and 2) are ok, you can 'sudo su' to switch root user , 'export OS_CLOUD=openstack_helm", and 'openstack flavor list' or create flavor.<br>
><br>
Yes, I was able to do this as root user, I thought everything could be <br>
done as the sysadmin user with no sudo or root requirements.<br>
<br>
Am I missing some setup still?<br>
<br>
Sau!<br>
<br>
> Thanks.<br>
> BR<br>
> Austin Sun.<br>
> <br>
> -----Original Message-----<br>
> From: Saul Wold [mailto:<a href="mailto:sgw@linux.intel.com" target="_blank">sgw@linux.intel.com</a>]<br>
> Sent: Tuesday, September 17, 2019 5:58 AM<br>
> To: <a href="mailto:starlingx-discuss@lists.starlingx.io" target="_blank">starlingx-discuss@lists.starlingx.io</a><br>
> Subject: Re: [Starlingx-discuss] Creating flavor fails<br>
> <br>
> <br>
> <br>
> <br>
> On 9/16/19 2:48 PM, Dean Troyer wrote:<br>
>> On Mon, Sep 16, 2019 at 4:43 PM Saul Wold <<a href="mailto:sgw@linux.intel.com" target="_blank">sgw@linux.intel.com</a>> wrote:<br>
>>> internal endpoint for compute service in RegionOne region not found<br>
>><br>
>> What endpoints do you have for Compute in your service catalog? Check with:<br>
>><br>
>> openstack catalog show compute<br>
>><br>
>> I am not sure why it is trying to use an internal endpoint there, that<br>
>> may not be accessible depending on where you run that command.<br>
>><br>
> Well, seems I have no compute services!<br>
> <br>
> "service compute not found"<br>
> <br>
> I have set this up as an AIO-Simplex, the ansible playbook completed correctly and I followed up with the slew of commands to provision and unlock the controller-0 node.<br>
> <br>
> <br>
> <br>
>> dt<br>
>><br>
>> openstack catalog list<br>
>> +----------+-----------------+------------------------------------------+<br>
>> | Name | Type | Endpoints |<br>
>> +----------+-----------------+------------------------------------------+<br>
>> | fm | faultmanagement | RegionOne |<br>
>> | | | public: <a href="http://10.23.90.131:18002" rel="noreferrer" target="_blank">http://10.23.90.131:18002</a> |<br>
>> | | | RegionOne |<br>
>> | | | internal: <a href="http://192.168.204.2:18002" rel="noreferrer" target="_blank">http://192.168.204.2:18002</a> |<br>
>> | | | RegionOne |<br>
>> | | | admin: <a href="http://192.168.204.2:18002" rel="noreferrer" target="_blank">http://192.168.204.2:18002</a> |<br>
>> | | | |<br>
>> | barbican | key-manager | RegionOne |<br>
>> | | | public: <a href="http://10.23.90.131:9311" rel="noreferrer" target="_blank">http://10.23.90.131:9311</a> |<br>
>> | | | RegionOne |<br>
>> | | | internal: <a href="http://192.168.204.2:9311" rel="noreferrer" target="_blank">http://192.168.204.2:9311</a> |<br>
>> | | | RegionOne |<br>
>> | | | admin: <a href="http://192.168.204.2:9311" rel="noreferrer" target="_blank">http://192.168.204.2:9311</a> |<br>
>> | | | |<br>
>> | keystone | identity | RegionOne |<br>
>> | | | public: <a href="http://10.23.90.131:5000/v3" rel="noreferrer" target="_blank">http://10.23.90.131:5000/v3</a> |<br>
>> | | | RegionOne |<br>
>> | | | internal: <a href="http://192.168.204.2:5000/v3" rel="noreferrer" target="_blank">http://192.168.204.2:5000/v3</a> |<br>
>> | | | RegionOne |<br>
>> | | | admin: <a href="http://192.168.204.2:5000/v3" rel="noreferrer" target="_blank">http://192.168.204.2:5000/v3</a> |<br>
>> | | | |<br>
>> | sysinv | platform | RegionOne |<br>
>> | | | public: <a href="http://10.23.90.131:6385/v1" rel="noreferrer" target="_blank">http://10.23.90.131:6385/v1</a> |<br>
>> | | | RegionOne |<br>
>> | | | internal: <a href="http://192.168.204.2:6385/v1" rel="noreferrer" target="_blank">http://192.168.204.2:6385/v1</a> |<br>
>> | | | RegionOne |<br>
>> | | | admin: <a href="http://192.168.204.2:6385/v1" rel="noreferrer" target="_blank">http://192.168.204.2:6385/v1</a> |<br>
>> | | | |<br>
>> | patching | patching | RegionOne |<br>
>> | | | public: <a href="http://10.23.90.131:15491" rel="noreferrer" target="_blank">http://10.23.90.131:15491</a> |<br>
>> | | | RegionOne |<br>
>> | | | internal: <a href="http://192.168.204.2:5491" rel="noreferrer" target="_blank">http://192.168.204.2:5491</a> |<br>
>> | | | RegionOne |<br>
>> | | | admin: <a href="http://192.168.204.2:5491" rel="noreferrer" target="_blank">http://192.168.204.2:5491</a> |<br>
>> | | | |<br>
>> | vim | nfv | RegionOne |<br>
>> | | | public: <a href="http://10.23.90.131:4545" rel="noreferrer" target="_blank">http://10.23.90.131:4545</a> |<br>
>> | | | RegionOne |<br>
>> | | | internal: <a href="http://192.168.204.2:4545" rel="noreferrer" target="_blank">http://192.168.204.2:4545</a> |<br>
>> | | | RegionOne |<br>
>> | | | admin: <a href="http://192.168.204.2:4545" rel="noreferrer" target="_blank">http://192.168.204.2:4545</a> |<br>
>> | | | |<br>
>> | smapi | smapi | RegionOne |<br>
>> | | | public: <a href="http://10.23.90.131:7777" rel="noreferrer" target="_blank">http://10.23.90.131:7777</a> |<br>
>> | | | RegionOne |<br>
>> | | | internal: <a href="http://192.168.204.2:7777" rel="noreferrer" target="_blank">http://192.168.204.2:7777</a> |<br>
>> | | | RegionOne |<br>
>> | | | admin: <a href="http://192.168.204.2:7777" rel="noreferrer" target="_blank">http://192.168.204.2:7777</a> |<br>
>> | | | |<br>
>> +----------+-----------------+------------------------------------------+<br>
> <br>
> _______________________________________________<br>
> Starlingx-discuss mailing list<br>
> <a href="mailto:Starlingx-discuss@lists.starlingx.io" target="_blank">Starlingx-discuss@lists.starlingx.io</a><br>
> <a href="http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss" rel="noreferrer" target="_blank">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a><br>
> _______________________________________________<br>
> Starlingx-discuss mailing list<br>
> <a href="mailto:Starlingx-discuss@lists.starlingx.io" target="_blank">Starlingx-discuss@lists.starlingx.io</a><br>
> <a href="http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss" rel="noreferrer" target="_blank">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a><br>
> <br>
<br>
_______________________________________________<br>
Starlingx-discuss mailing list<br>
<a href="mailto:Starlingx-discuss@lists.starlingx.io" target="_blank">Starlingx-discuss@lists.starlingx.io</a><br>
<a href="http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss" rel="noreferrer" target="_blank">http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss</a><br>
</blockquote></div>