*** threestrands_ has joined #openstack-telemetry | 00:07 | |
*** threestrands_ has quit IRC | 00:07 | |
*** threestrands_ has joined #openstack-telemetry | 00:07 | |
*** threestrands_ has quit IRC | 00:08 | |
*** threestrands_ has joined #openstack-telemetry | 00:09 | |
*** threestrands_ has quit IRC | 00:09 | |
*** threestrands_ has joined #openstack-telemetry | 00:09 | |
*** threestrands has quit IRC | 00:10 | |
*** threestrands_ has quit IRC | 00:10 | |
*** threestrands_ has joined #openstack-telemetry | 00:10 | |
*** threestrands_ has quit IRC | 00:11 | |
*** threestrands_ has joined #openstack-telemetry | 00:12 | |
*** threestrands_ has quit IRC | 00:13 | |
*** threestrands_ has joined #openstack-telemetry | 00:13 | |
*** threestrands_ has quit IRC | 00:13 | |
*** threestrands_ has joined #openstack-telemetry | 00:13 | |
*** threestrands_ has quit IRC | 00:14 | |
*** threestrands_ has joined #openstack-telemetry | 00:15 | |
*** threestrands_ has quit IRC | 00:15 | |
*** threestrands_ has joined #openstack-telemetry | 00:15 | |
*** threestrands_ has quit IRC | 00:16 | |
*** threestrands_ has joined #openstack-telemetry | 00:16 | |
*** edmondsw has joined #openstack-telemetry | 00:23 | |
*** edmondsw has quit IRC | 00:28 | |
*** gkadam_ has quit IRC | 01:07 | |
*** chenyb4 has joined #openstack-telemetry | 01:07 | |
*** gkadam has joined #openstack-telemetry | 01:10 | |
*** masber has joined #openstack-telemetry | 01:13 | |
*** phuoc_ has joined #openstack-telemetry | 01:16 | |
openstackgerrit | Nguyen Van Trung proposed openstack/ceilometer master: Follow the new PTI for document build https://review.openstack.org/579493 | 01:17 |
---|---|---|
*** phuoc has quit IRC | 01:19 | |
*** tiendc has joined #openstack-telemetry | 01:21 | |
*** psachin has joined #openstack-telemetry | 02:44 | |
*** threestrands_ has quit IRC | 04:25 | |
*** gkadam has quit IRC | 05:04 | |
*** gkadam has joined #openstack-telemetry | 05:08 | |
*** swamireddy has quit IRC | 05:16 | |
*** gkadam has quit IRC | 05:31 | |
*** swamireddy has joined #openstack-telemetry | 05:31 | |
*** edmondsw has joined #openstack-telemetry | 05:48 | |
*** edmondsw has quit IRC | 05:53 | |
*** Bhujay has joined #openstack-telemetry | 06:00 | |
*** lvdombrkr has joined #openstack-telemetry | 06:20 | |
*** gongysh has joined #openstack-telemetry | 06:43 | |
*** openstackgerrit has quit IRC | 06:49 | |
*** rcernin has quit IRC | 06:55 | |
*** tesseract has joined #openstack-telemetry | 07:06 | |
*** openstackgerrit has joined #openstack-telemetry | 07:12 | |
openstackgerrit | Nguyen Van Trung proposed openstack/ceilometer master: Follow the new PTI for document build https://review.openstack.org/579493 | 07:12 |
*** shardy has joined #openstack-telemetry | 07:16 | |
openstackgerrit | Dao Cong Tien proposed openstack/panko master: Invalid link to static file in doc https://review.openstack.org/579790 | 07:20 |
*** peereb has joined #openstack-telemetry | 07:21 | |
*** alexchadin has joined #openstack-telemetry | 07:24 | |
*** edmondsw has joined #openstack-telemetry | 07:36 | |
*** witek has quit IRC | 07:37 | |
*** oanson has quit IRC | 07:39 | |
*** oanson has joined #openstack-telemetry | 07:41 | |
*** edmondsw has quit IRC | 07:41 | |
*** lvdombrkr has quit IRC | 07:51 | |
*** lvdombrkr has joined #openstack-telemetry | 07:55 | |
*** lvdombrkr has quit IRC | 08:00 | |
openstackgerrit | Dao Cong Tien proposed openstack/panko master: Invalid link to static file in doc https://review.openstack.org/579790 | 08:21 |
*** yassine_ has quit IRC | 08:21 | |
openstackgerrit | Dao Cong Tien proposed openstack/aodh master: Invalid link to static file in doc https://review.openstack.org/579805 | 08:26 |
*** yassine_ has joined #openstack-telemetry | 08:31 | |
*** gkadam has joined #openstack-telemetry | 08:33 | |
*** witek has joined #openstack-telemetry | 08:40 | |
*** Bhujay has quit IRC | 08:44 | |
*** cdent has joined #openstack-telemetry | 08:56 | |
*** gongysh has quit IRC | 09:03 | |
*** cdent_ has joined #openstack-telemetry | 09:04 | |
*** cdent has quit IRC | 09:05 | |
*** cdent_ is now known as cdent | 09:05 | |
*** alexchadin has quit IRC | 09:13 | |
*** alexchadin has joined #openstack-telemetry | 09:16 | |
*** edmondsw has joined #openstack-telemetry | 09:25 | |
*** edmondsw has quit IRC | 09:29 | |
*** Bhujay has joined #openstack-telemetry | 09:30 | |
*** alexchadin has quit IRC | 09:39 | |
*** gongysh has joined #openstack-telemetry | 09:56 | |
*** yassine_ has quit IRC | 09:58 | |
*** alexchadin has joined #openstack-telemetry | 10:11 | |
*** cdent has quit IRC | 10:25 | |
openstackgerrit | Merged openstack/aodh master: Invalid link to static file in doc https://review.openstack.org/579805 | 10:49 |
openstackgerrit | Merged openstack/panko master: Invalid link to static file in doc https://review.openstack.org/579790 | 10:58 |
*** chenyb4 has quit IRC | 11:01 | |
*** Bhujay has quit IRC | 11:08 | |
*** gongysh has quit IRC | 11:24 | |
*** tiendc has quit IRC | 11:28 | |
*** Bhujay has joined #openstack-telemetry | 11:32 | |
*** yassine has joined #openstack-telemetry | 11:45 | |
*** yassine is now known as Guest66593 | 11:46 | |
openstackgerrit | Witold Bedyk proposed openstack/ceilometer master: Remove deprecated gnocchi_dispatcher option group https://review.openstack.org/575368 | 12:14 |
*** alexchadin has quit IRC | 12:15 | |
cwright | Hi, I've created a /etc/ceilometer/gnocchi_resources.yaml file with `identity` and `swift_account` resource_type's defined | 12:29 |
cwright | I ran `ceilometer-upgrade` and it logged that it attempted to upgrade the gnocchi resource types: | 12:29 |
cwright | -- ceilometer.cmd.storage [-] Upgrading Gnocchi resource types upgrade /usr/lib/python2.7/dist-packages/ceilometer/cmd/storage.py:57 | 12:29 |
cwright | But when I run `gnocchi resource-type show identity` (or swift_account) on the gnocchi server there are still no attributes defined | 12:29 |
cwright | Can anyone suggest what I might be doing wrong? These are all Pike packages from Ubuntu Cloud Archive for 16.04, so Gnocchi 3.1 | 12:30 |
*** gordc has joined #openstack-telemetry | 12:34 | |
*** alexchadin has joined #openstack-telemetry | 12:36 | |
*** r-mibu has joined #openstack-telemetry | 13:00 | |
*** edmondsw has joined #openstack-telemetry | 13:01 | |
*** edmondsw has quit IRC | 13:06 | |
*** chenyb4 has joined #openstack-telemetry | 13:12 | |
cwright | hi gordc, just before you joined today I asked a question, would you be willing to take a look? | 13:14 |
cwright | http://eavesdrop.openstack.org/irclogs/%23openstack-telemetry/%23openstack-telemetry.2018-07-03.log.html#t2018-07-03T12:29:45 | 13:14 |
sileht | cwright, did you configure swift and keystone to send these informations ? | 13:15 |
cwright | sileht: yes, i can see them passing into ceilometer | 13:15 |
cwright | https://gist.github.com/corywright/a85073f1cbb544b383e10f2891fee37e | 13:17 |
cwright | ^^ that's my list of resource-types | 13:17 |
sileht | cwright, ok, this only show that ceilometer-upgrade have configured Gnocchi correctly | 13:19 |
sileht | cwright, changing /etc/ceilometer/gnocchi_resources.yaml doesn't upgrade the Gnocchi schema | 13:20 |
sileht | cwright, the Gnocchi schema is hardcoded in Ceilometer code | 13:20 |
sileht | cwright, /etc/ceilometer/gnocchi_resources.yaml is just used for ceilometer-samples -> gnocchi-resources attributes convertion | 13:21 |
sileht | cwright, if you want to customize /etc/ceilometer/gnocchi_resources.yaml by adding more attributes, you also need to run manually some "openstack metric resource-type update ...." | 13:21 |
cwright | ok. I guess I'm also struggling to understand the questions I need to ask. | 13:22 |
cwright | sileht: would that `openstack metric resource-type update` command need to be run on the ceilometer server, or gnocchi server? | 13:23 |
sileht | cwright, that a HTTP client to the Gnocchi API | 13:23 |
sileht | like any other "openstack XXX command" | 13:23 |
cwright | ok | 13:23 |
cwright | # openstack metric resource-type --help | 13:25 |
cwright | Unknown command [u'metric', u'resource-type'] | 13:25 |
sileht | cwright, looks like you don't have python-gnocchiclient installed | 13:26 |
cwright | ok, let me get that | 13:26 |
cwright | sileht: i really appreciate your help, btw | 13:26 |
openstackgerrit | Julien Danjou proposed openstack/ceilometer master: Remove deprecated gnocchi_dispatcher option group https://review.openstack.org/575368 | 13:26 |
cwright | sileht: ok, so when I run `openstack metric resource-type update identity` I get a "Forbidden (HTTP 403)" error, but running with `list` works without error. | 13:34 |
cwright | However, running `gnocchi resource-type update identity` from the gnocchi server succeeds, but doesn't show any changes to the schema: | 13:34 |
cwright | https://gist.github.com/corywright/83d16fdd260b967ef1773164261ffa2a | 13:34 |
sileht | cwright, you missed to add your new attributes on the 'update' command line | 13:36 |
*** Bhujay has quit IRC | 13:37 | |
cwright | sileht: ah, ok. I guess I was under the impression there was a schema migration tool that could be defined in yaml or something. but for schema changes I will need to manually run commands for each change? | 13:38 |
sileht | yeah, looks at https://gnocchi.xyz/gnocchiclient/shell.html#resource-type-update and https://gnocchi.xyz/gnocchiclient/shell.html#cmdoption-gnocchi-resource-type-update-a | 13:39 |
cwright | sileht: are you aware of any examples of this for adding identity or swift_account resource types? googling is not revealing much | 13:43 |
sileht | cwright, why adding, they are already there, I have though you want to add attribute to them | 13:44 |
cwright | yes, you are correct, i worded my question poorly. i meant to say adding attributes | 13:44 |
sileht | I don't really have example of this | 13:45 |
cwright | ok, thank you | 13:45 |
sileht | cwright, this article have some examplehttps://opensource.com/article/17/11/getting-started-gnocchi | 13:45 |
sileht | gnocchi resource-type create -a ipaddress:string:true network-switch | 13:46 |
sileht | just replace "create" by "update" | 13:46 |
cwright | thank you | 13:47 |
*** donghao has joined #openstack-telemetry | 13:47 | |
gordc | /3ehttps://opensource.com/article/17/11/getting-started-gnocchi | 13:51 |
*** jmlowe has quit IRC | 13:51 | |
gordc | ... well that copy/paste went well. | 13:51 |
cwright | is there a document where i can find what the standard attribute definitions that I'd need to pass in? or is this something keystone and swift would maintain? | 13:56 |
*** psachin has quit IRC | 14:00 | |
sileht | cwright, the standard is no additional attributes | 14:03 |
sileht | cwright, but all resources have id/project_id/user_id by default | 14:03 |
cwright | sileht: thanks. | 14:05 |
cwright | I feel like I might be going down a rabbit hole. The original warning message I got that sent me on this path was: | 14:05 |
cwright | -- ceilometer.dispatcher.gnocchi [-] metric $.payload.outcome - $.payload.outcome + 'identity.authenticate.' + $.payload.outcome is not handled by Gnocchi | 14:05 |
cwright | Maybe the question I should be asking is, how do I get this to be handled by Gnocchi? | 14:06 |
sileht | cwright, that looks like a mistake in /etc/ceilometer/gnocchi_resources.yaml | 14:06 |
cwright | that error came before I had a gnocchi_resources.yaml file | 14:06 |
cwright | the ubuntu cloud archive packages for pike on 16.04 did not include one, and I did not know I needed one until recently | 14:07 |
sileht | cwright, maybe you customize the meter.yaml definition ? | 14:07 |
cwright | I don't see a meter.yaml file in either /etc/ceilometer no /etc/gnocchi | 14:08 |
gordc | cwright: there's a default copy internally if you don't have one. it was just using that. | 14:08 |
gordc | same for meter.yaml | 14:08 |
gordc | it's possible the default copy is invalid. | 14:09 |
sileht | gordc, looks like https://github.com/openstack/ceilometer/blob/master/ceilometer/data/meters.d/meters.yaml#L383 is not interpreted | 14:13 |
sileht | so the sample have a wrong name | 14:13 |
sileht | then the sample goes to Gnocchi publisher and because the name is wrong we can't built the resource/metric/measure | 14:14 |
sileht | cwright, can you make sure you have pythonjsonpath-rw-ext version 1.1.3 ? | 14:15 |
cwright | https://gist.github.com/corywright/1acc46eee741275fcda93fcc6a065ea0 | 14:15 |
cwright | sileht: let me check | 14:15 |
sileht | woot ubuntu main have 0.1.9 oO , I hope cloud archive have updated it | 14:17 |
*** jmlowe has joined #openstack-telemetry | 14:18 | |
gordc | ... 0.1.9. close enough. :P | 14:19 |
cwright | sileht: ok, it's not installed on either my ceilometer or gnocchi servers. do I need to install it on both? | 14:20 |
*** alexchadin has quit IRC | 14:25 | |
cwright | sileht: gordc is correct, the ubuntu cloud archive for pike on 16.04 has version 0.1.9 of python-jsonpath-rw-ext | 14:26 |
*** alexchadin has joined #openstack-telemetry | 14:27 | |
cwright | oh, wait, i'm wrong, there is no update for this version | 14:27 |
*** gkadam_ has joined #openstack-telemetry | 14:28 | |
*** gkadam has quit IRC | 14:30 | |
openstackgerrit | Merged openstack/ceilometer master: Remove deprecated gnocchi_dispatcher option group https://review.openstack.org/575368 | 14:35 |
cwright | sileht: would you recommend I install pythonjsonpath-rw-ext 1.1.3 via pip? | 14:39 |
*** jmlowe has quit IRC | 14:43 | |
*** jmlowe has joined #openstack-telemetry | 14:45 | |
*** chenyb4 has quit IRC | 14:50 | |
*** edmondsw has joined #openstack-telemetry | 14:51 | |
*** chenyb4 has joined #openstack-telemetry | 14:51 | |
*** BlackDex has quit IRC | 14:54 | |
*** edmondsw has quit IRC | 14:55 | |
*** chenyb4 has quit IRC | 14:57 | |
*** peereb has quit IRC | 15:05 | |
*** alexchadin has quit IRC | 15:13 | |
*** weshay|ruck is now known as weshay | 15:29 | |
sileht | cwright, welcome using pip as root is not really recommended, you just open a bug in launchpad for ubuntu cloud archive packaging | 15:48 |
*** sileht has quit IRC | 15:53 | |
*** donghao has quit IRC | 15:55 | |
*** sileht has joined #openstack-telemetry | 15:55 | |
*** Guest66593 has quit IRC | 15:58 | |
*** sileht has quit IRC | 15:59 | |
*** sileht has joined #openstack-telemetry | 16:00 | |
*** shardy has quit IRC | 16:01 | |
*** tesseract has quit IRC | 16:20 | |
*** r-mibu has quit IRC | 16:29 | |
*** gkadam__ has joined #openstack-telemetry | 16:30 | |
*** gkadam_ has quit IRC | 16:32 | |
*** cdent has joined #openstack-telemetry | 18:13 | |
*** edmondsw has joined #openstack-telemetry | 18:27 | |
*** edmondsw has quit IRC | 18:32 | |
*** gordc has quit IRC | 18:34 | |
*** imacdonn has joined #openstack-telemetry | 18:40 | |
*** imacdonn has left #openstack-telemetry | 18:47 | |
cwright | sileht: ok. I will file a bug. Is there something I can do in the mean time to fix this issue? a local code patch? | 18:59 |
openstackgerrit | Nagasai Vinaykumar Kapalavai proposed openstack/aodh master: Validation Check for 'query' params of alarm type 'event' https://review.openstack.org/579240 | 19:15 |
*** edmondsw has joined #openstack-telemetry | 20:16 | |
*** edmondsw has quit IRC | 20:21 | |
*** jmlowe has quit IRC | 20:26 | |
*** gkadam__ has quit IRC | 21:35 | |
*** edmondsw has joined #openstack-telemetry | 22:05 | |
*** rcernin has joined #openstack-telemetry | 22:09 | |
*** edmondsw has quit IRC | 22:09 | |
*** cdent has quit IRC | 22:23 | |
*** jmlowe has joined #openstack-telemetry | 22:36 | |
*** rcernin has quit IRC | 22:49 | |
*** rcernin has joined #openstack-telemetry | 23:01 | |
*** rcernin_ has joined #openstack-telemetry | 23:23 | |
*** yassine has joined #openstack-telemetry | 23:23 | |
*** yassine is now known as Guest38444 | 23:24 | |
*** rcernin has quit IRC | 23:24 | |
*** edmondsw has joined #openstack-telemetry | 23:53 | |
*** edmondsw has quit IRC | 23:57 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!