If you sourced to /etc/platform/openrc, then even if you do export OS_CLOUD=openstack_helm later on, the OS_AUTH_URL in the openrc will still be used.
You have two options:
1. source /etc/platform/openrc; export OS_AUTH_URL=http://keystone.openstack.svc.cluster.local/v3; ceilometer event-list
2. open a new shell (DO NOT source to platform openrc) > export OS_CLOUD=openstack_helm; ceilometer event-list (or openstack event list)
BR,
Yang
From: Alonso, Juan Carlos [mailto:juan.carlos.alonso@intel.com]
Sent: February-13-19 3:21 PM
To: 'starlingx-discuss@lists.starlingx.io'
Subject: [Starlingx-discuss] ceilometer event-list
Hi,
I am trying to get the output of
ceilometer event-list command, from an STX container system, but I am getting the below error:
[wrsroot@controller-0 ~(keystone_admin)]$ ceilometer event-list
internalURL endpoint for metering service in RegionOne region not found
I used source /etc/platform/openrc authentication.
I also use the keystone in the container
https://wiki.openstack.org/wiki/StarlingX/Containers/Installation#Verify_the_cluster_endpoints,
but get the same error.
Do you know how to resolve this issue? The command have been updated?
Regards.
Juan Carlos Alonso