*** rcernin has quit IRC | 00:26 | |
*** rcernin has joined #openstack-horizon | 00:54 | |
*** ircuser-1 has quit IRC | 03:49 | |
*** vishalmanchanda has joined #openstack-horizon | 04:39 | |
*** rcernin has quit IRC | 04:47 | |
*** rcernin has joined #openstack-horizon | 05:18 | |
*** viks____ has joined #openstack-horizon | 06:47 | |
*** jtomasek has joined #openstack-horizon | 06:55 | |
*** e0ne has joined #openstack-horizon | 07:01 | |
*** ChanServ sets mode: +o e0ne | 07:01 | |
*** tosky has joined #openstack-horizon | 07:03 | |
*** rcernin has quit IRC | 07:26 | |
*** rpittau|afk is now known as rpittau | 07:35 | |
*** priteau has joined #openstack-horizon | 07:52 | |
*** rdopiera has joined #openstack-horizon | 08:02 | |
*** rdopiera has quit IRC | 08:03 | |
*** rdopiera has joined #openstack-horizon | 08:03 | |
*** rcernin has joined #openstack-horizon | 08:10 | |
*** e0ne has quit IRC | 08:22 | |
*** e0ne_ has joined #openstack-horizon | 08:22 | |
*** e0ne has joined #openstack-horizon | 08:23 | |
*** ChanServ sets mode: +o e0ne | 08:23 | |
*** e0ne_ has quit IRC | 08:23 | |
*** rcernin has quit IRC | 08:33 | |
*** kevko has quit IRC | 09:05 | |
*** kevko has joined #openstack-horizon | 09:23 | |
*** openstackgerrit has joined #openstack-horizon | 09:33 | |
openstackgerrit | Ivan Kolodyazhny proposed openstack/horizon master: Added validation for csrf_failure GET argument https://review.opendev.org/757122 | 09:33 |
---|---|---|
openstackgerrit | Ivan Kolodyazhny proposed openstack/horizon master: Added validation for csrf_failure GET argument https://review.opendev.org/757122 | 11:37 |
*** recyclehero has quit IRC | 11:57 | |
*** priteau has quit IRC | 11:59 | |
*** recyclehero has joined #openstack-horizon | 12:03 | |
openstackgerrit | Merged openstack/horizon master: Make timezone tests work https://review.opendev.org/749802 | 13:45 |
openstackgerrit | Merged openstack/horizon master: Make text download and load groups tests work https://review.opendev.org/753432 | 14:03 |
*** dave-mccowan has joined #openstack-horizon | 14:27 | |
*** markguz_ has joined #openstack-horizon | 15:27 | |
markguz_ | Hi there folks. Question. What is a reasonable expectation of how long it should take from clicking "login" to getting to your landing page? | 15:27 |
markguz_ | Is 15 secs too long? | 15:30 |
*** rpittau is now known as rpittau|afk | 16:01 | |
*** rdopiera has quit IRC | 16:14 | |
*** priteau has joined #openstack-horizon | 16:20 | |
*** tosky has quit IRC | 16:21 | |
*** jtomasek has quit IRC | 16:50 | |
*** kevko has quit IRC | 17:24 | |
*** kevko has joined #openstack-horizon | 17:30 | |
kevko | markguz_: do you have memcached turned on in your services ? | 17:34 |
kevko | markguz_: especially keystone ? | 17:34 |
markguz_ | kevko: yes the keystone bit goes quickly. It seems that the polling of the various services is where the delay is. for instance it takes 5secs to get the subnets list from neutron | 18:00 |
*** gyee has joined #openstack-horizon | 18:00 | |
kevko | markguz_: if you have quite lot subnet ..it is OK i think ..you can turn on osprofiler to measure timings and render in horizon | 18:01 |
markguz_ | i've looked at the "what to do when things are slow" pages, but nothing seems to help. | 18:01 |
markguz_ | kevko: is 46 a lot? | 18:01 |
markguz_ | this is a small deployment with very few active users. | 18:01 |
markguz_ | kevko: what is "osprofiler" ? | 18:02 |
kevko | try to setup osprofiler and measure api timings | 18:02 |
kevko | osprofiler is middleware to measure timings with .. | 18:02 |
markguz_ | kevko: you got a link for setting that up? | 18:02 |
kevko | markguz_: it's quite easy ..just add small snippet of configuration to all services which you want to measure .. https://docs.openstack.org/osprofiler/latest/ | 18:03 |
kevko | markguz_: after this will be done ..you will turn on debug in horizon ..and turn on osprofiler ..and define same config as in services (redis url, HMAC) | 18:04 |
markguz_ | kevko: thank you. this is very helpful. I don't know why I hadn't found it already | 18:04 |
markguz_ | i've been trawling the docs for a few weeks now | 18:04 |
kevko | markguz_: https://github.com/openstack/horizon/blob/4e0ee573db4561dc7e0c10835d31d73eddb12aca/releasenotes/notes/openstack-profiler-at-developer-dashboard-da1b1556e30aa858.yaml | 18:05 |
kevko | markguz_: I don't know which version u are using ..but we have issues with resource list against neutron api .. don't remember what was going on ..but it was some bug ..and after qos turned off from neutron ..it was faster ..let me know what you will find .. | 18:06 |
kevko | *had issues | 18:07 |
kevko | btw, setup with redis ..not mongo .. redis is super easy ..just install :) | 18:07 |
markguz_ | kevko: currently rocky (with some things at train like magnum and heat) | 18:12 |
*** dklyle has joined #openstack-horizon | 18:20 | |
*** ChanServ sets mode: +o dklyle | 18:20 | |
*** dklyle sets mode: -o dklyle | 18:21 | |
markguz_ | kevko: the docs say "SECRET_HMAC_KEY - will be discussed later, because it’s related to the integration of OSprofiler & OpenStack." but i can't find where that later is? | 18:26 |
*** markguz_ has quit IRC | 18:30 | |
*** markguz_ has joined #openstack-horizon | 18:31 | |
kevko | markguz_: it's some shared key ... | 18:36 |
kevko | markguz_: can be whatewer ...but u have to have defined on all places | 18:36 |
*** viks____ has quit IRC | 18:38 | |
markguz_ | kevko: docs seem to assume a lot of stuff, that I imagine is general knowledge if you're a openstack developer. the redis thing, do i just substitute redis for mongo in conf or... ?? | 18:38 |
markguz_ | https://docs.openstack.org/osprofiler/latest/ doesn't have the setup and install instructions like the other openstack components do | 18:40 |
markguz_ | is there a howto somewhere? | 18:40 |
markguz_ | sorry for being dense... | 18:40 |
kevko | maybe try mongodb ...but i never tried .. because i hate mongodb | 18:44 |
kevko | and for this purpose it is cannon on a sparrow | 18:45 |
markguz_ | i have no idea how either works...so that's why i was looking for some more detailed instructions | 18:45 |
kevko | markguz_: copy this file https://github.com/openstack/horizon/blob/master/openstack_dashboard/local/local_settings.d/_9030_profiler_settings.py.example to https://github.com/openstack/horizon/tree/master/openstack_dashboard/local/enabled | 18:47 |
kevko | but remove .example | 18:48 |
markguz_ | done that | 18:49 |
kevko | fill both connection setting to redis://ip:6379 | 18:51 |
kevko | or port u are using | 18:51 |
markguz_ | done | 18:52 |
kevko | markguz_: you have to setup osprofiler to service which you want to profile ... | 18:57 |
kevko | example -> https://docs.openstack.org/zaqar/latest/admin/OSprofiler.html | 18:57 |
kevko | connection_string and hmac key is important | 18:57 |
markguz_ | ok. i set the panel up in horizon, but i don't see a new panel? | 18:57 |
markguz_ | do i have to use manage.py collectstatic? | 18:57 |
kevko | hmac key is that one which you congigured in horizon | 18:57 |
kevko | default SECRET_KEY | 18:57 |
markguz_ | i used `uuid` to create a secret key | 18:58 |
kevko | yes ..you should run collect static | 18:58 |
kevko | what do u mean i used `uuid` to create a secret key ? | 18:59 |
markguz_ | the command. it generates a random uid string | 18:59 |
markguz_ | handy for this sort of thing | 18:59 |
kevko | ah , ok ..so you have to fill same key in horizon and also in service you want to profile | 18:59 |
markguz_ | yep | 18:59 |
kevko | and don't forget to switch to debug mode | 19:00 |
kevko | (horizon ) | 19:00 |
kevko | and turn on developer panel | 19:00 |
markguz_ | ah... that's what i'm missing. | 19:00 |
kevko | u can inspire in debian what i've done some time ago | 19:00 |
kevko | markguz_: wget http://ftp.de.debian.org/debian/pool/main/h/horizon/openstack-dashboard_18.3.2-1_all.deb and open package in midniht commander to see structure in /etc/openstack-dashboard | 19:01 |
kevko | >> enabled, local_settings.d | 19:01 |
kevko | once you will have this setup ..you will see timings per service and also per dashboard calls | 19:02 |
kevko | and you will see results in dashboard | 19:02 |
kevko | but i really think that you will not speed up neutron :) | 19:03 |
kevko | but if you are curious .. you can measure calls with osprofiler ..it's nice feature :) | 19:04 |
*** priteau has quit IRC | 19:04 | |
*** kevko has quit IRC | 19:46 | |
*** e0ne has quit IRC | 19:50 | |
*** e0ne has joined #openstack-horizon | 19:54 | |
*** ChanServ sets mode: +o e0ne | 19:54 | |
*** e0ne has quit IRC | 19:59 | |
markguz_ | kevko: i got profiling working for the cli, but with horizon once i enable the developer panel i get "The default panel "theme_preview" is not registered. " | 20:09 |
*** tosky has joined #openstack-horizon | 20:26 | |
*** e0ne has joined #openstack-horizon | 21:09 | |
*** ChanServ sets mode: +o e0ne | 21:09 | |
*** vishalmanchanda has quit IRC | 21:27 | |
*** e0ne has quit IRC | 21:27 | |
*** rcernin has joined #openstack-horizon | 21:47 | |
*** rcernin has joined #openstack-horizon | 21:47 | |
*** rcernin has quit IRC | 22:05 | |
*** rcernin has joined #openstack-horizon | 22:29 | |
*** kevko has joined #openstack-horizon | 22:29 | |
*** rcernin has quit IRC | 22:29 | |
*** rcernin has joined #openstack-horizon | 22:30 | |
*** kevko has quit IRC | 22:55 | |
*** CeeMac has quit IRC | 23:01 | |
*** tosky has quit IRC | 23:15 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!