[Starlingx-discuss] [Starlingx-announce] No Telemetry Service Installed in StarlingX 2.0

Anirudh Gupta Anirudh.Gupta at hsc.com
Mon Nov 25 10:54:58 UTC 2019


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 at intel.com>
Sent: 25 November 2019 16:21
To: Sun, Austin <austin.sun at intel.com>; Anirudh Gupta <Anirudh.Gupta at hsc.com>; starlingx-discuss at 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/<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgnocchi-api.openstack.svc.cluster.local%3A8041%2F&data=02%7C01%7C%7Caeae1400f785409e1ad308d771956867%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102758843393347&sdata=WNkTpqqEUOiqhY4qrl1haXJ7JMJ%2B70CrzGKoaVUH4wo%3D&reserved=0>
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 at intel.com<mailto:austin.sun at intel.com>>
Sent: Monday, November 25, 2019 17:00
To: Anirudh Gupta <Anirudh.Gupta at hsc.com<mailto:Anirudh.Gupta at hsc.com>>; starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>; starlingx-announce at lists.starlingx.io<mailto:starlingx-announce at 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 at hsc.com<mailto:Anirudh.Gupta at hsc.com>>
Sent: Monday, November 25, 2019 4:32 PM
To: Sun, Austin <austin.sun at intel.com<mailto:austin.sun at intel.com>>; starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>; starlingx-announce at lists.starlingx.io<mailto:starlingx-announce at 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/<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpanko.openstack.svc.cluster.local%3A80%2F&data=02%7C01%7C%7Caeae1400f785409e1ad308d771956867%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102758843393347&sdata=H%2FVtXNJpIhpGfaKy6poVqNaD1Rn8noGJVBybkmyyykQ%3D&reserved=0>                              |
| 14d6afd669a64875b6f0b2f05381ad6d | RegionOne | heat-cfn     | cloudformation | True    | public    | http://cloudformation.openstack.svc.cluster.local:80/v1<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcloudformation.openstack.svc.cluster.local%3A80%2Fv1&data=02%7C01%7C%7Caeae1400f785409e1ad308d771956867%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102758843393347&sdata=S9lR7mshrW7yjC%2BKPDrzvlA0mGf04VRlLM374JM9BUY%3D&reserved=0>                   |
| 1715c6801ba441859bc29f7d628e94af | RegionOne | heat         | orchestration  | True    | public    | http://heat.openstack.svc.cluster.local:80/v1/%(project_id)s<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fheat.openstack.svc.cluster.local%3A80%2Fv1%2F%2525(project_id)s&data=02%7C01%7C%7Caeae1400f785409e1ad308d771956867%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102758843403342&sdata=w0ZiRou5jyE6%2FXGkqLyCIRmK%2FMEZlFWmbvYSxvA9qRw%3D&reserved=0>              |
| 273b56c7201d471785b880490b4eaedb | RegionOne | gnocchi      | metric         | True    | public    | http://gnocchi.openstack.svc.cluster.local:80/<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgnocchi.openstack.svc.cluster.local%3A80%2F&data=02%7C01%7C%7Caeae1400f785409e1ad308d771956867%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102758843403342&sdata=WxC%2BPmfy5epIubarqciGipaUrtP545QT5LAtI0OZJog%3D&reserved=0>                            |
| 3e64a4a8cc1e46df94a6926eb3927c2b | RegionOne | cinderv3     | volumev3       | True    | public    | http://cinder.openstack.svc.cluster.local:80/v3/%(tenant_id)s<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcinder.openstack.svc.cluster.local%3A80%2Fv3%2F%2525(tenant_id)s&data=02%7C01%7C%7Caeae1400f785409e1ad308d771956867%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102758843413337&sdata=iRuAUhuckzxo9cV70Y4MNWjsLjUUMMZKNPDPy6rpNb8%3D&reserved=0>             |
| 5139fb770acc40e2b7d31c36e835ae4f | RegionOne | neutron      | network        | True    | public    | http://neutron.openstack.svc.cluster.local:80/<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fneutron.openstack.svc.cluster.local%3A80%2F&data=02%7C01%7C%7Caeae1400f785409e1ad308d771956867%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102758843413337&sdata=7v5KSxN3P2ECvTLbrKAHXekryVbhHIT0jWBNISK3UOI%3D&reserved=0>                            |
| 66eac8f208494e50b8b669ce34ad89f1 | RegionOne | aodh         | alarming       | True    | public    | http://aodh.openstack.svc.cluster.local:80/<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Faodh.openstack.svc.cluster.local%3A80%2F&data=02%7C01%7C%7Caeae1400f785409e1ad308d771956867%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102758843423336&sdata=YAfHvfwTAwsAMM%2BsizJGzBrebOtWe%2BgmYcHXgdY3vDk%3D&reserved=0>                               |
| 69087f47c5fd4f8bac32615a1a10b988 | RegionOne | placement    | placement      | True    | public    | http://placement.openstack.svc.cluster.local:80/<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fplacement.openstack.svc.cluster.local%3A80%2F&data=02%7C01%7C%7Caeae1400f785409e1ad308d771956867%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102758843423336&sdata=x2xS4KsBMdj%2FELQQ2S0sZDB9duLpcDyGvxM4fcU6gMA%3D&reserved=0>                          |
| 7e116069695247d0bcd3d105831a4c13 | RegionOne | cinderv2     | volumev2       | True    | public    | http://cinder.openstack.svc.cluster.local:80/v2/%(tenant_id)s<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcinder.openstack.svc.cluster.local%3A80%2Fv2%2F%2525(tenant_id)s&data=02%7C01%7C%7Caeae1400f785409e1ad308d771956867%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102758843423336&sdata=9VUPNVHE0Xv%2FhxpaFs%2FAYmmwXNnApbeFKJzsEy5gJh4%3D&reserved=0>             |
| a52a66881fa74faaa1cf216359782331 | RegionOne | nova         | compute        | True    | public    | http://nova.openstack.svc.cluster.local:80/v2.1/%(tenant_id)s<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fnova.openstack.svc.cluster.local%3A80%2Fv2.1%2F%2525(tenant_id)s&data=02%7C01%7C%7Caeae1400f785409e1ad308d771956867%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102758843433331&sdata=xOiDz6xkQrzDyU%2BR5qegJSPuf%2BGCm0PYjFWg7wwNLqI%3D&reserved=0>             |
| a7f8817df669449ca831d92ef2c491d4 | RegionOne | cinder       | volume         | True    | public    | http://cinder.openstack.svc.cluster.local:80/v1/%(tenant_id)s<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcinder.openstack.svc.cluster.local%3A80%2Fv1%2F%2525(tenant_id)s&data=02%7C01%7C%7Caeae1400f785409e1ad308d771956867%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102758843433331&sdata=9Iw2HJ2dNcv4xFC6ykkL6Ho8lUaDYG3NzZF0nrWTD3o%3D&reserved=0>             |
| abbfef67633440d3a97d42cce0e99282 | RegionOne | keystone     | identity       | True    | public    | http://keystone.openstack.svc.cluster.local:80/v3<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fkeystone.openstack.svc.cluster.local%3A80%2Fv3&data=02%7C01%7C%7Caeae1400f785409e1ad308d771956867%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102758843443325&sdata=YZEaSyBZc%2B45dOwGHK7sqI%2BX3GK2jU6mM30b3tG7OD8%3D&reserved=0>                         |
| ed3bb30c2e4f44018dbe5ae9ee3d7e02 | RegionOne | glance       | image          | True    | public    | http://glance.openstack.svc.cluster.local:80/<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fglance.openstack.svc.cluster.local%3A80%2F&data=02%7C01%7C%7Caeae1400f785409e1ad308d771956867%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102758843443325&sdata=xfMGd%2FRk2MDeaCXcLQkBgc4GsCAlyFtt3j3D3MGiaKU%3D&reserved=0>


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 at intel.com<mailto:austin.sun at intel.com>>
Sent: 06 November 2019 09:35
To: Anirudh Gupta <Anirudh.Gupta at hsc.com<mailto:Anirudh.Gupta at hsc.com>>; starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>; starlingx-announce at lists.starlingx.io<mailto:starlingx-announce at 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 at hsc.com<mailto:Anirudh.Gupta at hsc.com>>
Sent: Wednesday, November 6, 2019 11:43 AM
To: Sun, Austin <austin.sun at intel.com<mailto:austin.sun at intel.com>>; starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>; starlingx-announce at lists.starlingx.io<mailto:starlingx-announce at 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 at intel.com<mailto:austin.sun at intel.com>>
Sent: 04 November 2019 19:16
To: Anirudh Gupta <Anirudh.Gupta at hsc.com<mailto:Anirudh.Gupta at hsc.com>>; starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>; starlingx-announce at lists.starlingx.io<mailto:starlingx-announce at 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 at hsc.com<mailto:Anirudh.Gupta at hsc.com>>
Sent: Monday, November 4, 2019 7:19 PM
To: starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>; starlingx-announce at lists.starlingx.io<mailto:starlingx-announce at 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.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20191125/7ab6825e/attachment-0001.html>


More information about the Starlingx-discuss mailing list