Tuesday, 2018-07-03

*** threestrands_ has joined #openstack-telemetry00:07
*** threestrands_ has quit IRC00:07
*** threestrands_ has joined #openstack-telemetry00:07
*** threestrands_ has quit IRC00:08
*** threestrands_ has joined #openstack-telemetry00:09
*** threestrands_ has quit IRC00:09
*** threestrands_ has joined #openstack-telemetry00:09
*** threestrands has quit IRC00:10
*** threestrands_ has quit IRC00:10
*** threestrands_ has joined #openstack-telemetry00:10
*** threestrands_ has quit IRC00:11
*** threestrands_ has joined #openstack-telemetry00:12
*** threestrands_ has quit IRC00:13
*** threestrands_ has joined #openstack-telemetry00:13
*** threestrands_ has quit IRC00:13
*** threestrands_ has joined #openstack-telemetry00:13
*** threestrands_ has quit IRC00:14
*** threestrands_ has joined #openstack-telemetry00:15
*** threestrands_ has quit IRC00:15
*** threestrands_ has joined #openstack-telemetry00:15
*** threestrands_ has quit IRC00:16
*** threestrands_ has joined #openstack-telemetry00:16
*** edmondsw has joined #openstack-telemetry00:23
*** edmondsw has quit IRC00:28
*** gkadam_ has quit IRC01:07
*** chenyb4 has joined #openstack-telemetry01:07
*** gkadam has joined #openstack-telemetry01:10
*** masber has joined #openstack-telemetry01:13
*** phuoc_ has joined #openstack-telemetry01:16
openstackgerritNguyen Van Trung proposed openstack/ceilometer master: Follow the new PTI for document build  https://review.openstack.org/57949301:17
*** phuoc has quit IRC01:19
*** tiendc has joined #openstack-telemetry01:21
*** psachin has joined #openstack-telemetry02:44
*** threestrands_ has quit IRC04:25
*** gkadam has quit IRC05:04
*** gkadam has joined #openstack-telemetry05:08
*** swamireddy has quit IRC05:16
*** gkadam has quit IRC05:31
*** swamireddy has joined #openstack-telemetry05:31
*** edmondsw has joined #openstack-telemetry05:48
*** edmondsw has quit IRC05:53
*** Bhujay has joined #openstack-telemetry06:00
*** lvdombrkr has joined #openstack-telemetry06:20
*** gongysh has joined #openstack-telemetry06:43
*** openstackgerrit has quit IRC06:49
*** rcernin has quit IRC06:55
*** tesseract has joined #openstack-telemetry07:06
*** openstackgerrit has joined #openstack-telemetry07:12
openstackgerritNguyen Van Trung proposed openstack/ceilometer master: Follow the new PTI for document build  https://review.openstack.org/57949307:12
*** shardy has joined #openstack-telemetry07:16
openstackgerritDao Cong Tien proposed openstack/panko master: Invalid link to static file in doc  https://review.openstack.org/57979007:20
*** peereb has joined #openstack-telemetry07:21
*** alexchadin has joined #openstack-telemetry07:24
*** edmondsw has joined #openstack-telemetry07:36
*** witek has quit IRC07:37
*** oanson has quit IRC07:39
*** oanson has joined #openstack-telemetry07:41
*** edmondsw has quit IRC07:41
*** lvdombrkr has quit IRC07:51
*** lvdombrkr has joined #openstack-telemetry07:55
*** lvdombrkr has quit IRC08:00
openstackgerritDao Cong Tien proposed openstack/panko master: Invalid link to static file in doc  https://review.openstack.org/57979008:21
*** yassine_ has quit IRC08:21
openstackgerritDao Cong Tien proposed openstack/aodh master: Invalid link to static file in doc  https://review.openstack.org/57980508:26
*** yassine_ has joined #openstack-telemetry08:31
*** gkadam has joined #openstack-telemetry08:33
*** witek has joined #openstack-telemetry08:40
*** Bhujay has quit IRC08:44
*** cdent has joined #openstack-telemetry08:56
*** gongysh has quit IRC09:03
*** cdent_ has joined #openstack-telemetry09:04
*** cdent has quit IRC09:05
*** cdent_ is now known as cdent09:05
*** alexchadin has quit IRC09:13
*** alexchadin has joined #openstack-telemetry09:16
*** edmondsw has joined #openstack-telemetry09:25
*** edmondsw has quit IRC09:29
*** Bhujay has joined #openstack-telemetry09:30
*** alexchadin has quit IRC09:39
*** gongysh has joined #openstack-telemetry09:56
*** yassine_ has quit IRC09:58
*** alexchadin has joined #openstack-telemetry10:11
*** cdent has quit IRC10:25
openstackgerritMerged openstack/aodh master: Invalid link to static file in doc  https://review.openstack.org/57980510:49
openstackgerritMerged openstack/panko master: Invalid link to static file in doc  https://review.openstack.org/57979010:58
*** chenyb4 has quit IRC11:01
*** Bhujay has quit IRC11:08
*** gongysh has quit IRC11:24
*** tiendc has quit IRC11:28
*** Bhujay has joined #openstack-telemetry11:32
*** yassine has joined #openstack-telemetry11:45
*** yassine is now known as Guest6659311:46
openstackgerritWitold Bedyk proposed openstack/ceilometer master: Remove deprecated gnocchi_dispatcher option group  https://review.openstack.org/57536812:14
*** alexchadin has quit IRC12:15
cwrightHi, I've created a /etc/ceilometer/gnocchi_resources.yaml file with `identity` and `swift_account` resource_type's defined12:29
cwrightI 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:5712:29
cwrightBut when I run `gnocchi resource-type show identity` (or swift_account) on the gnocchi server there are still no attributes defined12:29
cwrightCan anyone suggest what I might be doing wrong?  These are all Pike packages from Ubuntu Cloud Archive for 16.04, so Gnocchi 3.112:30
*** gordc has joined #openstack-telemetry12:34
*** alexchadin has joined #openstack-telemetry12:36
*** r-mibu has joined #openstack-telemetry13:00
*** edmondsw has joined #openstack-telemetry13:01
*** edmondsw has quit IRC13:06
*** chenyb4 has joined #openstack-telemetry13:12
cwrighthi gordc, just before you joined today I asked a question, would you be willing to take a look?13:14
cwrighthttp://eavesdrop.openstack.org/irclogs/%23openstack-telemetry/%23openstack-telemetry.2018-07-03.log.html#t2018-07-03T12:29:4513:14
silehtcwright, did you configure swift and keystone to send these informations ?13:15
cwrightsileht: yes, i can see them passing into ceilometer13:15
cwrighthttps://gist.github.com/corywright/a85073f1cbb544b383e10f2891fee37e13:17
cwright^^ that's my list of resource-types13:17
silehtcwright, ok, this only show that ceilometer-upgrade have configured Gnocchi correctly13:19
silehtcwright, changing /etc/ceilometer/gnocchi_resources.yaml doesn't upgrade the Gnocchi schema13:20
silehtcwright, the Gnocchi schema is hardcoded in Ceilometer code13:20
silehtcwright, /etc/ceilometer/gnocchi_resources.yaml is just used for ceilometer-samples -> gnocchi-resources attributes convertion13:21
silehtcwright, 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
cwrightok. I guess I'm also struggling to understand the questions I need to ask.13:22
cwrightsileht: would that `openstack metric resource-type update` command need to be run on the ceilometer server, or gnocchi server?13:23
silehtcwright, that a HTTP client to the Gnocchi API13:23
silehtlike any other "openstack XXX command"13:23
cwrightok13:23
cwright# openstack metric resource-type --help13:25
cwrightUnknown command [u'metric', u'resource-type']13:25
silehtcwright, looks like you don't have python-gnocchiclient installed13:26
cwrightok, let me get that13:26
cwrightsileht: i really appreciate your help, btw13:26
openstackgerritJulien Danjou proposed openstack/ceilometer master: Remove deprecated gnocchi_dispatcher option group  https://review.openstack.org/57536813:26
cwrightsileht: 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
cwrightHowever, running `gnocchi resource-type update identity` from the gnocchi server succeeds, but doesn't show any changes to the schema:13:34
cwrighthttps://gist.github.com/corywright/83d16fdd260b967ef1773164261ffa2a13:34
silehtcwright, you missed to add your new attributes on the 'update' command line13:36
*** Bhujay has quit IRC13:37
cwrightsileht: 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
silehtyeah, looks at https://gnocchi.xyz/gnocchiclient/shell.html#resource-type-update and https://gnocchi.xyz/gnocchiclient/shell.html#cmdoption-gnocchi-resource-type-update-a13:39
cwrightsileht: are you aware of any examples of this for adding identity or swift_account resource types?  googling is not revealing much13:43
silehtcwright, why adding, they are already there, I have though you want to add attribute to them13:44
cwrightyes, you are correct, i worded my question poorly. i meant to say adding attributes13:44
silehtI don't really have example of this13:45
cwrightok, thank you13:45
silehtcwright, this article have some examplehttps://opensource.com/article/17/11/getting-started-gnocchi13:45
sileht gnocchi resource-type create -a ipaddress:string:true network-switch13:46
silehtjust replace "create" by "update"13:46
cwrightthank you13:47
*** donghao has joined #openstack-telemetry13:47
gordc/3ehttps://opensource.com/article/17/11/getting-started-gnocchi13:51
*** jmlowe has quit IRC13:51
gordc... well that copy/paste went well.13:51
cwrightis 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 IRC14:00
silehtcwright, the standard is no additional attributes14:03
silehtcwright, but  all resources have id/project_id/user_id by default14:03
cwrightsileht: thanks.14:05
cwrightI 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 Gnocchi14:05
cwrightMaybe the question I should be asking is, how do I get this to be handled by Gnocchi?14:06
silehtcwright, that looks like a mistake in /etc/ceilometer/gnocchi_resources.yaml14:06
cwrightthat error came before I had a gnocchi_resources.yaml file14:06
cwrightthe ubuntu cloud archive packages for pike on 16.04 did not include one, and I did not know I needed one until recently14:07
silehtcwright, maybe you customize the meter.yaml definition ?14:07
cwrightI don't see a meter.yaml file in either /etc/ceilometer no /etc/gnocchi14:08
gordccwright: there's a default copy internally if you don't have one. it was just using that.14:08
gordcsame for meter.yaml14:08
gordcit's possible the default copy is invalid.14:09
silehtgordc, looks like https://github.com/openstack/ceilometer/blob/master/ceilometer/data/meters.d/meters.yaml#L383 is not interpreted14:13
silehtso the sample have a wrong name14:13
silehtthen the sample goes to Gnocchi publisher and because the name is wrong we can't built the resource/metric/measure14:14
silehtcwright, can you make sure you have pythonjsonpath-rw-ext version 1.1.3 ?14:15
cwrighthttps://gist.github.com/corywright/1acc46eee741275fcda93fcc6a065ea014:15
cwrightsileht: let me check14:15
silehtwoot ubuntu main have 0.1.9 oO , I hope cloud archive have updated it14:17
*** jmlowe has joined #openstack-telemetry14:18
gordc... 0.1.9. close enough. :P14:19
cwrightsileht: 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 IRC14:25
cwrightsileht: gordc is correct, the ubuntu cloud archive for pike on 16.04 has version 0.1.9 of python-jsonpath-rw-ext14:26
*** alexchadin has joined #openstack-telemetry14:27
cwrightoh, wait, i'm wrong, there is no update for this version14:27
*** gkadam_ has joined #openstack-telemetry14:28
*** gkadam has quit IRC14:30
openstackgerritMerged openstack/ceilometer master: Remove deprecated gnocchi_dispatcher option group  https://review.openstack.org/57536814:35
cwrightsileht: would you recommend I install pythonjsonpath-rw-ext 1.1.3 via pip?14:39
*** jmlowe has quit IRC14:43
*** jmlowe has joined #openstack-telemetry14:45
*** chenyb4 has quit IRC14:50
*** edmondsw has joined #openstack-telemetry14:51
*** chenyb4 has joined #openstack-telemetry14:51
*** BlackDex has quit IRC14:54
*** edmondsw has quit IRC14:55
*** chenyb4 has quit IRC14:57
*** peereb has quit IRC15:05
*** alexchadin has quit IRC15:13
*** weshay|ruck is now known as weshay15:29
silehtcwright, welcome using pip as root is not really recommended, you just open a bug in launchpad for ubuntu cloud archive packaging15:48
*** sileht has quit IRC15:53
*** donghao has quit IRC15:55
*** sileht has joined #openstack-telemetry15:55
*** Guest66593 has quit IRC15:58
*** sileht has quit IRC15:59
*** sileht has joined #openstack-telemetry16:00
*** shardy has quit IRC16:01
*** tesseract has quit IRC16:20
*** r-mibu has quit IRC16:29
*** gkadam__ has joined #openstack-telemetry16:30
*** gkadam_ has quit IRC16:32
*** cdent has joined #openstack-telemetry18:13
*** edmondsw has joined #openstack-telemetry18:27
*** edmondsw has quit IRC18:32
*** gordc has quit IRC18:34
*** imacdonn has joined #openstack-telemetry18:40
*** imacdonn has left #openstack-telemetry18:47
cwrightsileht: 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
openstackgerritNagasai Vinaykumar Kapalavai proposed openstack/aodh master: Validation Check for 'query' params of alarm type 'event'  https://review.openstack.org/57924019:15
*** edmondsw has joined #openstack-telemetry20:16
*** edmondsw has quit IRC20:21
*** jmlowe has quit IRC20:26
*** gkadam__ has quit IRC21:35
*** edmondsw has joined #openstack-telemetry22:05
*** rcernin has joined #openstack-telemetry22:09
*** edmondsw has quit IRC22:09
*** cdent has quit IRC22:23
*** jmlowe has joined #openstack-telemetry22:36
*** rcernin has quit IRC22:49
*** rcernin has joined #openstack-telemetry23:01
*** rcernin_ has joined #openstack-telemetry23:23
*** yassine has joined #openstack-telemetry23:23
*** yassine is now known as Guest3844423:24
*** rcernin has quit IRC23:24
*** edmondsw has joined #openstack-telemetry23:53
*** edmondsw has quit IRC23:57

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!