*** harlowja has quit IRC | 01:16 | |
*** zhangfei has joined #openstack-performance | 01:38 | |
*** AlexeyAbashkin has joined #openstack-performance | 01:39 | |
*** AlexeyAbashkin has quit IRC | 01:43 | |
*** linuxaddicts has quit IRC | 01:45 | |
*** Nel1x has quit IRC | 02:11 | |
*** linuxaddicts has joined #openstack-performance | 02:28 | |
*** Nel1x has joined #openstack-performance | 02:29 | |
*** linuxaddicts has quit IRC | 02:52 | |
*** linuxaddicts has joined #openstack-performance | 02:54 | |
*** harlowja has joined #openstack-performance | 03:43 | |
*** harlowja has quit IRC | 04:12 | |
*** pcaruana has joined #openstack-performance | 05:05 | |
*** pcaruana has quit IRC | 05:19 | |
zhangfei | Hi, osprofiler failed, any clue? | 06:36 |
---|---|---|
zhangfei | (rally)[rally@ubuntu /]$ osprofiler trace show --html --out /tmp/trace.html 82f0b9b7-b79b-4556-aca2-3a629ecde504 | 06:36 |
zhangfei | Trace with UUID 82f0b9b7-b79b-4556-aca2-3a629ecde504 not found. Please check the HMAC key used in the command. | 06:36 |
zhangfei | Enable aodh, panko and gnocchi, since ceilometer does not exists in pike anymore, | 06:36 |
*** pcaruana has joined #openstack-performance | 06:50 | |
*** AlexeyAbashkin has joined #openstack-performance | 07:30 | |
ilyashakhat | zhangfei, hi - not sure about Pike, but in Queens osprofiler didn't work with telemetry projects anymore | 07:41 |
ilyashakhat | so the default driver was changed to Redis | 07:41 |
ilyashakhat | (or any other database solution) | 07:42 |
ilyashakhat | though sending traces via RabbitMQ should still work | 07:42 |
ilyashakhat | in the master support of ceilometer is removed completely | 07:43 |
*** radeks has joined #openstack-performance | 08:01 | |
zhangfei | thanks ilyashakhat: will try redis, I am using kolla, how about aodh, panko and gnocchi, are they required? | 08:20 |
ilyashakhat | zhangfei, aodh, panko gnocchi are not needed | 08:49 |
ilyashakhat | do you use devstack? | 08:49 |
ilyashakhat | if yes, please refer to https://github.com/openstack/osprofiler/tree/master/devstack | 08:50 |
ilyashakhat | parameter OSPROFILER_COLLECTOR=redis automatically configures everything | 08:51 |
zhangfei | ilyashakhat, thanks for the info, will have a try. | 08:56 |
*** HW_Peter has quit IRC | 09:13 | |
zhangfei | ilyashakhat, I found kolla use elasticsearch by default | 10:03 |
zhangfei | export OSPROFILER_CONN_STR=elasticsearch://192.168.1.41:9200 | 10:03 |
zhangfei | but 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 |
ilyashakhat | does elasticsearch listen on this address? | 10:04 |
zhangfei | from the log found two ports are using 92 and 93 | 10: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/bmJubP1gT8W47nVmkiiofw | 10: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-disc | 10:06 |
zhangfei | o-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] started | 10:06 |
ilyashakhat | "elasticsearch.exceptions.ConnectionError" - where it comes from? | 10:07 |
ilyashakhat | is it from one of services? | 10:08 |
ilyashakhat | and osprofiler library? | 10:08 |
zhangfei | should be osprofiler library? | 10:08 |
zhangfei | rally -> osprofiler library | 10:09 |
zhangfei | osprofiler trace show --html --out /tmp/trace.html b49350e3-fbe7-402d-b54f-98511c67cc81 | 10:09 |
ilyashakhat | could you try to add parameter `--connection-string elasticsearch://192.168.1.41:9200`? | 10:11 |
zhangfei | strange, this seems works | 10:14 |
zhangfei | while I am doing before is set deployment from env | 10:15 |
zhangfei | "profiler_conn_str": "elasticsearch://192.168.1.41:9200", | 10:16 |
zhangfei | "profiler_hmac_key": "7B7M5Xpk6o5ljG2529xDHQ==", | 10:16 |
ilyashakhat | I don't thibk these parameters influence osprofiler shell client | 10:16 |
zhangfei | vi admin-openrc.sh | 10:17 |
zhangfei | export OSPROFILER_HMAC_KEY=7B7M5Xpk6o5ljG2529xDHQ== | 10:17 |
zhangfei | export OSPROFILER_CONN_STR=elasticsearch://192.168.1.41:9200 | 10:17 |
zhangfei | source admin-openrc.sh | 10:17 |
zhangfei | rally deployment create --fromenv --name=existing | 10:17 |
ilyashakhat | OSPROFILER_CONNECTION_STRING | 10:17 |
ilyashakhat | try this one ^^ | 10:17 |
ilyashakhat | it's suppose to work https://github.com/openstack/osprofiler/blob/master/osprofiler/cmd/commands.py#L38 | 10:17 |
zhangfei | rally deployment config | 10:18 |
zhangfei | "profiler_conn_str": "elasticsearch://192.168.1.41:9200", | 10:18 |
zhangfei | "profiler_hmac_key": "7B7M5Xpk6o5ljG2529xDHQ==", | 10:18 |
zhangfei | thanks ilyashakhat, is OSPROFILER_CONNECTION_STRING -> profiler_conn_str? | 10:19 |
ilyashakhat | yes, so set it OSPROFILER_CONNECTION_STRING=elasticsearch://192.168.1.41:9200 | 10:19 |
zhangfei | thanks, will try, i think i have tried before use OSPROFILER_CONNECTION_STRING, but does not work | 10:21 |
zhangfei | grep -rn OSPROFILER_CONNECTION_STRING rally/ | 10:21 |
zhangfei | rally/rally/plugins/openstack/platforms/existing.py:236: "profiler_conn_str": sys_environ.get("OSPROFILER_CONN_STR") | 10:22 |
zhangfei | then switch to OSPROFILER_CONN_STR instead | 10:22 |
zhangfei | Thanks ilyashakhat for so much help, anyway, the command line works, that is great, will look more about the para | 10:25 |
ilyashakhat | you are welcome | 10:25 |
*** pcaruana has quit IRC | 10:27 | |
*** linuxaddicts has quit IRC | 10:58 | |
*** zhangfei has quit IRC | 11:19 | |
*** radeks has quit IRC | 11:41 | |
*** pcaruana has joined #openstack-performance | 12:19 | |
*** Alexey_Abashkin has joined #openstack-performance | 12:31 | |
*** AlexeyAbashkin has quit IRC | 12:33 | |
*** Alexey_Abashkin is now known as AlexeyAbashkin | 12:33 | |
*** radeks has joined #openstack-performance | 12:43 | |
*** zhangfei has joined #openstack-performance | 14:15 | |
*** zhangfei has quit IRC | 14:45 | |
*** zhangfei has joined #openstack-performance | 14:57 | |
*** rajinir has joined #openstack-performance | 15:00 | |
*** zhangfei has quit IRC | 15:21 | |
*** harlowja has joined #openstack-performance | 16:06 | |
*** AlexeyAbashkin has quit IRC | 16:23 | |
*** harlowja has quit IRC | 17:44 | |
*** AlexeyAbashkin has joined #openstack-performance | 17:46 | |
*** AlexeyAbashkin has quit IRC | 17:51 | |
*** radeks has quit IRC | 18:05 | |
*** pcaruana has quit IRC | 18:12 | |
*** harlowja has joined #openstack-performance | 18:18 | |
*** harlowja_ has joined #openstack-performance | 18:23 | |
*** harlowja has quit IRC | 18:24 | |
*** pcaruana has joined #openstack-performance | 19:13 | |
*** pcaruana has quit IRC | 19:20 | |
*** Nel1x has quit IRC | 19:34 | |
*** Nel1x has joined #openstack-performance | 19:53 | |
*** Nel1x has quit IRC | 20:25 | |
*** Nel1x has joined #openstack-performance | 20:45 | |
*** AlexeyAbashkin has joined #openstack-performance | 22:45 | |
*** AlexeyAbashkin has quit IRC | 22:50 | |
*** andreaf has quit IRC | 23:18 | |
*** andreaf has joined #openstack-performance | 23:18 | |
*** Nel1x has quit IRC | 23:43 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!