Tuesday, 2015-07-28

david-lyleTravT: https://review.openstack.org/206263, but it requires https://review.openstack.org/20626000:00
david-lyletqtran2: ^^^^^00:00
TravTdavid-lyle: ok, thanks.  will look now.00:00
*** jtriley has quit IRC00:01
david-lylethanks to ducttape_ added a nice RedirectMatch, so it will look seemless00:01
david-lyleso you can hit from '/' or '/dashboard'00:01
david-lylecheers00:01
TravTyou should give ducttape_ co-author credit00:01
*** Sukhdev has quit IRC00:01
tqtran2looking00:02
*** kzaitsev_mb has quit IRC00:02
TravTso,00:02
david-lylehurgleburgler's patch is because my webroot theme got overlooked in recent rennovations00:02
david-lylehungry?00:02
david-lylethirsty?00:03
david-lyleapathetic?00:03
TravTi guess to fully do this... would actually have to pull webroot patch, set reclone=No and then pull this devstack patch00:03
david-lyleyeah, something like that00:03
david-lylemerge hurgleburgler's patch and wait two hours00:04
david-lyle:)00:04
TravTyeah00:04
TravTthat's what i'm thinking00:04
hurgleburglerso00:04
david-lyleI tried it, and it fixed my issue00:04
david-lylehungry?00:04
hurgleburglerthis is only gonna work with the default theme00:04
hurgleburglerI hope that's not a problem00:04
hurgleburgleri'm working on a better solution now00:04
TravTeh?00:04
TravTwill the jury please disregard that last comment by hurgleburgler00:04
openstackgerritTyr Johanson proposed openstack/horizon: Mock $window for magic-search tests  https://review.openstack.org/20626700:05
david-lylehurgleburgler: for now, in a non-default theme, the user is editing it anyway00:05
hurgleburglerphew!00:05
david-lylethey can set $webroot to anything they want00:05
*** vishwanathj has quit IRC00:05
david-lylebut long term, that's what we're expecting out of you. a fix for all our problems00:05
david-lyleI've got a list00:05
david-lyle:P00:06
david-lylethe webroot was an example anyway to work in devstack00:06
david-lyleand I would have got away with it too, if it weren't for you meddling kids00:06
david-lyle!00:06
hurgleburglerI'm on it! ʘ‿ʘ00:06
openstackgerritKBrown proposed openstack/horizon: WIP: Add angular flavors panel  https://review.openstack.org/20620300:07
*** tyr has quit IRC00:07
tqtran2david-lyle: https://review.openstack.org/#/c/206263/1/files/apache-horizon.template L14, so we're auto redirecting anyone hitting localhost to horizon directly/00:08
tqtran2?00:08
tqtran2oh nvm....00:08
tqtran2of course we are, that was the default behavior before keystone stole our url00:08
david-lyleso it just redirects '/' only to /dashboard00:09
david-lyleso people don't have to know to type /dashboard00:09
tqtran2yeah, make sense, it just took me a second to comprehend the meaning of life00:09
*** tqtran2 has quit IRC00:09
openstackgerritMerged openstack/horizon: Allow STATIC_URL override  https://review.openstack.org/20417300:10
david-lyleooh, explain to me now00:10
*** tqtran has joined #openstack-horizon00:10
david-lyleI can't tell if tqtran is coming or going00:10
david-lyleall these numbers00:10
*** kyleolivo has quit IRC00:11
tqtranhuh? im confuse00:11
david-lyletqtran2 tqtran00:11
david-lyleso many of you00:11
david-lyle:D00:11
tqtranoh.. lol00:11
tqtranhaving connection issues, sometimes it says the nick is already taken00:11
tqtrani had to improvise00:11
david-lylewas quality taken?00:12
*** alexvictorchan has quit IRC00:12
david-lylethat's your friday nick btw00:12
david-lyleor should be00:12
tqtranlol shhhh thats my bot's name00:13
david-lyleok, have to run and mind the kids, will check in later. Let me know what I broke.00:13
*** SimonChung has quit IRC00:13
tqtranhave fun! :P00:13
TravTyeah, i'm out for the day too.  hasta00:13
* david-lyle puts on body armor 00:13
*** jingjing_ren has quit IRC00:17
*** dansiwiec has quit IRC00:18
*** dansiwiec has joined #openstack-horizon00:19
*** jasondotstar has quit IRC00:21
*** jasondotstar has joined #openstack-horizon00:22
*** dansiwiec has quit IRC00:23
*** dansiwiec has joined #openstack-horizon00:24
*** kzaitsev_mb has joined #openstack-horizon00:27
*** Drago has joined #openstack-horizon00:32
*** dansiwiec has quit IRC00:33
*** dansiwiec has joined #openstack-horizon00:33
openstackgerritTracy Jones proposed openstack/horizon: move favicon, logo and logo-splash to default theme  https://review.openstack.org/19575100:37
*** tjones1 has joined #openstack-horizon00:37
tjones1hurgleburgler: you are right on your comment and i pushed the update https://review.openstack.org/#/c/19575100:38
*** btully has quit IRC00:39
*** rajatvig has quit IRC00:39
*** mwhagedorn has quit IRC00:42
*** jasondotstar is now known as jasondotstar|afk00:43
*** dansiwiec has quit IRC00:44
openstackgerritThai Tran proposed openstack/horizon: WIP Adding CREATE action to identity users panel  https://review.openstack.org/20231500:44
openstackgerritThai Tran proposed openstack/horizon: Adding wizard modal service  https://review.openstack.org/20571600:44
*** openstackgerrit has quit IRC00:46
*** openstackgerrit has joined #openstack-horizon00:47
*** tqtran has quit IRC00:47
*** dansiwiec has joined #openstack-horizon00:50
*** annashen has joined #openstack-horizon00:54
*** ybathia has quit IRC00:54
*** kevinbenton has quit IRC00:54
*** bpokorny_ has joined #openstack-horizon00:55
*** kevinbenton has joined #openstack-horizon00:57
*** jtriley has joined #openstack-horizon00:57
*** bpokorny has quit IRC00:58
*** annashen has quit IRC00:59
hurgleburglertjones1 great!  I'll take another look at it01:02
tjones1thanks01:02
tjones1oh wait it has a merge conflcit01:02
tjones1argh!01:02
*** kzaitsev_mb has quit IRC01:03
*** jwy has quit IRC01:03
tjones1odd - i don't see the conflct01:04
*** jtriley has quit IRC01:04
*** dansiwiec has quit IRC01:04
hurgleburglerDid you pull the latest master?01:04
tjones1yes01:05
openstackgerritTracy Jones proposed openstack/horizon: move favicon, logo and logo-splash to default theme  https://review.openstack.org/19575101:05
tjones1and rebase -i master01:05
tjones1and no conlfict01:05
tjones1im pushing again to see if it clears up01:05
tjones1it's ok now01:05
tjones1odd01:05
hurgleburglerMagic!01:05
hurgleburgler¯\_(ツ)_/¯01:05
tjones1tada!01:05
*** lhcheng has joined #openstack-horizon01:06
*** sqchen has quit IRC01:08
*** alexvictorchan has joined #openstack-horizon01:11
*** kyleolivo has joined #openstack-horizon01:11
*** Sukhdev has joined #openstack-horizon01:14
*** rajatvig has joined #openstack-horizon01:14
*** rajatvig has quit IRC01:14
*** sqchen has joined #openstack-horizon01:16
*** jasondotstar|afk has quit IRC01:17
*** absubram has quit IRC01:18
*** btully has joined #openstack-horizon01:19
*** kristine_ has quit IRC01:20
*** btully has quit IRC01:24
*** Sukhdev has quit IRC01:25
*** bpokorny_ has quit IRC01:26
*** jwy has joined #openstack-horizon01:26
*** kyleolivo has quit IRC01:28
*** alexvictorchan has quit IRC01:29
*** dansiwiec has joined #openstack-horizon01:30
*** dansiwiec has quit IRC01:36
*** rajatvig has joined #openstack-horizon01:41
*** rajatvig has quit IRC01:44
*** lexholden has quit IRC01:51
*** yamamoto has joined #openstack-horizon01:53
*** annashen has joined #openstack-horizon01:55
*** Piet has quit IRC01:58
*** yingjun has joined #openstack-horizon01:59
*** kzaitsev_mb has joined #openstack-horizon01:59
*** annashen has quit IRC02:00
*** jtriley has joined #openstack-horizon02:00
*** jwy has quit IRC02:02
*** sqchen has quit IRC02:03
openstackgerritziyu032 proposed openstack/horizon: Display the project name in user detail page  https://review.openstack.org/20598302:04
*** jtriley has quit IRC02:06
*** stevemar has joined #openstack-horizon02:07
*** sqchen has joined #openstack-horizon02:10
*** jasondotstar|afk has joined #openstack-horizon02:12
*** tjones1 has quit IRC02:12
*** annashen has joined #openstack-horizon02:17
*** kyleolivo has joined #openstack-horizon02:18
*** zhenguo has joined #openstack-horizon02:19
*** kzaitsev_mb has quit IRC02:21
*** rajatvig has joined #openstack-horizon02:45
*** lhcheng has quit IRC02:48
*** davidmichaelkarr has quit IRC02:49
*** rajatvig has quit IRC02:49
*** bpokorny has joined #openstack-horizon02:51
*** bpokorny has quit IRC02:51
*** bpokorny has joined #openstack-horizon02:52
*** bpokorny has quit IRC02:52
openstackgerritlyanchih proposed openstack/horizon: Couldn't provision instance from volume snapshot  https://review.openstack.org/19945702:55
*** bpokorny has joined #openstack-horizon02:56
*** annashen_ has joined #openstack-horizon02:56
*** skylerberg has quit IRC02:56
*** sqchen has quit IRC03:00
*** annashen_ has quit IRC03:01
*** stevemar has quit IRC03:01
*** davidmichaelkarr has joined #openstack-horizon03:09
*** kzaitsev_mb has joined #openstack-horizon03:17
*** lhcheng has joined #openstack-horizon03:18
*** Sukhdev has joined #openstack-horizon03:21
*** kzaitsev_mb has quit IRC03:22
*** jasondotstar|afk has quit IRC03:24
*** sqchen has joined #openstack-horizon03:26
*** ducttape_ has joined #openstack-horizon03:28
*** kiran-r has joined #openstack-horizon03:34
*** kiran-r has quit IRC03:40
*** sqchen has quit IRC03:42
*** annashen has quit IRC03:45
*** julim has quit IRC03:46
*** stevemar has joined #openstack-horizon03:50
*** stevemar has quit IRC03:52
*** ducttape_ has quit IRC03:55
*** jacalcat_ has quit IRC03:55
*** ducttape_ has joined #openstack-horizon03:55
*** yingjun has quit IRC03:56
*** annashen has joined #openstack-horizon03:57
*** sayan has joined #openstack-horizon03:58
*** ducttape_ has quit IRC04:01
*** annashen has quit IRC04:01
*** lhcheng has quit IRC04:07
*** alexvictorchan has joined #openstack-horizon04:09
*** btully has joined #openstack-horizon04:11
*** bpokorny has quit IRC04:11
*** bpokorny has joined #openstack-horizon04:11
*** sqchen has joined #openstack-horizon04:14
*** bpokorny has quit IRC04:14
*** bpokorny has joined #openstack-horizon04:20
*** bpokorny has quit IRC04:22
*** jtriley has joined #openstack-horizon04:27
*** kzaitsev_mb has joined #openstack-horizon04:33
*** jtriley has quit IRC04:36
*** kzaitsev_mb has quit IRC04:38
*** sayan has quit IRC04:41
*** tjones has joined #openstack-horizon04:51
*** annashen has joined #openstack-horizon04:58
*** annashen has quit IRC05:02
*** alexvictorchan has quit IRC05:13
*** tjones has quit IRC05:14
*** e0ne has joined #openstack-horizon05:14
*** alexvictorchan has joined #openstack-horizon05:18
*** Drago has quit IRC05:20
*** Sukhdev has quit IRC05:20
*** sayan has joined #openstack-horizon05:26
*** kyleolivo has quit IRC05:29
*** sayan has quit IRC05:33
*** masco has joined #openstack-horizon05:36
*** e0ne has quit IRC05:42
*** e0ne has joined #openstack-horizon05:44
*** jprovazn has joined #openstack-horizon05:46
*** sayan has joined #openstack-horizon05:47
*** yamamoto has quit IRC05:48
*** e0ne has quit IRC05:51
openstackgerritShaoquan Chen proposed openstack/horizon: Mock API - Basic mock API server constructor  https://review.openstack.org/20631205:52
*** jamielennox is now known as jamielennox|away05:52
*** lucas__ has joined #openstack-horizon05:52
*** e0ne has joined #openstack-horizon05:55
*** yamamoto has joined #openstack-horizon05:56
*** lhcheng has joined #openstack-horizon05:56
*** jamielennox|away is now known as jamielennox05:56
*** lucas__ has quit IRC05:57
*** annashen has joined #openstack-horizon05:59
*** albertom has quit IRC06:01
*** annashen has quit IRC06:03
*** albertom has joined #openstack-horizon06:09
openstackgerritShaoquan Chen proposed openstack/horizon: Mock API - mock 404 error  https://review.openstack.org/20632106:09
*** jsheeren has joined #openstack-horizon06:11
*** yingjun has joined #openstack-horizon06:12
*** jsheeren has quit IRC06:12
*** e0ne has quit IRC06:13
*** lhcheng has quit IRC06:17
*** chlong has quit IRC06:17
*** fedexo has joined #openstack-horizon06:19
*** belmoreira has joined #openstack-horizon06:25
*** vishwanathj has joined #openstack-horizon06:28
*** kyleolivo has joined #openstack-horizon06:29
*** jtriley has joined #openstack-horizon06:33
*** kyleolivo has quit IRC06:40
*** jtriley has quit IRC06:41
-openstackstatus- NOTICE: zuul is stuck and about to undergo an emergency restart, please be patient as job results may take a long time06:45
*** ChanServ changes topic to "zuul is stuck and about to undergo an emergency restart, please be patient as job results may take a long time"06:45
*** kzaitsev_mb has joined #openstack-horizon06:48
*** lhcheng has joined #openstack-horizon06:50
*** romainh has joined #openstack-horizon06:50
*** btully has quit IRC06:52
*** kzaitsev_mb has quit IRC06:53
*** markus_z has joined #openstack-horizon06:59
*** annashen has joined #openstack-horizon07:00
*** rdopiera has joined #openstack-horizon07:00
*** lyanchih has joined #openstack-horizon07:02
*** sayan has quit IRC07:02
*** rdopiera_ has joined #openstack-horizon07:02
*** annashen has quit IRC07:05
openstackgerritShaoquan Chen proposed openstack/horizon: Mock API - Basic mock API server constructor  https://review.openstack.org/20631207:07
*** sayan has joined #openstack-horizon07:10
*** sayan has quit IRC07:11
*** sayan has joined #openstack-horizon07:11
openstackgerritShaoquan Chen proposed openstack/horizon: Mock API - mock 404 error  https://review.openstack.org/20632107:13
openstackgerritziyu032 proposed openstack/horizon: Display the project name in user detail page  https://review.openstack.org/20598307:20
*** bfic has joined #openstack-horizon07:26
*** alexvictorchan has quit IRC07:31
*** btully has joined #openstack-horizon07:32
*** jbell8 has joined #openstack-horizon07:32
zigoHi. In the Debian package for AngularJS, we have the installation of angular-scenario.js which is disabled.07:32
zigoI've just heard from my colleague that Horizon is using it, however, the reason why it's disabled in Debian is because:07:33
zigo1/ This one needs a newer version of JQuery, and currently we have only version 1.7 in Debian07:33
zigo2/ it's going to be deprecated in the favor of protractor07:33
zigoSo my question is: which part of Horizon is using angular-scenario.js ?07:34
zigo2nd question: could we get rid of the use of it, so that Horizon would work in Debian?07:34
*** ^Gal^_ has joined #openstack-horizon07:35
*** ^Gal^_ has quit IRC07:36
*** ^Gal^_ has joined #openstack-horizon07:36
*** btully has quit IRC07:36
*** e0ne has joined #openstack-horizon07:37
*** ^Gal^_ is now known as ^Gal^07:43
*** jbell8 has quit IRC07:43
*** lhcheng has quit IRC07:43
*** jbell8 has joined #openstack-horizon07:45
*** kzaitsev_mb has joined #openstack-horizon07:49
*** KingKhan has joined #openstack-horizon07:50
*** kzaitsev_mb has quit IRC07:54
*** sqchen has quit IRC07:58
*** annashen has joined #openstack-horizon08:01
*** kmARC has joined #openstack-horizon08:01
*** ChanServ changes topic to "OpenStack Horizon"08:02
-openstackstatus- NOTICE: zuul has been restarted and queues restored. It may take some time to work through the backlog.08:02
*** annashen has quit IRC08:05
*** fedexo has quit IRC08:08
*** jbell8 has quit IRC08:08
*** jbell8 has joined #openstack-horizon08:13
*** kzaitsev_mb has joined #openstack-horizon08:15
*** MaxV has joined #openstack-horizon08:19
openstackgerritMerged openstack/horizon: Webroot still needs to load default scss files  https://review.openstack.org/20626008:22
*** ygbo has joined #openstack-horizon08:23
*** zacdev has joined #openstack-horizon08:24
openstackgerritziyu032 proposed openstack/horizon: Display the project name in user detail page  https://review.openstack.org/20598308:25
*** vishwanathj has quit IRC08:27
openstackgerritMerged openstack/horizon: Keystone REST handles default role incorrectly  https://review.openstack.org/18150108:28
*** vishwanathj has joined #openstack-horizon08:28
openstackgerritPaul Karikh proposed openstack/horizon: Logout user if he has no valid tokens  https://review.openstack.org/14248108:29
*** bluex-pl has joined #openstack-horizon08:29
*** bluex-pl has quit IRC08:29
*** bluex-pl has joined #openstack-horizon08:30
*** alexpilotti has joined #openstack-horizon08:33
*** vishwanathj has quit IRC08:39
*** aix has joined #openstack-horizon08:45
*** kzaitsev_mb has quit IRC08:48
*** vishwanathj has joined #openstack-horizon08:53
*** ZZelle has quit IRC08:53
*** ZZelle has joined #openstack-horizon08:53
*** hurgleburgler has quit IRC09:01
*** annashen has joined #openstack-horizon09:01
*** annashen has quit IRC09:06
*** jtriley has joined #openstack-horizon09:06
*** yamamoto has quit IRC09:09
*** vishwanathj has quit IRC09:10
*** vishwanathj has joined #openstack-horizon09:12
*** jtriley has quit IRC09:12
*** Ala has joined #openstack-horizon09:13
*** JeanBriceCombebi has joined #openstack-horizon09:14
*** yamamoto has joined #openstack-horizon09:21
openstackgerritMarc Fouché proposed openstack/horizon: Add missing comment in configuration example  https://review.openstack.org/20643609:25
openstackgerritPaul Karikh proposed openstack/horizon: Logout user if he has no valid tokens  https://review.openstack.org/14248109:27
openstackgerritPaul Karikh proposed openstack/horizon: Logout user if he has no valid tokens  https://review.openstack.org/14248109:27
*** JeanBriceCombebi has quit IRC09:27
*** JeanBriceCombebi has joined #openstack-horizon09:29
*** jasondotstar|afk has joined #openstack-horizon09:29
*** yingjun has quit IRC09:34
*** JeanBriceCombebi has quit IRC09:34
*** JeanBriceCombebi has joined #openstack-horizon09:36
*** romainh has quit IRC09:36
openstackgerritziyu032 proposed openstack/horizon: Display the project name in user detail page  https://review.openstack.org/20598309:38
*** kzaitsev_mb has joined #openstack-horizon09:39
*** romainh has joined #openstack-horizon09:41
*** kjelly has quit IRC09:53
*** jasondotstar|afk has quit IRC09:54
*** aix has quit IRC09:55
*** yamamoto has quit IRC09:58
openstackgerritMerged openstack/horizon: Create image directly in 'copy_from' and 'location' case  https://review.openstack.org/16959410:00
*** annashen has joined #openstack-horizon10:02
*** DaveJ__ has joined #openstack-horizon10:03
*** lexholden has joined #openstack-horizon10:03
*** annashen has quit IRC10:07
*** jasondotstar|afk has joined #openstack-horizon10:12
*** aix has joined #openstack-horizon10:22
*** sayan has quit IRC10:32
*** robcresswell has joined #openstack-horizon10:37
robcresswello/10:37
*** sayan has joined #openstack-horizon10:38
*** yamamoto has joined #openstack-horizon10:39
*** yamamoto_ has joined #openstack-horizon10:40
*** bradjones has quit IRC10:41
*** mpavlase has joined #openstack-horizon10:43
*** yamamoto has quit IRC10:44
*** yamamoto_ has quit IRC10:48
*** mwhagedorn has joined #openstack-horizon10:50
*** romainh has quit IRC11:01
*** annashen has joined #openstack-horizon11:03
*** JeanBriceCombebi has quit IRC11:04
*** annashen has quit IRC11:07
*** btully has joined #openstack-horizon11:08
*** xiangxinyong has joined #openstack-horizon11:10
xiangxinyonghi everyone11:10
*** btully has quit IRC11:12
openstackgerritRadomir Dopieralski proposed openstack/horizon: Fix code that modified dictionaries while iterating over them  https://review.openstack.org/20109811:14
robcresswellxiangxinyong: o/11:17
xiangxinyonghi <robcresswell>11:18
pkarikhHi all! Does anyone know, when I can get Thai Tran here?11:18
robcresswellpkarikh: His irc handle is tqtran, and he's california based11:20
robcresswellpkarikh: So UTC -8 iirc11:20
xiangxinyong*-*11:21
pkarikhrobcresswell: yes, thanks. Looks like email is better in this case. :)11:22
xiangxinyongrobcresswell:how to get the lastest horizon code?11:23
xiangxinyongI have try this link: https://git.openstack.org/openstack/horizon, but it doesn't work11:24
robcresswellxiangxinyong: This is the repo: https://github.com/openstack/horizon. Just use `git clone https://github.com/openstack/horizon.git`11:25
robcresswellduh, that link formatting screwed up11:25
xiangxinyongrobcresswell: thank you.11:26
robcresswellAlternatively, there is a tarball at http://tarballs.openstack.org/horizon/horizon-master.tar.gz :)11:26
xiangxinyongok. get it.11:27
pkarikhxiangxinyong: also git clone https://review.openstack.org/openstack/horizon works fine for me11:29
xiangxinyong^-^11:29
*** jtriley has joined #openstack-horizon11:33
*** romainh has joined #openstack-horizon11:41
*** jtriley has quit IRC11:41
*** sayan has quit IRC11:44
*** jasondotstar|afk has quit IRC11:46
*** yamamoto has joined #openstack-horizon11:52
*** ^Gal^ has quit IRC11:54
*** ^Gal^ has joined #openstack-horizon11:54
*** sayan has joined #openstack-horizon11:59
*** mwhagedorn has quit IRC12:02
openstackgerritVlad Okhrimenko proposed openstack/horizon: Restrict Upload Image form->Image URL field to http/https schemas  https://review.openstack.org/20410512:04
*** annashen has joined #openstack-horizon12:04
*** annashen has quit IRC12:09
*** xiangxinyong has quit IRC12:13
*** ericpeterson has joined #openstack-horizon12:17
*** yamamoto has quit IRC12:19
*** sayan_ has joined #openstack-horizon12:19
openstackgerritVlad Okhrimenko proposed openstack/horizon: Restrict Upload Image form->Image URL field to http/https schemas  https://review.openstack.org/20410512:20
*** sayan_ has quit IRC12:21
*** josecastroleon has joined #openstack-horizon12:22
*** jacalcat has joined #openstack-horizon12:22
*** JeanBriceCombebi has joined #openstack-horizon12:23
*** xiangxinyong has joined #openstack-horizon12:26
openstackgerritVlad Okhrimenko proposed openstack/horizon: Restrict Upload Image form->Image URL field to http/https schemas  https://review.openstack.org/20410512:30
*** ericpeterson has quit IRC12:30
*** stevemar has joined #openstack-horizon12:31
openstackgerritMerged openstack/horizon: Adding Angular Project Images Table  https://review.openstack.org/20038512:33
*** jasondotstar|afk has joined #openstack-horizon12:37
*** kyleolivo has joined #openstack-horizon12:38
*** stevemar has quit IRC12:38
*** JeanBriceCombebi has quit IRC12:39
*** kyleolivo has quit IRC12:42
*** zhenguo has quit IRC12:42
*** radez is now known as radez_g0n312:42
*** JeanBriceCombebi has joined #openstack-horizon12:43
openstackgerritMasco Kaliyamoorthy proposed openstack/horizon: exclude subnets without gateway in create interface  https://review.openstack.org/20652412:45
*** stevemar has joined #openstack-horizon12:45
*** neelashah has joined #openstack-horizon12:49
*** jasondotstar|afk is now known as jasondotstar12:49
*** kzaitsev_mb has quit IRC12:53
*** julim has joined #openstack-horizon12:55
*** btully has joined #openstack-horizon12:56
*** btully has quit IRC13:00
*** matt-borland has joined #openstack-horizon13:01
*** lexholden has quit IRC13:02
*** doug-fish has quit IRC13:03
*** annashen has joined #openstack-horizon13:05
*** amotoki has joined #openstack-horizon13:08
*** JeanBriceCombebi has quit IRC13:09
*** annashen has quit IRC13:09
*** JeanBriceCombebi has joined #openstack-horizon13:09
*** jbell8 has quit IRC13:10
svashekampavlase, hi13:11
*** bfic has quit IRC13:11
mpavlasesvasheka: o/13:11
svashekampavlase, about your comment on file name of the screen shot13:12
svashekampavlase, you ment that I should just put date first, so that it would be easier to sort?13:12
svashekampavlase, or you insisting on date format?)13:12
mpavlasesvasheka: yes, I think so13:12
mpavlasesvasheka: it doesn't matter if it would be screenshot_2015-07-28_151324.png or 2015-07-28_151324_screenshot.png, because the template for naming would be stable.13:14
mpavlasesvasheka: I'm just not in favor with current date format13:15
mpavlasesvasheka: what is your opinion?13:16
svashekawell, basically we only need date to get timestamp and guarantee unique filename13:17
svashekait will also do the sorting trick13:17
*** lexholden has joined #openstack-horizon13:17
*** mwhagedorn has joined #openstack-horizon13:18
*** JeanBriceCombebi has quit IRC13:18
*** JeanBriceCombebi has joined #openstack-horizon13:18
svashekampavlase, format itself doesn't rly change anything.13:19
*** yamamoto has joined #openstack-horizon13:20
*** xiangxinyong has quit IRC13:21
*** kzaitsev_mb has joined #openstack-horizon13:21
mpavlasesvasheka: I think it would be more clear13:22
mpavlasesvasheka: I would be happy for this small change.. I like the patch anyway13:23
*** yamamoto has quit IRC13:24
openstackgerritMatt Borland proposed openstack/horizon: Add angular system information panel  https://review.openstack.org/20473113:25
*** pauloewerton has joined #openstack-horizon13:26
*** tosky has joined #openstack-horizon13:27
*** lucas____ has joined #openstack-horizon13:27
*** mpavlase has quit IRC13:31
*** KingKhan has quit IRC13:31
*** dboik has joined #openstack-horizon13:32
*** MaxV has quit IRC13:34
*** jtriley has joined #openstack-horizon13:35
*** ducttape_ has joined #openstack-horizon13:36
*** btully has joined #openstack-horizon13:39
pauloewertonhi there. is anyone getting this error when trying to run manage.py on master?13:41
pauloewerton ImportError: Could not import settings 'openstack_dashboard.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named angular_gettext13:41
ducttape_pauloewerton - have you rebuilt your venv recently?13:41
ducttape_It sounds like you are missing a pip package, was merged in the last week13:41
*** lucas____ has quit IRC13:42
pauloewertonducttape_, oh, ok. I'm going to try rebuilding venv13:42
ducttape_matt-borland - are you there?  I promise I'll be nicer today ;)13:45
*** lucas____ has joined #openstack-horizon13:46
*** mpavlase has joined #openstack-horizon13:47
*** MaxV has joined #openstack-horizon13:47
matt-borlandducttape_: yep!13:48
*** tvanderwiel has joined #openstack-horizon13:49
matt-borlandducttape_: it's a difficult transition and we all have priorities.  I actually got useful, good information for going forward.13:49
ducttape_so, I have an option for you to shame me - but also continue this conversation of how to add new panels in a better way13:49
*** tvanderwiel has left #openstack-horizon13:49
ducttape_I added a new panel to designate not too long ago, and I have an example of how much code was needed.  DISCLAIMER:  I did not add tests, and this is where you shame me13:50
ducttape_https://review.openstack.org/#/c/187266/13:50
*** stevemar has quit IRC13:50
matt-borlandno shame is necessary... :)  I'm working with the coders to get our patches structured in way that fits what we talked about yesterday.13:50
ducttape_but that is about 100 lines of code change, if I added a test13:50
ducttape_if a new panel takes 4 patches and 800 lines of code, we are doing something wrong  (my $.02)13:51
*** belmoreira has quit IRC13:51
matt-borlandI think the main thing that is different with Angular is that there is a lot of markup.13:52
matt-borlandesp. as we are establishing our initial patches13:52
ducttape_I'm not sure how many lines of code, but the point being is that we need a few people building an easy to reuse / extend core.... and then lightweight extensions to add features13:52
matt-borlandyep13:52
matt-borlandmost of this can be done with using the Horizon and other widgets13:52
*** JeanBriceCombebi has quit IRC13:53
ducttape_right now we have lots of ~500 lines of code changes, each one promises more reuse.... and then it gets followed on with more changes.  we've got to round the corner at some point and actually get to a better spot than the old horizon framework.13:54
matt-borlandBut there is more verbose markup, partly because semantic markup places much of the information structure specification at that level.13:54
matt-borlandthere are several sides to this coin, as wel13:54
ducttape_in the past, we had a fair bit of reuse to drive that type of markup though13:55
matt-borlandyeah, there are lots of tradeoffs to having all your markup being generated vs. using semantic markup.13:55
matt-borlandAlso, when enabling a panel, it's about "100" lines of code--quotes because most of that is copyright/license. :)13:56
*** doug-fish has joined #openstack-horizon13:57
matt-borlandso if we look at a patch like: https://review.openstack.org/#/c/205296/13:57
matt-borland(I am not asking for an approval :) )13:57
ducttape_that's just the panel enablement, which is pretty much boilerplate / 0 effort13:57
matt-borlandit's really not a lot of code.13:57
*** stevemar has joined #openstack-horizon13:57
matt-borlandso I would argue that though it's a "300+" line patch13:58
matt-borlandit's really not much different.13:58
matt-borlandand it is really quite easy to review and understand13:58
ducttape_that patch looks to be fairly complete, I would agree13:59
matt-borlandyeah, that's the direction we want to go ni13:59
ducttape_at least it is not partial, or doesn't seem to be13:59
matt-borland*in13:59
matt-borlandSo per the discussion yesterday, we're going to structure the patches much more along these lines.13:59
matt-borlandRajat actually structured it this way prior to our discussion :)14:00
matt-borlandIn terms of the patches, the plan is to break them out in sequence of dependency:14:01
*** drupalmonkey has joined #openstack-horizon14:01
matt-borland1) API (both Django/JS), 2) Panel Setup/"First/Table" page(s), 3) Detail Pages.14:01
matt-borlandEach is a single patch that contains the code, docs, and tests as appropriate.14:01
matt-borlandIf there no new APIs then that set starts at #2 above.14:02
*** stevemar has quit IRC14:02
*** Piet has joined #openstack-horizon14:04
ducttape_cool.  thanks.  Sorry for getting at it yesterday, but I feel like this pushback - to get back to a more normal way to add features will help.14:04
*** radez_g0n3 is now known as radez14:04
matt-borlandsounds good, I think we've come to a good meeting of minds14:05
pauloewertonmatt-borland, so we should submit the api patches before they can actually be manually tested with the panel?14:05
matt-borlandI wouldn't ask for them to be approved before seeing them in action,14:05
ducttape_there are also bunches of bugs that new horizon devs could pickup, which would also be a very positive way to help out (and help learn where we are coming from).14:05
*** annashen has joined #openstack-horizon14:06
matt-borlandbecause it's a decoupled process and it's hard to prove "it works" without an end-to-end test.14:06
matt-borlandunit tests can only go so far with regards to APIs being setup/used properly14:06
matt-borlandthe only exception would be if the APIs are shown to be used by two separate panels, in which case I'd still rather prove it works with one, before committing it and making it available.14:07
ducttape_I think the general goal is to have a complete end-to-end feature added, with everything you need.  this is not a hard and fast rule / 100%.... but should apply to most patches14:07
matt-borlandducttape_: yeah14:07
matt-borlandSo we have efforts to set up Angular-based panels for Flavor, Defaults, and System Info. I'm hoping to get those following this structure within a day or so (in terms of having patches set up)14:08
matt-borlandThey won't be ready for approval or anything.14:09
matt-borlandbut then we can see how this model looks and figure out if it makes sense or needs adjustment.14:09
matt-borlandI think it will work well.14:09
*** annashen has quit IRC14:11
*** JeanBriceCombebi has joined #openstack-horizon14:13
*** Drago has joined #openstack-horizon14:18
*** yingjun has joined #openstack-horizon14:21
*** masco has quit IRC14:21
*** yingjun has quit IRC14:22
*** stevemar has joined #openstack-horizon14:38
pauloewertonducttape_, reconstructing venv didn't seem to help, so I manually install pip package xstatic-angular-gettext. seems to be working, thanks!14:39
pauloewertoninstalled*14:39
ducttape_thats weird.  that package is not in requirements.txt then?14:39
ducttape_https://github.com/openstack/horizon/blob/master/requirements.txt#L4714:40
ducttape_I see it there,  hmm14:40
*** JeanBriceCombebi has quit IRC14:40
pauloewertonducttape_, yeah, it is there14:40
*** stevemar has quit IRC14:46
*** liangbo has joined #openstack-horizon14:48
robcresswellpauloewerton: Are you up to date with upstream?14:49
pauloewertonrobcresswell, yes. I tried to run manage.py just after doing a pull in master branch14:50
robcresswellhmm14:50
openstackgerritVlad Okhrimenko proposed openstack/horizon: Drop QUnit JS tests in favor of Jasmine  https://review.openstack.org/15657214:51
robcresswellpauloewerton: Uh, I hate to ask, but you did activate the venv right?14:51
pauloewertonrobcresswell, actually, I was trying to run it in a devstack, so I didn't activate the venv14:54
*** stevemar has joined #openstack-horizon14:54
robcresswellOhhh. The stack script probably uses global-reqs and hasnt been updated14:55
*** virtuallynathan_ has quit IRC14:56
robcresswellAs in, if the devstack is old, but Horizon is new, perhaps those requirements are out of sync if you manually pulled in a new Horizon14:56
pauloewertonI see. yeah, I should probably update devstack and then run ./stack.sh again14:57
robcresswellI don't know how devstack handles requirements so I may be wrong14:58
robcresswellYou can add RECLONE=yes to update the repos when you stack... https://github.com/openstack/horizon/blob/master/doc/source/ref/local_conf.rst14:59
pauloewertonrobcresswell, I'll try that, thanks15:00
*** yamamoto has joined #openstack-horizon15:01
*** yamamoto has quit IRC15:01
*** yamamoto has joined #openstack-horizon15:01
*** annashen has joined #openstack-horizon15:06
*** bpokorny has joined #openstack-horizon15:08
*** bpokorny has quit IRC15:10
*** tyr has joined #openstack-horizon15:10
*** liangbo has quit IRC15:10
*** annashen has quit IRC15:11
*** dansiwiec has joined #openstack-horizon15:17
*** jbell8 has joined #openstack-horizon15:18
*** vishwanathj has quit IRC15:20
*** hurgleburgler has joined #openstack-horizon15:21
*** markus_z has quit IRC15:23
*** bpokorny has joined #openstack-horizon15:25
*** jasondotstar has quit IRC15:25
openstackgerritDiana Whitten proposed openstack/horizon: Horizon's scss webroot should come from settings.py  https://review.openstack.org/20659215:32
*** rdopiera_ has quit IRC15:33
*** jmolo has joined #openstack-horizon15:34
*** SimonChung has joined #openstack-horizon15:35
*** aix has quit IRC15:38
*** dansiwiec has quit IRC15:38
*** josecastroleon has quit IRC15:41
openstackgerritMatt Borland proposed openstack/horizon: Provide safer popping of values in get_panel_group  https://review.openstack.org/20659415:42
*** pkarikh has quit IRC15:42
*** alexvictorchan has joined #openstack-horizon15:43
openstackgerritRajat Vig proposed openstack/horizon: JSCS Cleanup - Use mock module to avoid using window  https://review.openstack.org/19933315:43
openstackgerritRajat Vig proposed openstack/horizon: JSCS Cleanup - Fix ng-di errors on cloud-services  https://review.openstack.org/19884015:43
openstackgerritRajat Vig proposed openstack/horizon: Detail-page directives (Angular/UX) with CSS  https://review.openstack.org/15888115:43
*** stevemar has quit IRC15:44
openstackgerritRajat Vig proposed openstack/horizon: JSCS Cleanup - horizon/ tech-debt  https://review.openstack.org/19934515:45
*** vijendar has joined #openstack-horizon15:46
*** alexpilotti has quit IRC15:47
*** annashen has joined #openstack-horizon15:48
openstackgerritRajat Vig proposed openstack/horizon: Detail-page directives (Angular/UX) with CSS  https://review.openstack.org/15888115:48
*** nlahouti has joined #openstack-horizon15:49
openstackgerritRajat Vig proposed openstack/horizon: WIP - Image Detail Redesign (Angular/UX)  https://review.openstack.org/17388515:49
openstackgerritRajat Vig proposed openstack/horizon: WIP - Image Details Edit/Delete (UX/Angular)  https://review.openstack.org/15840915:49
*** sqchen has joined #openstack-horizon15:50
*** sqchen has joined #openstack-horizon15:50
*** annashen has quit IRC15:51
openstackgerritRajat Vig proposed openstack/horizon: WIP : Add angular defaults panel for admin  https://review.openstack.org/20529615:54
*** tjones has joined #openstack-horizon15:55
openstackgerritRajat Vig proposed openstack/horizon: WIP : Add angular defaults panel for admin  https://review.openstack.org/20529615:55
*** logan2 has quit IRC15:55
*** rajatvig has joined #openstack-horizon15:55
*** juggler_ has joined #openstack-horizon15:59
*** ygbo has quit IRC16:00
*** lucas____ has quit IRC16:00
*** juggler has quit IRC16:01
*** KunalGandhi has joined #openstack-horizon16:02
*** lexholden has quit IRC16:02
*** pkarikh has joined #openstack-horizon16:04
*** rajatvig has quit IRC16:05
*** kmARC has quit IRC16:06
*** annashen has joined #openstack-horizon16:07
*** bluex-pl has quit IRC16:11
*** annashen has quit IRC16:12
*** jbell8 has quit IRC16:12
tsufievHas anyone encountered the error u'Expecting to find project, domain, or OS-TRUST:trust in scope - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400)' while connecting authenticating to keystone (exception text from openstack_auth.backend16:16
tsufiev)?16:16
ducttape_tsufiev - I know keystone made some changes with devstack around the url it was using.  not sure if that is related16:18
*** e0ne has quit IRC16:20
*** tqtran has joined #openstack-horizon16:20
*** logan2 has joined #openstack-horizon16:24
*** ducttape_ has quit IRC16:25
*** ducttape_ has joined #openstack-horizon16:27
*** jmolo1 has joined #openstack-horizon16:31
*** jmolo has quit IRC16:34
*** jasondotstar has joined #openstack-horizon16:34
*** annashen has joined #openstack-horizon16:38
*** jbell8 has joined #openstack-horizon16:38
openstackgerritDiana Whitten proposed openstack/horizon: Horizon's scss webroot should come from settings.py  https://review.openstack.org/20659216:39
*** lucas__ has joined #openstack-horizon16:40
*** lucas__ has quit IRC16:41
*** lucas__ has joined #openstack-horizon16:41
tsufievducttape_, yeah, I encountered this issue also, but it's clearly a different thing16:45
*** lucas__ has quit IRC16:46
*** tosky has quit IRC16:47
*** tosky has joined #openstack-horizon16:47
*** KunalGandhi has quit IRC16:49
*** JeanBriceCombebi has joined #openstack-horizon16:52
*** lucas__ has joined #openstack-horizon16:53
*** alexvictorchan has quit IRC16:53
*** sayan has quit IRC16:53
*** tqtran_ has joined #openstack-horizon16:54
*** tqtran_ has quit IRC16:54
*** tosky has quit IRC16:55
*** jbell8 has quit IRC16:56
*** kyleolivo has joined #openstack-horizon16:57
*** annashen has quit IRC16:57
*** ybathia has joined #openstack-horizon16:57
*** kyleolivo has quit IRC16:57
*** alexvictorchan has joined #openstack-horizon16:58
*** kyleolivo has joined #openstack-horizon16:59
*** annashen has joined #openstack-horizon16:59
*** jingjing_ren has joined #openstack-horizon17:00
*** jingjing_ren has quit IRC17:00
*** skylerberg has joined #openstack-horizon17:01
*** jingjing_ren has joined #openstack-horizon17:01
*** dboik has quit IRC17:01
*** dansiwiec has joined #openstack-horizon17:02
openstackgerritTyr Johanson proposed openstack/horizon: Dashboard ReOrg - Move tech-debt into app/  https://review.openstack.org/19735317:03
openstackgerritTyr Johanson proposed openstack/horizon: Auto-collect app/ instead of only app/core/  https://review.openstack.org/20572017:03
openstackgerritTyr Johanson proposed openstack/horizon: Dashboard ReOrg - Move APIs into app/core  https://review.openstack.org/19733017:03
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/horizon: Add Storm Job to UI  https://review.openstack.org/20464717:04
*** jbell8 has joined #openstack-horizon17:04
*** KunalGandhi has joined #openstack-horizon17:09
*** KunalGandhi has quit IRC17:09
*** KunalGandhi has joined #openstack-horizon17:10
*** dansiwiec has quit IRC17:11
*** lucas__ has quit IRC17:11
*** neelashah has quit IRC17:11
matt-borlandIf I could have a couple more eyes on a 6-character fix: https://review.openstack.org/#/c/206594/17:12
*** dansiwiec has joined #openstack-horizon17:12
matt-borlandThis safety flaw has side effects that are causing some problems with tests.17:13
*** kyleoliv_ has joined #openstack-horizon17:13
*** MaxV has quit IRC17:13
*** kyleolivo has quit IRC17:16
openstackgerritShaoquan Chen proposed openstack/horizon: [Launch Instance Fix] Show Admin Password  https://review.openstack.org/17145017:16
*** kyleoliv_ has quit IRC17:18
*** stevemar has joined #openstack-horizon17:21
*** shivrao has joined #openstack-horizon17:23
*** jpomeroy has quit IRC17:24
*** sayan has joined #openstack-horizon17:24
kfox1111_ok. so... I'm trying to extract the angular plugin I wrote from the changes I made to horizon, and the changes to horizon to forward port to trunk for submission.17:26
*** lucas__ has joined #openstack-horizon17:26
kfox1111_I made a tweak to: horizon/static/horizon/js/horizon.images.js which doesn't seem to exist.17:26
kfox1111_any idea where it might have gone?17:26
*** neelashah has joined #openstack-horizon17:26
*** JeanBriceCombebi has quit IRC17:28
tyrkfox1111_: any particular symbol you are looking for?17:29
*** davidmichaelkarr has quit IRC17:29
kfox1111_the whole file. doesn't exist for some reason.17:30
*** romainh has quit IRC17:31
tyryes, that was split out into its corresponding pieces.17:31
tyrSee horizon/openstack_dashboard/static/app/tech-debt/ for the ImageFormCtrl17:32
tyrand horizon/horizon/static/framework/util/tech-debt/image-file-on-change.js for the imageFileOnChange directive17:33
*** romainh has joined #openstack-horizon17:33
*** rdopiera has quit IRC17:33
kfox1111_Ah. there it is. thanks.17:34
kfox1111_oh. one more. I added a horizon/static/horizon/js/angular/services/hz.api.heat.js17:34
kfox1111_but that directory is empty on the trunk checkout.17:35
*** davidmichaelkarr has joined #openstack-horizon17:37
openstackgerritKyle Olivo proposed openstack/horizon: WIP: Add API services for system information  https://review.openstack.org/20519617:38
*** romainh has left #openstack-horizon17:40
*** annashen has quit IRC17:42
*** Ala has quit IRC17:42
kfox1111_ah. now looks like its under openstack_dashboard/static/openstack-service-api/17:44
*** jwy has joined #openstack-horizon17:46
*** jbell8 has quit IRC17:46
*** jpomeroy has joined #openstack-horizon17:47
ybathiahorizon stable/juno run_tests.sh gave me oslo related unit test failure and I see horizon stable/juno requirements.txt and the global-requirements.txt in the requirements repo are different, submitted this path of fix the tests https://review.openstack.org/#/c/203783/ but jenkins is giving a strange error, does anyone know what am I missing here?17:47
*** amotoki has quit IRC17:48
*** SimonChung has quit IRC17:50
*** SimonChung has joined #openstack-horizon17:50
*** annashen has joined #openstack-horizon17:52
bpokornyybathia: I would ask in the infrastructure channel about that one.  It's weird that Jenkins -1'd the patch but doesn't show any specific failure.17:53
*** Ala has joined #openstack-horizon17:54
ybathiabpokorny: Thanks, I will ask in the infrastructure channel17:54
bpokornynp17:54
*** lhcheng_ has joined #openstack-horizon17:55
*** lhcheng_ has quit IRC17:55
*** lhcheng_ has joined #openstack-horizon17:56
*** annashen has quit IRC17:56
*** ybathia has quit IRC17:57
openstackgerritKyle Olivo proposed openstack/horizon: WIP: Add API services for system information  https://review.openstack.org/20519617:57
openstackgerritKyle Olivo proposed openstack/horizon: Add angular system information panel  https://review.openstack.org/20473117:57
*** dboik has joined #openstack-horizon17:57
*** saksham has joined #openstack-horizon17:58
*** jasondotstar has quit IRC17:58
*** Piet has quit IRC17:58
*** jwy has quit IRC17:59
*** Ala has quit IRC17:59
*** jwy has joined #openstack-horizon17:59
openstackgerritKyle Olivo proposed openstack/horizon: WIP: Add angular system information panel  https://review.openstack.org/20473117:59
*** tosky has joined #openstack-horizon18:00
openstackgerritThai Tran proposed openstack/horizon: Adding PUT to REST api service  https://review.openstack.org/20663918:00
openstackgerritShaoquan Chen proposed openstack/horizon: Mock API - mock 401 error  https://review.openstack.org/20664218:01
*** neelashah has quit IRC18:01
kfox1111_whats the best way to setup the venv with a fresh horizon checkout?18:02
david-lylekfox1111_: ./run_tests.sh18:02
david-lyleeither to run the tests18:03
david-lyleor to launch the test server, both will check for the venv and populate if missing18:03
kfox1111_k. thanks.18:03
tqtranyou can also just -f if you want to force one18:03
tqtran"./run_test.sh -f" that is18:04
david-lylewhich is will remove the existing venv and recreate it18:04
med_cool info.18:04
david-lyleso on a fresh checkout, not necessary :)18:04
david-lylebut useful none the less18:04
kfox1111_yeah. thrying to come up with instructions for, git clone horizon, ./run_test.sh, checkout plugin, install it, run server standalone, etc.18:04
david-lylekfox1111_: me too :)18:05
david-lylebut I keep getting sidetracked18:05
kfox1111_:)18:05
openstackgerritThai Tran proposed openstack/horizon: Adding PUT to REST api service  https://review.openstack.org/20663918:05
david-lylekfox1111_: https://blueprints.launchpad.net/horizon/+spec/plugin-sanity18:06
openstackgerritDiana Whitten proposed openstack/horizon: Horizon's scss webroot should come from settings.py  https://review.openstack.org/20659218:06
kfox1111_ah. +1. :)18:06
*** romainh has joined #openstack-horizon18:08
*** lucas__ has quit IRC18:09
kfox1111_can you run_tests.sh with -f but without doing anything time intensive?18:09
*** lucas__ has joined #openstack-horizon18:09
openstackgerritKyle Olivo proposed openstack/horizon: WIP: Add angular system information panel  https://review.openstack.org/20473118:10
kfox1111_--docs maybe?18:10
hurgleburgler—pep8 is pretty fast18:11
kfox1111_k. thx.18:11
matt-borlanddavid-lyle: re my patch you commented on (thanks)...openstack_dashboard/test/settings.py...what do I register there?  I don't see anything obvious nor do I see it in the docs18:11
david-lyleholy ****: http://logs.openstack.org/63/206263/1/check/gate-tempest-dsvm-full/35e7066/console.html#_2015-07-28_12_27_55_95818:11
matt-borlandat http://docs.openstack.org/developer/horizon/topics/tutorial.html18:11
david-lyleglance tests are hard-coded to use horizon favicon18:12
david-lylewhy18:12
david-lylematt-borland: just a sec18:12
matt-borlandnp, thx18:12
david-lyleactually I fixed that18:14
*** rdopiera has joined #openstack-horizon18:14
david-lyleis the panel in enabled/ or local/enabled?18:14
matt-borlandenabled: openstack_dashboard/enabled/_205_admin_defaults.py18:14
matt-borlandin patch: https://review.openstack.org/#/c/205296/18:15
david-lyleso DISABLED = True in there18:15
matt-borlandYeah, to see the problem set it to DISABLED = False18:16
david-lyleso you're experiencing correct behavior18:16
matt-borlandClearly the panel shows up when I fire up the UI18:16
matt-borland(when DISABLED = False)18:16
matt-borlandso it's working at that level.18:16
matt-borlandbut something about the test context is causing trouble.18:17
david-lyleactually, the real problem is there is no panel_Group with the slug 'admin'18:18
matt-borlandok18:18
matt-borlandbut, that works, and it doesn't seem to be named 'system'18:19
matt-borlandagain, difference between test environment and runtime18:19
*** lucas__ has quit IRC18:19
matt-borlandso, if 'admin' is incorrect, then what is the proper slug?18:19
*** lucas__ has joined #openstack-horizon18:19
david-lyleactually it is called admin18:20
matt-borlandexactly :)18:20
david-lylepoorly named18:20
matt-borlandindeed :)18:20
matt-borlandthat set us back a few minutes.18:20
matt-borlandI really don't think the panel is configured wrong.  It works.18:21
*** vishwanathj has joined #openstack-horizon18:21
david-lylewhy is your panel path a list ??18:21
openstackgerritDan Siwiec proposed openstack/horizon: WIP : Add angular defaults panel for admin  https://review.openstack.org/20529618:22
matt-borlanddavid-lyle: lemme see18:22
david-lylenot a list, just spurious parens18:22
david-lyleprobably not an issue18:22
matt-borlandok.18:22
david-lyleadding to admin/dashboard.py should not be necessary18:24
matt-borlandYeah, I agree18:24
david-lyleyou are doing the same operation twice18:24
*** yamamoto has quit IRC18:24
matt-borlandother patches don't do that.18:24
matt-borlandwhen I took that out, it had no effect.18:24
david-lyleyou may be replacing the good reference to the panel with the empty18:24
david-lylejust a thought18:24
david-lylewhich would explain why you have it in the list, but no class18:24
matt-borlandI think that's true.  I tried renaming the panel18:24
matt-borlandbut that didn't seem to work.18:25
*** vishwana_ has joined #openstack-horizon18:25
david-lyleremove the .pyc files18:25
david-lyleand try again18:25
*** vishwanathj has quit IRC18:25
matt-borlandI can do that :)18:25
*** ongk has joined #openstack-horizon18:25
*** annashen has joined #openstack-horizon18:27
*** vishwana_ has quit IRC18:27
matt-borlandOK david-lyle: I changed the name to "NG Default" in panel.py, removed panel.pyc, ran the test again, and it still fails.18:27
david-lylematt-borland: what name?18:28
matt-borlandin panel.py, the name that is given to the Panel.18:28
matt-borlandAgain, it runs just fine even with name collisions. :)  Just failing in the tests.18:29
*** ybathia has joined #openstack-horizon18:30
matt-borlandand the problem, despite assumptions, goes away when we don't assume that .pop() will always find the key.18:31
matt-borlandwhat exactly is that key that it's searching by?  That seems to be making an invalid assumptino.18:31
matt-borland*tion18:32
matt-borlandI guess the key is getting overloaded, and when it comes time to clean, there's a dupe in the iterated list but obviously not in the keys.18:33
matt-borlandso if this patch is duplicating it shouldn't...I can see that...but I don't know where it is, and it works fine during runtime.18:34
matt-borlandhence the 6-character 'fix'18:34
david-lylematt-borland: the key is the slug, not the name18:35
david-lylename is only for display18:35
matt-borlandok, so am I duping a slug somewhere?18:36
matt-borlandI am setting PANEL = 'ngdefaults'18:36
*** SimonChung has quit IRC18:36
*** SimonChung1 has joined #openstack-horizon18:36
matt-borlandand it's not just this patch, I have 3 (very similar) patches that have the same issue, so clearly I'm replicating the problem. :)18:37
*** josecastroleon has joined #openstack-horizon18:38
matt-borlandslug = "ngdefaults" too18:38
*** Piet has joined #openstack-horizon18:41
david-lylematt-borland: couple of more comments on patch18:44
matt-borlandsure18:44
david-lyleso the lines are clear18:44
matt-borlandit's not up for review yet :)18:44
david-lylebut the manual register may not be a good idea18:44
matt-borlandwell, it does work.18:45
david-lyleit's not, but the WIP unfortunately has to be flagged with each revisiion18:45
david-lylesorry in panel.py18:45
kfox1111_I'm a bit confused...18:45
*** DaveJ__ has quit IRC18:45
david-lylethe registration should happen when the enabled file is processed18:46
kfox1111_where to the template html files end up on install in mon-ex?18:46
matt-borlanddavid-lyle: I will instruct everyone to WIP it on every commit if that is your direction :)18:46
matt-borland*patchset18:46
matt-borlandso, david-lyle, what needs to change?18:46
david-lylematt-borland: if you are not ready for review, then yes, otherwise we just review18:46
matt-borlandyep18:47
matt-borlandBUT18:47
matt-borlandto the matter at hand18:47
david-lyle#truestory, if you go back and look at the ng launch instance bp, I think all are titled WIP18:47
david-lyleyet merged18:47
matt-borlandwhat needs to change about how I'm registering the panels.18:47
matt-borlandI believe everything is OK, and again point out that it functions properly at runtime.18:48
david-lylethe changes to dashboard.py and the register call in panel.py are unnecessary18:48
*** stevemar has quit IRC18:48
matt-borlandOK, so I can take those out but the dashboard.py change made no effect18:48
lhcheng_matt-borland: I think just having WIP in the title would be good enough, it is easy to forget setting the status to WIP every patch set.18:48
david-lyleeven so, you're mixing methods of registration18:48
david-lylewhether it works, doesn't make it a good idea18:49
david-lyle:)18:49
matt-borlandok, so I'll take *both* out just just one?18:49
openstackgerritDiana Whitten proposed openstack/horizon: Themes should live at root of openstack_dashboard  https://review.openstack.org/20665418:49
matt-borlandalso, this does indicate a disconnect between the processes at runtime and in the test runner.18:49
matt-borlandwhich again, I think is the real problem.18:49
matt-borlandand the only conflict that comes up is fixed by my patch. :)18:50
david-lylematt-borland: WIP in title is fine, the BPs become a mess and people don't update them, so I get frustrated as probably the only person that actually looks at the bps18:50
kfox1111_david-lyle: I think I'm really close, but I'm not sure how the templates are suposed to be installed. they don't seem to be.18:50
david-lylematt-borland: but your fix is a bandaid to hide the problem18:50
matt-borlandagreed, david-lyle18:50
david-lylewe should fix the real problem, if it exists18:50
matt-borlandso, david-lyle, let me try removing the dual registration first.18:51
matt-borlandalthough I did try that before (the other patches don't dual register)18:51
david-lylematt-borland: that's fine, but it's creating unnecessary entanglements18:52
david-lylethat will have to be un-entangled when all panels load via enabled18:52
matt-borlandok, just a second.  removing the dashboard registration didn't change anything18:52
*** ongk has quit IRC18:52
david-lylekfox1111_: aren't the templates in you package?18:52
david-lylematt-borland: but proved unnecessary :)18:53
kfox1111_yes, but they don't seem to be installed.18:53
*** alexvictorchan has quit IRC18:53
kfox1111_they don't seem to intsall in the mon-ex example either.18:53
david-lylenot installed?18:53
kfox1111_let me double check that with a fresh checkout.18:54
david-lylethey just live in the module where it's installed18:54
kfox1111_TemplateDoesNotExist at /admin/logs_panel/18:55
kfox1111_TemplateDoesNotExist: log_panel/index.html18:55
matt-borlanddavid-lyle: so, no-go on removing those registrations.  Still the same error.18:55
kfox1111_it doesn't look like setup.py's installing it.18:55
kfox1111_kfox2@mantis:~/svn/mon-ext$ ls ../horizon-app-catalog4/.venv/lib/python2.7/site-packages/log_panel/18:56
kfox1111___init__.py  __init__.pyc  panel.py  panel.pyc  tabs.py  tabs.pyc  urls.py  urls.pyc  views.py  views.pyc18:56
*** SimonChung has joined #openstack-horizon18:58
*** SimonChung1 has quit IRC18:58
david-lylekfox1111_: well that's odd18:59
*** radez is now known as radez_g0n318:59
david-lylematt-borland: but the runtime still works, correct18:59
david-lyle?18:59
matt-borlandyep18:59
matt-borlandso that's 'good' :)18:59
david-lyleso now we just need to figure out why your loading in the test side isn't working without pasting over it18:59
matt-borlandyeah18:59
matt-borlandseemed like a simple problem at first :)19:00
david-lylesounds like you have a fun afternoon ahead of you :P19:00
david-lylejk19:00
matt-borlandthat's why I put up that patch!19:00
matt-borland;)19:00
david-lyleso your test works then?19:01
matt-borlandwhen I make that change, yep.19:01
david-lylewhen you use null for the __class__?19:01
david-lyleerr None19:01
matt-borlandit's not using None19:01
matt-borlandit's just saying "when you pop, if you don't have that key, return None"19:01
kfox1111_is it because the templates are non python files?19:01
matt-borlandwhich of course doesn't matter because we're not using the return value.19:01
matt-borlandI could have said:19:02
david-lyleforgot patch content, looking again19:02
matt-borlandnp19:02
david-lylekfox1111_: are you doing an sdist?19:02
david-lyleon the git repo?19:02
* david-lyle feels like watching tennis19:03
kfox1111_I did: ../horizon-app-catalog4/tools/with_venv.sh pip install --upgrade .19:03
matt-borlandlol david-lyle19:03
*** e0ne has joined #openstack-horizon19:03
david-lyleof the sdist output?19:04
kfox1111_no. of the git repo.19:04
kfox1111_do I have to setup sdist first?19:04
*** kzaitsev_mb has quit IRC19:04
david-lylekfox1111_: try sdist19:05
*** Piet has quit IRC19:05
*** jmolo1 has quit IRC19:05
kfox1111_just tried that. no templates in the tarball.19:05
david-lyleand use the tar.gz in the dist directory19:06
david-lyle??19:06
kfox1111_same with mon-ext....19:06
david-lylekfox1111_: ok, I'm seeing that too19:06
david-lylehold on19:06
*** robcresswell has quit IRC19:06
kfox1111_k. thx.19:07
*** josecastroleon has quit IRC19:08
openstackgerritDiana Whitten proposed openstack/horizon: Create a Bootstrap Theme Preview Page with HTML Hints  https://review.openstack.org/18781819:12
*** jingjing_ren has quit IRC19:13
david-lyleok got it19:13
david-lylewill post update to mon-ext19:13
*** jingjing_ren has joined #openstack-horizon19:13
kfox1111_k. thx.19:13
*** jprovazn has quit IRC19:14
david-lylekfox1111_:  https://github.com/dklyle/mon-ext/blob/master/MANIFEST.in19:14
david-lylehave to specify their inclusion19:15
david-lylehas to be a better way, but that's in the django docs to use19:15
david-lyle(shrug)19:15
kfox1111_ay.19:16
kfox1111_ah.19:16
kfox1111_yup. that did it. thanks. :)19:16
kfox1111_really close now. :) just gota figure out why encodeURIComponentFilterProvider  is not working...19:17
*** Piet has joined #openstack-horizon19:17
kfox1111_oh. cause I gota figure out where to put my ansible javascript...19:17
david-lylekfox1111_: add recursive include of static directories as well19:18
tyrtqtran: TravT clu, If you have a moment, https://review.openstack.org/#/c/206267/. It fixes an annoying bug in the magic search tests that make re-running the Jasmine tests problematic.19:19
david-lylekfox1111_:  recursive-include polls/static *19:19
kfox1111_so in the horizon builtin version, I have it at: horizon/openstack_dashboard/static/dashboard/project/app_catalog/app_catalog.js19:19
david-lyleif polls were your module19:19
kfox1111_k.19:19
*** sqchen has quit IRC19:19
david-lylekfox1111_:  more info https://docs.djangoproject.com/en/1.8/intro/reusable-apps/19:19
*** sqchen has joined #openstack-horizon19:20
kfox1111_k. then need two more things... how to load the js, and what angular module to put it in. right now its .module('hz.dashboard.project', ['hz.dashboard'])19:21
kfox1111_which I'm sure is wrong now.19:21
david-lylekfox1111_: I think you'll want to namespace the angular module to your app not horizon19:22
tqtrantyr: there's no redirection happening there19:22
tqtrannot sure why its problematic?19:22
david-lylebut tqtran can walk you through that part better than I19:22
tyrit changes the url, after running once in the browser, if you then *reload*, the tests fail19:22
*** lhcheng_ has left #openstack-horizon19:23
*** Berezin has joined #openstack-horizon19:23
tqtrantyr: ah got it, ok i'll take a look19:23
david-lylematt-borland: do you have a patch for the tests?19:23
tyrtqtran: basically just an annoyance during development and testing19:23
tyrThanks tqtran!19:24
kfox1111_tqtran: any thoughts on how to load the js and how to namespace it?19:24
tqtrankfox1111_: the loading of the js files are automatic, just make sure you name your extensions properly19:24
kfox1111_k. what should it be named?19:24
*** yamamoto has joined #openstack-horizon19:24
tqtranhere is the order: *.module.js, *.js, *.mock.js, *.spec.js19:25
tyrkfox1111_: I've been working on a doc update. This might be helpful --> https://review.openstack.org/#/c/20386219:25
tqtranthe auto discovery sort files according to their js file extensions, this ensures that our modules are loaded first19:25
*** Drago has quit IRC19:26
tqtranas for namespace, it should be something like: hz.dashboard.<dashboard>.<panel>.js19:26
matt-borlanddavid-lyle: you mean other patches?19:26
kfox1111_tyr: Does that apply to external modules as well?19:26
kfox1111_k.19:27
tqtrankfox1111_: and for more granular things, like table, you'll need a subfolder /table/<panel>.table.js19:27
matt-borlanddavid-lyle: In https://review.openstack.org/#/c/205296/19:27
david-lyle(facepalm) matt-borland I missed that the test was what was in the patch19:27
kfox1111_what about sharing a js file between two panels?19:27
matt-borlandyou can set DISABLED = False19:27
*** dhellmann has joined #openstack-horizon19:27
tqtranyes the naming rules apply to external as well, but we cant enforce that, you can do whatever you want really19:28
matt-borlandto test the proposed fix, you can just change horizon/base.py as shown in the fix patch.19:28
kfox1111_k. and how do you load it externally?19:28
david-lylematt-borland: no19:28
david-lyleI won't19:28
david-lyle:P19:28
matt-borland:)19:28
dhellmanndavid-lyle: drop by #openstack-relmgr-office when you're ready to talk about milestone tags for L2 this week19:28
david-lyledhellmann: on my way19:29
*** yamamoto has quit IRC19:29
tqtrankfox1111_: for sharing a JS, you will need to put it into openstack_dashboard/static/app/core/*19:29
kfox1111_externally?19:29
tqtranyes, you can override these, they are static files19:30
tqtranwell not override, "add to" is the more correct term19:30
tyrkfox1111_: are you trying to share .js between two panels within the same dashboard...or different dashboards?19:30
*** annashen has quit IRC19:30
kfox1111_so mon-ext/openstack_dashboard/static/app/core/foo.js19:30
*** radez_g0n3 is now known as radez19:30
kfox1111_same dashboard.19:31
tqtranif its the same, you dont need to do anything19:31
tqtranthe JS file should be accessible anywhere within that dashboard19:31
tyrapp/core is intended for files that need to be shared across dashboards, but aren't generic enough to be stand alone widgets in horizon.framework19:31
kfox1111_k.19:32
*** KunalGandhi has quit IRC19:32
kfox1111_so, back to david-lyle's example,19:32
kfox1111_we pull https://github.com/dklyle/mon-ext.git,19:33
kfox1111_add mon-ext/openstack_dashboard/static/app/core/foo.js19:33
*** jmolo has joined #openstack-horizon19:33
kfox1111_and the templates inside can use angular stuff defined in foo?19:33
*** jingjing_ren has quit IRC19:33
tqtranyou would need to create a /static/dashboard/<DASHBOARD>/<PANEL>/*.js19:34
kfox1111_...19:34
tqtranno need to put it into core for this one, since they all go into the same dashboard19:34
kfox1111_I've got two panels. app_catalog and component_catalog. They both should share the same js file.19:34
tqtrancore is only for sharing between two different dashboard: like admin dashboard and identity dashboard19:34
tqtranok, let me walk you through an example:19:35
kfox1111_yes please. :)19:35
tqtranyou have app_catalog and comp_catalog panels19:35
tqtranand you want to add them to the projects dashboard19:35
*** Piet has quit IRC19:36
tqtranok lets pretend you want to add to admin dashboard instead19:36
tqtransince it fits dave's file structure a bit more19:36
*** radez is now known as radez_g0n319:36
*** lucas__ has quit IRC19:36
david-lylekfox1111_: I'm not sure the path in my example should have openstack_dashboard in it19:36
*** nlahouti has quit IRC19:36
*** lucas__ has joined #openstack-horizon19:37
matt-borlanddavid-lyle: so how do you want me to structure the patch(es) to demonstrate how the proposed fix fixes the problem?  Since these are *appropriately* not merged panel patches?19:38
matt-borlandI think it's pretty clear that the fix doesn't have a negative effect, and does have a positive effect.19:38
tqtrankfox1111_: let me actually upload something that you can use19:38
tqtrani think that would be a lot clearer19:39
kfox1111_k. thx. :)19:39
*** guya has joined #openstack-horizon19:39
openstackgerritThai Tran proposed openstack/horizon: WIP Adding CREATE action to identity users panel  https://review.openstack.org/20231519:39
david-lylematt-borland: I'm going to run locally and try to figure out why you're in that state19:40
matt-borlandthank you, david-lyle19:40
david-lylebut I'd rather find the underlying problem19:40
matt-borlandagreed...and if I can help, I tried rooting around as well, just less familiar with the depths here.19:41
*** neelashah has joined #openstack-horizon19:42
kfox1111_tqtran: is that gerrit post the example, or something different?19:43
*** SimonChung has quit IRC19:43
*** SimonChung has joined #openstack-horizon19:43
*** jbell8 has joined #openstack-horizon19:44
*** jasondotstar has joined #openstack-horizon19:44
*** jbell8 has quit IRC19:45
openstackgerritRajat Vig proposed openstack/horizon: JSCS Cleanup - Use mock module to avoid using window  https://review.openstack.org/19933319:46
openstackgerritRajat Vig proposed openstack/horizon: JSCS Cleanup - Fix ng-di errors on cloud-services  https://review.openstack.org/19884019:46
*** rajatvig has joined #openstack-horizon19:46
*** radez_g0n3 is now known as radez19:47
*** MaxV has joined #openstack-horizon19:47
kfox1111_I've got a meeting to go to in about 7 min... :/19:48
rajatvigCould someone please review the patch at https://review.openstack.org/#/c/158881/ ?19:50
*** alexvictorchan has joined #openstack-horizon19:53
*** annashen has joined #openstack-horizon19:53
matt-borlandrajatvig: I'll take another look at it, thx19:53
tqtrankfox1111_: i'll put it on github when i  have the example up and running19:53
kfox1111_ ok. thanks.19:53
*** Berezin has quit IRC19:54
*** Berezin has joined #openstack-horizon19:54
kfox1111_mine's looking almost exactly like david-lyles. the two different panels provided by the one plugin. I'd like to share some angular js between the templates in the two panels.19:54
kfox1111_bbiab. Thanks for the help.19:54
*** ducttape_ has quit IRC19:55
*** julim has quit IRC19:55
*** ducttape_ has joined #openstack-horizon19:56
*** KunalGandhi has joined #openstack-horizon19:57
*** annashen has quit IRC19:57
*** tjones has quit IRC19:57
*** KunalGandhi has quit IRC19:58
*** Berezin has quit IRC19:58
*** tqtran is now known as tqtran-afk20:01
*** jmolo has quit IRC20:01
*** jmolo has joined #openstack-horizon20:01
*** jmolo has quit IRC20:02
*** jbell8 has joined #openstack-horizon20:02
*** neelashah has quit IRC20:03
*** jmolo has joined #openstack-horizon20:05
*** alexpilotti has joined #openstack-horizon20:06
*** kzaitsev_mb has joined #openstack-horizon20:06
openstackgerritIshita Mandhan proposed openstack/horizon: DataTable column level policy  https://review.openstack.org/16401020:07
*** KunalGandhi has joined #openstack-horizon20:09
*** tjones has joined #openstack-horizon20:10
*** alexpilotti has quit IRC20:12
*** sqchen has quit IRC20:12
*** KunalGandhi has quit IRC20:13
*** rdopiera has quit IRC20:19
*** e0ne has quit IRC20:19
*** annashen has joined #openstack-horizon20:20
*** e0ne has joined #openstack-horizon20:21
*** MaxV has quit IRC20:21
*** e0ne has quit IRC20:21
*** JeanBriceCombebi has joined #openstack-horizon20:22
*** julim has joined #openstack-horizon20:22
*** lucas__ has quit IRC20:23
*** jingjing_ren has joined #openstack-horizon20:38
*** nlahouti has joined #openstack-horizon20:38
*** lexholden has joined #openstack-horizon20:39
*** lucas__ has joined #openstack-horizon20:39
*** alexpilotti has joined #openstack-horizon20:42
*** logan2 has quit IRC20:42
*** lucas__ has quit IRC20:44
*** mpavlase has quit IRC20:45
*** logan2 has joined #openstack-horizon20:45
*** tqtran-afk is now known as tqtran20:45
*** JeanBriceCombebi has quit IRC20:47
*** MaxV has joined #openstack-horizon20:48
*** jwy has quit IRC20:48
ducttape_david-lyle - you had mentioned desire for horizon to have cross region pages / views.   I have a need for cross region data for a designate change.  any more info / insight to share on this mind blowing use of cloud technology ?20:49
david-lyleducttape_: I have said desires20:49
ducttape_if that's all you care to share, I don't want to judge you20:50
*** rajatvig has quit IRC20:50
david-lyleoh and matt-borland I understand the root of your problem, working on a proper fix20:50
* ducttape_ still judges him just the same20:50
david-lyleyou just don't want to20:50
*** lucas__ has joined #openstack-horizon20:50
david-lylewell...20:51
ducttape_the root of my problem?   I expect that to be complex20:51
david-lylematt-borland's problem20:51
david-lyleI don't have a clue about your problem20:51
ducttape_scientists don't either20:51
*** lucas__ has quit IRC20:51
*** alexpilotti has quit IRC20:52
*** lucas__ has joined #openstack-horizon20:52
matt-borlanddavid-lyle: thanks!20:52
david-lyleducttape_: I think really it's just about making calls to multiple endpoints, the question become do you want that data to live in the same table or different based on region20:52
david-lyleseparate tables are easier for actions, I think20:52
david-lyleI was going to start with a simple view20:53
ducttape_I think separate tables / by a lazy loaded tab... would be nice20:53
david-lyleducttape_: by tabs? or same page?20:53
ducttape_same page, using tabbedtableview20:54
david-lyletabbed table view would work for now20:54
ducttape_and you can tell the tab to be lazy loaded and it works pretty well20:54
david-lyleI won't say the A word, but in an ideal world that would make async on one page without tabs easier20:55
david-lylebut I have other bedtime stories to tell if you like that one20:55
ducttape_it uses the same ajax approach as ng, except it's less code (troll)20:55
tqtrandavid-lyle: i have a question for you, i just git clone your repo and pip install, dropped enabled file in, then restarted test server, but its not able to find the module20:56
*** rajatvig has joined #openstack-horizon20:56
david-lylemy question is: is there value in being able to multiple tables at once, especially if you are looking for something specific20:56
*** lucas__ has quit IRC20:56
tqtranImportError: No module named mon_panel20:56
tqtrandid i miss a step?20:56
ducttape_I would think a lazy loaded single tab table view would be pretty much a single change to make everything async20:56
david-lyletqtran: did you sdist?20:57
tqtrannope lol20:57
ducttape_also need to make sure its in your pypath.... like pip install in your venv etc20:57
david-lylegit clone; python setup.py sdist; then install the tar.gz in dist20:57
*** MaxV has quit IRC20:57
david-lylewell that's the pip install20:57
tqtrandamn still fails after i manually run setup.py sdist20:58
david-lylebut yeah if you are expecting it in your .venv you'll need tools/with_venv.sh pip install20:58
tqtranah got it20:58
ducttape_but the pip install will either use the venv or the system path.  one works with apache, one with run_tests.sh20:58
david-lyleI should update the readme21:00
david-lyleshould21:00
david-lylemay not21:00
ducttape_david-lyle:   https://review.openstack.org/#/c/111854/  that review has cross region stuff.   it gets ugly if you start down that path21:00
tqtranhaha yeah you should update the readme21:00
tqtrani got it to work, thanks!21:00
david-lyleshould21:00
david-lyleI also accept pull requests21:00
david-lylesee what I did there21:01
david-lyleducttape_: messier yes21:01
*** MaxV has joined #openstack-horizon21:02
david-lyleI think the parts in api/ look right21:02
tqtrandavid-lyle: lol i just forked your repo21:04
david-lyleI have conflicting thoughts as to whether the region loop should happen in openstack_dashboard/api21:05
david-lylerather than at the page level21:05
david-lyletqtran: perfect, now just submit a pull request when you've updated the README21:06
*** jtriley has quit IRC21:06
*** Berezin has joined #openstack-horizon21:06
*** aix has joined #openstack-horizon21:06
*** vijendar has quit IRC21:07
tqtranum you might not want it, i removed/add a bunch of other stuff21:07
ducttape_david-lyle - you are going to need to have the region stuff bleed all the way through to the client eventually.   there is no clean way to encapsulate all that21:08
david-lyletqtran: ok21:08
*** sqchen has joined #openstack-horizon21:08
david-lyleducttape_: I agree, but just would rather be more DRY about it if possible21:08
david-lylethan custom region loops per page21:09
ducttape_you could have another version of get_data  that calls it X times, once / region21:09
ducttape_and sets the region outside of the existing call21:09
*** KunalGandhi has joined #openstack-horizon21:10
ducttape_just add another mixin to our current conglomerate of mixins21:10
*** jasondotstar has quit IRC21:11
*** KunalGandhi has quit IRC21:14
david-lylethat's a way to go21:14
david-lylehonestly I was going to experiment21:15
ducttape_in Colorado that is perfectly legal and encouraged at some places21:15
david-lylelol21:15
*** yamamoto has joined #openstack-horizon21:16
*** MaxV has quit IRC21:16
*** matt-borland has quit IRC21:16
*** KunalGandhi has joined #openstack-horizon21:17
*** jacalcat has quit IRC21:18
*** jbell8 has quit IRC21:18
*** neelashah has joined #openstack-horizon21:19
*** dansiwie_ has joined #openstack-horizon21:21
*** dansiwiec has quit IRC21:21
*** rajatvig has quit IRC21:21
*** rajatvig has joined #openstack-horizon21:22
*** neelashah has quit IRC21:22
*** yamamoto has quit IRC21:25
*** neelashah has joined #openstack-horizon21:25
*** neelashah1 has joined #openstack-horizon21:26
*** juggler_ is now known as juggler21:28
*** neelashah has quit IRC21:30
*** vishwanathj has joined #openstack-horizon21:31
*** Drago has joined #openstack-horizon21:31
*** Drago has quit IRC21:33
*** Drago has joined #openstack-horizon21:33
tqtrandavid-lyle: question, how are static files included at the panel level?21:35
tqtrani managed to get it to package the static files, but when i try to include it in ADD_JS_FILES, it fails to see it21:35
tqtranso for whatever reason, the static collector isnt seeing it, do i need to manually run collect static?21:36
*** vishwanathj has quit IRC21:36
*** neelashah1 has quit IRC21:39
*** lucas__ has joined #openstack-horizon21:39
tqtranok nvm, looks like i might need to rebuild venv, will try that21:41
openstackgerritDan Siwiec proposed openstack/horizon: WIP : Add angular defaults panel for admin  https://review.openstack.org/20529621:42
*** doug-fish has left #openstack-horizon21:42
*** ybathia has quit IRC21:43
*** lucas__ has quit IRC21:43
*** jingjing_ren has quit IRC21:44
*** rajatvig has quit IRC21:46
*** guya has quit IRC21:47
*** ybathia has joined #openstack-horizon21:48
*** jingjing_ren has joined #openstack-horizon21:49
*** vishwanathj has joined #openstack-horizon21:52
*** annashen_ has joined #openstack-horizon21:53
*** jingjing_ren has quit IRC21:54
*** rajatvig has joined #openstack-horizon21:57
*** annashen_ has quit IRC21:58
*** vishwanathj has quit IRC22:00
*** bpokorny_ has joined #openstack-horizon22:01
*** bpokorny has quit IRC22:04
*** bpokorny_ has quit IRC22:04
*** bpokorny has joined #openstack-horizon22:04
*** vishwanathj has joined #openstack-horizon22:04
*** jwy has joined #openstack-horizon22:05
*** ericpeterson has joined #openstack-horizon22:06
*** vishwanathj has quit IRC22:09
*** pauloewerton has quit IRC22:09
*** ducttape_ has quit IRC22:09
*** jpomeroy has quit IRC22:11
*** dboik has quit IRC22:19
*** kzaitsev_mb has quit IRC22:19
*** yamamoto has joined #openstack-horizon22:26
*** r1chardj0n3s_afk is now known as r1chardj0n3s22:27
*** mwhagedorn has quit IRC22:28
*** Berezin has quit IRC22:29
*** Berezin has joined #openstack-horizon22:29
*** bpokorny has quit IRC22:29
*** bpokorny has joined #openstack-horizon22:29
*** yamamoto has quit IRC22:30
*** rajatvig has quit IRC22:31
*** sayan has quit IRC22:32
*** SimonChung1 has joined #openstack-horizon22:32
*** SimonChung has quit IRC22:32
*** Piet has joined #openstack-horizon22:34
*** jingjing_ren has joined #openstack-horizon22:38
*** jingjing_ren has quit IRC22:41
kfox1111_tqtran: Get it figured out?22:42
tqtranyep, im cleaning up some stuff22:42
tqtranalmost done22:42
*** rajatvig has joined #openstack-horizon22:45
kfox1111_cool. :)22:49
*** garthb has joined #openstack-horizon22:50
*** garthb_ has joined #openstack-horizon22:50
*** garthb_ has quit IRC22:50
*** bpokorny has quit IRC22:52
*** bpokorny has joined #openstack-horizon22:53
*** rajatvig has quit IRC22:55
*** lucas__ has joined #openstack-horizon23:02
tqtrankfox1111_: testing it now23:03
tqtranits complaining about a missing module, so let me figure that part out and i should be ready to share23:03
*** rajatvig has joined #openstack-horizon23:04
kfox1111_k. thanks. :)23:04
*** rajatvig has quit IRC23:04
*** lucas__ has quit IRC23:06
openstackgerritTyr Johanson proposed openstack/horizon: Dashboard ReOrg - Relocate Launch Instance module  https://review.openstack.org/19723423:07
*** jpomeroy has joined #openstack-horizon23:09
*** ericpeterson has quit IRC23:09
*** ducttape_ has joined #openstack-horizon23:10
openstackgerritTyr Johanson proposed openstack/horizon: Dashboard ReOrg - hz.dashboard --> horizon.dashboard  https://review.openstack.org/20676023:14
*** ducttape_ has quit IRC23:15
*** jmolo has quit IRC23:15
*** romainh has left #openstack-horizon23:15
*** kzaitsev_mb has joined #openstack-horizon23:17
*** kzaitsev_mb has quit IRC23:21
*** rajatvig has joined #openstack-horizon23:22
tqtrankfox1111_: https://github.com/tqtran7/mon-ext23:23
tqtranit should look something like that23:23
tqtrani have some js error that i still need to figure out, but its a good start23:24
tqtranim not too sure if auto discovery will work at the panel level, sqchen?23:24
*** Piet has quit IRC23:25
tqtrani know it works at the dashboard level, but not sure if we have it in place for panels as well23:25
tqtranif not, that might be a good follow on patch, sqchen23:25
*** jmolo has joined #openstack-horizon23:26
*** Piet has joined #openstack-horizon23:26
*** tosky has quit IRC23:27
tyrtqtran: auto-discovery doesn't care about dashboards vs panels.23:28
tyrit picks up anything in a python modules "static/" directory23:28
tqtranbut you have to turn the flag on, and currently, isnt it turn on at the dashboard level?23:29
tyrthe code is run from settings.py : update_dashboards()23:29
tqtranhttps://github.com/openstack/horizon/blob/master/openstack_dashboard/enabled/_25_identity.py#L2623:29
tqtranthe question is, if i have add that flag to https://github.com/tqtran7/mon-ext/blob/master/enabled/_91_admin_my_panel.py23:30
tyrright. Not certain what happens if you attempt to add a panel to a dashboard that doesn't have that flag set23:30
tqtranwould it do anything?23:30
tqtranexactly....23:31
tyrI'd think your panel settings would get merged into the overall enabled file for that dashboard...?23:31
tqtranif you have full control over the dashboard, then its not a problem23:32
tqtranbut if you only want to add a panel, you may not want to touch the dashboard's enabled file23:32
tqtranwe should support auto collecting at the panel level as well23:32
tyrupdate_dashboards() looks to me like it is parsing the options of each module independently. So one panel might enable that flag, even though the dashboard it is adding itself to does not have the flag23:32
tqtrani have to take a closer look at the code23:33
*** rhagarty_ has quit IRC23:33
*** rhagarty has quit IRC23:33
tqtranwas hoping you or sqchen know the answer :P23:33
tyrsettings.py:111 I haven't actually done the experiment you are about to try :)23:33
tyrits cool that you are testing this using David's panel23:34
tqtranyeah, someone's gotta do it :P23:34
tyron this topic...do you or david-lyle recall the setting that lets us pick up enabled files out of tree?23:35
david-lyleopenstack_dashboard/utils/settings.py update_dashboards()23:36
david-lyleis that what you're asking about?23:36
tyrI'm looking at the now lonely dashboard.module.js. It seems to me that we should be concating plugins onto horizon.dashboard (since that is the parent of things like horizon.dashboard.project etc), instead of concating them onto horizon.app23:36
tyrdavid-lyle: I meant, there is something I can add to a local_settings.py that will allow update_dashboards to parse modules that live out of tree?23:38
*** rhagarty has joined #openstack-horizon23:38
*** rhagarty_ has joined #openstack-horizon23:39
david-lyletyr: it will process out of tree, but you have to add an enabled file23:39
david-lylepart of the enabled file is specifying the python module23:39
tqtrantyr: thats a good question to raise, not even sure we need the hz.dashboard at all, since with the plugin system, we need them to live independently: https://review.openstack.org/#/c/190865/10/openstack_dashboard/enabled/_25_identity.py L2423:39
tyrinto /horizon/openstack_dashboard/enabled/. I thought last week you said there was another way to locate enabled files that might also be out of tree?23:39
david-lyletyr: right now enabled or local/enabled23:40
tyrlocal/enabled...that was it. Thanks!23:40
david-lylepatch to change to config files is https://review.openstack.org/#/c/100521/23:40
david-lylebut I haven't dug into that yet23:41
*** jasondotstar has joined #openstack-horizon23:41
tqtranis it the symlink we're talking about here?23:41
david-lyletyr, really you can put the enabled directory anywhere in the file system, with several caveats23:41
david-lylethe dir has to be in the python path23:41
david-lyle_AND_ it has to be a python module23:42
david-lylebut you could create a python module called enabled that lived at /etc/horizon/enabled23:42
david-lylebut it's uglier than it's worth23:42
david-lyleideally we move from python files23:42
david-lyleand just point to a dif23:42
david-lyle*dir23:43
tyrYeah, I like that direction.23:43
david-lylethe oslo.config patch I linked is a step in that direction23:43
david-lylenot sure it simplifies things though23:43
david-lylefor the end user23:43
david-lyles/user/deployer23:43
david-lylebut that may not need much editing23:44
tyrif all you want to do is link in new javascript panels...it is odd to have to package that as Python23:44
david-lyleworks better for puppet and other tools too23:44
tyrthat won't start to really bother us until we get more base content converted23:44
david-lyleI agree, but any plugin that isn't adding an API layer as well, isn't much of a plugin23:45
*** SimonChung1 has quit IRC23:45
david-lyleand the pure js reimplementations can live in tree23:45
tyrThat's true...but using magic-search as an example, the API layer might live client-side, right?23:45
*** jwy has left #openstack-horizon23:46
david-lyleare all the rest APIs available for it?23:46
david-lylein Horizon23:46
tyrI didn't follow that last23:46
*** albertom has quit IRC23:46
david-lyleso magic search is going to call back to the horizon server23:46
david-lyleif all the API calls are implemented in Horizon already, it could be purely js23:47
tyr1 idea discussed was to hit the searchlight service directly from the client, and use horizon server only as degraded backup23:47
david-lylebut if you're adding new search filters into the python APIs or are expecting to call REST APIs they may not be there yet23:47
david-lylesure, but I imagine the degraded path is supported in the plugin23:48
*** albertom has joined #openstack-horizon23:48
david-lylewould be odd not to be23:48
* david-lyle has to run for a bit23:48
david-lyleback online later23:49
tyrto be honest I don't have much opinion in this space. I was more imagining someone saying "ooo, we'd like to add an Angular dashboard"23:49
tyrtqtran: I think horizon.dashboard might still be useful as a collection point for the plugins. I'll experiment with a patch as part of the reorg series.23:50
* tyr has to grab dinner23:50
openstackgerritBrad Pokorny proposed openstack/horizon: Configurable token hashing  https://review.openstack.org/20676523:50
sqchenhorizon.dashboard won’t be very useful, unless, we use it as a bootstraping thing.23:51
sqchenSorry, join the discussion late.23:51
tqtrantyr: the way we're currently loading the plugins, we're bypassing the hz.board completely23:54
*** annashen_ has joined #openstack-horizon23:54
tqtranbut yeah, it could maybe be useful for bootstrapping, but thats hypothetical at this point23:54
sqchenagreed.23:55
tqtrankfox1111_: the plugin is complete, all bugs fixed, have fun!23:55
*** annashen has quit IRC23:55
sqchenI think we could remove it once we have launch-instance re-located.23:55
tqtrankfox1111_: here it is again in case you missed it, https://github.com/tqtran7/mon-ext23:56
*** jmolo has quit IRC23:57
*** jmolo has joined #openstack-horizon23:57
*** Berezin has quit IRC23:58
*** annashen_ has quit IRC23:59

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