Hi Mingyuan,
Thanks for your response. I am able to access it using “openstack metric list/openstack metric resource list ”.
There is no “cpu_util” metric available in the list. How can I enable that parameter in StarlingX 2.0?
Regards
Anirudh Gupta
From: Qi, Mingyuan <mingyuan.qi@intel.com>
Sent: 25 November 2019 16:21
To: Sun, Austin <austin.sun@intel.com>; Anirudh Gupta <Anirudh.Gupta@hsc.com>; starlingx-discuss@lists.starlingx.io
Subject: RE: [Starlingx-announce] No Telemetry Service Installed in StarlingX 2.0
Anirudh,
I don’t think the gnocchi client got the right api url(localhost:8041), if you check the openstack endpoints, gnocchi internal interface should be
http://gnocchi-api.openstack.svc.cluster.local:8041/
Could you check the openstack client for gnocchi which is “openstack metric list/openstack metric resource list ”, to verify that gnocchi is in-service?
Mingyuan
From: Sun, Austin <austin.sun@intel.com>
Sent: Monday, November 25, 2019 17:00
To: Anirudh Gupta <Anirudh.Gupta@hsc.com>;
starlingx-discuss@lists.starlingx.io;
starlingx-announce@lists.starlingx.io
Subject: Re: [Starlingx-announce] No Telemetry Service Installed in StarlingX 2.0
Hi Gupta:
From your log, it seems
gnocchi is still searching local endpoint.
Would you like run “gnocchi –endpoint <the endpoint in k8s>” ? to check if it can work.
Thanks.
BR
Austin Sun.
From: Anirudh Gupta <Anirudh.Gupta@hsc.com>
Sent: Monday, November 25, 2019 4:32 PM
To: Sun, Austin <austin.sun@intel.com>;
starlingx-discuss@lists.starlingx.io;
starlingx-announce@lists.starlingx.io
Subject: RE: No Telemetry Service Installed in StarlingX 2.0
Hi Austin,
I have successfully installed the Telemetry Services (ceilometer, aodh, gnocchi, panko) in StarlingX 2.0.
controller-0:~$ openstack endpoint list | grep -i public | 0bda50532d44492dbf5b863b141ffaba | RegionOne | panko | event | True | public |
http://panko.openstack.svc.cluster.local:80/ | | 14d6afd669a64875b6f0b2f05381ad6d | RegionOne | heat-cfn | cloudformation | True | public |
http://cloudformation.openstack.svc.cluster.local:80/v1 | | 1715c6801ba441859bc29f7d628e94af | RegionOne | heat | orchestration | True | public |
http://heat.openstack.svc.cluster.local:80/v1/%(project_id)s | | 273b56c7201d471785b880490b4eaedb | RegionOne | gnocchi | metric | True | public |
http://gnocchi.openstack.svc.cluster.local:80/ | | 3e64a4a8cc1e46df94a6926eb3927c2b | RegionOne | cinderv3 | volumev3 | True | public |
http://cinder.openstack.svc.cluster.local:80/v3/%(tenant_id)s | | 5139fb770acc40e2b7d31c36e835ae4f | RegionOne | neutron | network | True | public |
http://neutron.openstack.svc.cluster.local:80/ | | 66eac8f208494e50b8b669ce34ad89f1 | RegionOne | aodh | alarming | True | public |
http://aodh.openstack.svc.cluster.local:80/ | | 69087f47c5fd4f8bac32615a1a10b988 | RegionOne | placement | placement | True | public |
http://placement.openstack.svc.cluster.local:80/ | | 7e116069695247d0bcd3d105831a4c13 | RegionOne | cinderv2 | volumev2 | True | public |
http://cinder.openstack.svc.cluster.local:80/v2/%(tenant_id)s | | a52a66881fa74faaa1cf216359782331 | RegionOne | nova | compute | True | public |
http://nova.openstack.svc.cluster.local:80/v2.1/%(tenant_id)s | | a7f8817df669449ca831d92ef2c491d4 | RegionOne | cinder | volume | True | public |
http://cinder.openstack.svc.cluster.local:80/v1/%(tenant_id)s | | abbfef67633440d3a97d42cce0e99282 | RegionOne | keystone | identity | True | public |
http://keystone.openstack.svc.cluster.local:80/v3 | | ed3bb30c2e4f44018dbe5ae9ee3d7e02 | RegionOne | glance | image | True | public |
http://glance.openstack.svc.cluster.local:80/ |
When I am trying to access gnocchi metrics or running any gnocchi command, I am facing the below error
controller-0:~$ gnocchi metric list Unable to establish connection to
http://localhost:8041/v1/metric?: HTTPConnectionPool(host='localhost', port=8041): Max retries exceeded with url: /v1/metric (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa827216750>:
Failed to establish a new connection: [Errno 111] Connection refused',)) |
Can you please suggest some pointers to resolve this issue
Regards
Anirudh Gupta
From: Sun, Austin <austin.sun@intel.com>
Sent: 06 November 2019 09:35
To: Anirudh Gupta <Anirudh.Gupta@hsc.com>;
starlingx-discuss@lists.starlingx.io;
starlingx-announce@lists.starlingx.io
Subject: RE: No Telemetry Service Installed in StarlingX 2.0
Hi Gupta:
OK. could you check why some pods is not running ?
kubectl get po -n openstack | grep ceilometer
if some pods are still Init or failed ?
you can check the dependence or events of the output of “kubectl describe po ceilometer-xxxx -n openstack”
Thanks.
BR
Austin Sun.
From: Anirudh Gupta <Anirudh.Gupta@hsc.com>
Sent: Wednesday, November 6, 2019 11:43 AM
To: Sun, Austin <austin.sun@intel.com>;
starlingx-discuss@lists.starlingx.io;
starlingx-announce@lists.starlingx.io
Subject: RE: No Telemetry Service Installed in StarlingX 2.0
Hi Austin
I have enabled Ceilometer, Gnocchi and Aodh helm charts using the command suggested and then applied stx-openstack.
But now I am facing exception in deploying ceilometer chart.
There is timeout error in Ceilometer Pod.
Timed out waiting for pods (namespace=openstack, labels=(release_group=osh-openstack-ceilometer)). These pods were not ready=['ceilometer-notification-7548b6db79-fhzfq']
armada.exceptions.armada_exceptions.ChartDeployException: Exception deploying charts: ['openstack-ceilometer']
I am also attaching the logs for your reference.
Please suggest the alternative to resolve the issue.
Regards
Anirudh Gupta
From: Sun, Austin <austin.sun@intel.com>
Sent: 04 November 2019 19:16
To: Anirudh Gupta <Anirudh.Gupta@hsc.com>;
starlingx-discuss@lists.starlingx.io;
starlingx-announce@lists.starlingx.io
Subject: RE: No Telemetry Service Installed in StarlingX 2.0
Hi Gupta:
By default , telemetry services are disabled (chart is not enabled) , but you can enable it by command “system helm-chart-attribute-modify” to enable it.
Thanks.
BR
Austin Sun.
From: Anirudh Gupta <Anirudh.Gupta@hsc.com>
Sent: Monday, November 4, 2019 7:19 PM
To: starlingx-discuss@lists.starlingx.io;
starlingx-announce@lists.starlingx.io
Subject: [Starlingx-discuss] No Telemetry Service Installed in StarlingX 2.0
Hi Team,
StarlingX 2.0 release doesn’t have any endpoint for any Telemetry services like Ceilometer, Gnocchi and Aodh, because of which we are unable to get the metric values corresponding to the VM’s being spawned of StarlingX.
However this was not the case with StarlingX 2018.10 release. It had all the support for Telemetry Services, from which I was able to get CPU_Util and Mem_util of the VM’s spawned.
It is a must requirement for my setup as I need to Auto scale my VNF’s based on the metric values.
Please suggest the ways to install it.
Regards
Anirudh Gupta
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.
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.
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.