Wednesday, 2018-04-18

*** harlowja has quit IRC01:16
*** zhangfei has joined #openstack-performance01:38
*** AlexeyAbashkin has joined #openstack-performance01:39
*** AlexeyAbashkin has quit IRC01:43
*** linuxaddicts has quit IRC01:45
*** Nel1x has quit IRC02:11
*** linuxaddicts has joined #openstack-performance02:28
*** Nel1x has joined #openstack-performance02:29
*** linuxaddicts has quit IRC02:52
*** linuxaddicts has joined #openstack-performance02:54
*** harlowja has joined #openstack-performance03:43
*** harlowja has quit IRC04:12
*** pcaruana has joined #openstack-performance05:05
*** pcaruana has quit IRC05:19
zhangfeiHi, osprofiler failed, any clue?06:36
zhangfei(rally)[rally@ubuntu /]$ osprofiler trace show --html --out /tmp/trace.html 82f0b9b7-b79b-4556-aca2-3a629ecde50406:36
zhangfeiTrace with UUID 82f0b9b7-b79b-4556-aca2-3a629ecde504 not found. Please check the HMAC key used in the command.06:36
zhangfeiEnable aodh, panko and gnocchi, since ceilometer does not exists in pike anymore,06:36
*** pcaruana has joined #openstack-performance06:50
*** AlexeyAbashkin has joined #openstack-performance07:30
ilyashakhatzhangfei, hi - not sure about Pike, but in Queens osprofiler didn't work with telemetry projects anymore07:41
ilyashakhatso the default driver was changed to Redis07:41
ilyashakhat(or any other database solution)07:42
ilyashakhatthough sending traces via RabbitMQ should still work07:42
ilyashakhatin the master support of ceilometer is removed completely07:43
*** radeks has joined #openstack-performance08:01
zhangfeithanks ilyashakhat: will try redis, I am using kolla, how about aodh, panko and gnocchi, are they required?08:20
ilyashakhatzhangfei, aodh, panko gnocchi are not needed08:49
ilyashakhatdo you use devstack?08:49
ilyashakhatif yes, please refer to https://github.com/openstack/osprofiler/tree/master/devstack08:50
ilyashakhatparameter OSPROFILER_COLLECTOR=redis automatically configures everything08:51
zhangfeiilyashakhat, thanks for the info, will have a try.08:56
*** HW_Peter has quit IRC09:13
zhangfeiilyashakhat, I found kolla use elasticsearch by default10:03
zhangfeiexport OSPROFILER_CONN_STR=elasticsearch://192.168.1.41:920010:03
zhangfeibut still got error: elasticsearch.exceptions.ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f6c39d3fd90>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f6c39d3fd90>: Failed to establish a new connection: [Errno 111] Connection refused)10:03
ilyashakhatdoes elasticsearch listen on this address?10:04
zhangfeifrom the log found two ports are using 92 and 9310:06
zhangfei[2018-04-18 09:08:28,768][INFO ][transport                ] [192.168.1.41] publish_address {192.168.1.41:9300}, bound_addresses {192.168.1.41:9300}10:06
zhangfei[2018-04-18 09:08:28,772][INFO ][discovery                ] [192.168.1.41] kolla_logging/bmJubP1gT8W47nVmkiiofw10:06
zhangfei[2018-04-18 09:08:31,790][INFO ][cluster.service          ] [192.168.1.41] new_master {192.168.1.41}{bmJubP1gT8W47nVmkiiofw}{192.168.1.41}{192.168.1.41:9300}{master=true}, reason: zen-disc10:06
zhangfeio-join(elected_as_master, [0] joins received)10:06
zhangfei[2018-04-18 09:08:31,923][INFO ][http                     ] [192.168.1.41] publish_address {192.168.1.41:9200}, bound_addresses {192.168.1.41:9200}10:06
zhangfei[2018-04-18 09:08:31,923][INFO ][node                     ] [192.168.1.41] started10:06
ilyashakhat"elasticsearch.exceptions.ConnectionError" - where it comes from?10:07
ilyashakhatis it from one of services?10:08
ilyashakhatand osprofiler library?10:08
zhangfeishould be osprofiler library?10:08
zhangfeirally -> osprofiler library10:09
zhangfeiosprofiler trace show --html --out /tmp/trace.html b49350e3-fbe7-402d-b54f-98511c67cc8110:09
ilyashakhatcould you try to add parameter `--connection-string elasticsearch://192.168.1.41:9200`?10:11
zhangfeistrange, this seems works10:14
zhangfeiwhile I am doing before is set deployment from env10:15
zhangfei        "profiler_conn_str": "elasticsearch://192.168.1.41:9200",10:16
zhangfei        "profiler_hmac_key": "7B7M5Xpk6o5ljG2529xDHQ==",10:16
ilyashakhatI don't thibk these parameters influence osprofiler shell client10:16
zhangfeivi admin-openrc.sh10:17
zhangfeiexport OSPROFILER_HMAC_KEY=7B7M5Xpk6o5ljG2529xDHQ==10:17
zhangfeiexport OSPROFILER_CONN_STR=elasticsearch://192.168.1.41:920010:17
zhangfeisource admin-openrc.sh10:17
zhangfeirally deployment create --fromenv --name=existing10:17
ilyashakhatOSPROFILER_CONNECTION_STRING10:17
ilyashakhattry this one ^^10:17
ilyashakhatit's suppose to work https://github.com/openstack/osprofiler/blob/master/osprofiler/cmd/commands.py#L3810:17
zhangfeirally deployment  config10:18
zhangfei        "profiler_conn_str": "elasticsearch://192.168.1.41:9200",10:18
zhangfei        "profiler_hmac_key": "7B7M5Xpk6o5ljG2529xDHQ==",10:18
zhangfeithanks ilyashakhat, is OSPROFILER_CONNECTION_STRING -> profiler_conn_str?10:19
ilyashakhatyes, so set it OSPROFILER_CONNECTION_STRING=elasticsearch://192.168.1.41:920010:19
zhangfeithanks, will try, i think i have tried before use  OSPROFILER_CONNECTION_STRING, but does not work10:21
zhangfeigrep -rn  OSPROFILER_CONNECTION_STRING rally/10:21
zhangfeirally/rally/plugins/openstack/platforms/existing.py:236:            "profiler_conn_str": sys_environ.get("OSPROFILER_CONN_STR")10:22
zhangfeithen switch to OSPROFILER_CONN_STR instead10:22
zhangfeiThanks ilyashakhat for so much help, anyway, the command line works, that is great, will look more about the para10:25
ilyashakhatyou are welcome10:25
*** pcaruana has quit IRC10:27
*** linuxaddicts has quit IRC10:58
*** zhangfei has quit IRC11:19
*** radeks has quit IRC11:41
*** pcaruana has joined #openstack-performance12:19
*** Alexey_Abashkin has joined #openstack-performance12:31
*** AlexeyAbashkin has quit IRC12:33
*** Alexey_Abashkin is now known as AlexeyAbashkin12:33
*** radeks has joined #openstack-performance12:43
*** zhangfei has joined #openstack-performance14:15
*** zhangfei has quit IRC14:45
*** zhangfei has joined #openstack-performance14:57
*** rajinir has joined #openstack-performance15:00
*** zhangfei has quit IRC15:21
*** harlowja has joined #openstack-performance16:06
*** AlexeyAbashkin has quit IRC16:23
*** harlowja has quit IRC17:44
*** AlexeyAbashkin has joined #openstack-performance17:46
*** AlexeyAbashkin has quit IRC17:51
*** radeks has quit IRC18:05
*** pcaruana has quit IRC18:12
*** harlowja has joined #openstack-performance18:18
*** harlowja_ has joined #openstack-performance18:23
*** harlowja has quit IRC18:24
*** pcaruana has joined #openstack-performance19:13
*** pcaruana has quit IRC19:20
*** Nel1x has quit IRC19:34
*** Nel1x has joined #openstack-performance19:53
*** Nel1x has quit IRC20:25
*** Nel1x has joined #openstack-performance20:45
*** AlexeyAbashkin has joined #openstack-performance22:45
*** AlexeyAbashkin has quit IRC22:50
*** andreaf has quit IRC23:18
*** andreaf has joined #openstack-performance23:18
*** Nel1x has quit IRC23:43

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