*** sboyron has joined #cloudkitty | 05:47 | |
*** vishalmanchanda has joined #cloudkitty | 06:35 | |
*** cylopez has joined #cloudkitty | 06:43 | |
*** ChanServ has quit IRC | 07:54 | |
*** ChanServ has joined #cloudkitty | 07:54 | |
*** services. sets mode: +o ChanServ | 07:54 | |
*** Akki58 has joined #cloudkitty | 08:38 | |
*** Akki5842 has joined #cloudkitty | 08:42 | |
*** Akki5842 has quit IRC | 08:42 | |
*** Akki5810 has joined #cloudkitty | 08:43 | |
*** Akki58 has quit IRC | 08:44 | |
openstackgerrit | Lars Wiegman proposed openstack/cloudkitty master: Update .gitreview for stable/ussuri https://review.opendev.org/c/openstack/cloudkitty/+/792089 | 08:50 |
---|---|---|
openstackgerrit | Lars Wiegman proposed openstack/cloudkitty master: Fixed PyScripts.start_script method to return the updated data object https://review.opendev.org/c/openstack/cloudkitty/+/792090 | 08:50 |
openstackgerrit | Pierre Riteau proposed openstack/cloudkitty master: Fixed PyScripts.start_script method to return the updated data object https://review.opendev.org/c/openstack/cloudkitty/+/792090 | 08:51 |
Akki5810 | Hi All, | 09:05 |
Akki5810 | I have a cloudkitty setup , but i am getting blank report tenant list and no metric collection logs on processor. | 09:06 |
priteau | Hi Akki5810 | 09:06 |
priteau | What kind of fetcher and collector are you using? | 09:07 |
Akki5810 | i have all roles already created, i.e. rating , monitoring-delegate | 09:07 |
Akki5810 | monasca for collector | 09:07 |
Akki5810 | - keystone for fetcher | 09:07 |
Akki5810 | elasticsearch for storage | 09:08 |
Akki5810 | I am having these logs in processor: | 09:10 |
Akki5810 | WARNING cloudkitty.storage [-] V2 Storage is in beta. Its API is considered stable but its implementation may still evolve. | 09:10 |
Akki5810 | 2021-05-19 08:59:25.129 244 WARNING cloudkitty.storage.v2.elasticsearch [-] The Elasticsearch storage driver is experimental. DO NOT USE IT IN PRODUCTION. | 09:10 |
Akki5810 | 2021-05-19 08:59:25.142 244 WARNING cloudkitty.storage [-] V2 Storage is in beta. Its API is considered stable but its implementation may still evolve. | 09:10 |
Akki5810 | 2021-05-19 08:59:25.142 244 WARNING cloudkitty.storage.v2.elasticsearch [-] The Elasticsearch storage driver is experimental. DO NOT USE IT IN PRODUCTION. | 09:10 |
Akki5810 | 2021-05-19 08:59:25.265 244 DEBUG cotyledon._service [-] Run service Orchestrator(0) [244] wait_forever /usr/lib/python2.7/site-packages/cotyledon/_service.py:241 | 09:10 |
Akki5810 | 2021-05-19 08:59:25.268 244 DEBUG cloudkitty.orchestrator [-] Started worker 0. run /usr/lib/python2.7/site-packages/cloudkitty/orchestrator.py:381 | 09:10 |
Akki5810 | 2021-05-19 08:59:25.282 1 INFO cotyledon._service_manager [-] Child 233 killed by signal None | 09:10 |
Akki5810 | 2021-05-19 08:59:25.284 1 INFO cotyledon._service_manager [-] Forking too fast, sleeping | 09:10 |
Akki5810 | 2021-05-19 08:59:25.455 240 INFO cloudkitty.orchestrator [-] [Worker: 28] Tenants loaded for fetcher keystone | 09:10 |
Akki5810 | 2021-05-19 08:59:25.455 240 DEBUG cloudkitty.orchestrator [-] [Worker: 28] Trying to acquire lock "28c7489995b8b8809ed326f79d189766fc75513dea64642939e976164f27edfb" ... run /usr/lib/python2.7/site-packages/cloudkitty/orchestrator.py:393 | 09:10 |
Akki5810 | 2021-05-19 08:59:26.232 254 DEBUG monascaclient.client [-] Reusing session _session /usr/lib/python2.7/site-packages/monascaclient/client.py:59 | 09:10 |
*** vishalmanchanda has quit IRC | 09:14 | |
Akki5810 | priteau Any suggestions ? | 09:21 |
priteau | You should share your metrics.yml | 09:21 |
Akki5810 | metrics: | 09:23 |
Akki5810 | cpu: | 09:23 |
Akki5810 | alt_name: instance | 09:23 |
Akki5810 | unit: instance | 09:24 |
Akki5810 | image.size: | 09:24 |
Akki5810 | factor: 1/1048576 | 09:24 |
Akki5810 | unit: MiB | 09:24 |
Akki5810 | volume.size: | 09:24 |
Akki5810 | unit: GiB | 09:24 |
Akki5810 | priteau | 09:26 |
priteau | You may need to use extra_args: forced_project_id: to select the tenant to use for monasca queries | 09:27 |
priteau | Otherwise they will probably be done via the service project | 09:27 |
*** vishalmanchanda has joined #cloudkitty | 09:38 | |
Akki5810 | priteau | 10:06 |
Akki5810 | I am getting this in processor logs: | 10:06 |
Akki5810 | 2021-05-19 10:03:41.652 1 INFO cotyledon._service_manager [-] Child 23688 exited with status 1^[[00m | 10:06 |
Akki5810 | 2021-05-19 10:03:41.655 1 INFO cotyledon._service_manager [-] Forking too fast, sleeping^[[00m | 10:06 |
Akki5810 | 2021-05-19 10:03:41.693 23228 DEBUG oslo_db.api [-] Loading backend 'sqlalchemy' from 'cloudkitty.db.sqlalchemy.api' _load_backend /usr/lib/python2.7/site-packages/oslo_db/api.py:261^[[00m | 10:06 |
Akki5810 | 2021-05-19 10:03:41.712 23228 DEBUG oslo_db.api [-] Loading backend 'sqlalchemy' from 'cloudkitty.rating.pyscripts.db.sqlalchemy.api' _load_backend /usr/lib/python2.7/site-packages/oslo_db/api.py:261^[[00m | 10:06 |
Akki5810 | 2021-05-19 10:03:41.746 23228 DEBUG cloudkitty.orchestrator [-] [scope: c89e2d5182a142ba9b71a9e1d94f646d, worker: 25] Collecting 3 metrics. _do_collection /usr/lib/python2.7/site-packages/cloudkitty/orchestrator.py:298^[[00m | 10:06 |
Akki5810 | 2021-05-19 10:03:41.776 23680 DEBUG monascaclient.client [-] Reusing session _session /usr/lib/python2.7/site-packages/monascaclient/client.py:59^[[00m | 10:06 |
Akki5810 | this is admin project's ID | 10:06 |
Akki5810 | Also I see : | 10:07 |
Akki5810 | ERROR cloudkitty.orchestrator [-] [scope: c89e2d5182a142ba9b71a9e1d94f646d, worker: 25] Error while collecting metric image.size at timestamp 2021-05-01 00:00:00+00:00: The repository was unable to process your request (HTTP 500) (Request-ID: req-35d9c821-9234-4a86-aede-b8c2f735fd6d). Exiting.: InternalServerError: The repository was unable to | 10:07 |
Akki5810 | process your request (HTTP 500) (Request-ID: req-35d9c821-9234-4a86-aede-b8c2f735fd6d) | 10:07 |
priteau | Can you do queries against monasca manually? | 10:14 |
Akki5810 | The DB for monasca was somehow missing, it is in place now. | 11:14 |
Akki5810 | priteau Now i can see admin tenant in report tenant list | 11:15 |
Akki5810 | but not services tenant | 11:15 |
Akki5810 | But still no summary for admin tenant | 11:16 |
Akki5810 | query against monasca for admin tenant is giving list of metrics | 11:19 |
Akki5810 | but query against monasca for service tenant is giving blank | 11:20 |
priteau | Akki5810: There are two tenants to consider: the one you are using to do the monasca query (i.e. where your metrics live), and the one labelled in metrics dimensions | 11:25 |
priteau | It really depends on how your monasca is set up | 11:26 |
*** Akki5810 has quit IRC | 12:17 | |
*** Akki58 has joined #cloudkitty | 12:56 | |
Akki58 | Ok priteau | 12:56 |
Akki58 | another issue is: | 12:56 |
Akki58 | INFO cloudkitty.orchestrator [-] [scope: c89e2d5182a142ba9b71a9e1d94f646d, worker: 13] No data collected for metric image.size at timestamp 2021-05-01 04:50:30+00:00^[[00m | 12:57 |
Akki58 | 2021-05-19 12:49:05.832 19288 INFO cloudkitty.orchestrator [-] [scope: c89e2d5182a142ba9b71a9e1d94f646d, worker: 13] No data collected for metric cpu at timestamp 2021-05-01 04:50:30+00:00^[[00m | 12:57 |
Akki58 | 2021-05-19 12:49:05.843 19288 INFO cloudkitty.orchestrator [-] [scope: c89e2d5182a142ba9b71a9e1d94f646d, worker: 13] No data collected for metric volume.size at timestamp 2021-05-01 04:50:30+00:00^[[00m | 12:57 |
Akki58 | it is only getting data for this default timestamp, it should be 2021-05-19 | 12:58 |
Akki58 | any idea for this ? | 12:58 |
priteau | cloudkitty starts collecting data from the beginning of the month by default | 12:59 |
priteau | I am surprised about the timestamp though, what did you use as [collect]/period | 13:00 |
priteau | By default it is 3600, so it will collect 2021-05-01 00:00 to 01:00, then 2021-05-01 01:00 to 02:00, etc. | 13:00 |
Akki58 | it is 70 | 13:16 |
Akki58 | for testing | 13:16 |
Akki58 | to save time | 13:16 |
priteau | I don't think that will save you time. It will mean lots of requests to monasca until it reaches current date | 13:19 |
priteau | Also any period which doesn't have monasca measurements will produce this "No data collected" message | 13:20 |
openstackgerrit | Pierre Riteau proposed openstack/python-cloudkittyclient master: [ussuri][goal] Update contributor documentation https://review.opendev.org/c/openstack/python-cloudkittyclient/+/791258 | 13:33 |
*** Akki58 has quit IRC | 13:58 | |
openstackgerrit | Ghanshyam proposed openstack/python-cloudkittyclient master: [ussuri][goal] Update contributor documentation https://review.opendev.org/c/openstack/python-cloudkittyclient/+/791258 | 15:09 |
openstackgerrit | Merged openstack/python-cloudkittyclient master: Fix PDF docs build https://review.opendev.org/c/openstack/python-cloudkittyclient/+/791897 | 16:08 |
*** cylopez has quit IRC | 17:22 | |
*** cylopez has joined #cloudkitty | 17:24 | |
*** cylopez has quit IRC | 18:00 | |
*** vishalmanchanda has quit IRC | 18:22 | |
*** MrClayPole_ has joined #cloudkitty | 20:15 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!