Wednesday, 2015-12-09

*** pat has quit IRC00:00
*** jerrygb has quit IRC00:01
*** Daisy has quit IRC00:01
openstackgerritRajat Vig proposed openstack/horizon: Add API services for Create a Volume, get QoS and tenant limits  https://review.openstack.org/23376000:04
openstackgerritRajat Vig proposed openstack/horizon: WIP: Add Create Volume Action for the Image  https://review.openstack.org/22967700:05
*** kzaitsev_mb has joined #openstack-horizon00:06
*** yamamoto has joined #openstack-horizon00:09
*** jpomeroy has quit IRC00:10
openstackgerritMerged openstack/horizon: Move Detail page styling into theme  https://review.openstack.org/24518200:12
*** nlahouti has quit IRC00:13
*** pat has joined #openstack-horizon00:18
*** yamamoto has quit IRC00:21
*** zul has quit IRC00:22
*** jtriley has joined #openstack-horizon00:22
*** mordred has quit IRC00:23
*** zul has joined #openstack-horizon00:23
*** mordred has joined #openstack-horizon00:23
*** gyee has joined #openstack-horizon00:25
openstackgerritRajat Vig proposed openstack/horizon: Single Row Action button should appear as buttons  https://review.openstack.org/24379600:25
openstackgerritRajat Vig proposed openstack/horizon: Allow specifying item to use for actions in the actions directive  https://review.openstack.org/25436500:25
openstackgerritRajat Vig proposed openstack/horizon: Allow callback prefix for actions directive  https://review.openstack.org/25441500:25
openstackgerritRajat Vig proposed openstack/horizon: Add Action to delete multiple and single images to images panel  https://review.openstack.org/21742200:25
*** chlong has joined #openstack-horizon00:28
*** gokrokve has joined #openstack-horizon00:28
*** jtriley has quit IRC00:30
*** belmoreira has quit IRC00:30
*** jingjing_ren has joined #openstack-horizon00:31
*** ZZelle_ has quit IRC00:33
*** jingjing_ren has quit IRC00:36
openstackgerritRajat Vig proposed openstack/horizon: Adding Edit Image Action to angular images panel  https://review.openstack.org/21782800:37
openstackgerritRajat Vig proposed openstack/horizon: Adding Create Image Action to angular images panel  https://review.openstack.org/23604200:37
openstackgerritRajat Vig proposed openstack/horizon: Adding multiple row actions for the Image table  https://review.openstack.org/21796400:37
*** kzaitsev_mb has quit IRC00:38
*** ducttape_ has joined #openstack-horizon00:38
openstackgerritRajat Vig proposed openstack/horizon: Add API services for Create a Volume, get QoS and tenant limits  https://review.openstack.org/23376000:42
*** gokrokve has quit IRC00:43
*** gokrokve has joined #openstack-horizon00:44
*** jtriley has joined #openstack-horizon00:45
*** RichardRaseley has quit IRC00:45
*** gokrokve has quit IRC00:49
*** openstackstatus has quit IRC00:50
*** openstack has joined #openstack-horizon00:52
*** ducttape_ has quit IRC00:53
*** rajatvig has quit IRC00:56
*** gokrokve has joined #openstack-horizon00:58
*** kzaitsev_mb has joined #openstack-horizon00:59
*** ianbrown_ has quit IRC01:03
*** kzaitsev_mb has quit IRC01:04
*** bpokorny_ has joined #openstack-horizon01:06
*** bpokorny has quit IRC01:09
*** bpokorny_ has quit IRC01:10
*** itisha has quit IRC01:16
*** tqtran has quit IRC01:19
*** ducttape_ has joined #openstack-horizon01:23
*** zhenguo has joined #openstack-horizon01:24
*** garthb has quit IRC01:32
*** ducttape_ has quit IRC01:44
*** esp has joined #openstack-horizon01:46
*** jamielennox is now known as jamielennox|away01:47
*** jtriley has quit IRC01:47
*** ducttape_ has joined #openstack-horizon01:47
*** Liuqing has joined #openstack-horizon01:48
*** gokrokve has quit IRC01:50
*** jwy1 has joined #openstack-horizon01:52
*** jwy has quit IRC01:52
openstackgerritMerged openstack/horizon: Remove usage of user project caching  https://review.openstack.org/24442001:53
*** Liuqing has quit IRC01:58
*** chlong has quit IRC02:03
*** errolpais has quit IRC02:03
*** yamamoto has joined #openstack-horizon02:09
*** yamamoto has quit IRC02:10
*** vgridnev has quit IRC02:12
*** gokrokve has joined #openstack-horizon02:14
*** ducttape_ has quit IRC02:16
*** ducttape_ has joined #openstack-horizon02:17
*** mtanino has quit IRC02:17
*** ducttape_ has quit IRC02:18
*** zhurong has joined #openstack-horizon02:18
*** ducttape_ has joined #openstack-horizon02:23
*** zhurong has quit IRC02:25
*** jwy1 has quit IRC02:28
*** gokrokve has quit IRC02:30
*** gokrokve has joined #openstack-horizon02:31
*** zhurong has joined #openstack-horizon02:33
*** chestack has joined #openstack-horizon02:33
*** gokrokve has quit IRC02:38
*** jwy has joined #openstack-horizon02:38
openstackgerritMerged openstack/horizon: Removing sahara specific exception ref  https://review.openstack.org/25434302:41
*** ducttape_ has quit IRC02:43
*** ducttape_ has joined #openstack-horizon02:46
*** jamielennox|away is now known as jamielennox02:50
*** ducttape_ has quit IRC02:57
*** jerrygb has joined #openstack-horizon02:57
*** jwy has quit IRC02:58
*** jwy has joined #openstack-horizon02:59
*** gokrokve has joined #openstack-horizon02:59
*** yamamoto has joined #openstack-horizon02:59
*** ducttape_ has joined #openstack-horizon03:01
*** jerrygb has quit IRC03:02
*** jtriley has joined #openstack-horizon03:03
*** gokrokve has quit IRC03:04
*** SurajD has quit IRC03:08
*** ducttape_ has quit IRC03:09
*** SurajD has joined #openstack-horizon03:13
*** ducttape_ has joined #openstack-horizon03:14
*** chlong has joined #openstack-horizon03:16
*** jerrygb has joined #openstack-horizon03:18
*** mwhagedorn has joined #openstack-horizon03:18
*** sanjana has quit IRC03:22
*** sanjana has joined #openstack-horizon03:22
*** masco has joined #openstack-horizon03:23
*** Piet has joined #openstack-horizon03:23
*** Piet has quit IRC03:26
*** jbell8 has joined #openstack-horizon03:29
*** mtanino has joined #openstack-horizon03:31
*** ducttape_ has quit IRC03:42
*** wolverineav has joined #openstack-horizon03:43
*** zhurong has quit IRC03:44
openstackgerritzhu.rong proposed openstack/horizon: Delete the unused LOG configure code  https://review.openstack.org/22284703:44
*** zhurong has joined #openstack-horizon03:45
*** jerrygb has quit IRC03:48
*** wolverineav has quit IRC03:48
*** jerrygb has joined #openstack-horizon03:48
*** chlong has quit IRC03:49
*** zhurong has quit IRC03:50
openstackgerritzhu.rong proposed openstack/horizon: Delete the unused LOG configure code  https://review.openstack.org/22284703:50
*** zhurong has joined #openstack-horizon03:52
openstackgerritjaveme proposed openstack/horizon: Avoid warnings caused by the positional args  https://review.openstack.org/25506103:52
*** alejandrito has quit IRC03:52
*** jerrygb has quit IRC03:52
*** chlong has joined #openstack-horizon03:53
*** jerrygb has joined #openstack-horizon04:03
*** gyee has quit IRC04:03
*** mtanino has quit IRC04:03
*** shu-mutou has joined #openstack-horizon04:20
*** gokrokve has joined #openstack-horizon04:22
*** gokrokve has quit IRC04:30
*** masco has quit IRC04:40
*** mwhagedorn has quit IRC04:41
*** jtriley has quit IRC04:41
*** bpokorny has joined #openstack-horizon04:44
*** jerrygb has quit IRC04:49
*** hurgleburgler has joined #openstack-horizon04:49
*** jbell8 has quit IRC04:50
*** jerrygb has joined #openstack-horizon04:51
*** jerrygb has quit IRC04:51
*** jerrygb has joined #openstack-horizon04:51
*** jbell8 has joined #openstack-horizon04:52
*** jwy has quit IRC04:52
*** sanjana has quit IRC04:52
*** bpokorny has quit IRC04:55
*** jtriley has joined #openstack-horizon04:55
*** jbell8 has quit IRC05:01
*** gokrokve has joined #openstack-horizon05:01
*** hurgleburgler has quit IRC05:01
*** jtriley has quit IRC05:02
*** mwhagedorn has joined #openstack-horizon05:05
*** lhcheng has joined #openstack-horizon05:06
*** hurgleburgler has joined #openstack-horizon05:07
*** lhcheng has quit IRC05:12
*** hurgleburgler has quit IRC05:14
*** hurgleburgler1 has joined #openstack-horizon05:14
*** gokrokve_ has joined #openstack-horizon05:28
*** gokrokve has quit IRC05:28
*** mohankumar has joined #openstack-horizon05:29
*** mwhagedorn has quit IRC05:31
*** vgridnev has joined #openstack-horizon05:42
*** gokrokve_ has quit IRC05:51
*** gokrokve has joined #openstack-horizon05:52
*** chestack has quit IRC06:11
*** jerrygb has quit IRC06:17
*** jerrygb has joined #openstack-horizon06:17
openstackgerritOpenStack Proposal Bot proposed openstack/horizon: Imported Translations from Zanata  https://review.openstack.org/25456906:20
*** jerrygb has quit IRC06:21
*** logan- has quit IRC06:24
*** hurgleburgler1 has quit IRC06:25
*** rajatvig has joined #openstack-horizon06:29
*** gokrokve has quit IRC06:32
*** SurajD has quit IRC06:35
*** jbell8 has joined #openstack-horizon06:36
openstackgerritRajat Vig proposed openstack/horizon: Single Row Action button should appear as buttons  https://review.openstack.org/24379606:38
openstackgerritRajat Vig proposed openstack/horizon: Allow specifying item to use for actions in the actions directive  https://review.openstack.org/25436506:38
openstackgerritRajat Vig proposed openstack/horizon: Allow callback prefix for actions directive  https://review.openstack.org/25441506:38
openstackgerritRajat Vig proposed openstack/horizon: Add Action to delete multiple and single images to images panel  https://review.openstack.org/21742206:38
*** SurajD has joined #openstack-horizon06:39
openstackgerritRajat Vig proposed openstack/horizon: WIP: Add Create Volume Action for the Image  https://review.openstack.org/22967706:40
*** chlong has quit IRC06:40
*** jbell8 has quit IRC06:42
openstackgerritRajat Vig proposed openstack/horizon: Add API services for system information  https://review.openstack.org/20519606:47
*** masco has joined #openstack-horizon06:47
openstackgerritRajat Vig proposed openstack/horizon: Add angular system information panel  https://review.openstack.org/20473106:47
*** jtriley has joined #openstack-horizon06:57
*** jerrygb has joined #openstack-horizon07:00
*** gokrokve has joined #openstack-horizon07:02
*** jtriley has quit IRC07:02
*** jtomasek has joined #openstack-horizon07:03
openstackgerritzhu.rong proposed openstack/horizon: Delete the unused LOG configure code  https://review.openstack.org/22284707:05
*** rajatvig has left #openstack-horizon07:05
*** jtomasek has quit IRC07:06
*** jerrygb has quit IRC07:06
*** gokrokve has quit IRC07:07
*** rcernin has joined #openstack-horizon07:20
*** jtomasek has joined #openstack-horizon07:21
*** mflobo has joined #openstack-horizon07:37
mfloboGood morning o/07:37
mrungegood morning07:41
r1chardj0n3sHullo mrunge o/07:45
r1chardj0n3sI'm in a restaurant, but should be along to the meeting later if I can stay awake (5am start, 11pm meeting lol)07:46
mrunger1chardj0n3s, you probably shouldn't be checking irc while dining ;-)07:47
mrunger1chardj0n3s, thank you, I'll update david, when he's around. those 12 UTC meetings are mostly quiet anyways07:48
*** rhagarty_ has joined #openstack-horizon07:48
*** rhagarty has quit IRC07:49
*** e0ne has joined #openstack-horizon07:52
*** pece has joined #openstack-horizon07:56
mfloboAny love for patch regarding "Add Metadata page to angular Launch Instance wizard" https://review.openstack.org/#/c/232234/ ? :)07:56
*** itxaka has joined #openstack-horizon08:01
*** gokrokve has joined #openstack-horizon08:03
*** pece has quit IRC08:04
*** gokrokve has quit IRC08:08
*** SurajD has quit IRC08:11
*** jtriley has joined #openstack-horizon08:15
*** SurajD has joined #openstack-horizon08:15
*** belmoreira has joined #openstack-horizon08:15
openstackgerritLi Yingjun proposed openstack/horizon: Fix issue when using glance v2 api  https://review.openstack.org/24953108:20
*** jtriley has quit IRC08:21
*** amotoki has joined #openstack-horizon08:22
*** vgridnev has quit IRC08:23
*** tosky has joined #openstack-horizon08:25
*** chestack has joined #openstack-horizon08:30
openstackgerritMasco Kaliyamoorthy proposed openstack/horizon: Adding angular QoS panel in horizon  https://review.openstack.org/24799708:30
openstackgerritShan Guo proposed openstack/horizon: VPN forms help text could be improved  https://review.openstack.org/24854608:44
*** KingKhan has joined #openstack-horizon08:44
*** ^Gal^ has joined #openstack-horizon08:52
*** rdopiera has joined #openstack-horizon08:54
*** tosky_ has joined #openstack-horizon08:58
*** ^Gal^ has quit IRC08:59
*** tosky has quit IRC08:59
openstackgerritMatthias Runge proposed openstack/horizon: Add testr support  https://review.openstack.org/25513609:00
*** oetrog has joined #openstack-horizon09:01
*** oetrog is now known as omer_etrog09:01
*** jerrygb has joined #openstack-horizon09:02
openstackgerritItxaka Serrano Garcia proposed openstack/horizon: Refactor includes in the tables templates  https://review.openstack.org/25474109:02
*** gokrokve has joined #openstack-horizon09:04
*** zhurong has quit IRC09:04
*** openstackstatus has quit IRC09:05
*** openstack has joined #openstack-horizon09:07
*** jerrygb has quit IRC09:08
*** ygbo has joined #openstack-horizon09:09
mrungemasco, while thinking about amotoki's comment, I would thing it makes sense to rename the qos panel to something like neutron_qos, no?09:09
*** gokrokve has quit IRC09:09
mrungeI mean, there is qos for cinder, too, but we don't have a panel for it right now09:10
mascomrunge, you mean the panel name?09:11
mrungemasco, yeah09:11
mrungeand probably the folder name under projects should be renamed09:11
mrungebasically all folder names containing only qos, masco09:12
mrungewhat do you think?09:12
mascomrunge, ah, ok. make sense09:12
mascomrunge, what about the display name for the panel?09:12
mrungemasco, I admit, I did not mention this before09:12
mrungemasco, you mean like here: https://review.openstack.org/#/c/247997/8/openstack_dashboard/dashboards/project/qos/templates/qos/index.html,cm ?09:13
mrungeI would name that Network QoS policies09:13
mrungepolicy with lower 'p' and an 'o' somewhere...09:13
mrungemasco^^09:13
mrungemasco, shall I do a quick review?09:14
mascomrunge, nice suggestion09:14
openstackgerritPaul Karikh proposed openstack/horizon: Fix decription for admins Image create modal  https://review.openstack.org/25514409:14
mascomrunge, sure, always welcome09:15
*** e0ne has quit IRC09:15
*** KingKhan has quit IRC09:19
openstackgerritPaul Karikh proposed openstack/horizon: Fix decription for admins Image create modal  https://review.openstack.org/25514409:20
*** vgridnev has joined #openstack-horizon09:32
*** openstackgerrit has quit IRC09:32
*** openstackgerrit has joined #openstack-horizon09:33
*** omer_etr_ has joined #openstack-horizon09:45
*** lhcheng has joined #openstack-horizon09:46
*** omer_et__ has joined #openstack-horizon09:48
*** omer_etr_ has quit IRC09:48
openstackgerritMerged openstack/horizon: Remove disabled attribute from select fields on submit  https://review.openstack.org/22716709:48
*** omer_etrog has quit IRC09:49
*** SurajD has quit IRC09:54
openstackgerritMerged openstack/horizon: Imported Translations from Zanata  https://review.openstack.org/25456909:55
*** SurajD has joined #openstack-horizon09:57
*** openstackgerrit has quit IRC10:02
*** zhenguo has quit IRC10:02
*** JeanBriceCombebi has joined #openstack-horizon10:03
*** openstackgerrit has joined #openstack-horizon10:03
robcresswellMorning all10:06
robcresswellThis time last week had abotu 15 reviews open, now 2. Time to write more code :)10:06
robcresswellabout*10:06
*** e0ne has joined #openstack-horizon10:10
*** jamielennox is now known as jamielennox|away10:13
*** JeanBriceCombebi has quit IRC10:14
*** JeanBriceCombebi has joined #openstack-horizon10:14
*** omer_et__ has quit IRC10:15
*** pece has joined #openstack-horizon10:16
*** jtriley has joined #openstack-horizon10:17
*** aix has joined #openstack-horizon10:20
*** jtriley has quit IRC10:22
*** ^Gal^ has quit IRC10:22
*** ygl has joined #openstack-horizon10:26
ibmkorobcresswell, sorry, coming back to yesterdays discussion, after I did the  collectstatic -c, now I am getting ommandError: An error occured during rendering /usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html: 'dashboard/scss/horizon.scss' could not be found in the COMPRESS_ROOT '/usr/share/openstack-dashboard/static' or with staticfiles. when running compress10:28
robcresswellibmko: Hmmm10:29
*** ianbrown has joined #openstack-horizon10:30
ibmkoby chance, do you know if this is a known bug? On google I see something similar appeared on Mirantis OpenStack10:30
*** chestack has quit IRC10:30
openstackgerritMarcos Fermín Lobo proposed openstack/horizon: No hostname validation in launch instance angularjs panel  https://review.openstack.org/24414510:30
robcresswellibmko: One moment. Just grabbing a stable/kilo env from github.10:31
*** mflobo has left #openstack-horizon10:31
ibmkono problem10:32
*** cbader has quit IRC10:32
*** cbader has joined #openstack-horizon10:33
*** ygl has quit IRC10:34
robcresswellI can't recreate it :/10:34
ibmkothe file dashboard/scss/horizon.scss is somehow autogenerated ? (sorrry, I am not exactly a web developer)10:36
*** aix has quit IRC10:37
robcresswellDoes collectstatic run without issue?10:38
robcresswellRunning collectstatic should give you that filepath yes10:39
robcresswellat openstack-dashboard/static10:39
*** mohankumar has quit IRC10:41
ibmkocollectstatic runs without issue but it doesn't generate the dashboard/scss/horizon.scss path10:41
ibmko772 other static files generated and copied10:41
robcresswell772? stable/kilo for me is 93810:42
openstackgerritShan Guo proposed openstack/horizon: VPN forms help text could be improved  https://review.openstack.org/25519810:42
ibmkoits stable/kilo installed from Ubuntu repos10:42
robcresswellWe don't oversee the packaging ourselves unfortunately10:44
robcresswellWhich makes it difficult for me to debug10:44
ibmkoI understand, thanks, I will keep digging10:44
*** mwhagedorn has joined #openstack-horizon10:45
robcresswellibmko: Could you do `tree -L 1 static` please? Just paste it to http://paste.openstack.org/10:45
mrungeibmko, you're using debian packages?10:46
robcresswellmrunge: I was wondering the same thing :p10:46
robcresswell*blame zigo*10:46
mrungeI would think Canonical *borrowed* them from Debian10:46
robcresswellThey usually do10:46
mrungeso, zigo is the person to ask10:46
zigoFor Ubuntu stuff?10:47
zigoCertainly NOT !10:47
mrungefull disclosure, zigo is doing packages for debian10:47
robcresswellhahaa10:47
zigoThey maintained their broken Horizon package by themselves.10:47
mrungegood to know10:47
zigoAnd when I say broken, I mean SERIOUSLY broken.10:47
ibmkoso the ubuntu horizon package is broken ?10:48
mrungeibmko, then you should file a bug at canonical10:48
zigoRuntime writing in /usr and the like.10:48
mrungeouch10:48
zigoibmko: It may appear to work for an average user...10:48
zigoBut that's a travesty it does.10:48
zigo:)10:48
robcresswellCould just change the source and use zigo's package no?10:48
zigorobcresswell: That's not enough.10:49
mrungethat would void warranty, if there is10:49
zigorobcresswell: Canonical decided it was more fun to re-embbed JS within the python-xstatic-* packages.10:49
zigoHum...10:49
zigoIt will be enough, sorry.10:49
zigo:P10:49
ibmkohttp://paste.openstack.org/show/481291/10:49
zigoThough it will not fix xstatic packages, they will still appear to work with the embedded .js10:49
mrungeibmko, or are you using Mirantis OpenStack?10:50
ibmkono, it is Ubuntu 14.04 with stable/kilo10:51
ibmkoinstalled from Canonical repos, (without Juju)10:51
mrungethat probably means: no support at all10:52
mrungebut I may be wrong!10:52
ibmkoI am not worried about warranty at the moment. Just need to get it going to understand the problem, and then we just ivolve developer to get it fixed or we will push on Canonical to fix it (I am working on a commercial deployment of OpenStack)10:53
robcresswellOdd. ibmko, repeat it with a depth of two on the static/dashboard folder. I\m curious why it doesnt seem to have the same number of static files as me.10:53
robcresswellas in tree -L 2 static/dashboard. Just trying to see whats being generated or not10:54
ibmkoright10:54
mrungeibmko, the right way would be to have it fixed in the distro. otherwise you'll be broken again on the next update10:54
*** rdopiera has quit IRC10:55
ibmkomrunge, yes, definitely agree10:55
ibmkohttp://paste.openstack.org/show/481292/10:55
ibmkomrunge, when I said that we involve developer, I really meant that we will involve developer who will work with community to fix it. We definitely don't plan to maintain our own branches with fixes10:57
robcresswellHuh. Yeah that scss/ folder is missing multiple files10:57
robcresswellOH10:57
robcresswellI think...10:57
robcresswellAh! mrunge, this may be before I fixed the MANIFEST for scss10:58
robcresswellSo it doesnt not contain them, and so has not gathered them10:58
mrungerobcresswell, but still...10:58
mrungehow could e.g Red Hat packages or Debian package be NOT broken10:58
mrungerobcresswell, you fixed that slightly before liberty release10:59
* robcresswell throws idea out the window10:59
ibmkohmm this kilo install is from September10:59
*** rdopiera has joined #openstack-horizon10:59
*** mpavlase has joined #openstack-horizon11:00
mrungeKilo was released in April11:02
tsufievibmko, for the record here, I do not recall such kind of problems in Mirantis Openstack11:02
robcresswellI'm still curious about why there is a ~200 difference in the static files11:02
tsufievif it were, we should have had it here https://bugs.launchpad.net/mos/+bugs?field.tag=horizon11:02
ibmkohmm, I see there is a newer version of openstack-dashboard available in the repo11:02
ibmkonewer than the one I have currently installed11:03
*** lhcheng_ has joined #openstack-horizon11:03
ibmkomrunge, right, but some fixes to the stable/kilo may have come after the April right11:03
mrungeoh yes, definitely ibmko11:03
mrungeI, for myself are still fixing kilo issues11:04
*** jerrygb has joined #openstack-horizon11:04
ibmkoso I will upgrade the package and will see it gets fixed ok ?11:04
ibmkoor should I collect some other info for you before doing that?11:04
robcresswellUpdate. We don't need to debug problems that may have already been solved IMO.11:05
mrungeI would think, staying in the same release shouldn't do any harm to your system11:05
*** kmartin has quit IRC11:05
ibmkorobcresswell, ;)11:05
*** chestack has joined #openstack-horizon11:05
mrungerobcresswell, your manifest patch was not backported, no?11:05
*** kmartin has joined #openstack-horizon11:05
robcresswellIf it gets worse, I claim no responsibility ;)11:05
openstackgerritTimur Sufiev proposed openstack/horizon: Fix bad performance when editing domain members  https://review.openstack.org/17700511:05
robcresswellmrunge: No, actually. I never proposed it for backporting.11:06
*** lhcheng has quit IRC11:06
robcresswellmrunge: It was this commit https://github.com/openstack/horizon/commit/09706c6e3754c218b00dcaf210629aa6970dc80a11:06
mrungerobcresswell, I don't remember issues while packaging kilo version11:06
ibmkono, same problem after upgrading the package :(11:07
robcresswellIt may be irrelevant, but was just a suggestion11:07
ibmko772 static files copied to '/usr/share/openstack-dashboard/static'.11:07
mrungeyeah, that seems to be ok11:07
robcresswellStrange, I have 937 when pulling from stable/kilo.11:07
mrungeI would have to check how many files that were for kilo11:07
mrungeyeah11:08
mrungethat's right11:08
ibmkomrunge, robcresswell says it should be over 90011:08
mrungeI would think of > 900 too11:08
robcresswellLiberty is now >140011:08
robcresswellMitaka*11:09
*** jerrygb has quit IRC11:09
openstackgerritRob Cresswell proposed openstack/horizon: Match python/ angular table styles  https://review.openstack.org/24662511:09
openstackgerritShan Guo proposed openstack/horizon: VPN forms help text could be improved  https://review.openstack.org/24854611:09
mrungeok, I have 818 static files in Kilo version to be copied11:10
mrunge772 might be possible then11:10
ibmkomrunge, is the file dashboard/scss/horizon.scss among them ?11:11
mrungeyes, it is11:11
robcresswellibmko: Something crude to try; copy openstack_dashboard/static/dashboard/scss/ to static/dashboard/scss/11:13
*** aix has joined #openstack-horizon11:14
mrungeI believe I have seen something like this, when dependencies were messed up11:15
*** JeanBriceCombebi has quit IRC11:15
ibmkorobcresswell, the static dir is symlink to  openstack_dashboard/static so the source and destination is same dir11:16
ibmkoin that command11:16
ibmkomrunge, looking at the reported issue in the Mirantis OpenStack, it seems it might something around dependencies11:17
ibmkohttps://bugs.launchpad.net/mos/+bug/147014311:17
openstackLaunchpad bug 1470143 in Mirantis OpenStack "'dashboard/scss/horizon.scss' could not be found in the COMPRESS_ROOT '/usr/share/openstack-dashboard/static' after installation" [High,Fix released] - Assigned to MOS Packaging Team (mos-packaging)11:17
*** kzaitsev_mb has joined #openstack-horizon11:18
*** JeanBriceCombebi has joined #openstack-horizon11:18
robcresswellOh, I thought it was just the horizon dir that had a symlink. my mistake.11:19
mrungehttps://bugs.launchpad.net/mos/+bug/1470143/comments/611:23
openstackLaunchpad bug 1470143 in Mirantis OpenStack "'dashboard/scss/horizon.scss' could not be found in the COMPRESS_ROOT '/usr/share/openstack-dashboard/static' after installation" [High,Fix released] - Assigned to MOS Packaging Team (mos-packaging)11:23
mrungehmm, the proposed fix suggests a packaging issue https://review.fuel-infra.org/#/c/9170/11:24
mrungebut I can not comment on that11:24
r1chardj0n3shullo11:25
robcresswello/11:26
mrunger1chardj0n3s, o/11:26
r1chardj0n3sso I'm still awake, which is odd :)11:26
robcresswellr1chardj0n3s, tsufiev: I'm looking forward to when you both get your first experience of "something I approved broke Horizon" :p11:26
r1chardj0n3srobcresswell: yes!11:26
mrungebtw robcresswell did you had that already?11:27
r1chardj0n3sactually, I was going to ask, are there any horizon core guidelines, or any secret handshakes I should know about?11:27
robcresswellmrunge: Yes :( I broke every single modal in something I merged :p11:27
mrungeoh, I didn't knew that11:27
r1chardj0n3srobcresswell: hey, I've written patches that were merged that broke stuff, so I reckon I already win the prize for that :)11:28
r1chardj0n3sthose failures-after-merging errors we're seeing are kinda bizarre too11:28
robcresswellYeah, I fixed it pretty promptly. It was one of the JS refactor patches and I just tested the new LI. Turned out it broke the modals too.11:28
robcresswellr1chardj0n3s: The test ones?11:28
r1chardj0n3syeah11:28
robcresswellMostly just missing assertions right11:28
mrunger1chardj0n3s, the only "rule" we have is an informal one: do not push through code from your own company11:29
r1chardj0n3swell, except if I understand it correctly the tests are failing post-merge but the test run passes in jenkins11:29
r1chardj0n3smrunge: yep, that's a common one, so I'm cool with that11:29
mrungeI actually believe, that is a really good one11:29
robcresswellr1chardj0n3s: I think the errors still show in the test logs, but unfortunately people rarely run the tests; they just assume passing = right.11:29
ibmkomrunge, is the 'dashboard/scss/horizon.scss' present on your system before running the collectstatic? I mean, the collectstatic command really generates stuff or it just collect (copies) existing stuff ?11:29
mrungeibmko, it copies existing stuff11:30
robcresswellIt just collects/copies existing files11:30
r1chardj0n3srobcresswell: hmm, so they're errors but not assertion errors11:30
robcresswellr1chardj0n3s: I believe so11:30
ibmkook so the problem must be that the file is just not present on my system11:30
r1chardj0n3srobcresswell: why isn't the test runner flagging those as Error results then, I wonder11:30
robcresswellNow that I do not know11:31
r1chardj0n3shmm11:31
r1chardj0n3sprobably too many bare try/except11:31
robcresswellYou can create it quite easily with the policy handling it networking11:31
robcresswellin*11:31
*** flwang1 has joined #openstack-horizon11:31
ibmkomrunge, when you just clean the collected files, where is the horizon.scss file located on your system ?11:34
ibmkoI mean after cleaning the collected files, somewhere must be the original11:34
ibmkoso the next collection doesnt fail11:34
mrungeibmko, it's /usr/share/openstack-dashboard/openstack_dashboard/static/dashboard/scss/horizon.scss11:35
mrungethat's a Red Hat package, and it could be completely different from yours11:36
robcresswellDo the packages just symlink all the files?11:36
robcresswellRather than collectstatic11:36
mrungeI can answer that only for rpm packages, were we collectstatic with copy11:37
r1chardj0n3slol I do not know what the new buttons in gerrit do but I am willing to mash them until something happens :)11:37
mrungerobcresswell, there is a parameter to collectstatic to actually link files11:37
tsufievrobcresswell, speaking of 'stuff that broke all horizon' - that's why I'm so focused on more tests11:38
mrungeI could recommend gertty for reviews....11:38
tsufievto save myself from an inevitable failure :)11:38
ibmkoit seems my collectstatic copies stuff from here, example of one file copied during collectstatic:  Copying '/usr/lib/python2.7/dist-packages/horizon/static/angular/form/form.spec.js'11:38
*** sambetts-afk is now known as sambetts11:38
r1chardj0n3sso I now know that hitting the "workflow+1" button is the wrong thing to do :-)11:39
mrungetsufiev, just do it right away, break it and you're through that pain ;-)11:39
tsufievr1chardj0n3s, yesterday I barely avoided pressing +1 WF instead of just voting a first +211:39
robcresswell+2, or +2 and +1 workflow11:39
robcresswellThere is nothing stopping you from approving right away, other than convention.11:40
robcresswellAs in, no system to stop it.11:40
r1chardj0n3stsufiev: I just hit the +1 button but didn't +2 first because I thought the special button would do the +2 also but no, so now I wonder why there's that special button at all11:40
tsufievrobcresswell, yes, the whole system runs on trust that people respect the conventions11:40
r1chardj0n3syep, which is reasonable11:40
mrungeyepp11:40
robcresswellWhich special button? the +1 workflow?11:40
r1chardj0n3syeah11:41
mrungeyou wouldn't be in this position, if people wouldn't trust you11:41
robcresswellWell thats what actually does stuff right? a +2 is just symbolic I thought11:41
mrungerobcresswell, imho you can not +a a patch without a single +211:41
robcresswellPerhaps we should test this theory :)11:42
mrungeah yes11:42
tsufievmrunge, regarding 'do not push the patch from your own company' - does it mean that I shouldn't +2 any patch from my company?11:42
r1chardj0n3stsufiev: correct11:43
robcresswelltsufiev: Of the 2 core votes and the uploader, at least one *must* be from a different company11:43
mrungeexactly what robcresswell said11:43
robcresswellI think you can approve as long as another core has +2'd11:43
r1chardj0n3sbut it's considered bad form in most projects11:43
mrungethat prevents a single company to push in code11:43
tsufievok11:44
robcresswellYeah, ideally all 3 should be separate.11:44
mrungeideally11:44
robcresswellEasy for me, I'm the only person in Cisco on Horizon :)11:44
mrungewell, as a core, there is no real reason to give +1 votes either11:45
tsufievrobcresswell, huh, did you +2 network topology stuff :)?11:45
robcresswelltsufiev: I approved it, yeah11:45
robcresswellNot ideal :)11:45
tsufievit's the real world :)11:45
robcresswellYeah, angular is often thai and cindy approving things11:46
robcresswellBut, there are only 3 angular-focused cores, so its difficult11:46
robcresswellUpdating bug report; any requests?11:47
tsufievrobcresswell, just https://review.openstack.org/#/c/215277/11:47
robcresswellAlso going to propose Bug Day for Tuesday 12th January; is an email now a bit too early?11:48
r1chardj0n3swell, I'd say https://launchpad.net/bugs/1503396 except I'm having trouble getting the damn patch to pass in the gate :-)11:48
openstackLaunchpad bug 1503396 in OpenStack Dashboard (Horizon) "glance wizard form var passing broken" [Undecided,In progress] - Assigned to Richard Jones (r1chardj0n3s)11:48
r1chardj0n3s(also, I just noticed the "it breaks me in other ways" comment on the patch, so I still have work to do there)11:49
*** kmartin has quit IRC11:49
r1chardj0n3srobcresswell: um, actually, have a look at the last comment on https://review.openstack.org/#/c/251670/11:49
r1chardj0n3srobcresswell: the paste, in particular11:50
*** gokrokve has joined #openstack-horizon11:50
flwang1greetings, anybody can help take a quick look for this one https://review.openstack.org/#/c/255213/1 ? in my local test, i can run horizon server successfully but can't see the "queues" panel i added11:50
flwang1mrunge: ^11:50
robcresswelltsufiev: Added11:51
robcresswellr1chardj0n3s: Looking11:51
tsufievrobcresswell, thanks. I think in case of Jan 12 it's still too early11:52
r1chardj0n3srobcresswell: I'm not going to be able to look into that in the next ... probably 12 hours or so, or maybe even a little longer, but I am absolutely willing to do so11:52
mrungeflwang, yes11:52
mrungeflwang1, ack11:52
flwang1mrunge: thank you very much11:52
robcresswellr1chardj0n3s: That looks unrelated to your patch...11:52
robcresswellr1chardj0n3s: In fact, its my dev dashboard11:53
r1chardj0n3srobcresswell: could be, but who knows, it's Javascript, right?11:53
r1chardj0n3s:-)11:53
mrungeflwang1, could you please add info on how to configure ceilo and zaqar to create such a queue?11:53
robcresswellModule 'horizon.dashboard.developer' is not available!11:53
robcresswellJust a static file issue11:53
r1chardj0n3srobcresswell: yeah, but we have no idea *why* that error is being raised11:53
flwang1mrunge: yep, sure, i saw your comments, but i haven't add my comments, sorry about that11:54
r1chardj0n3srobcresswell: you reckon a nuke-static-compile is all's needed eh?11:54
flwang1mrunge: btw, searchlights is going to forward notifications into zaqar queues, so maybe we don't need ceilometer finally11:54
robcresswellr1chardj0n3s: static files generated before dev patch, dev patch added, run server and fail, would be my thought11:54
r1chardj0n3s*fingers crossed*11:54
robcresswellr1chardj0n3s: Yup11:54
r1chardj0n3s(also, ugh)11:54
mrungeflwang1, unfortunately such things slow down reviews a lot. if folks don't have a clue on how to test, you can not expect honest reviews11:55
flwang1mrunge: this is the spec of searchlights https://review.openstack.org/24622011:55
mrungeflwang1, thanks for sharing, really useful!11:55
r1chardj0n3sI'll rebase, to make it easier11:55
openstackgerritRichard Jones proposed openstack/horizon: Fix Create Image angularjs code  https://review.openstack.org/25167011:55
flwang1mrunge: that's my fault, really busy recently11:55
robcresswelltsufiev: 12th of Jan, as in that is too early to have the bug day, or too early to send email?11:55
flwang1i will address your comments asap11:55
*** gokrokve has quit IRC11:55
mrungeflwang1, no worries, that applies to all of us more or less11:55
robcresswellflwang1: Looking11:55
robcresswellAlso, you need to fix some of your copyrights are wrong I think, flwang111:56
robcresswellUgh, words11:56
robcresswellYou get the idea ^^ :)11:56
flwang1robcresswell: no problem11:57
flwang1pls figure it out and i'm happy to fix it11:57
robcresswellHorizon meeting in a couple of minutes in #openstack-meeting-311:57
robcresswellflwang1: I'll leave comments inline. got meeting first :)11:58
tsufievrobcresswell, sorry, I meant too early to send an email right now11:58
flwang1robcresswell: really appreciate11:58
robcresswelltsufiev: Understood. I agree. Draft saved11:58
*** lhcheng_ is now known as lhcheng12:00
openstackgerritLin Hua Cheng proposed openstack/horizon: Add message of the day option  https://review.openstack.org/25319212:02
*** yamamoto has quit IRC12:03
openstackgerritLin Hua Cheng proposed openstack/horizon: Add message of the day option  https://review.openstack.org/25319212:04
*** yamamoto has joined #openstack-horizon12:06
*** mohankumar has joined #openstack-horizon12:06
*** JeanBriceCombebi has quit IRC12:10
*** yamamoto has quit IRC12:15
*** ygbo has quit IRC12:15
*** jtriley has joined #openstack-horizon12:18
*** jtriley has quit IRC12:23
ibmkoguys, I've just checked and the file horizon.scss comes with the ubuntu package - so it is not autogenerated. With this regard, should I actually be calling collectstatic -c in production system ?12:32
ibmkoif I consider that the collectstatic -c deletes this file and others12:33
ibmkoI only need to work with custom themes which should be "production" in Kilo12:33
ibmkoI dont need to regenerate all files (unlike when actually developing Horizon)12:33
mrungeibmko, somewhere I read that is not recommended on ubuntu/debian packages12:34
ibmkowhat is not recommended ?12:34
mrungecalling collectstatic12:34
ibmkook but how do I get the custom theme up and running12:35
mrungeas that deletes files still required, at least in that configuration12:35
mrungeibmko, no idea; that needs canonical to tell you12:35
ibmkohere one guys says:12:36
ibmkoWhy exactly are you trying to call manage.py collecstatic? You should *not* do that. There's no issue in the package, and collectstatic should never be done, end of the story, IMO12:36
ibmkoits from here: https://bugs.launchpad.net/mos/+bug/147014312:36
openstackLaunchpad bug 1470143 in Mirantis OpenStack "'dashboard/scss/horizon.scss' could not be found in the COMPRESS_ROOT '/usr/share/openstack-dashboard/static' after installation" [High,Fix released] - Assigned to MOS Packaging Team (mos-packaging)12:36
mrungeibmko, yes, I already linked that earlier12:37
ibmkoso if I completely disregard Canonical, normally, in vanilla horizon, what is the recommended way to get the custom themes up and running?12:38
ibmkojust configuring the "CUSTOM_THEME_PATH" variable and rebooting apache ?12:38
mrungein best case: update custom_theme_path, run collectstatic and restart httpd12:38
ibmkoand should it really be "collectstatic -c" or just "collectstatic"? Maybe the right way would be to just run collecstatic as it only replaces files on top of existing stuff which kind of sounds how custom templates might work anyway12:40
*** alejandrito has joined #openstack-horizon12:40
ibmkotemplate -> theme12:40
*** ducttape_ has joined #openstack-horizon12:40
*** Daisy has joined #openstack-horizon12:41
mrunge./manage.py collectstatic --clear --noinput12:41
*** doug-fis_ is now known as doug-fish12:42
*** chlong has joined #openstack-horizon12:42
*** JeanBriceCombebi has joined #openstack-horizon12:46
*** jerrygb has joined #openstack-horizon12:53
*** amotoki_ has joined #openstack-horizon12:56
*** ducttape_ has quit IRC12:58
*** amotoki__ has joined #openstack-horizon12:59
*** amotoki has quit IRC12:59
*** amotoki__ is now known as amotoki___12:59
*** julim has joined #openstack-horizon13:01
*** amotoki___ is now known as amotoki__13:02
r1chardj0n3sg'night all13:02
*** amotoki_ has quit IRC13:02
*** amotoki__ is now known as amotoki13:02
tsufievr1chardj0n3s, night!13:02
mrungegood night r1chardj0n3s13:02
robcresswellmrunge: collectstatic -c == collectstatic --clear13:02
robcresswellI think its still undocumented in django lol.13:03
mrungerobcresswell, I guessed that, but was not sure and too lazy to look that up13:03
mrungerobcresswell, yes, that's right. it's not documented13:03
robcresswellibmko: That comment was from zigo, who was here earlier :)13:03
robcresswellThe one about not using collectstatic13:03
tsufievrobcresswell, I thought he already gave up on this idea13:04
mrungetsufiev, that comment was from mid this year13:05
robcresswellI'm unsure what the current status is on that13:05
*** Daisy has quit IRC13:05
*** Liuqing has joined #openstack-horizon13:05
tsufievmrunge, ah, ok13:05
*** doug-fish has quit IRC13:06
*** pauloewerton has joined #openstack-horizon13:07
robcresswellflwang1: Got it working13:12
robcresswellflwang1: Want me to push a new patch, or justl eave comments?13:14
robcresswelljust leave*13:14
*** jtriley has joined #openstack-horizon13:22
*** mwhagedorn has quit IRC13:23
*** doug-fish has joined #openstack-horizon13:23
*** jtriley has quit IRC13:27
*** SurajD has quit IRC13:31
*** SurajD has joined #openstack-horizon13:33
robcresswellflwang1: Pushing a new patchset to fix issues. Hope it doesnt interfere with your workflow.13:36
openstackgerritPaulo Ewerton Gomes Fragoso proposed openstack/django_openstack_auth: Move d-o-a auth library to keystoneauth  https://review.openstack.org/20525113:37
*** JeanBriceCombebi has quit IRC13:39
doug-fishIn the plugin i18n area, I've looked at 2 areas of concern so far: 1) i18n plugins can't contribute new messages: https://bugs.launchpad.net/horizon/+bug/152393013:39
openstackLaunchpad bug 1523930 in OpenStack Dashboard (Horizon) "Javascript message catalogs need to be retreived from plugins" [Undecided,New] - Assigned to Doug Fish (drfish)13:39
doug-fishand 2) there is a lot of copying of Horizon tools like ./run_tests.sh and the /tools directory to extract and compile messages13:39
robcresswelldoug-fish: Yeah. I recently scrapped run_tests from cisco-ui13:40
doug-fishOn 2, I'm thinking of having Horizon provide some of those scripts in an externally accessible fashion, so plugins can just call something like run_test.sh --makemessages from a Horizon based tool13:40
doug-fishrobcresswell: how did you replace it?13:41
*** petertr7_away is now known as petertr713:41
openstackgerritMerged openstack/django_openstack_auth: Revert - Cache the User's Project by Token ID  https://review.openstack.org/23560913:41
robcresswelldoug-fish: tox for testing. The others jsut using the actual commands13:41
robcresswellTbh once the translation infrastructure takes over we dont those commands, do we?13:41
doug-fishactual commands not coded anywhere?13:41
robcresswellNo, just using the programs themselves, like pybabel etc13:42
robcresswelldont need those commands*13:42
doug-fishwe normally don't distribute .mo files in the packages13:42
doug-fishso I'd think a compile step would need to be externalizable13:42
doug-fishor part of a package setup maybe13:42
robcresswellrun_tests is just a layer over the top right?13:42
doug-fishright13:43
robcresswellso it would just be pybabel compile etc.13:43
*** JeanBriceCombebi has joined #openstack-horizon13:43
*** masco has quit IRC13:43
doug-fishhmm, so you're thinking that the run_tests doesn't provide enough value to bother with13:43
* doug-fish thinking13:43
robcresswellActually, I wonder how it works with plugins13:44
doug-fishit?13:44
robcresswellSo, if we install a plugin, does run_tests build the .mo fiels from the plugins too13:44
robcresswellfiles*13:44
doug-fishno13:44
*** yamamoto has joined #openstack-horizon13:44
robcresswellAh okay13:44
doug-fishright now I'm experiementing with a edited copy of run_tests.sh for neutron-lbaas-dashboard13:45
robcresswellSo each plugin will have to compile its own .mo files13:45
doug-fishit doesn't look very good13:45
doug-fishyeah13:45
robcresswellNo, its a duplication of 600 lines. Personally I don't even see the value of it in Horizon itself, as its just a layer of obfuscated wrapper stuff.13:45
doug-fishthe message capture command is a bit longish if I recall13:46
doug-fishnice to have it encoded to make sure it always gets called the same way13:46
openstackgerritPaulo Ewerton Gomes Fragoso proposed openstack/django_openstack_auth: Move d-o-a auth library to keystoneauth  https://review.openstack.org/20525113:46
robcresswellThe extraction part is, but that should just be infra13:46
robcresswellThe compile part is literally a wrapper iirc13:47
doug-fishNot sure we should assume/require infra13:47
robcresswellI'm pretty sure --compilemessages just does manage.py compilemessages13:47
doug-fishyep13:47
doug-fishhttps://github.com/openstack/horizon/blob/master/run_tests.sh#L47013:47
robcresswellHmm, I was thinking of openstack/ plugins13:47
ibmkorobcresswell, ah, ok :)13:47
robcresswelldoug-fish: This is the long-ish bit https://github.com/openstack/horizon/blob/master/run_tests.sh#L43213:48
doug-fishyeah13:48
doug-fishMy thought was to break the translation related tools out of ./run_tests and have a more horizon-translation focused tool that would get installed as part of the Horizon setup13:49
doug-fishwith the idea plugins could use Horizon's scripts to capture/pseudo translate/compile messages13:49
doug-fishmaybe tools aren't always required for that though - compilemessages is a pretty thin wrapper!13:50
openstackgerritPaulo Ewerton Gomes Fragoso proposed openstack/horizon: Adding Identity NGProjects API  https://review.openstack.org/20858113:50
openstackgerritPaulo Ewerton Gomes Fragoso proposed openstack/horizon: Adding NGProjects Create Action - Members  https://review.openstack.org/24534013:50
openstackgerritPaulo Ewerton Gomes Fragoso proposed openstack/horizon: Adding Identity NGProjects Panel  https://review.openstack.org/19913913:50
openstackgerritPaulo Ewerton Gomes Fragoso proposed openstack/horizon: Adding NGProjects Create Action - Quota  https://review.openstack.org/25241213:50
openstackgerritPaulo Ewerton Gomes Fragoso proposed openstack/horizon: Adding Identity NGProjects Create Action - Details  https://review.openstack.org/21535213:50
openstackgerritPaulo Ewerton Gomes Fragoso proposed openstack/horizon: Adding hz-if-neutron-extensions directive  https://review.openstack.org/25259713:51
robcresswelldoug-fish: I'd just document the block and leave it at that13:52
*** yamamoto has quit IRC13:53
doug-fishrobcresswell: I'll think on that a while -- my immediate thought is that I'd be unhappy trying to maintain Horizon without having that scripted13:53
doug-fishand tools > documentation for saying how a thing should be done13:54
*** ducttape_ has joined #openstack-horizon13:54
robcresswellSure. We could break up run_tests into the tools folder so at least people only take parts of it13:54
robcresswellthen its not much different to the install_venv files which are all over openstack.13:55
doug-fishtrue - though I'd really hope to not need that either13:55
doug-fishI'll try to put together a patch - I think that will help me sort out if I think it's worth capturing these processes in code or not13:57
robcresswellWoop, just retested that zaqar-ui patch and I've at least put it back on the right tracks in terms of it working :p13:58
robcresswelldoug-fish: Sure thing. An alternative may be to make it available in python so it can be imported easily13:59
doug-fishyeah, I did think about that too13:59
robcresswelldoug-fish: Thanks for looking into this btw, really appreciate it!13:59
doug-fishno worries - thanks for chatting through some of the issues with me14:00
*** jtriley has joined #openstack-horizon14:00
*** logan- has joined #openstack-horizon14:01
jgrasslerGood afternoon.14:01
jgrasslerCould somebody have another look at https://review.openstack.org/#/c/238419/ ?14:01
jgrasslerIt has been broken for quite some time now, and we'd like to get our fix upstream at some stage14:02
robcresswellLooks clean. Best people to ping for d_o_a are usually david-lyle, lhcheng14:03
robcresswellUS timezones, but lhcheng may still be UTC +1.14:04
mrungeI thought this is a duplicate?14:04
jgrasslerDuplicate?14:04
mrungejgrassler, were you using pki token?14:04
jgrasslermrunge: No, regular UUID tokens14:04
jgrasslerI dimly remember a different bug with the same failure mode, though14:05
mrungeinteresting14:05
jgrasslerThat might be a source of confusion :-)14:05
mrungeyes, exactly; this is why I was thinking of a duplicate14:05
jgrasslerThe issue at hand is not related to token type - the problem is a bad endpoint URL14:06
*** SurajD has quit IRC14:06
mrungeIn my understanding, endpoints work with both urls14:06
mrungeeven using v2.0 and forcing horizon to use keystone v3 worked14:07
*** SurajD has joined #openstack-horizon14:08
*** ducttape_ has quit IRC14:08
openstackgerritLin Hua Cheng proposed openstack/horizon: Add support for identity provider protocol CRUD  https://review.openstack.org/24886514:08
*** jerrygb_ has joined #openstack-horizon14:08
jgrasslerNo such luck - the URL without version information 404s, at least in our cloud14:09
jgrasslerAnyway, it looks like time zones are aligned right now :-)14:10
mrungeI have been told by keystone guys, it's mostly version agnostic, and keystone should just work14:10
mrungehuh?14:11
jgrassler(according to openstackgerrit lhcheng appears to be online)14:11
*** tosky_ is now known as tosky14:11
openstackgerritPaul Karikh proposed openstack/django_openstack_auth: Add domain initial value on login  https://review.openstack.org/25483814:11
*** jerrygb has quit IRC14:11
*** pece has quit IRC14:11
*** jpomeroy has joined #openstack-horizon14:12
mrungejgrassler, yes, he's currently in EU14:12
jgrasslermrunge: Maybe they meant "you can talk 2.0 to /3.0 just fine" by "version agnostic". /tokens can be relied on to 404 in our Openstack setup.14:12
lhchengoops, didn't notice the message14:13
* lhcheng reading back14:13
*** peristeri has joined #openstack-horizon14:13
jgrasslerlhcheng: tl;dr wondering if my latest patch set on https://review.openstack.org/#/c/238419/ passes muster now :-)14:14
pkarikhlhcheng: hi! Since you're here - I refactored DOA patch for pre-filling domain field. Now it is being filled from cookies, as you suggested. https://review.openstack.org/#/c/254838/14:14
*** breitz has quit IRC14:19
lhchengjgrassler: how come the identity endpoint in your service catalog doesn't have the version?14:19
*** breitz has joined #openstack-horizon14:19
lhchengthought version-less auth is not yet there..14:19
*** lblanchard has joined #openstack-horizon14:20
*** matt-borland has joined #openstack-horizon14:21
jgrasslerlhcheng: That's a good question. It may well be due to misconfiguration. It's beenn a while since we configured that...14:21
lhchengpkarikh: the bug associated with the patch does not match the change in the patch anymore :)14:21
pkarikhlhcheng: yep, changed commit msg and forgot to change bug. Going to fix it, thanks. :)14:21
*** gokrokve has joined #openstack-horizon14:22
jgrasslerlhcheng: Alright, the guy wo configured it does not know where he heard it, but says version-less out is here as of Kilo.14:23
jgrasslers/out/auth/14:23
jgrasslerMaybe it just works for everything else because everything else appends its version of choice to the base URL (nothing else appears to run into these 404s, at any rate).14:24
*** Piet has joined #openstack-horizon14:25
lhchengjgrassler: hmm I don't see it in the keystone release notes: https://wiki.openstack.org/wiki/ReleaseNotes/Kilo#OpenStack_Identity_.28Keystone.2914:25
*** Piet has quit IRC14:28
lhchengjgrassler: yeah, not even sure if command on keystone client would work if the identity endpoints does not have the version.14:28
jgrasslerlhcheng: Not in the release notes, but there are people claiming it works as of Kilo (https://ask.openstack.org/en/question/67292/what-are-implication-of-using-both-v20-and-v3-endpoint-of-keystone/)14:30
jgrasslerAnd at least the openstack command line client works just fine14:31
*** mtanino has joined #openstack-horizon14:31
*** nullvariable has joined #openstack-horizon14:31
*** mflobo has joined #openstack-horizon14:33
*** yamamoto has joined #openstack-horizon14:34
mfloboI have a question about css for a new Panel in Horizon, is anyone up to try to help me? :)14:34
mrungeI'd still not really convinced here14:34
mrungejgrassler, I'm all in for making it more clear14:35
mrungeand I agree using keystone v3 but defining v2.0 as endpoint looks just ugly14:35
mrungeif we can make that more clear: yes14:36
jgrasslermrunge: Yep. And it's not as if there's no configuration option explicitely specifying the version, after all :-)14:36
mrungestill I'm not convinced that is a real issue; maybe I'm using it wrong?14:36
mrungejgrassler, even if I'm specifying the version, it just works(tm)14:37
tsufievmflobo, what's the problem with it?14:37
lhchengjgrassler: the suggestion sounds specific to only work with openstackclient14:37
lhchengjgrassler: if it doesn't work even with keystoneclient, that doesn't sound right14:37
*** vijendar has joined #openstack-horizon14:38
mflobotsufiev, thanks, I'm creating a new panel for Compute section, let's call it "panel_a". I would like to know where shoould I put my CSS files for this new panel14:39
*** jtriley has quit IRC14:40
tsufievmflobo, please take a look at https://review.openstack.org/#/c/233709/12/doc/source/tutorials/plugin.rst line 35314:41
tsufievthe whole doc may also be quite useful to you14:42
*** jtriley has joined #openstack-horizon14:44
mflobotsufiev, ahh, I see, so I can put where ever and just put the reference in my "enable" file, right?14:44
*** neelashah has joined #openstack-horizon14:45
lhchengjgrassler: the version-less endpoint is not in tempest, so I am not if that is supported..  for that to work, it assumes there is a discovery code in the client.14:46
lhchengjgrassler: you can't guarantee that all clients will have that logic, you might end up with more headache :/14:47
mflobotsufiev, so I guess this tutorial http://docs.openstack.org/developer/horizon/topics/tutorial.html is now obsolete14:48
tsufievmflobo, yes, it's obsolete to some degree, but the doc I pointed you to is still WIP14:48
jgrasslerlhcheng: Well, most clients appear to have that logic...our only trouble is with django-openstack_auth at this point :-/14:49
mflobotsufiev, so... is not production?14:49
*** gokrokve has quit IRC14:49
tsufievmflobo, the feature being documented is in production, but documentation is not yet :)14:51
lhchengjgrassler: after updating django_openstack_auth, would the keystone operation in horizon just works?14:52
jgrasslerlhcheng: What do you mean by updating? Updating to a version with my patch applied?14:53
lhchengjgrassler: yes, I meant after applying your patch14:54
jgrasslerlhcheng: Then yes (and without it the Projects dropdown remains empty (everything else works))14:54
*** ducttape_ has joined #openstack-horizon14:54
tsufievitxaka, didn't notice any performance boost from template refactoring :/14:54
itxaka:(14:54
itxakaon the volumes tab?14:54
itxakahavent tried there14:54
tsufievyes14:54
itxakaI think that the more actions available, the more speed ups14:54
itxakaOnly tried on users myself14:54
tsufievyes, it makes sense14:55
itxakaIm guessing that a good test would be to have 500 instances and page limit set to 500 as they have a lot of actions in there14:56
tsufievitxaka, will try it with fake instances, once I have enough of them14:56
itxakastill that sucks, I expected it to gain some speed everywhere :(14:57
itxakadid you had the dajngo-debug-toolbar-template-timings installed?14:57
tsufievnope14:57
itxakathat shows how many times a template has been called, so its a good indicator IMO14:57
tsufievI prefer to use simple tools, like stop-watch and my own eyes )14:57
itxakathe more calls, the more saving :)14:57
itxakaI wonder if selenium could be leveraged to have some timings15:00
itxakajust simple tests of opening page X after inserting X entries and saving the times to a log would be good enough to see any improvements between patches15:01
tsufievyes, could try that15:01
*** jtriley_ has joined #openstack-horizon15:01
tsufievalthough Selenium and particularly the way some page objects in horizon are currently written sometimes introduces a significant overhead15:02
*** mounica has joined #openstack-horizon15:02
*** petertr7 is now known as petertr7_away15:02
*** matt-borland has quit IRC15:03
tsufievitxaka, it's in priorities list, see https://etherpad.openstack.org/p/mitaka-horizon-priorities line 10715:04
*** jtriley has quit IRC15:05
openstackgerritItxaka Serrano Garcia proposed openstack/horizon: Add ID to security groups on launch instance  https://review.openstack.org/25412315:05
*** petertr7_away is now known as petertr715:06
itxakaWe just need to make sure that we ALWAYS introduce the same overhead, as to have a baseline overhead15:06
itxakanot sure if joking :D15:06
robcresswellitxaka: I meant to ask, did it take anything special to get the debug-toolbar working in horizon?15:07
*** pumaranikar has joined #openstack-horizon15:07
*** pumaranikar has quit IRC15:07
*** pumaranikar has joined #openstack-horizon15:08
*** pushkaru has joined #openstack-horizon15:08
mflobotsufiev, thank you15:08
*** pushkaru has quit IRC15:08
openstackgerritPaul Karikh proposed openstack/horizon: [WIP] Add truncated flag support  https://review.openstack.org/25086915:08
*** pumaranikar has quit IRC15:09
*** pumaranikar has joined #openstack-horizon15:09
robcresswellHey tsufiev now I can pester you for reviews right? :D15:09
itxakarobcresswell, not really, just import INSTALLED_APPS from openstack_dashboard.settings and if you can import debug_toolbar then add it to the INSTALLED_APPS15:09
robcresswellCool. I looked into it briefly and it seemed like the redirects didnt work when clicking on a panel15:10
itxakaah, didnt check that panle, I usually deactivate everything that I can15:10
robcresswellAh okay15:10
itxakas/panle/panel/g15:10
tsufievrobcresswell, sure15:11
*** jtriley_ has quit IRC15:12
lhchengjgrassler: added some comments on the patch. I have to dig around further on the version-less endpoint, I'm still not convince about using it.15:13
*** jtriley has joined #openstack-horizon15:13
robcresswelltsufiev: Nothing yet, but there will be :p15:13
jgrasslerlhcheng: Alright, thanks :-)15:13
lhchengjgrassler: would be interesting to see if devstack would work: https://review.openstack.org/#/c/255294/15:13
jgrasslerlhcheng: In the meantime I'll work on the things you commented on, just in case :-)15:14
tsufievrobcresswell, haha, I always have some reviews to pester you :)15:14
lhchengjgrassler: sounds good15:15
* tsufiev could not imagine the situation when his patches queue becomes empty15:16
*** mohankumar has quit IRC15:17
openstackgerritLin Hua Cheng proposed openstack/horizon: Add message of the day option  https://review.openstack.org/25319215:18
robcresswelltsufiev: Mine has suddenly emptied. I had 10/15 last week. Now 2.15:18
tsufievwow15:21
tsufievrobcresswell, then would you mind looking at https://review.openstack.org/#/c/215277/ ;)?15:22
*** noqa_v_qoovnie has quit IRC15:22
*** jtriley has quit IRC15:24
*** Daisy has joined #openstack-horizon15:25
robcresswelltsufiev: Shall do15:26
tsufievrobcresswell, thanks!15:26
*** Daisy has quit IRC15:29
*** gokrokve has joined #openstack-horizon15:30
*** TravT has joined #openstack-horizon15:30
*** Ephur has joined #openstack-horizon15:30
*** TravT has quit IRC15:31
*** TravT has joined #openstack-horizon15:31
*** gokrokve has quit IRC15:35
*** jprovazn has joined #openstack-horizon15:35
*** jtriley has joined #openstack-horizon15:38
*** hurgleburgler has joined #openstack-horizon15:39
*** mounica has quit IRC15:39
*** belmoreira has quit IRC15:39
openstackgerritayoung proposed openstack/horizon: Federated Identity Mapping  https://review.openstack.org/23211415:43
robcresswellQuestion: Do tabs/tabletabs respond properly to policy?15:43
robcresswelltsufiev: Will be on that patch in a moment, juat had one last test to fix on mine :/15:44
*** gokrokve has joined #openstack-horizon15:45
*** Liuqing has quit IRC15:47
tsufievrobcresswell, ok. Any reasons to think that Tabs disobey the policy? def allowed() IMO should check the policy15:49
robcresswellI'm altering the Net Details to be tabbed, had this patch on the go for ages15:49
*** hurgleburgler has quit IRC15:50
*** TravT has quit IRC15:50
robcresswellFor some reason, the Create Subnet action doesnt make its policy called15:50
robcresswellcall*15:50
robcresswelland I've no idea why15:50
*** TravT has joined #openstack-horizon15:50
tsufievI think (Table)Tabs should behave the same way as a higher-level components, like https://github.com/openstack/horizon/blob/master/horizon/base.py#L13115:51
tsufievit they do not, it's a bug15:51
tsufiev(or a feature request)15:52
tsufievI remember doing the same things for workflows here https://review.openstack.org/#/c/144152/12/horizon/test/tests/workflows.py15:52
tsufievmight be a bit easier for tabs15:52
*** TravT has quit IRC15:55
*** TravT has joined #openstack-horizon15:55
*** TravT has quit IRC15:55
*** TravT has joined #openstack-horizon15:56
robcresswellGetting to the point where I've spent so long with this tests file that I know the line numbers of individual tests :s15:56
robcresswellV frustrating.15:56
*** gokrokve has quit IRC15:58
*** mflobo has left #openstack-horizon15:59
*** erlon has joined #openstack-horizon15:59
*** gokrokve has joined #openstack-horizon15:59
*** tjones has joined #openstack-horizon15:59
*** zz_john5223 is now known as john522316:03
*** pumaranikar has quit IRC16:04
*** pumaranikar has joined #openstack-horizon16:05
*** kmartin has joined #openstack-horizon16:07
*** vishwanathj has quit IRC16:08
*** vishwanathj has joined #openstack-horizon16:08
openstackgerritPaul Karikh proposed openstack/django_openstack_auth: Add domain initial value on login  https://review.openstack.org/25483816:12
*** TravT is now known as TravT_away16:12
openstackgerritRajat Vig proposed openstack/horizon: Ability to turn off client search for full text search  https://review.openstack.org/22866516:15
openstackgerritRajat Vig proposed openstack/horizon: Add test for the Heat Service validate method  https://review.openstack.org/23727216:16
*** hurgleburgler has joined #openstack-horizon16:18
*** jerrygb_ has quit IRC16:18
*** vgridnev has quit IRC16:23
*** hurgleburgler has quit IRC16:24
*** Drago has joined #openstack-horizon16:27
*** lapalm has joined #openstack-horizon16:32
openstackgerritTimur Sufiev proposed openstack/horizon: Prepare for 'AVAILABLE_REGIONS' renaming  https://review.openstack.org/22475916:32
openstackgerritTimur Sufiev proposed openstack/horizon: Rename 'AVAILABLE_REGIONS' to 'KEYSTONE_ENDPOINTS'  https://review.openstack.org/22213216:32
*** bpokorny has joined #openstack-horizon16:37
openstackgerritSam Betts proposed openstack/horizon: Use JQuery promise/deferred objects to track AJAX  https://review.openstack.org/17206716:38
*** ctina_ has joined #openstack-horizon16:43
*** apuimedo is now known as away16:44
*** away is now known as Guest3275216:45
*** jprovazn has quit IRC16:46
*** peristeri has quit IRC16:47
*** jprovazn has joined #openstack-horizon16:48
*** gokrokve has quit IRC16:51
*** mohankumar has joined #openstack-horizon16:54
*** jtriley has quit IRC16:55
openstackgerritTimur Sufiev proposed openstack/django_openstack_auth: Prepare for 'AVAILABLE_REGIONS' renaming  https://review.openstack.org/22475616:56
*** gyee has joined #openstack-horizon16:56
*** petertr7 is now known as petertr7_away16:59
openstackgerritTimur Sufiev proposed openstack/horizon: Prepare for 'AVAILABLE_REGIONS' renaming  https://review.openstack.org/22475917:00
*** petertr7_away is now known as petertr717:00
openstackgerritTimur Sufiev proposed openstack/horizon: Prepare for 'AVAILABLE_REGIONS' renaming  https://review.openstack.org/22475917:00
openstackgerritTimur Sufiev proposed openstack/django_openstack_auth: Rename 'AVAILABLE_REGIONS' to 'KEYSTONE_ENDPOINTS'  https://review.openstack.org/22212917:02
*** lhcheng has quit IRC17:04
*** jprovazn has quit IRC17:06
*** jprovazn has joined #openstack-horizon17:06
*** JeanBriceCombebi has quit IRC17:06
*** steveng has joined #openstack-horizon17:09
stevengHey people.. I have a query.. I was trying to change the horizon code where project members are managed..17:10
*** rcernin has quit IRC17:11
tsufievsteveng, what's the problem?17:11
stevengSince my LDAP has more that 10000 users, I don't want horizon to load users. I want a textbox in place where users list gets populated. I did everything till here.17:12
tsufievsteveng, please, take a look at https://review.openstack.org/#/c/252488/17:12
steveng # Get list of available users17:12
steveng        all_users = []17:12
steveng        # try:17:12
steveng        #     all_users = api.keystone.user_list(request,17:12
steveng        #                                        domain=domain_id)17:12
steveng        # except Exception:17:12
steveng        #     exceptions.handle(request, err_msg)17:12
steveng        users_list = [(user.id, user.name) for user in all_users]17:12
steveng        users_list.append(('foo', 'foo'))17:12
steveng        # Get list of roles17:13
stevengIs this patch completed?17:13
tsufievsteveng, we could use your expertise in reviewing that patch :)17:13
tsufievI guess it's still WIP, since some tests are failing17:13
tsufievpkarikh is working on it17:14
stevengI am happy to help.. Okay.. I will add this patch to my setup..17:14
*** vgridnev has joined #openstack-horizon17:15
openstackgerritItxaka Serrano Garcia proposed openstack/horizon: Allow add/delete networks ports as a tenant  https://review.openstack.org/25311217:15
stevengtsufiev: I am new to git.. could you tell me how can I copy this patch in one step instead of coping each and every file?17:16
robcresswellsteveng: It's on the patch page17:17
robcresswellNext to the Patch Set 5 bit there is a "Download" descriptor17:18
*** ianbrown has quit IRC17:20
stevengrobcresswell: tsufiev: I wanna know one thing.. Is horizon only able to add members to projects who are in the users_list[] array ?17:21
tsufievsteveng, hmm, that code with users_list seems outdated to me17:22
david-lyleor in your git repo for horizon "git review -d <change-id>17:22
david-lyle"17:22
david-lylewould likely have to rebase that branch to whatever your master is17:23
*** ianbrown has joined #openstack-horizon17:23
*** tosky has quit IRC17:23
*** tosky has joined #openstack-horizon17:23
tsufievsteveng, I believe that https://github.com/openstack/horizon/blob/master/openstack_dashboard/api/keystone.py#L569 is a more modern way to cycle through users' roles17:23
*** mounica has joined #openstack-horizon17:23
stevengI dont have git repo.. I installed the horizon using kilo guide earlier and following the same pattern since then. I have the horizon files in /usr/share/openstack-dashboard/ directory where I make changes to the code and see the results on the browser.17:24
david-lyleah, robcresswell 's method will work then17:24
david-lyleprobably why he suggested it17:24
david-lylerobcresswell: follows the whole conversation, show oof17:25
david-lyle*off17:25
robcresswellMy bad17:25
david-lyle:D17:25
tsufievsteveng, ah, I got it, in kilo (which you're speaking of) code is different indeed17:26
robcresswellQuestion: anyone written unit tests for content loaded in table tabs before?17:26
tsufievrobcresswell, I wrote some tests for lazily loaded tabs17:26
robcresswellAh, thats what I'm looking for17:26
tsufievit was my first experience and it was very awkward17:26
tsufievI guess I used Selenium for thta17:27
robcresswellAh17:27
tsufievnever again :)17:27
tsufievI mean, no Selenium for this kind of tests17:27
stevengtsufiev: can I use liberty keystone with all other services in kilo?17:27
robcresswellSince I moved the Subnets/ Ports tables to lazy loaded tabs, I'm unsure how to fix the table_action tests17:27
*** jpomeroy has quit IRC17:28
tsufievsteveng, I think it should work, since the lag is just 1 version17:28
ducttape_robcresswell - I can help explain the concept of what you will need17:28
tsufievrobcresswell, perhaps make them not lazy?17:28
tsufiev:)17:28
robcresswelltsufiev: Networks tend to have a lot of associated objects, so I think lazy may be useful in this instance.17:29
ducttape_essentially, the test before loaded data for all 4 (is it 4?) tabs, getting all the data for all the tests.  you will likely need to remove a bunch of mock setup stuff in the tests, and break that into many separate tests17:29
robcresswellOtherwise you load all subnets, ports and dhcp agents at once.17:29
robcresswellAh, okay17:29
openstackgerritTimur Sufiev proposed openstack/horizon: Rename 'AVAILABLE_REGIONS' to 'KEYSTONE_ENDPOINTS'  https://review.openstack.org/22213217:30
ducttape_so now you would need a test for tabA, a test for tabB .... etc17:30
ducttape_before you could do a lot of that in one test17:30
*** gokrokve has joined #openstack-horizon17:30
openstackgerritTimur Sufiev proposed openstack/horizon: Rename 'AVAILABLE_REGIONS' to 'KEYSTONE_ENDPOINTS'  https://review.openstack.org/22213217:30
ducttape_I *think* that is what you are dealing with17:30
*** jbell8 has joined #openstack-horizon17:31
*** jpomeroy has joined #openstack-horizon17:32
robcresswellThe issue i have now is that the rendered template is empty because the data is lazy-loaded17:32
robcresswellSo I can check tha tthe tab exists, but it has no content17:32
*** jtriley has joined #openstack-horizon17:32
robcresswelland thus no actions for me to verify17:32
ducttape_right, you will need to format a new request to load the other tab17:33
david-lylerobcresswell: you will have to load the appropriate tab17:33
ducttape_that request will be a bit different17:33
tsufievsteveng, nobody likes reading the docs, yet I suggest to start here: https://wiki.openstack.org/wiki/How_To_Contribute#Reviewing17:36
tsufiev(speaking of your git issues and the whole workflow)17:36
tsufievducttape_, david-lyle: I wonder if the ajax nature of tab lazy loading will stand in the way of testing?17:38
tsufievhm, on the second thought, I think it should be fine, since the ajax/js code was initiating the second request you're talking about17:39
ducttape_is this a new lazy loaded tab concept?  we have examples of the current lazy loaded stuff17:39
robcresswellNo, just the usual preload=false17:40
*** errolpais has joined #openstack-horizon17:41
ducttape_yeah, so the instances page does this17:41
robcresswellYeah, thats the example I'm trying to mirror atm17:41
ducttape_https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/instances/tests.py#L980-L99417:42
ducttape_like that, the %s=%s stuff etc17:42
*** jtriley has quit IRC17:43
*** nlahouti has joined #openstack-horizon17:43
*** crobertsrh1 has joined #openstack-horizon17:44
*** itxaka has quit IRC17:52
*** kzaitsev_mb has quit IRC17:54
*** rajatvig has joined #openstack-horizon17:55
*** rajatvig has quit IRC18:00
*** rajatvig has joined #openstack-horizon18:01
*** jtriley has joined #openstack-horizon18:02
*** petertr7 is now known as petertr7_away18:02
*** nlahouti has quit IRC18:03
*** nlahouti has joined #openstack-horizon18:05
*** yamamoto has quit IRC18:05
openstackgerritPaulo Ewerton Gomes Fragoso proposed openstack/horizon: Adding NGProjects Create Action - Quota  https://review.openstack.org/25241218:13
*** mpavlase has quit IRC18:13
*** SurajD has quit IRC18:14
*** mohankumar has quit IRC18:17
*** SurajD has joined #openstack-horizon18:17
*** sambetts is now known as sambetts-afk18:18
*** gyee has quit IRC18:19
openstackgerritTimur Sufiev proposed openstack/django_openstack_auth: Prepare for 'AVAILABLE_REGIONS' renaming  https://review.openstack.org/22475618:19
openstackgerritTimur Sufiev proposed openstack/django_openstack_auth: Rename 'AVAILABLE_REGIONS' to 'KEYSTONE_ENDPOINTS'  https://review.openstack.org/22212918:19
openstackgerritTimur Sufiev proposed openstack/django_openstack_auth: Rename 'AVAILABLE_REGIONS' to 'KEYSTONE_ENDPOINTS'  https://review.openstack.org/22212918:20
*** yamamoto has joined #openstack-horizon18:22
*** yamamoto has quit IRC18:23
openstackgerritMatt Wood proposed openstack/django_openstack_auth: STUPID MUSINGS REGARDING AZURE CLOUD STUFF  https://review.openstack.org/25542418:26
*** ducttape_ has quit IRC18:26
*** jpomeroy has quit IRC18:29
*** mounica has quit IRC18:30
*** tosky has quit IRC18:33
*** jingjing_ren has joined #openstack-horizon18:39
*** e0ne has quit IRC18:41
*** dsneddon has quit IRC18:42
*** neelashah has quit IRC18:42
*** aix has quit IRC18:43
*** errolpais has quit IRC18:43
openstackgerritMatt Wood proposed openstack/django_openstack_auth: STUPID MUSINGS REGARDING AZURE CLOUD STUFF  https://review.openstack.org/25542418:44
*** TravT_away has quit IRC18:46
*** dsneddon has joined #openstack-horizon18:46
*** marlinc has quit IRC18:48
*** rdopiera has quit IRC18:49
*** ducttape_ has joined #openstack-horizon18:50
*** flwang1 has quit IRC18:50
*** flwang1 has joined #openstack-horizon18:51
*** lhcheng has joined #openstack-horizon18:52
*** marlinc has joined #openstack-horizon18:53
*** lapalm has quit IRC18:56
*** gokrokve has quit IRC18:57
*** lhcheng has quit IRC18:57
*** jpomeroy has joined #openstack-horizon18:58
*** gokrokve has joined #openstack-horizon18:59
*** gokrokve has quit IRC18:59
*** flwang1 has quit IRC19:00
*** yamamoto has joined #openstack-horizon19:00
*** david-ly_ has joined #openstack-horizon19:00
*** ducttape_ has quit IRC19:00
*** ducttape_ has joined #openstack-horizon19:01
*** jingjing_ren has quit IRC19:02
*** yamamoto has quit IRC19:02
*** bpokorny_ has joined #openstack-horizon19:02
*** david-ly_ is now known as david-lyle_19:03
*** david-lyle has quit IRC19:03
*** bpokorny_ has quit IRC19:03
*** neelashah has joined #openstack-horizon19:04
*** bpokorny_ has joined #openstack-horizon19:04
*** gokrokve has joined #openstack-horizon19:04
*** david-lyle_ is now known as david-lyle19:04
*** ChanServ sets mode: +o david-lyle19:04
*** lapalm has joined #openstack-horizon19:05
*** gokrokve has quit IRC19:05
*** gokrokve has joined #openstack-horizon19:06
*** bpokorny has quit IRC19:06
*** doug-fish has quit IRC19:08
*** doug-fish has joined #openstack-horizon19:09
*** gokrokve has quit IRC19:10
*** bpokorny_ has quit IRC19:11
*** bpokorny has joined #openstack-horizon19:12
*** doug-fish has quit IRC19:14
*** bpokorny_ has joined #openstack-horizon19:14
*** gyee has joined #openstack-horizon19:14
*** e0ne has joined #openstack-horizon19:15
*** petertr7_away is now known as petertr719:15
*** lhcheng has joined #openstack-horizon19:16
*** bpokorny has quit IRC19:17
*** jtriley has quit IRC19:17
*** lhcheng_ has joined #openstack-horizon19:17
*** lhcheng has quit IRC19:21
*** doug-fish has joined #openstack-horizon19:23
*** doug-fish has quit IRC19:23
*** doug-fish has joined #openstack-horizon19:23
*** _ducttape_ has joined #openstack-horizon19:34
*** ducttape_ has quit IRC19:38
*** aortega has quit IRC19:43
*** aortega has joined #openstack-horizon19:43
*** TravT_away has joined #openstack-horizon19:45
*** SurajD has quit IRC19:47
*** flwang1 has joined #openstack-horizon19:49
*** tqtran has joined #openstack-horizon19:49
*** bpokorny_ has quit IRC19:51
*** gokrokve has joined #openstack-horizon19:51
*** gokrokve has quit IRC19:52
*** gokrokve has joined #openstack-horizon19:52
*** gokrokve has quit IRC19:53
*** jtriley has joined #openstack-horizon19:53
*** kevinbenton has quit IRC19:54
*** john5223 is now known as zz_john522319:56
*** pkarikh_ has joined #openstack-horizon19:57
*** david-lyle has quit IRC19:58
*** david-lyle has joined #openstack-horizon19:58
*** ChanServ sets mode: +o david-lyle19:58
r1chardj0n3smorning19:59
*** tjones has quit IRC19:59
*** bpokorny has joined #openstack-horizon20:00
david-lylehowdy20:00
tqtrani got a python url question for yall20:01
*** peristeri has joined #openstack-horizon20:01
_ducttape_good, I got an ng question for you tqtran20:02
tqtranurlpatterns += patterns('', url(...), url(...))20:02
_ducttape_monasca has this bug - https://docs.angularjs.org/error/$injector/strictdi  and I have a patch to push for that, wanted someone who knows more than I to chime in20:02
tqtranwhat does that '' in the begining do? is that a prefix?20:02
_ducttape_the += part ?20:02
*** crobertsrh1 has quit IRC20:02
tqtranthe patterns('' part20:03
tqtranthe blank string20:03
_ducttape_ah yeah, I think that is a namespace thing, for the url resolver20:03
*** neelashah has quit IRC20:03
r1chardj0n3stqtran: https://docs.djangoproject.com/en/1.9/ref/urls/#patterns20:03
_ducttape_so you can have various url patterns, they can be placed in different namespaces..... I am 100% making this up from memory20:04
_ducttape_yeah, thats a good example r1chardj0n3s   +120:04
tqtranok so the prefix saves you from typing it over again in the url20:04
tqtranand does it also help you resolve them?20:04
*** lhcheng_ has quit IRC20:05
_ducttape_that gets done via stuff like this:    (r'^articles/([0-9]{4})/$'20:05
*** ZZelle_ has joined #openstack-horizon20:05
*** lhcheng has joined #openstack-horizon20:06
_ducttape_so that says the uri folder path will be articles/4-digit-number/20:06
_ducttape_something like that20:06
tqtranok i think i understand, its mainly useful if you specify the view as a string.20:09
tqtranand allows grping of them, otherwise, easier to just import the view and use object notation20:09
tqtran_ducttape_:  so regarding the bug above, is it related to https://review.openstack.org/#/c/247212/ ?20:10
tqtrani am guessing monasca just recently caught the bug?20:11
_ducttape_https://bugs.launchpad.net/monasca/+bug/1524475   yeah20:11
openstackLaunchpad bug 1524475 in Monasca "monasca-ui is broken with latest horizon code" [Undecided,New] - Assigned to Eric Peterson (ericpeterson-l)20:11
_ducttape_I have / am working on the fix right now20:11
tqtranok, looking through their plugin now20:12
_ducttape_not sure how many other projects are going to break20:12
*** kevinbenton_ has joined #openstack-horizon20:13
tqtranright, its an easy fix, just have to rewrite the current notation to use $inject20:13
flwang1robcresswell: ping20:14
tqtranhttps://review.openstack.org/#/c/247212/4/horizon/static/auth/login/login-finder.directive.js provides an example20:14
*** kevinbenton_ has quit IRC20:14
_ducttape_this is kind of a process questions for me.   horizon is going to "improve" the other add-ins (with this change).... by breaking them ?20:14
*** kevinbenton has joined #openstack-horizon20:14
tqtrani dont think sean and i saw this coming.20:16
tqtranwe assumed most existing plugins do not have angular code, and the ones that do already use existing strict mode, so def our fault on this. but at the same time, not sure how else to proceed20:17
*** vgridnev has quit IRC20:17
_ducttape_I think the angular horse is out of the barn, now you have to support it and consider breaking changes20:17
_ducttape_;)20:17
_ducttape_https://docs.angularjs.org/error/$injector/strictdi   this also mentions two patterns - is one better than the other tqtran?   will I get -1 votes if I use the 2nd pattern ?20:18
tqtranthe first pattern is the one that is error prone, 2nd is more bullet proof20:19
tqtranit comes down to your compression configuration, if name mangling is turn on, first pattern will fail20:19
tqtranwhich is why we wanted to enable strict mode, to prevent this in case someone decided to use their own compressor20:20
_ducttape_ok, I like the 2nd pattern in this situation anyways - thanks20:21
_ducttape_8)20:21
tqtranyep, sorry for the trouble. if you see bugs like these, feel free to forward them my way, i can fix20:21
_ducttape_I'll add you to review of this tqtran - the monasca team could use some extra verification that this is really needed20:21
tqtransure thing, will be happy to help20:22
r1chardj0n3swasn't the app catalog also broken by the strictdi change too?20:22
_ducttape_thanks20:22
r1chardj0n3sbut I think that's been addressed20:22
tqtranright... we didnt see that coming. but i think the change is a good one. good intention, unintended consequences :P20:23
r1chardj0n3syep20:23
*** gokrokve has joined #openstack-horizon20:24
*** steveng has quit IRC20:24
*** steveng has joined #openstack-horizon20:25
tqtrandavid-lyle: https://review.openstack.org/#/c/233709/11..12/doc/source/tutorials/plugin.rst L107 should be correct right?20:25
tqtrancould you also look at urls.py ? seems like what richard and eric said, it should be ok right?20:26
robcresswellflwang1: Hi20:26
david-lyletqtran:  yes, correct as is20:26
david-lyleotherwise API is not in20:26
tqtranand the urls one? i think that is also correct as is20:27
tqtransince we are importing conf (one level up) and using views object directly20:27
*** gokrokve has quit IRC20:27
*** gokrokve has joined #openstack-horizon20:28
robcresswelltqtran: With the URLs thing, we can actually drop the '' notation because nothing uses it. could just do the list pattern in dj1820:29
robcresswellscanning chat :)20:29
tqtrandavid-lyle, doug-fish: whats the difference between using setup.cfg vs manifest.in? one allows wildcarding and the other doesn't?20:29
david-lyletqtran: running horizondrivers meeting ATM, can chat more later :)20:30
flwang1robcresswell: thanks for the patch set20:31
flwang1i'm going to test it on my local, but now i'm seeing another problem20:31
*** petertr7 is now known as petertr7_away20:31
robcresswellflwang1: No problem; hope I didn't interrupt your work too much.20:31
robcresswellflwang1: Oh?20:31
doug-fishtqtran: I'll mostly defer to david-lyle. I understand many openstack projects don't even use a manifest.in, I'm not sure there is a reason plugins would require20:32
flwang1when i try to run "./run_tests.sh --runserver 127.0.0.1:8080"20:32
*** jprovazn has quit IRC20:32
flwang1robcresswell: I got this error "Could not process panel queues: 'NoneType' object has no attribute 'panels'"20:32
david-lylepbr uses setup.cfg plus magic. If you are doing an sdist, it uses manifest.in20:32
robcresswellflwang1: Did ou try my patch? Thats the error I fixed, which was preventing your panel from showing earlier20:33
robcresswellyou*20:33
flwang1and on firefox, when i access http://127.0.0.1:8080, i always is redirected to http://127.0.0.1:8080/dashboard/auth/login/?next=/ and got 40420:33
robcresswellOh, I don't know about the FF issue20:35
*** RichardRaseley has joined #openstack-horizon20:35
flwang1ok, after copied the new plugin config file, the error "Could not process panel queues: 'NoneType' object has no attribute 'panels'" has gone20:36
flwang1but i still get the 404 error20:36
flwang1robcresswell: so in your test, you can see the queues panel successfully, right?20:37
*** petertr7_away is now known as petertr720:37
*** neelashah has joined #openstack-horizon20:37
david-lyletqtran: pbr/sdist comment above was for you, forgot the nick20:39
robcresswellflwang1: Yes indeed20:39
flwang1robcresswell: awesome, thank you so much for the help20:39
tqtranyup saw that, catching up the log on the drivers meeting lol20:39
flwang1robcresswell: then i will retry it20:39
flwang1robcresswell: btw, do you think currently the code is in a good shape if we will go for angularjs ?20:40
robcresswellflwang1: No problem20:40
robcresswellflwang1: I havent done a code review yet, just wanted to get it running :)20:40
*** belmoreira has joined #openstack-horizon20:41
flwang1robcresswell: awesome, would you mind reviewing  the zaqar-ui code in the future? we really need some expertise from horizon team20:42
flwang1basically, we won't merge any patch if there is no at least one +1 from horizon guys20:43
*** gokrokve has quit IRC20:43
robcresswellflwang1: Possssibly. I'm fairly swamped right now. In a meeting too :)20:46
_ducttape_https://review.openstack.org/255504   has that change tqtran20:50
_ducttape_thanks!  :)20:50
tqtranok will take a look after drivers meeting20:50
*** nlahouti has quit IRC20:53
*** kzaitsev_mb has joined #openstack-horizon20:54
*** TravT_away has quit IRC20:56
*** bpokorny has quit IRC20:58
*** Daisy has joined #openstack-horizon21:00
flwang1robcresswell: ok, cool, thanks21:00
*** rajatvig has quit IRC21:02
lhchengtqtran: I don't agree with including the duration flag as a requirement21:03
tqtranits a flag that operator can specify to show all the time, or only once21:03
tqtranthat way, users arent spam with the same message everytime21:03
*** lblanchard has quit IRC21:03
*** TravT_away has joined #openstack-horizon21:04
lhchengwell the operator will only use the messaging if there is something important to show21:04
tqtranif i updated horizon to version X with new features Y, i dont wanna be reminded everytime21:04
*** Daisy has quit IRC21:04
lhchenguser will not login every minute21:04
robcresswellI think david is probably right on this. We're in developer land too much.21:04
*** pkarikh_ has quit IRC21:04
tqtranthat is true, but it will get annoying if the message is there each time i log in21:05
robcresswellIf its not a valid concern, then we needn't worry about it.21:05
robcresswellWould rather defer to those with more deployment experience. I'm sure _ducttape_ will weigh in on it too :p21:05
* _ducttape_ reads scrollback21:06
robcresswell_ducttape_: We were just discussing lhcheng's message of the day proposal. The concern was that showing a message every login may get annoying, but others pointed out that realistically you wont be logging in that often, so its a non-issue.21:06
_ducttape_not sure I get the question yet21:07
_ducttape_ah ok.  and if you don't set it - nothing shows then?21:07
lhchengyup21:07
_ducttape_that seems not too bad.  I'd like to have the message so I can set it sometimes21:08
*** ctina_ has quit IRC21:09
_ducttape_like during an incident, or after a new service is added - have the message.  but 90% of the time have 0 message21:10
robcresswellCool. I'm all for approving the bp then.21:10
robcresswell_ducttape_: I believe thats the intention.21:10
david-lyleexactly21:10
david-lyleit will require a change to production servers, people aren't going to do it for trivial reasons21:10
tqtran_ducttape_:  looks like they already merged your patch. i was going to point out that there were a few directives in ng-tags-input.js but most of those are using the [] notation so might be ok21:10
_ducttape_and this will get stored in a db or something? or be config driven ?21:11
david-lylejust file system driven21:11
_ducttape_yeah, sorry tqtran - I asked that they wait for you21:11
*** lblanchard has joined #openstack-horizon21:12
*** pauloewerton has quit IRC21:13
lhchengrobcresswell: we use this feature in-house, and that is specifically the reason to inform people about incidents/upcoming upgrade.21:13
robcresswelllhcheng: Yeah, understood21:14
*** neelashah has quit IRC21:15
robcresswelltqtran: That strict check broke magnum-ui too21:15
robcresswellUnsure if its fixed yet21:15
robcresswellI wonder if its worth updating the plugin list with 'primary language' 'translations available' and 'liaison' columns.21:16
*** erlon has quit IRC21:16
robcresswellMight help us support them easier.21:16
_ducttape_the message of the day.... a DB would be better than filesystem, just b/c of the coordinated deploy / nature of things... but otherwise seems ok21:16
tqtranrobcresswell: that might be helpful in the long run21:17
robcresswellMight do that quickly tomorrow then.21:18
david-lyle_ducttape_: a DB where?21:18
lhcheng_ducttape_: yeah, DB would be nice. User would be able to set it in horizon.21:18
lhcheng_ducttape_: not sure if ops want to setup one more DB though21:18
*** _ducttape_ has quit IRC21:19
david-lyleor are you talking API call to set in horizon server DB?21:19
*** ducttape_ has joined #openstack-horizon21:19
ducttape_a db that lives in my imaginary deployment where things are setup as I want them to be - that's where21:19
david-lyleoh, that one21:20
david-lyleno problem21:20
david-lylewill work perfectly there21:20
ducttape_it just works™®21:20
david-lylejust don't try it ™21:20
openstackgerritThai Tran proposed openstack/horizon: Plugin Docs  https://review.openstack.org/23370921:22
* david-lyle back in a bit21:23
*** steveng has quit IRC21:25
*** belmoreira has quit IRC21:26
openstackgerritCindy Lu proposed openstack/horizon: hzIfApiVersion directive to check if api version enabled  https://review.openstack.org/25317821:26
*** neelashah has joined #openstack-horizon21:27
*** e0ne has quit IRC21:32
*** ianbrown has quit IRC21:33
*** rajatvig has joined #openstack-horizon21:35
*** neelashah1 has joined #openstack-horizon21:38
*** neelashah has quit IRC21:38
*** steveng has joined #openstack-horizon21:44
openstackgerritMark Sturdevant proposed openstack/manila-ui: Fix call to Client() with 2 api_version args  https://review.openstack.org/25554121:47
*** Guest32752 is now known as apuimedo21:49
*** zz_john5223 is now known as john522321:52
*** garthb has joined #openstack-horizon22:01
*** jtriley_ has joined #openstack-horizon22:06
*** nlahouti has joined #openstack-horizon22:08
*** jtriley has quit IRC22:08
*** TravT_away has quit IRC22:08
*** neelashah1 has quit IRC22:08
*** Piet has joined #openstack-horizon22:09
*** jtriley_ has quit IRC22:10
*** lblanchard has quit IRC22:10
*** crobertsrh is now known as _crobertsrh22:13
*** neelashah has joined #openstack-horizon22:13
*** TravT_away has joined #openstack-horizon22:13
*** petertr7 is now known as petertr7_away22:18
*** neelashah has quit IRC22:25
*** alejandrito has quit IRC22:26
*** lapalm has quit IRC22:32
*** david-lyle has quit IRC22:34
*** lapalm has joined #openstack-horizon22:36
*** betherly has quit IRC22:36
*** lapalm has quit IRC22:36
*** david-ly_ has joined #openstack-horizon22:39
*** piet1 has joined #openstack-horizon22:41
*** david-ly_ is now known as david-lyle22:45
*** ChanServ sets mode: +o david-lyle22:45
*** aortega has quit IRC22:49
*** aortega has joined #openstack-horizon22:50
*** harlowja has quit IRC22:51
*** harlowja has joined #openstack-horizon22:51
*** peristeri has quit IRC22:53
*** kzaitsev_mb has quit IRC22:56
openstackgerritRajat Vig proposed openstack/horizon: Single Row Action button should appear as buttons  https://review.openstack.org/24379622:58
openstackgerritRajat Vig proposed openstack/horizon: Allow specifying item to use for actions in the actions directive  https://review.openstack.org/25436522:58
openstackgerritRajat Vig proposed openstack/horizon: Allow callback prefix for actions directive  https://review.openstack.org/25441522:58
openstackgerritRajat Vig proposed openstack/horizon: Add Action to delete multiple and single images to images panel  https://review.openstack.org/21742222:58
openstackgerritRajat Vig proposed openstack/horizon: Callbacks should be passed as functions to the Actions directive  https://review.openstack.org/25558122:58
*** kzaitsev_mb has joined #openstack-horizon22:58
*** ducttape_ has quit IRC22:59
*** aortega has quit IRC23:00
*** vijendar has quit IRC23:01
*** vgridnev has joined #openstack-horizon23:03
*** gokrokve has joined #openstack-horizon23:04
*** doug-fish has quit IRC23:06
*** piet1 has quit IRC23:06
*** gokrokve has quit IRC23:08
*** jpomeroy has quit IRC23:15
*** pumaranikar has quit IRC23:17
*** pushkaru has joined #openstack-horizon23:18
*** jbell8 has quit IRC23:19
*** vgridnev has quit IRC23:19
*** TravT_away has quit IRC23:20
*** Piet has quit IRC23:20
tqtranrobcresswell: ping23:25
tqtranactually anyone can help, have question: https://review.openstack.org/#/c/209631/31/releasenotes/notes/bp-bootstrap-theme-preview-65da171c9b943646.yaml23:25
*** Ephur has quit IRC23:25
tqtranhow do you generate the release number?23:25
lhchengtqtran: run "tox -e venv -- reno new <bug-,bp-,whatever>"23:26
lhchengit will generate bug-<random number>.yaml23:26
tqtrannvm found the docs for it23:27
*** pushkaru has quit IRC23:30
*** jbell8 has joined #openstack-horizon23:32
openstackgerritThai Tran proposed openstack/horizon: Support javascript translation for plugin  https://review.openstack.org/25559023:34
openstackgerritErrol Pais proposed openstack/horizon: Add extensions to $q for resolving all promises  https://review.openstack.org/24058923:36
*** ianbrown has joined #openstack-horizon23:36
*** ianbrown has quit IRC23:36
*** rcernin has joined #openstack-horizon23:38
openstackgerritRajat Vig proposed openstack/horizon: API for Metadata Definitions  https://review.openstack.org/21572123:44
openstackgerritRajat Vig proposed openstack/horizon: WIP : Angular panel for Metadata Definitions  https://review.openstack.org/21614123:44
*** lhcheng_ has joined #openstack-horizon23:46
openstackgerritErrol Pais proposed openstack/horizon: WIP: Add Create Volume Action for the Image  https://review.openstack.org/22967723:47
*** betherly has joined #openstack-horizon23:48
openstackgerritRajat Vig proposed openstack/horizon: Add test for the Heat Service validate method  https://review.openstack.org/23727223:48
*** lhcheng has quit IRC23:50
openstackgerritErrol Pais proposed openstack/horizon: Adding multiple row actions for the Image table  https://review.openstack.org/21796423:52
*** ianbrown has joined #openstack-horizon23:55
*** lhcheng_ has quit IRC23:56
*** jingjing_ren has joined #openstack-horizon23:58
*** ZZelle_ has quit IRC23:59

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