Monday, 2016-02-01

*** chlong has quit IRC00:01
*** thorst has joined #openstack-telemetry00:02
*** thorst has quit IRC00:04
*** thorst has joined #openstack-telemetry00:04
*** alejandrito has quit IRC00:05
*** tpeoples has quit IRC00:08
*** tpeoples has joined #openstack-telemetry00:10
*** thorst has quit IRC00:13
*** chlong has joined #openstack-telemetry00:17
*** thorst has joined #openstack-telemetry01:11
*** ljxiash has quit IRC01:11
*** thorst has quit IRC01:18
*** ljxiash has joined #openstack-telemetry01:36
*** ljxiash_ has joined #openstack-telemetry01:39
*** ljxiash has quit IRC01:41
*** boris-42 has quit IRC01:53
openstackgerritXia Linjuan proposed openstack/python-aodhclient: check the alarm type when list alarm  https://review.openstack.org/27448802:08
*** gzhai has joined #openstack-telemetry02:15
*** thorst has joined #openstack-telemetry02:16
*** gzhai3 has quit IRC02:17
*** cheneydc has joined #openstack-telemetry02:21
*** thorst has quit IRC02:23
*** boris-42 has joined #openstack-telemetry02:38
*** achatterjee has joined #openstack-telemetry03:06
*** thorst has joined #openstack-telemetry03:21
*** thorst has quit IRC03:27
*** links has joined #openstack-telemetry03:46
*** guillaume_ has quit IRC04:02
*** guillaume_ has joined #openstack-telemetry04:02
*** links has quit IRC04:19
*** thorst has joined #openstack-telemetry04:26
*** fabian2_ has joined #openstack-telemetry04:26
*** julim_ has quit IRC04:26
fabian2_Hi, I have a program,about ceilometer-api haaproxy, can i configure haproxy blance source or roundrobin ?04:27
*** thorst has quit IRC04:33
*** prashantD has joined #openstack-telemetry04:40
*** prashantD has quit IRC04:44
*** fabian2_ has quit IRC04:52
*** links has joined #openstack-telemetry04:53
*** sanjana has joined #openstack-telemetry05:02
*** chlong has quit IRC05:05
*** chlong has joined #openstack-telemetry05:16
*** jwcroppe has joined #openstack-telemetry05:23
*** chlong has quit IRC05:25
*** yprokule has joined #openstack-telemetry05:26
*** thorst has joined #openstack-telemetry05:31
*** thorst has quit IRC05:37
*** chlong has joined #openstack-telemetry05:38
*** mgagne has quit IRC05:49
*** agireud has quit IRC05:49
*** ityaptin has quit IRC05:49
*** mstyne has quit IRC05:49
*** mgagne_ has joined #openstack-telemetry05:49
*** mstyne has joined #openstack-telemetry05:50
*** agireud has joined #openstack-telemetry05:51
*** ityaptin has joined #openstack-telemetry05:55
*** dongc has joined #openstack-telemetry06:19
*** cheneydc has quit IRC06:21
*** dongc is now known as cheneydc06:21
*** jwcroppe has quit IRC06:30
openstackgerritOpenStack Proposal Bot proposed openstack/ceilometer: Imported Translations from Zanata  https://review.openstack.org/27334606:33
*** thorst has joined #openstack-telemetry06:36
*** chlong has quit IRC06:41
*** thorst has quit IRC06:42
*** chlong has joined #openstack-telemetry06:46
*** _nadya_ has joined #openstack-telemetry06:46
*** dongc has joined #openstack-telemetry06:48
*** cheneydc has quit IRC06:48
*** dongc is now known as cheneydc06:48
openstackgerritZi Lian Ji proposed openstack/ceilometer: Enable the Load Balancer v2 for the Ceilometer  https://review.openstack.org/27451806:56
*** rbak__ has joined #openstack-telemetry07:00
openstackgerritZi Lian Ji proposed openstack/ceilometer: Enable the Load Balancer v2 for the Ceilometer  https://review.openstack.org/27451807:01
*** sanjana has quit IRC07:01
*** rbak_ has quit IRC07:02
*** rbak__ has quit IRC07:04
*** rbak has joined #openstack-telemetry07:06
*** thorst has joined #openstack-telemetry07:40
*** lsmola has joined #openstack-telemetry07:45
*** chlong has quit IRC07:46
*** safchain has joined #openstack-telemetry07:47
*** thorst has quit IRC07:47
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: Default devstack plugin to keystone v3  https://review.openstack.org/27453907:51
openstackgerritMehdi Abaakouk (sileht) proposed openstack/aodh: Default devstack plugin to keystone v3  https://review.openstack.org/27454007:52
openstackgerritZi Lian Ji proposed openstack/ceilometer: Enable the Load Balancer v2 for the Ceilometer(Part One)  https://review.openstack.org/27451807:53
*** belmoreira has joined #openstack-telemetry07:55
*** jgjhgsonchn88523 has joined #openstack-telemetry08:09
*** ildikov has quit IRC08:12
*** jgjhgsonchn88523 has left #openstack-telemetry08:13
*** guillaume_ has quit IRC08:15
*** rcernin has joined #openstack-telemetry08:26
*** efoley_ has joined #openstack-telemetry08:38
*** efoley__ has joined #openstack-telemetry08:40
*** shardy has joined #openstack-telemetry08:42
*** efoley_ has quit IRC08:43
*** thorst has joined #openstack-telemetry08:46
*** davidlenwell has quit IRC08:47
*** thorst has quit IRC08:52
*** davidlenwell has joined #openstack-telemetry08:56
*** efoley_ has joined #openstack-telemetry09:01
*** efoley__ has quit IRC09:03
*** mattyw has joined #openstack-telemetry09:03
jd__hoy09:09
*** yassine__ has joined #openstack-telemetry09:16
*** ildikov has joined #openstack-telemetry09:18
_nadya_hi, jd__!09:19
_nadya_jd__: how are you :)?09:19
openstackgerritRen Qiaowei proposed openstack/ceilometer: Fix typos  https://review.openstack.org/27456209:21
jd__hi _nadya_09:21
jd__great and you?09:21
_nadya_we have rain in February! it should be -20C instead of this09:22
_nadya_spring is coming :)09:24
_nadya_jd__: look here http://logs.openstack.org/92/273792/3/check/gate-telemetry-dsvm-integration-ceilometer/290da81/logs/devstack-gate-post_test_hook.txt.gz#_2016-01-29_22_42_03_21509:27
jd__I spent FOSDEM under the rain and i'm not happy but you seem happy to have rain, what a different world ;)09:27
openstackgerritMerged openstack/ceilometer: tempest: migrate conf.py from tempest tree  https://review.openstack.org/25570809:28
jd___nadya_: yeah that's a debug line that is run when the test fails, I think I fixed it at some point but it might be broken again, it's not a big deal; we should remove it I guess09:28
_nadya_jd__: I'm happy because I'm inside :)09:29
jd__hehe09:29
*** efoley_ has quit IRC09:31
*** achatterjee has quit IRC09:33
*** efoley_ has joined #openstack-telemetry09:34
*** achatterjee has joined #openstack-telemetry09:35
openstackgerritZi Lian Ji proposed openstack/python-aodhclient: Add some unit test cases  https://review.openstack.org/27302109:37
*** thorst has joined #openstack-telemetry09:50
*** ramishra_ is now known as ramishra09:53
*** thorst has quit IRC09:57
openstackgerritMerged openstack/ceilometer: tempest: add telemetry client manager  https://review.openstack.org/25570909:58
*** openstackgerrit has quit IRC10:02
*** cheneydc has quit IRC10:05
*** efoley_ has quit IRC10:31
*** efoley_ has joined #openstack-telemetry10:55
*** thorst has joined #openstack-telemetry10:56
*** ildikov has quit IRC10:57
*** yassine__ has quit IRC11:00
*** thorst has quit IRC11:03
*** efoley_ has quit IRC11:19
*** jwcroppe has joined #openstack-telemetry11:26
*** Liuqing has joined #openstack-telemetry11:37
*** efoley_ has joined #openstack-telemetry11:49
*** openstackgerrit_ has joined #openstack-telemetry11:54
*** openstackgerrit_ is now known as openstackgerrit11:55
*** openstackgerrit has quit IRC11:59
*** thorst has joined #openstack-telemetry12:01
*** yassine__ has joined #openstack-telemetry12:04
*** efoley_ has quit IRC12:05
*** thorst has quit IRC12:08
*** openstackgerrit has joined #openstack-telemetry12:08
*** gordc has joined #openstack-telemetry12:16
openstackgerritMehdi Abaakouk (sileht) proposed openstack/aodh: Fix alarm reason  https://review.openstack.org/27461512:21
openstackgerritgordon chung proposed openstack/ceilometer: do not configure worker specific items in init  https://review.openstack.org/27379212:24
openstackgerritgordon chung proposed openstack/ceilometer: test  https://review.openstack.org/27426212:24
*** liamji has joined #openstack-telemetry12:47
*** thorst has joined #openstack-telemetry12:48
openstackgerritMehdi Abaakouk (sileht) proposed openstack/aodh: Fix alarm reason  https://review.openstack.org/27461512:48
*** efoley_ has joined #openstack-telemetry13:01
openstackgerritMerged openstack/aodh: functional tests: fix publicURL retrieval  https://review.openstack.org/27460313:06
*** shardy has quit IRC13:06
*** efoley_ is now known as efoley13:20
*** ildikov has joined #openstack-telemetry13:23
openstackgerritOpenStack Proposal Bot proposed openstack/ceilometer: Updated from global requirements  https://review.openstack.org/27278013:36
*** ljxiash_ has quit IRC13:40
*** ljxiash has joined #openstack-telemetry13:41
*** nicodemus_ has joined #openstack-telemetry13:41
*** Liuqing has quit IRC13:42
*** Liuqing has joined #openstack-telemetry13:43
*** ljxiash has quit IRC13:45
*** pradk has joined #openstack-telemetry13:52
*** pradk has quit IRC13:52
*** cheneydc has joined #openstack-telemetry13:53
*** cheneydc has quit IRC13:54
*** jaypipes has joined #openstack-telemetry13:54
*** ljxiash has joined #openstack-telemetry14:02
*** efoley_ has joined #openstack-telemetry14:02
*** jaypipes has quit IRC14:03
*** efoley has quit IRC14:06
*** ljxiash has quit IRC14:07
*** efoley__ has joined #openstack-telemetry14:07
*** ljxiash has joined #openstack-telemetry14:07
*** efoley_ has quit IRC14:09
*** ljxiash has quit IRC14:11
*** julim has joined #openstack-telemetry14:14
*** ljxiash has joined #openstack-telemetry14:15
*** diogogmt has quit IRC14:16
*** ljxiash has quit IRC14:19
openstackgerritJulien Danjou proposed openstack/gnocchi: storage: fix typo in exception formatting  https://review.openstack.org/27468214:23
openstackgerritJulien Danjou proposed openstack/gnocchi: indexer: replace get_metrics() by list_metrics()  https://review.openstack.org/27468314:23
openstackgerritJulien Danjou proposed openstack/gnocchi: rest: implement groupby in resource/metric aggregation  https://review.openstack.org/27468414:23
*** efoley__ is now known as efoley14:24
*** diogogmt has joined #openstack-telemetry14:24
*** Ephur has joined #openstack-telemetry14:34
*** Ephur has quit IRC14:34
*** Ephur has joined #openstack-telemetry14:36
openstackgerritMerged openstack/ceilometer: tempest: add ceilometer tempest plugin  https://review.openstack.org/25571014:38
*** Ephur has quit IRC14:41
*** rbak has quit IRC14:42
*** ljxiash has joined #openstack-telemetry14:45
*** diogogmt has quit IRC14:45
openstackgerritgordon chung proposed openstack/ceilometer: raise coordination error if not registered  https://review.openstack.org/26829214:46
*** liamji has quit IRC14:48
openstackgerritgordon chung proposed openstack/ceilometer: test  https://review.openstack.org/27426214:51
openstackgerritgordon chung proposed openstack/ceilometer: rewriting history  https://review.openstack.org/27304914:52
*** liamji has joined #openstack-telemetry15:00
openstackgerritOpenStack Proposal Bot proposed openstack/ceilometer: Updated from global requirements  https://review.openstack.org/27278015:01
*** KrishR has joined #openstack-telemetry15:02
*** rbak has joined #openstack-telemetry15:07
*** jwcroppe has quit IRC15:07
*** sergio_nubeliu has joined #openstack-telemetry15:16
*** alejandrito has joined #openstack-telemetry15:17
*** liamji has quit IRC15:19
*** liamji has joined #openstack-telemetry15:20
*** rbak has quit IRC15:23
*** links has quit IRC15:24
*** Liuqing has quit IRC15:25
*** diogogmt has joined #openstack-telemetry15:36
openstackgerritJulien Danjou proposed openstack/gnocchi: indexer: replace get_metrics() by list_metrics()  https://review.openstack.org/27468315:44
openstackgerritJulien Danjou proposed openstack/gnocchi: rest: implement groupby in resource/metric aggregation  https://review.openstack.org/27468415:44
openstackgerritMerged openstack/gnocchi: storage: fix typo in exception formatting  https://review.openstack.org/27468215:45
*** jwcroppe has joined #openstack-telemetry15:47
*** jwcroppe_ has joined #openstack-telemetry15:48
*** yprokule has quit IRC15:49
*** mgarza_ has joined #openstack-telemetry15:49
*** rbak has joined #openstack-telemetry15:50
*** pradk has joined #openstack-telemetry15:50
openstackgerritJulien Danjou proposed openstack/aodh: Update alarm history only if change in alarm property  https://review.openstack.org/27346315:51
*** jwcroppe has quit IRC15:51
*** Ephur has joined #openstack-telemetry15:55
*** rcernin has quit IRC15:58
*** rbak has quit IRC16:09
*** belmoreira has quit IRC16:10
*** rbak has joined #openstack-telemetry16:10
*** alextricity25_ is now known as alextricity2516:16
*** guillaume_ has joined #openstack-telemetry16:18
*** thumpba has joined #openstack-telemetry16:19
*** tongli has joined #openstack-telemetry16:22
*** _nadya_ has quit IRC16:28
datravishi, when using workload_partitioning, is it recommended to set pipeline_processing_queues to a multiple of the number of workers, or just to a value greater than the number of workers?16:32
gordcdatravis: either or. more processing queues you set, the more distributed the workload will be, but it will also consume more memory as it has to manage all the queues.16:36
gordcyou can probably just start with number of agents you have... and if you see one agent is overloaded, you can add more queues to improve partitioning16:38
datravisUnderstood, I'll experiment with it.  Thanks!16:39
gordcnp16:39
*** rcernin has joined #openstack-telemetry16:40
gordcsileht: i agree about oslo.service. the more i study it, the more confused i am16:47
*** diogogmt has quit IRC16:51
*** diogogmt has joined #openstack-telemetry16:52
silehtgordc, stop is called in parent process and child process that insane16:58
*** rcernin has quit IRC17:02
gordcsigh.. i have no idea. maybe we should just make people start it as multiple services rather workers17:06
*** sergio_nubeliu has quit IRC17:09
*** sergio_nubeliu has joined #openstack-telemetry17:14
*** jwcroppe_ has quit IRC17:14
liamji:gordc, about the code https://github.com/openstack/python-aodhclient/blob/master/aodhclient/v2/alarm_cli.py#L18817:16
liamjiit uses the self.parser in the method but not initialized in the __init__17:17
liamjiwhen I tried to mock it17:17
liamjiit will throw the exception17:17
liamjiTraceback (most recent call last):17:17
liamji  File "/home/liam/liam/python-aodhclient/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched17:17
liamji    return func(*args, **keywargs)17:17
liamji  File "aodhclient/tests/unit/test_alarm_cli.py", line 67, in test_validate_args_gnocchi_resources_threshold17:17
liamji    cli_alarm_create._validate_args(test_parsed_args)17:17
liamji  File "aodhclient/v2/alarm_cli.py", line 239, in _validate_args17:17
liamji    self.parser.error('gnocchi_resources_threshold requires --metric'17:17
liamjiAttributeError: 'CliAlarmCreate' object has no attribute 'parser'17:17
gordcliamji: how are you using it17:17
liamjido you have suggestion about it?17:17
liamji@mock.patch.object(argparse.ArgumentParser, 'error')17:21
liamji    def test_validate_args_gnocchi_resources_threshold(self, mock_arg):17:21
liamji        # Cover the test case of the method _validate_args for17:21
liamji        # gnocchi_resources_threshold17:21
liamji        cli_alarm_create = alarm_cli.CliAlarmCreate(self.app, self.parser)17:21
liamji        test_parser = argparse.ArgumentParser()17:21
liamji        test_parser.add_argument(17:21
liamji            '--type',17:21
liamji            default='gnocchi_resources_threshold')17:21
liamji        test_parser.add_argument('--metric', default='cpu')17:21
liamji        test_parser.add_argument('--resource_id')17:21
liamji        test_parser.add_argument('--aggregation_method', default='last')17:21
gordcyou can use paste.openstack.org17:21
*** ljxiash has quit IRC17:23
liamjigordc: okey, thanks. http://paste.openstack.org/show/485643/ Is it right?17:25
liamji:)17:25
liamjigordc: if this field is initialized in the __init__, this UT case can pass. :)17:27
*** safchain has quit IRC17:28
gordcliamji: i'm not sure what you're trying to test.17:29
*** efoley_ has joined #openstack-telemetry17:29
gordcliamji: you can mock self.parser in object specifically instead of argparse.ArgumentParser17:30
gordcor you can use get_parser method as it works normally.17:30
gordcbut yeah, i'm not exactly sure what you're trying to test.17:30
liamjigordc: I am trying to test the method _validate_args in the alarm_cli.py.17:31
*** efoley has quit IRC17:31
gordcliamji: why do you create a test_parser? you don't set anything.17:32
*** mgagne_ has quit IRC17:32
*** mgagne_ has joined #openstack-telemetry17:32
*** _nadya_ has joined #openstack-telemetry17:33
*** yassine__ has quit IRC17:34
*** mgagne_ is now known as mgagne17:34
*** kelv has joined #openstack-telemetry17:35
liamjigordc: I know. I made a mistake. it should test_parser.parse_args() => test_parser.parse_args([]), I fake the input to verify whether the error will be thrown when some mandatory field is missed.17:36
liamjigordc: but it's another problem. now the problem is that mock thinks 'CliAlarmCreate' object has no attribute 'parser' when it's not initialized in the __init__17:38
*** efoley_ has quit IRC17:39
gordcliamji: you're not faking the input. you're faking the parser from what i can tell.17:42
gordcliamji: http://paste.openstack.org/show/485647/ that would do the same thing17:42
*** prashantD has joined #openstack-telemetry17:46
liamjigordc: you are right. :) But I need to test the different paths, so I need to fake the different parser. I will change test_parser.parse_args() => test_parser.parse_args([])17:46
*** _nadya_ has quit IRC17:47
liamjigordc: the full change set: https://review.openstack.org/#/c/273021/4/aodhclient/tests/unit/test_alarm_cli.py :)17:48
gordcliamji: i'll comment on the patch.17:49
liamjigrodc: I wrapped the class CliAlarmCreate with CliAlarmCreateForTest line:35 and used the CliAlarmCreateForTest: line:53. thanks for your help17:50
liamjigrodc: thanks for your help. I saw your comments and knew how to do it. :)18:09
*** liamji has quit IRC18:09
openstackgerritgordon chung proposed openstack/gnocchi: fix metricd workers  https://review.openstack.org/27483118:11
*** ljxiash has joined #openstack-telemetry18:23
*** jwcroppe has joined #openstack-telemetry18:29
*** datravis has quit IRC18:37
*** _nadya_ has joined #openstack-telemetry18:38
openstackgerritJulien Danjou proposed openstack/gnocchi: swift, ceph: take smaller batch of new measures to process  https://review.openstack.org/27484318:43
*** rbak has quit IRC18:45
*** rbak has joined #openstack-telemetry18:55
*** julim has quit IRC19:04
*** julim_ has joined #openstack-telemetry19:08
openstackgerritPradeep Kilambi proposed openstack/ceilometer: Skip duplicate meter definitions  https://review.openstack.org/27486019:12
*** julim_ has quit IRC19:12
*** vishwanathj has joined #openstack-telemetry19:20
*** julim has joined #openstack-telemetry19:20
openstackgerritPradeep Kilambi proposed openstack/aodh: Load zaqar client outside init  https://review.openstack.org/27417019:22
*** thumpba has quit IRC19:23
*** thumpba has joined #openstack-telemetry19:26
*** sergio_nubeliu has quit IRC19:36
*** sergio_nubeliu has joined #openstack-telemetry19:49
stevelleI'm trying to get ceilometer to run with gnocchi + swift, getting Forbidden errors in ceilometer-poller log, coming from swiftclient. I'm running an environment with Keystone v3 which is usually the problem with these sort of things but looking for a hint of where to look in ceilometer to work this out20:05
stevellehttp://paste.openstack.org/show/KlsoqK5N701Er76cmAzR/ is log excerpt20:06
stevelleI don't see any way to specify to ceilometer what credentials is should use for swift20:06
openstackgerritMerged openstack/gnocchi: fix metricd workers  https://review.openstack.org/27483120:07
*** datravis has joined #openstack-telemetry20:10
gordcstevelle: you should have credentials similar to this: https://review.openstack.org/#/c/274539/20:16
gordcalso, you should give ceilometer user 'ResellerAdmin' role.20:16
stevellegordc: that last bit right there, probably the key missing from docs20:17
openstackgerritgordon chung proposed openstack/ceilometer: cleanup devstack plugin for gnocchi  https://review.openstack.org/27081820:17
gordcreselleradmin?20:17
stevelleI didn't see it mentioned but might be looking at something older20:18
stevellegordc: http://paste.openstack.org/show/l0GyuEt1WtCCOJ0WXiGN/ is the config I'm using20:19
stevellebut I'm probably doing it totally wrong, as nothing is shared between gnocchi and ceilo confs20:19
gordcit's possible that it's missing. small team and strangely the docs team owns project docs (not the project team themselves)20:19
gordcfor the pollsters you should focus on the [service_credentials] section20:20
stevellegordc: btw  ceilometer/doc/source/install/manual.rst -- I didn't find it on first pass but I found it now.20:21
stevelledocs ok20:21
gordcif it's v3, you should probably update it to include domain/project details20:21
gordcstevelle: cool cool20:21
stevellesorry wrong link. http://paste.openstack.org/show/l0GyuEt1WtCCOJ0WXiGN/ is config20:22
stevellewill tinker to add the domain to service_credentials20:22
*** cdent has joined #openstack-telemetry20:26
*** tongli has quit IRC20:28
openstackgerritMerged openstack/gnocchi: Remove custom api-paste.ini for testing  https://review.openstack.org/26740920:39
*** _nadya_ has quit IRC20:40
*** thumpba has quit IRC21:00
*** cdent has quit IRC21:05
*** KrishR has quit IRC21:12
*** thorst has quit IRC21:12
*** mgarza_ has quit IRC21:16
*** rcernin has joined #openstack-telemetry21:19
*** guillaume_ has quit IRC21:22
*** julim has quit IRC21:28
*** thorst has joined #openstack-telemetry21:31
*** rcernin has quit IRC21:44
*** thumpba has joined #openstack-telemetry22:02
*** j_king has quit IRC22:05
*** j_king has joined #openstack-telemetry22:06
*** chlong has joined #openstack-telemetry22:10
openstackgerritgordon chung proposed openstack/ceilometer: fix tempest path  https://review.openstack.org/27491122:29
*** alejandrito has quit IRC22:30
*** nicodemus_ has quit IRC22:32
openstackgerritRohit Jaiswal proposed openstack/python-ceilometerclient: Enhances client to support unique meter retrieval  https://review.openstack.org/27263323:04
*** pradk has quit IRC23:04
openstackgerritMerged openstack/ceilometer: raise coordination error if not registered  https://review.openstack.org/26829223:09
*** eglynn has joined #openstack-telemetry23:09
*** jwcroppe has quit IRC23:11
*** david-lyle has quit IRC23:15
*** eglynn is now known as eglynn-afk23:25
*** prashantD has quit IRC23:26
*** mattyw has quit IRC23:33
*** prashantD_ has joined #openstack-telemetry23:34
*** gordc has quit IRC23:36
*** kragniz_ is now known as kragniz23:38
openstackgerritRohit Jaiswal proposed openstack/python-ceilometerclient: Enhances client to support unique meter retrieval  https://review.openstack.org/27263323:51
*** diogogmt has quit IRC23:56
*** kelv has quit IRC23:56

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