Monday, 2020-10-12

*** rcernin has quit IRC00:26
*** rcernin has joined #openstack-horizon00:54
*** ircuser-1 has quit IRC03:49
*** vishalmanchanda has joined #openstack-horizon04:39
*** rcernin has quit IRC04:47
*** rcernin has joined #openstack-horizon05:18
*** viks____ has joined #openstack-horizon06:47
*** jtomasek has joined #openstack-horizon06:55
*** e0ne has joined #openstack-horizon07:01
*** ChanServ sets mode: +o e0ne07:01
*** tosky has joined #openstack-horizon07:03
*** rcernin has quit IRC07:26
*** rpittau|afk is now known as rpittau07:35
*** priteau has joined #openstack-horizon07:52
*** rdopiera has joined #openstack-horizon08:02
*** rdopiera has quit IRC08:03
*** rdopiera has joined #openstack-horizon08:03
*** rcernin has joined #openstack-horizon08:10
*** e0ne has quit IRC08:22
*** e0ne_ has joined #openstack-horizon08:22
*** e0ne has joined #openstack-horizon08:23
*** ChanServ sets mode: +o e0ne08:23
*** e0ne_ has quit IRC08:23
*** rcernin has quit IRC08:33
*** kevko has quit IRC09:05
*** kevko has joined #openstack-horizon09:23
*** openstackgerrit has joined #openstack-horizon09:33
openstackgerritIvan Kolodyazhny proposed openstack/horizon master: Added validation for csrf_failure GET argument  https://review.opendev.org/75712209:33
openstackgerritIvan Kolodyazhny proposed openstack/horizon master: Added validation for csrf_failure GET argument  https://review.opendev.org/75712211:37
*** recyclehero has quit IRC11:57
*** priteau has quit IRC11:59
*** recyclehero has joined #openstack-horizon12:03
openstackgerritMerged openstack/horizon master: Make timezone tests work  https://review.opendev.org/74980213:45
openstackgerritMerged openstack/horizon master: Make text download and load groups tests work  https://review.opendev.org/75343214:03
*** dave-mccowan has joined #openstack-horizon14:27
*** markguz_ has joined #openstack-horizon15: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|afk16:01
*** rdopiera has quit IRC16:14
*** priteau has joined #openstack-horizon16:20
*** tosky has quit IRC16:21
*** jtomasek has quit IRC16:50
*** kevko has quit IRC17:24
*** kevko has joined #openstack-horizon17:30
kevkomarkguz_: do you have memcached turned on in your services ?17:34
kevkomarkguz_: 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 neutron18:00
*** gyee has joined #openstack-horizon18:00
kevkomarkguz_: if you have quite lot subnet ..it is OK i think ..you can turn on osprofiler to measure timings and render in horizon18: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
kevkotry to setup osprofiler and measure api timings18:02
kevkoosprofiler is middleware to measure timings with ..18:02
markguz_kevko: you got a link for setting that up?18:02
kevkomarkguz_: 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
kevkomarkguz_: 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 already18:04
markguz_i've been trawling the docs for a few weeks now18:04
kevkomarkguz_: https://github.com/openstack/horizon/blob/4e0ee573db4561dc7e0c10835d31d73eddb12aca/releasenotes/notes/openstack-profiler-at-developer-dashboard-da1b1556e30aa858.yaml18:05
kevkomarkguz_: 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 issues18:07
kevkobtw, 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-horizon18:20
*** ChanServ sets mode: +o dklyle18:20
*** dklyle sets mode: -o dklyle18: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 IRC18:30
*** markguz_ has joined #openstack-horizon18:31
kevkomarkguz_: it's some shared key ...18:36
kevkomarkguz_: can be whatewer ...but u have to have defined on all places18:36
*** viks____ has quit IRC18: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 do18:40
markguz_is there a howto somewhere?18:40
markguz_sorry for being dense...18:40
kevkomaybe try mongodb ...but i never tried .. because i hate mongodb18:44
kevkoand for this purpose it is cannon on a sparrow18:45
markguz_i have no idea how either works...so that's why i was looking for some more detailed instructions18:45
kevkomarkguz_: 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/enabled18:47
kevkobut remove .example18:48
markguz_done that18:49
kevkofill both connection setting to redis://ip:637918:51
kevkoor port u are using18:51
markguz_done18:52
kevkomarkguz_: you have to setup osprofiler to service which you want to profile ...18:57
kevkoexample -> https://docs.openstack.org/zaqar/latest/admin/OSprofiler.html18:57
kevkoconnection_string and hmac key is important18: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
kevkohmac key is that one which you congigured in horizon18:57
kevkodefault SECRET_KEY18:57
markguz_i used `uuid` to create a secret key18:58
kevkoyes ..you should run collect static18:58
kevkowhat do u mean  i used `uuid` to create a secret key ?18:59
markguz_the command. it generates a random uid string18:59
markguz_handy for this sort of thing18:59
kevkoah , ok ..so you have to fill same key in horizon and also in service you want to profile18:59
markguz_yep18:59
kevkoand don't forget to switch to debug mode19:00
kevko(horizon )19:00
kevkoand turn on developer panel19:00
markguz_ah... that's what i'm missing.19:00
kevkou can inspire in debian what i've done some time ago19:00
kevkomarkguz_: 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-dashboard19:01
kevko>> enabled, local_settings.d19:01
kevkoonce you will have this setup ..you will see timings per service and also per dashboard calls19:02
kevkoand you will see results in dashboard19:02
kevkobut i really think that you will not speed up neutron :)19:03
kevkobut if you are curious .. you can measure calls with osprofiler ..it's nice feature :)19:04
*** priteau has quit IRC19:04
*** kevko has quit IRC19:46
*** e0ne has quit IRC19:50
*** e0ne has joined #openstack-horizon19:54
*** ChanServ sets mode: +o e0ne19:54
*** e0ne has quit IRC19: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-horizon20:26
*** e0ne has joined #openstack-horizon21:09
*** ChanServ sets mode: +o e0ne21:09
*** vishalmanchanda has quit IRC21:27
*** e0ne has quit IRC21:27
*** rcernin has joined #openstack-horizon21:47
*** rcernin has joined #openstack-horizon21:47
*** rcernin has quit IRC22:05
*** rcernin has joined #openstack-horizon22:29
*** kevko has joined #openstack-horizon22:29
*** rcernin has quit IRC22:29
*** rcernin has joined #openstack-horizon22:30
*** kevko has quit IRC22:55
*** CeeMac has quit IRC23:01
*** tosky has quit IRC23:15

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!