[Starlingx-discuss] Fw:internal endpoint for compute service in RegionOne region not found
Sun, Austin
austin.sun at intel.com
Wed May 12 14:53:54 UTC 2021
Hi :
Please change '<sysadmin-password>” in /etc/openstack/clouds.yaml to the real sysadmin password.
Thanks.
BR
Austin Sun.
From: Longqian Zhao <zhaolongqian456 at 163.com>
Sent: Wednesday, May 12, 2021 10:52 PM
To: Sun, Austin <austin.sun at intel.com>; starlingx-discuss at lists.starlingx.io
Subject: Fw:internal endpoint for compute service in RegionOne region not found
Hi Austin,
Could you provide me with some help on the following issues? Thank you very much!
Additional informations:
===================
1. my /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
192.168.204.1 controller
169.254.202.1 pxecontroller
192.168.1.2 oamcontroller
192.168.204.4 controller-platform-nfs
192.168.204.3 controller-1
192.168.204.2 controller-0
192.168.206.3 controller-1-cluster-host
192.168.206.2 controller-0-cluster-host
192.168.204.95 storage-0
=======================================
Best regards with you,
Longqian
-------- Forwarding messages --------
From: "Longqian Zhao" <zhaolongqian456 at 163.com<mailto:zhaolongqian456 at 163.com>>
Date: 2021-05-12 21:35:28
To: starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>
Subject: internal endpoint for compute service in RegionOne region not found
Hi,
When I run this command `openstack flavor list`, the following error message will appear:
controller-0:~$ internal endpoint for compute service in RegionOne region not found
I checked a tutorials online:
1. https://docs.starlingx.io/deploy_install_guides/r4_release/openstack/access.html
a. system application-list
|cert-manager | 1.0-6 | cert-manager-manifest | certmanager-manifest.yaml | applied | completed |
| nginx-ingress-controller | 1.0-0 | nginx-ingress-controller-manifest | nginx_ingress_controller_manifest.yaml | applied | completed |
| oidc-auth-apps | 1.0-28 | oidc-auth-manifest | manifest.yaml | uploaded | completed |
| platform-integ-apps | 1.0-10 | platform-integration-manifest | manifest.yaml | uploaded | completed |
b. system host-list
| 1 | controller-0 | controller | unlocked | enabled | available |
| 2 | worker-0 | worker | unlocked | enabled | available |
c. openstack endpoint list
| de13780176e14690b173d1060dcb3d0e | RegionOne | fm | faultmanagement | True | admin | http://192.168.204.1:18002 |
| 1fff8302e5b14baf9da929b38495795c | RegionOne | fm | faultmanagement | True | internal | http://192.168.204.1:18002 |
| c0ec3df666714236986b6e4f994d94a0 | RegionOne | fm | faultmanagement | True | public | http://192.168.1.2:18002 |
| 2a7857e728a74ba1a3bd387913432b75 | RegionOne | patching | patching | True | admin | http://192.168.204.1:5491 |
| 7c4349bb2fdb4d9ebe722b6b1a1b5514 | RegionOne | patching | patching | True | internal | http://192.168.204.1:5491 |
| a96c88191cb247b58d1d5b3f6714bef6 | RegionOne | patching | patching | True | public | http://192.168.1.2:15491 |
| a26eb3fb1aa34d7487f37ff57caab0c1 | RegionOne | vim | nfv | True | admin | http://192.168.204.1:4545 |
| 2447ef1245a54d3a89957ae619d14f60 | RegionOne | vim | nfv | True | internal | http://192.168.204.1:4545 |
| 488f1eae3df74064af29aee917f56f33 | RegionOne | vim | nfv | True | public | http://192.168.1.2:4545 |
| 2c7a06e38352497eb4986a6807a76d17 | RegionOne | barbican | key-manager | True | admin | http://192.168.204.1:9311 |
| 8dd03e56d76d465aaafc1bb1eb03725a | RegionOne | barbican | key-manager | True | internal | http://192.168.204.1:9311 |
| 70fe6bd12b884c7daf956733e029c147 | RegionOne | barbican | key-manager | True | public | http://192.168.1.2:9311 |
| 54daf8e643b6464c9d8c608d3a49cedc | RegionOne | smapi | smapi | True | admin | http://192.168.204.1:7777 |
| 1c34a5055c464a948434d968b3acbce3 | RegionOne | smapi | smapi | True | internal | http://192.168.204.1:7777 |
| f48c025a52ed4f6db1412414bf63ae24 | RegionOne | smapi | smapi | True | public | http://192.168.1.2:7777 |
| fbb05b295fb0425d812f321e7da9897f | RegionOne | keystone | identity | True | admin | http://192.168.204.1:5000/v3 |
| ba2bb25086414ba6b06daf92da7386ae | RegionOne | keystone | identity | True | internal | http://192.168.204.1:5000/v3 |
| 4a0fd12b52264d66b592114957a5f12b | RegionOne | keystone | identity | True | public | http://192.168.1.2:5000/v3 |
| 80b2bf4893154c36a9112f35d60168ba | RegionOne | sysinv | platform | True | admin | http://192.168.204.1:6385/v1 |
| 65c701c8f71c4edf999a977a87936832 | RegionOne | sysinv | platform | True | internal | http://192.168.204.1:6385/v1 |
| 5d5b4500cf7e417e903039005cef5bef | RegionOne | sysinv | platform | True | public | http://192.168.1.2:6385/v1 |
d. openstack service list
| 55b539de090942ac873417598c51af08 | fm | faultmanagement |
| 45bd3379c6ad433b969656698ec60f71 | barbican | key-manager |
| 30c083a3863f4b5f9793911665e4113f | keystone | identity |
| fdb8dd3c5dc44757b31f12155bb3c22c | sysinv | platform |
| db818998985644eb9c0369f2d4176f18 | patching | patching |
| ce57293f6bf94301a211701023c6f58c | vim | nfv |
| 0fa33d7283da4a0fae033989b3156229 | smapi | smapi |
e. ping www.baidu.com
64 bytes from 104.193.88.123 (104.193.88.123): icmp_seq=1 ttl=49 time=162 ms
64 bytes from 104.193.88.123 (104.193.88.123): icmp_seq=2 ttl=49 time=162 ms
64 bytes from 104.193.88.123 (104.193.88.123): icmp_seq=3 ttl=49 time=162 ms
64 bytes from 104.193.88.123 (104.193.88.123): icmp_seq=4 ttl=49 time=163 ms
64 bytes from 104.193.88.123 (104.193.88.123): icmp_seq=5 ttl=49 time=162 ms
64 bytes from 104.193.88.123 (104.193.88.123): icmp_seq=6 ttl=49 time=162 ms
64 bytes from 104.193.88.123 (104.193.88.123): icmp_seq=7 ttl=49 time=162 ms
f. system service-parameter-add openstack helm endpoint_domain=keystone.openstack.svc.cluster.local
g. system application-apply stx-openstack
h. Do not use source /etc/platform/openrc.
i.
>sudo su -
>mkdir -p /etc/openstack
>tee /etc/openstack/clouds.yaml << EOF
>clouds:
> openstack_helm:
> region_name: RegionOne
> identity_api_version: 3
> endpoint_type: internalURL
> auth:
> username: 'admin'
> password: '<sysadmin-password>'
> project_name: 'admin'
> project_domain_name: 'default'
> user_domain_name: 'default'
> auth_url: 'http://keystone.openstack.svc.cluster.local/v3'
>EOF
>exit
j. controller-0:~$ export OS_CLOUD=openstack_helm
k. controller-0:~$ openstack flavor list
Failed to discover available identity versions when contacting http://keystone.openstack.svc.cluster.local/v3. Attempting to parse version from URL.
Unable to establish connection to http://keystone.openstack.svc.cluster.local/v3/auth/tokens: HTTPConnectionPool(host='keystone.openstack.svc.cluster.local', port=80): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fee9e2cd950>: Failed to establish a new connection: [Errno -2] Name or service not known',))
======================================
Basic Env informations:
1. I install StarlingX in Bare Mental Environment.
2. StarlingX version: R4.0
3. stx-tools: stx.4.0
Could you provide me with some help, thank you!
===============================================================
Best regards with you,
Longqian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20210512/86db16b7/attachment-0001.html>
More information about the Starlingx-discuss
mailing list