[Starlingx-discuss] No Telemetry Service Installed in StarlingX 2.0
Anirudh Gupta
Anirudh.Gupta at hsc.com
Mon Nov 25 09:04:23 UTC 2019
Hi,
This is also throwing error. I have run this command with -debug
controller-0:~$ gnocchi --debug --endpoint gnocchi.openstack.svc.cluster.local metric list
REQ: curl -g -i -X GET gnocchi.openstack.svc.cluster.local/v1/metric? -H "Accept: application/json, */*" -H "Authorization: {SHA256}c4af6d2f99d2fcbb0e1c144c75c64623d2b00ce78fbf0b06a9201e9b0019f287" -H "User-Agent: gnocchi keystoneauth1/0.0.0 python-requests/2.21.0 CPython/2.7.5"
Unexpected exception for gnocchi.openstack.svc.cluster.local/v1/metric?: Invalid URL 'gnocchi.openstack.svc.cluster.local/v1/metric?': No schema supplied. Perhaps you meant http://gnocchi.openstack.svc.cluster.local/v1/metric??
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 402, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/lib/python2.7/site-packages/cliff/display.py", line 116, in run
column_names, data = self.take_action(parsed_args)
File "/usr/lib/python2.7/site-packages/gnocchiclient/v1/metric_cli.py", line 58, in take_action
**utils.get_pagination_options(parsed_args))
File "/usr/lib/python2.7/site-packages/gnocchiclient/v1/metric.py", line 51, in list
page = self._get(page_url)
File "/usr/lib/python2.7/site-packages/gnocchiclient/v1/base.py", line 37, in _get
return self.client.api.get(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 375, in get
return self.request(url, 'GET', **kwargs)
File "/usr/lib/python2.7/site-packages/gnocchiclient/client.py", line 44, in request
message=str(e), url=url, method=method)
UnknownConnectionError: Unexpected exception for gnocchi.openstack.svc.cluster.local/v1/metric?: Invalid URL 'gnocchi.openstack.svc.cluster.local/v1/metric?': No schema supplied. Perhaps you meant http://gnocchi.openstack.svc.cluster.local/v1/metric??
Traceback (most recent call last):
File "/usr/bin/gnocchi", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/gnocchiclient/shell.py", line 252, in main
return GnocchiShell().run(args)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 281, in run
result = self.run_subcommand(remainder)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 402, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/lib/python2.7/site-packages/cliff/display.py", line 116, in run
column_names, data = self.take_action(parsed_args)
File "/usr/lib/python2.7/site-packages/gnocchiclient/v1/metric_cli.py", line 58, in take_action
**utils.get_pagination_options(parsed_args))
File "/usr/lib/python2.7/site-packages/gnocchiclient/v1/metric.py", line 51, in list
page = self._get(page_url)
File "/usr/lib/python2.7/site-packages/gnocchiclient/v1/base.py", line 37, in _get
return self.client.api.get(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 375, in get
return self.request(url, 'GET', **kwargs)
File "/usr/lib/python2.7/site-packages/gnocchiclient/client.py", line 44, in request
message=str(e), url=url, method=method)
gnocchiclient.exceptions.UnknownConnectionError: Unexpected exception for gnocchi.openstack.svc.cluster.local/v1/metric?: Invalid URL 'gnocchi.openstack.svc.cluster.local/v1/metric?': No schema supplied. Perhaps you meant http://gnocchi.openstack.svc.cluster.local/v1/metric??
From: Sun, Austin <austin.sun at intel.com>
Sent: 25 November 2019 14:30
To: Anirudh Gupta <Anirudh.Gupta at hsc.com>; starlingx-discuss at lists.starlingx.io; starlingx-announce at lists.starlingx.io
Subject: RE: 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%7C753bec5574ab42516fda08d77185defe%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102692121116286&sdata=Z3XcwzUl52fKm1Z34qHqEILJOK%2BSvBn2hsPRxPkW3XE%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%7C753bec5574ab42516fda08d77185defe%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102692121116286&sdata=0r4f2T3T9Qd7N1HD7IaYKqkPsP7ye7QCyCnEkjH9bB4%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%7C753bec5574ab42516fda08d77185defe%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102692121126273&sdata=ngJ95j2Ke2zvQn7IvBAFK7vFB3v%2FzRdNxlvqzBA2yP8%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%7C753bec5574ab42516fda08d77185defe%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102692121126273&sdata=%2FjxtPELICyt%2Bkb6ijnvainq2sSDymCTIn2cs84uF3wY%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%7C753bec5574ab42516fda08d77185defe%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102692121136274&sdata=l5t9%2BdJkHsLFZvZp8MJm9z%2Fs7i8HtddzVvypgU4pshY%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%7C753bec5574ab42516fda08d77185defe%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102692121136274&sdata=j4jZ6IpLwefUSfYANeMvzRiXbZF7Q0Z6w3PeJnxlE1s%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%7C753bec5574ab42516fda08d77185defe%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102692121146262&sdata=wYInFU54EZqeJh%2BMG0n8djPTdGOd5fbDfRcHjbdlQp4%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%7C753bec5574ab42516fda08d77185defe%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102692121146262&sdata=Wex8P74NBGuvOflqDiU%2FX4e5IA3H%2BrzPkVibb8PJ%2BPE%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%7C753bec5574ab42516fda08d77185defe%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102692121156260&sdata=Vj0emOtdnm6v6QXe%2FRV%2FpptXakY7q634jgM2tLKb%2FGw%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%7C753bec5574ab42516fda08d77185defe%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102692121156260&sdata=JQWZN0lsVcg5XvDpjWRx3Kq23KS9vXYxhl5GciJRtEA%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%7C753bec5574ab42516fda08d77185defe%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102692121166252&sdata=dCAYSPCc9kkyWZ%2FCePl4zk1kYAJdZL0oGzWDwCWRRRw%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%7C753bec5574ab42516fda08d77185defe%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102692121166252&sdata=nBRTzWSLNTtA19o4mZX180CGmmdbiLFcUdj62sO1wwY%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%7C753bec5574ab42516fda08d77185defe%7Ca65543b9ae9349b580f00b85821adc50%7C1%7C0%7C637102692121176245&sdata=gAEaz9TM9Or4QWCzLlKb4w3a6o4qaUACOpG00oXXI2g%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/1eb1c5f0/attachment-0001.html>
More information about the Starlingx-discuss
mailing list