Monday, 2024-11-04

amoralejHi!, may i get reviews on https://review.opendev.org/c/openstack/watcher-dashboard/+/932693 when you have a chance? thanks in advance12:21
sean-k-mooneyamoralej: done, i dont see anything wrong code wise, ill see if i can quickly pull that in to my devstack and try and see it end to end.15:20
amoralejthanks!15:21
sean-k-mooneyamoralej: my main concern is the repo as a whole does not seam to have any adiquite testing and that the patch does nto refernce a bug15:21
sean-k-mooneyprocedurlly i think the latter shoudl be fixed but the former (lack of test coverage) is more endmic and perhaps shoudl not be a blocker.15:22
amoralejagreed, lemme create the bug15:22
sean-k-mooneycool i think after i try it localy if you create teh bg and update it i would change form -1 to +115:22
opendevreviewAlfredo Moralejo proposed openstack/watcher-dashboard master: Fix efficacy indicators in action plans  https://review.opendev.org/c/openstack/watcher-dashboard/+/93269315:34
sean-k-mooneyamoralej: technicall question, with horizon plugins do i need to do anything other then checkout the review, pip install teh plugin to the venv and restart horizon?15:41
sean-k-mooneyin generall i woudl not epect so give your modifying the python danjo code but i am wondering how you tested this locally15:41
amoraleji tested it in a rpmized installation, not good reference for testing it in devstack15:42
sean-k-mooneyack15:42
sean-k-mooneyill try the normall workflwo and see if that works15:42
amoralejgimme a while, iirc it's tricky where django look for plugins15:42
sean-k-mooneyif you were modifyign the html i could see needeing to regenrate static data15:43
sean-k-mooneyi could execute the same commadn the devstack plugin runs i guess15:43
amoralejsorry, i was wrong, it's installed in standard site-packges location15:43
amoralejso probably just pip installing the patched repo will work15:43
sean-k-mooneyyep in the venv in devstacks case15:43
amoralejyep, in the horizon venv15:43
sean-k-mooneywe use a single common one for all services15:44
sean-k-mooneyto ensure co installablity15:44
amoralejright, so there :)15:44
sean-k-mooneywe just use the venv to not require sudo and to avoid conflicting iwth system python packages15:44
amoralejwell, you will also need to have the panel .py files in a specific location where django loads that, but i expect devstack is already doing it15:45
amoralejand the patch is not modifying those15:45
sean-k-mooneyack ill try and take screenshot before and after to show the fix works and ill upload them to imgur and link it in the review15:46
amoralejhttps://opendev.org/openstack/watcher-dashboard/src/branch/master/doc/source/install/installation.rst#devstack-setup that should enable the plugin15:50
sean-k-mooneyits already enabeld so all that was requried was pip installing the updated version15:59
amoralejnice15:59
sean-k-mooneyi am now +1 on the review and left a commet with https://imgur.com/a/hUlruos as evidance of the orginal bug and the fix15:59
amoralejthanks!16:12
amoralejbtw, https://bugs.launchpad.net/watcher-dashboard/+bug/2028140 may be another good thing to work in16:26
sean-k-mooneyamoralej: i think that is not a bug17:10
amoralejno, no, it's feature17:11
sean-k-mooneyamoralej: it might be but i dont think other horion dashboard hide them selves17:11
sean-k-mooneyi may be wrong about that17:11
amoralejit can do it, other plugins have it17:11
sean-k-mooneybut is that done vai config or via detecting if the service is installed17:11
amoralejchecking in the keystone services17:11
sean-k-mooneyoh ok17:12
sean-k-mooneythen makes sense17:12
amoralejthere is an example of octavia linked in the bug17:12
sean-k-mooneyamoralej: do you want to assign https://bugs.launchpad.net/watcher-dashboard/+bug/2086627 to yourself17:12
amoralejdone17:13
sean-k-mooneyoh that what the story board link is17:13
sean-k-mooneyi see 17:13
amoralejdidn't check, but i assumed it's easy to implement (although didn't check in detail, tbh)17:13
amoralejand a very useful thing to avoid some config management17:14
sean-k-mooneyhttps://review.opendev.org/c/openstack/octavia-dashboard/+/766878/6/octavia_dashboard/dashboards/project/load_balancer/panel.py17:14
amoralejbtw, you added the link to the review to the bug manually, what i did wrong in my Closes-Bug comment in https://review.opendev.org/c/openstack/watcher-dashboard/+/932693 ?17:15
amoralejit didn't do it automatically ...17:15
sean-k-mooneyit didnt do it automatically because we do not have an active developem serise for 2025.117:16
amoralejso launchpad config17:16
sean-k-mooneywe can fix that once we have access to the watcher-drivers group17:17
sean-k-mooneyyep17:17
amoralejyeah, np, i was just wondering if i miss something17:17
amoralejthanks for your help17:17
sean-k-mooneyso without understanding the horizon code i think its a oneline chnage in each of these pannels 17:17
sean-k-mooneyadding permissions = whatever17:17
amoralejyep, apparently pannels in watcher inherit fromo horzon.Panel as in https://github.com/openstack/watcher-dashboard/blob/master/watcher_dashboard/content/strategies/panel.py17:19
amoralejIf nobody else is taking care, i can try it17:20
sean-k-mooneyoh i frogot to link https://github.com/search?q=repo%3Aopenstack%2Fwatcher-dashboard+horizon.Panel&type=code17:20
sean-k-mooneythat what i was looking at17:21
opendevreviewMerged openstack/puppet-watcher master: Add support for [cache] backend_expiration_time  https://review.opendev.org/c/openstack/puppet-watcher/+/93399420:21

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