Attempting to run openstack commands from the director node against the "overcloud" fail to reach overcloud service URL
Issue
- When we ssh to the stack user on our
undercloud
node and do asource ./overcloudrc
and attempt to run commands, such asopenstack compute service list
, the command hangs for a period of time and then fails:
[stack@director ~]$ source ./overcloudrc
(overcloud) [stack@director ~]$ openstack compute service list
Failed to discover available identity versions when contacting https://overcloud.localdomain:13000//v3. Attempting to parse version from URL.
Could not determine a suitable URL for the plugin
- If we ssh as heat-admin to one of the controller nodes, source the overcloudrc, and run the same command, it succeeds:
[stack@director ~]$ ssh heat-admin@overcloud-controller-0
Last login: Mon Oct 21 19:46:58 2019 from 10.0.194.100
[heat-admin@overcloud-controller-0 ~]$ source overcloudrc
(overcloud) [heat-admin@overcloud-controller-0 ~]$ openstack compute service list
+-----+------------------+--------------------------+----------+---------+-------+----------------------------+
| ID | Binary | Host | Zone | Status | State | Updated At |
+-----+------------------+--------------------------+----------+---------+-------+----------------------------+
| 2 | nova-scheduler | overcloud-controller-0 | internal | enabled | up | 2019-10-21T20:58:25.000000 |
| 5 | nova-scheduler | overcloud-controller-1 | internal | enabled | up | 2019-10-21T20:58:20.000000 |
| 8 | nova-consoleauth | overcloud-controller-0 | internal | enabled | up | 2019-10-21T20:58:17.000000 |
| 11 | nova-consoleauth | overcloud-controller-1 | internal | enabled | up | 2019-10-21T20:58:16.000000 |
| 14 | nova-conductor | overcloud-controller-0 | internal | enabled | up | 2019-10-21T20:58:21.000000 |
| 29 | nova-conductor | overcloud-controller-1 | internal | enabled | up | 2019-10-21T20:58:17.000000 |
| 92 | nova-compute | overcloud-compute-1 | nova | enabled | up | 2019-10-21T20:58:23.000000 |
| 95 | nova-compute | overcloud-compute-0 | nova | enabled | up | 2019-10-21T20:58:21.000000 |
| 98 | nova-compute | overcloud-compute-4 | nova | enabled | up | 2019-10-21T20:58:17.000000 |
| 101 | nova-compute | overcloud-compute-3 | nova | enabled | up | 2019-10-21T20:58:25.000000 |
| 104 | nova-scheduler | overcloud-controller-2 | internal | enabled | up | 2019-10-21T20:58:23.000000 |
| 107 | nova-consoleauth | overcloud-controller-2 | internal | enabled | up | 2019-10-21T20:58:25.000000 |
| 110 | nova-conductor | overcloud-controller-2 | internal | enabled | up | 2019-10-21T20:58:25.000000 |
+-----+------------------+--------------------------+----------+---------+-------+----------------------------+
- From what we can gather, the openstack overcloud commands should be working correctly from the
undercloud
node.
Environment
- Red Hat OpenStack Platform 13.0 (RHOSP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.