Wednesday, 2015-04-29

*** peristeri has quit IRC00:00
*** jingjing_ren has quit IRC00:00
*** jingjing_ren has joined #openstack-horizon00:04
openstackgerritMerged openstack/django_openstack_auth: Updated from global requirements  https://review.openstack.org/16794200:06
*** ybathia has quit IRC00:07
*** ybathia has joined #openstack-horizon00:07
*** alexvictorchan has quit IRC00:11
*** sqchen has quit IRC00:15
*** iamjarvo has joined #openstack-horizon00:16
*** jbell8 has joined #openstack-horizon00:18
*** iamjarvo has quit IRC00:24
*** jbell8 has quit IRC00:24
*** ybathia has quit IRC00:27
*** david-lyle has quit IRC00:32
*** tqtran has quit IRC00:35
*** jtriley has joined #openstack-horizon00:37
*** yingjun has joined #openstack-horizon00:39
*** yingjun_ has joined #openstack-horizon00:40
*** jingjing_ren has quit IRC00:41
*** jtriley has quit IRC00:42
*** yingjun has quit IRC00:44
*** lhcheng_ is now known as lhcheng00:48
*** drupalmonkey has quit IRC00:53
*** lhcheng has quit IRC01:06
*** lhcheng has joined #openstack-horizon01:08
*** jingjing_ren has joined #openstack-horizon01:11
*** bpokorny has quit IRC01:12
*** yingjun_ has quit IRC01:13
*** lhcheng has quit IRC01:13
*** alexvictorchan has joined #openstack-horizon01:13
*** jwy has quit IRC01:14
*** jingjing_ren has quit IRC01:16
*** david-lyle has joined #openstack-horizon01:20
*** ChanServ sets mode: +o david-lyle01:20
*** yamamoto has quit IRC01:24
*** yamamoto has joined #openstack-horizon01:24
*** zhenguo has joined #openstack-horizon01:38
*** annashen has joined #openstack-horizon01:39
*** annashen has quit IRC01:42
*** jtriley has joined #openstack-horizon01:43
*** jwy has joined #openstack-horizon01:44
*** jtriley has quit IRC01:48
*** yamamoto has quit IRC01:56
*** darrenc is now known as darrenc_afk01:57
*** harlowja is now known as harlowja_away02:03
*** kiseok7_ has quit IRC02:06
r1chardj0n3sright, so pyscss <1.3 is broken by mis-ordering imports, but pyscss >1.3 (or possibly django-pyscss >2) is broken in other more bizarre ways :/02:09
*** alexvictorchan has quit IRC02:10
david-lyler1chardj0n3s: as far as results?02:10
*** nlahouti has quit IRC02:11
r1chardj0n3sdavid-lyle: switching to pyscss1.3/django-pyscss2.0 results in broken imports (inability to find files) in ways that I've struggled to fathom, but think I found the "bug" in django-pyscss that causes it... but now I'm getting "SuspiciousFileOperation: Attempted access to '/custom/variables.scss' denied" during compilation :/02:12
david-lyleSuspiciousFileOperation02:13
r1chardj0n3syup02:13
*** darrenc_afk is now known as darrenc02:14
david-lyleThe joined path is located outside of the base path component02:14
david-lylemaybe02:14
r1chardj0n3sI'm poking at it further, but this code is ... complex ;)02:15
david-lylethe path /custom/variables.scss is wrong02:15
david-lylemaybe02:15
david-lylenot qualified properly02:15
david-lyleI imagine the code to be magnificent02:15
david-lyledon't ruin that illusion02:15
r1chardj0n3shaha, so if I lose the leading "/" in that then scss can't find the file during import scanning. it02:16
r1chardj0n3sit's "later" that it then tries to do something with the file that SuspiciousFileOperation rears its head02:17
r1chardj0n3swhy scss, why02:17
david-lyleI was thinking a relative path02:18
david-lyleor "//" in the path somewhee02:19
david-lylebut I'm just repeating google at this point02:19
r1chardj0n3shmm, ok, so I see how I broke that, but I'm honestly confused as hell how to make this code work. I think I need to read an scss  spec or something :/02:19
david-lylethe horror02:20
*** alexvictorchan has joined #openstack-horizon02:20
r1chardj0n3sI'm going to assume that bootstrap is scss-compliant, and that it's pyscss/django-pyscss that are doing The Wrong Thing02:22
r1chardj0n3sbut having said that, either django-pyscss doesn't have any users or none of them are using bootstrap02:23
david-lyleyeah the scss tools for python/django are pretty horrid02:23
r1chardj0n3sOR02:23
r1chardj0n3shorizon / xstatic is broken02:23
r1chardj0n3sugh02:23
david-lylewe took a bit of a tour to get where we are02:23
r1chardj0n3syeah02:23
david-lylesome dead ends02:23
david-lyleIIUC the next version of bootstrap will be scss native02:23
r1chardj0n3sI think I'm getting there, but the pathing stuff for django-pyscss is such a rabbit warren02:23
david-lylexstatic could be broken too02:24
david-lyleall these technologies are now being pushed past their intended purpose I think02:25
r1chardj0n3slike there's this bit in the file finder part of django-pyscss which, when looking for the @imports for bootstrap/scss/bootstrap.scss and it hits "@import bootstrap/variables" it explicitly strips off the "bootstrap/" part of the import, which breaks it02:27
r1chardj0n3sleaving that part *on* though, is what results in the SuspiciousFileOperation for "/custom/variables.scss" which I simply cannot fathom02:27
*** yingjun has joined #openstack-horizon02:27
r1chardj0n3s(also, I suspect that the path stripping stuff means that the top-level variables.scss is being loaded for the "@import /custom/variables" which is quite broken02:28
r1chardj0n3sactually, no, it's not. hmm. that's a lead.02:28
david-lyleloading custom/variables was working when I was playing with theming02:29
david-lylehave to run for a bit02:29
r1chardj0n3sthanks for being my rubber duck :)02:29
r1chardj0n3s(slightly more knowledgable than the duck tho :)02:30
david-lylewell, anytime I can't help, just let me know, I'll come running :D02:30
david-lyleI like to play to my strengths02:30
david-lyle:P02:30
r1chardj0n3s:)02:30
david-lylettyl02:30
*** david-lyle has quit IRC02:30
*** david-lyle has joined #openstack-horizon02:31
*** ChanServ sets mode: +o david-lyle02:31
*** jbell8 has joined #openstack-horizon02:35
*** david-lyle has quit IRC02:36
*** jwy has quit IRC02:38
*** gyee has quit IRC02:53
*** yingjun has quit IRC02:59
*** alexvictorchan has quit IRC03:07
*** yingjun has joined #openstack-horizon03:08
r1chardj0n3sTravT: well, I'd like to work on the new menu thing, but https://github.com/fusionbox/django-pyscss/issues/34 :/03:24
r1chardj0n3s(fixing that then exposes further knock-on issues with our scss)03:24
*** alexvictorchan has joined #openstack-horizon03:30
*** david-lyle has joined #openstack-horizon03:32
*** ChanServ sets mode: +o david-lyle03:32
TravTr1chardj0n3s: bummer.03:45
TravTDoes your commit fix that issue?03:45
*** kiseok7_ has joined #openstack-horizon03:46
*** yingjun has quit IRC04:01
*** lhcheng has joined #openstack-horizon04:05
r1chardj0n3sTravT: ohai, sorry, was walking back from cafe04:09
TravTno worries... i'm just debating on whether or not to use a compile or link function in a directive.  something one shouldn't do this late at night.04:09
*** ybathia has joined #openstack-horizon04:10
r1chardj0n3sso there's many layers to this problem ;)04:11
r1chardj0n3sthat django-pyscss PR fixes that particular path bug in that project, which gets us further04:11
r1chardj0n3sI've hit a bizarre error deep inside pyscss now where it can't deal with the "& + .btn:not(:first-child)" rule in action-list.scss04:11
r1chardj0n3s... and at the moment I'm trying to find an SCSS reference to even know what that is trying to do (I know what the ampersand is doing, but the "+" I don't know yet04:11
r1chardj0n3sif anyone knows of a good scss reference, I'd love to know, because Google can't find one (!)04:11
r1chardj0n3ssrsly, searching for "scss" turns up NOTHING :/04:11
*** ybathia_ has joined #openstack-horizon04:11
*** btully has quit IRC04:11
TravThmm...04:12
*** ybathia has quit IRC04:15
*** ybathia_ is now known as ybathia04:15
TravTwell, i think kelly or brian wrote that and neither are showing online in our hipchat04:15
r1chardj0n3sum04:17
r1chardj0n3sso I *think* the "+" in  "& + .btn:not(:first-child)"  is a typo. I cannot find anything that tells me what it might do04:17
r1chardj0n3sremoving it makes the scss compile04:17
r1chardj0n3shttp://xkcd.com/1513/04:17
r1chardj0n3sahh, it's saying parent + child as in adjacent in CSS04:17
r1chardj0n3syikes04:17
r1chardj0n3sok, I'm pretty sure the & in that is incorrect04:18
r1chardj0n3s& means combine the selector with the parent04:18
TravTyeah, I'm googling around for that little + as well...04:18
r1chardj0n3syou can't combine *and* be adjacent04:19
r1chardj0n3sso "& +" makes zero sense04:19
TravTit does seem like a somebody used it like a concatenation operator on accident?04:19
r1chardj0n3sI'm gonna look into the use of the style to see what the intent was04:19
r1chardj0n3s+ in CSS means adjacent04:19
*** stevemar has joined #openstack-horizon04:19
r1chardj0n3sso "a + button" selects for a button tag adjacent to an anchor tag04:20
*** cody-somerville has joined #openstack-horizon04:20
*** rushiagr_away is now known as rushiagr04:21
TravTi'm not seeing that line in the action-list scss file i have04:22
TravTnvrmind. see it now04:22
r1chardj0n3soh. hm04:24
r1chardj0n3sI am on master AFAICT04:24
r1chardj0n3sthe "& +" combo is used twice in the file04:24
r1chardj0n3shm04:24
TravTyeah, for that popover04:25
TravTis this the styling for the drop down buttons when you have more than one?04:25
r1chardj0n3sholy cow http://blog.teamtreehouse.com/sass-tip-double-ampersand-selector04:26
r1chardj0n3s"& + &"04:26
r1chardj0n3syikes04:26
r1chardj0n3sit's for styling the notifications into the action list, IIUC04:27
r1chardj0n3slooking at select-flavor-table.html which uses the action-list/notifications combo04:27
r1chardj0n3sreading that treehouse link, I'm still not sure that "& + .btn:not..." makes sense. I think in this case it would expand to "notifications + .btn:not..." which is what you get if you just leave the "&" out04:29
r1chardj0n3sif I understand scss correctly ;)04:29
r1chardj0n3sI think I'm going to have to just push this patch up and see what kelly says ;)04:36
r1chardj0n3sunfortunately testing the patch is a pain because of the django-pyscss bug04:36
r1chardj0n3sbut all of this is necessary if we're going to do the menu stuff (without reimplementing bootstrap)04:37
*** neelabh has joined #openstack-horizon04:37
*** btully has joined #openstack-horizon04:39
TravTbtully: you there?04:41
btullyhey, yeah what’s up?04:41
TravTr1chardj0n3s: is looking at the action-list scss04:42
openstackgerritRichard Jones proposed openstack/horizon: Upgrade pyScss to version 1.3.4  https://review.openstack.org/17850404:42
TravTdid you work on that?04:42
btullynot sure. checking now04:43
btullyis there something broken?04:43
r1chardj0n3sohai btully04:44
r1chardj0n3sI'm pretty sure this code is kelly's tho04:44
r1chardj0n3shttps://review.openstack.org/#/c/178504/ (no idea why there was no IRC notification)04:44
r1chardj0n3sbtully: if you're confident in your scss I'd appreciate you looking at that ^^04:44
btullyit looks like Thai and Kelly04:44
btullysure i can take a look04:44
r1chardj0n3sbtully: thanks. I'm feeling more and more like it's going to turn out to be a bug in pyscss04:44
TravTr1chardj0n3s: that's what I was just trying out locally.04:44
*** sqchen has joined #openstack-horizon04:44
*** rushiagr is now known as rushiagr_away04:45
r1chardj0n3sso. that ol' ruby toolchain eh?04:46
TravThey r1chardj0n3s: when I take out that + i get the same result on the flavors tables.04:47
r1chardj0n3syeah, that's what I saw04:48
r1chardj0n3sI'm pretty sure that rule isn't being used04:48
TravTso, is it going to choke on that popover as well?04:48
r1chardj0n3sno, there's no problem there04:49
r1chardj0n3sit's just when it tries to merge selectors it runs into issue with that one on .btn04:49
btullyinterestin04:51
btullyg04:51
btullyit’s valid css, using the adjacent sibling selector04:52
r1chardj0n3syeah, and it's probably valid scss too - though I'm not convinced the "&" isn't a NOOP in that selector (since the + would be applied to the parent anyway)04:53
r1chardj0n3sbut pyscss chokes on a bare "+" as well04:55
r1chardj0n3shence my feeling that pyscss is broken04:55
r1chardj0n3sbut I'm not experienced enough with SCSS to know for sure04:55
r1chardj0n3sI'm working on isolating a test case that exhibits the issue04:55
btullyyes i’ve used it in scss before04:56
r1chardj0n3sso the error I get from pyscss is:04:56
r1chardj0n3sValueError: Don't know how to merge conflicting combinators: <SimpleSelector: u'+ .btn:not(:first-child)'> and <SimpleSelector: u'> .btn'>04:56
btullyi’ve used & + & before when laying out columns04:56
r1chardj0n3swith no context04:56
r1chardj0n3sright04:57
r1chardj0n3shrm04:59
r1chardj0n3sI can't force an error by just compiling action-list.scss with bootstrap imported04:59
ongkr1chardj0n3s: I heard my name05:04
r1chardj0n3sohai ongk :)05:04
r1chardj0n3sgimme a sec05:05
ongkk05:05
r1chardj0n3sI'm so this is the bane of my existence at the moment https://review.openstack.org/#/c/178504/05:05
r1chardj0n3sbootstrap is currently broken in horizon, and fixing it is a rabbit hole that just keeps giving05:05
r1chardj0n3s:)05:05
r1chardj0n3sI'm 95% sure that pyscss is broken for the specific thing I hit in action-list.scss, but producing a test case to provide upstream is proving very difficult05:06
r1chardj0n3sI imagine it'd be easier for someone with better scss chops than me :)05:06
ongkhaha, I shall take a look05:07
r1chardj0n3scheers. unfortunately I also found a bug in django-pyscss which needs to be patched before anything else can be done :/05:07
r1chardj0n3ssee aforementioned rabbit hole and how deep it is05:07
ongkAh, I remember that. The code from line 25-27 is for rounding the button corners for a button group05:14
*** yingjun has joined #openstack-horizon05:14
*** yingjun has quit IRC05:14
r1chardj0n3songk: do we actually have a button group in an action list?05:15
r1chardj0n3seven if we don't, it still seems like there's a bug here to file against pyscss05:15
ongkYeah, you can define 3 actions within the action-list and it will generate a button group05:17
r1chardj0n3soh sure, in theory it can be done, I'm just not sure we're doing it atm ;)05:17
ongkOh, ha. not atm05:18
btullyyeah, scratching my head. it’s valid scss05:18
r1chardj0n3sand the rule only applies to an action-list with an embedded notification IIUC05:18
*** yamamoto has joined #openstack-horizon05:18
btullyalso i compiled it using ruby and there were no problems05:18
r1chardj0n3sbtully / ongk: if you guys could produce a simplest valid test case to feed back to the pyscss authors, that'd be awesome05:18
r1chardj0n3sbtully: how did you compile it with the rubby? lots of include paths?05:19
r1chardj0n3sI started trying to compile it using the pyscss command-line but the -I switches got way out of hand :/05:19
btullyno i just edited out the color variables05:19
r1chardj0n3soh, the file by itself compiles just fine05:19
btully$brand-danget and $invalid-color05:19
r1chardj0n3sit also compiles if I @import bootstrap05:19
r1chardj0n3sso it's something more complex than that05:20
btullyok i’ll check back in the morning, which at this point is only a few hours away :/05:23
btullynite nite05:23
r1chardj0n3soh, yikes05:23
r1chardj0n3sgnight!05:23
ongkr1chardj0n3s: I will also check in tomorrow morning if you haven’t made progress :)05:25
r1chardj0n3sthanks ongk!05:25
ongknp05:26
*** pauloefg has quit IRC05:27
*** pauloefg has joined #openstack-horizon05:28
*** jbell8 has quit IRC05:32
*** yamamoto has quit IRC05:37
*** yamamoto has joined #openstack-horizon05:40
*** josecastroleon has joined #openstack-horizon05:40
*** annashen has joined #openstack-horizon05:45
*** stevemar has quit IRC05:54
*** yamamoto has quit IRC05:54
*** mrunge has joined #openstack-horizon05:54
*** yamamoto has joined #openstack-horizon05:54
*** yingjun has joined #openstack-horizon05:55
*** annashen has quit IRC05:57
*** ybathia has quit IRC05:58
*** romainh has joined #openstack-horizon06:02
*** lhcheng has quit IRC06:03
*** Longgeek has joined #openstack-horizon06:03
*** Longgeek has quit IRC06:08
*** yamamoto has quit IRC06:08
*** pcaruana has joined #openstack-horizon06:09
openstackgerritOpenStack Proposal Bot proposed openstack/horizon: Imported Translations from Transifex  https://review.openstack.org/17851706:17
*** zul has joined #openstack-horizon06:17
*** zul has quit IRC06:24
*** zul has joined #openstack-horizon06:25
*** tnovacik has joined #openstack-horizon06:28
*** rdopiera has joined #openstack-horizon06:31
*** Ala has joined #openstack-horizon06:45
*** jcoufal has joined #openstack-horizon06:49
*** neelabh has quit IRC06:51
*** masco has joined #openstack-horizon06:53
*** Longgeek has joined #openstack-horizon06:56
*** Longgeek has quit IRC07:02
*** Longgeek has joined #openstack-horizon07:06
*** jtriley has joined #openstack-horizon07:09
*** alexvictorchan has quit IRC07:10
*** neelabh has joined #openstack-horizon07:11
*** MaxV has joined #openstack-horizon07:13
*** sqchen has quit IRC07:14
*** sqchen has joined #openstack-horizon07:14
*** jtriley has quit IRC07:14
*** sqchen has quit IRC07:15
*** bfic has joined #openstack-horizon07:25
*** jbell8 has joined #openstack-horizon07:26
*** btully has quit IRC07:26
neelabhIn Juno, horizon/static/horizon/lib/jquery, have only one file "jquery.bootstrap.wizard.js", But in icehouse version we have are lots of files, Why we removed files or move to other directory form juno07:28
*** jtomasek has joined #openstack-horizon07:28
neelabhsorry from juno07:28
ccarddoug-fish: LOGIN_REDIRECT_URL is set to /dashboard, but I can't see WEBROOT mentioned anywhere.07:30
*** zul has quit IRC07:32
*** zul has joined #openstack-horizon07:32
mrungeccard, WEBROOT is a new feature in Kilo07:34
mrungeccard, and we had WEBROOT for a long time in Red Hat, RDO and Fedora packages07:34
mrungeneelabh, all those javascript libraries were removed, because they were just bundling external dependencies07:35
mrungeneelabh, bundling is just bad by design and will cause more issues than it solves07:36
neelabh<mrunge>, thanks07:37
openstackgerritRadomir Dopieralski proposed openstack/tuskar-ui: Add python-tuskarclient to the installation docs  https://review.openstack.org/17853907:42
*** dguerri is now known as _dguerri07:44
*** _dguerri is now known as dguerri07:52
*** jbell8 has quit IRC07:56
*** JeanBriceCombebi has joined #openstack-horizon08:00
*** zz_ttrifonov is now known as ttrifonov08:02
*** Longgeek has quit IRC08:05
openstackgerritDariusz Smigiel proposed openstack/tuskar-ui: Allow to upload all data from nodes.csv file  https://review.openstack.org/16805908:07
*** zul has quit IRC08:09
*** mpavlase has joined #openstack-horizon08:09
*** ttrifonov is now known as zz_ttrifonov08:23
*** zul has joined #openstack-horizon08:25
*** zz_ttrifonov is now known as ttrifonov08:25
*** ttrifonov is now known as zz_ttrifonov08:28
*** robcresswell_afk is now known as robcresswell08:29
*** zz_ttrifonov is now known as ttrifonov08:30
ccardmrunge: we're using juno, and I've just compared juno/stable with master. WEBROOT isn't in juno/stable.08:34
mrungeccard, yes, you're right08:35
ccardI'm trying to analyse what happens differently when I have SESSION_ENGINE set to use cache.08:35
ccardWith SESSION_ENGINE set to use cache I see this sequence:08:35
ccardPOST /dashboard/auth/login -> 302 FOUND Location: /dashboard/admin08:36
ccardGET /dashboard/admin -> 302 FOUND Location: /dashboard/auth/login/?next=/dashboard/admin08:36
ccardGET /dashboard/auth/login/?next=/dashboard/admin -> 200 OK08:36
robcresswellr1chardj0n3s, tqtran: Thanks :)08:37
ccardGET /dashboard/i18n/js/horizon/08:37
ccardbut that's all08:37
ccardwith SESSION_ENGINE left to default I see08:37
ccardPOST /dashboard/auth/login -> 302 FOUND Location: /dashboard/admin08:37
ccardGET /dashboard/admin -> 200 OK08:38
ccardGET /dashboard/i18n/js/horizon/08:38
ccard-> 200 OK08:39
ccardGET /static/dashboard/img/logo.png?096dc063a0b0 -> 200 OK08:39
ccardetc.08:39
*** yingjun has quit IRC08:42
sambettsCongrats robcresswell TravT and Doug :)08:42
mrungeccard, I remember this behavior from a debug session08:43
*** yingjun has joined #openstack-horizon08:43
robcresswellsambetts: Thanks! I think dougs irc is doug-fish08:43
ccardmrunge: any pointers would be useful :)08:45
mrungethat's why I proposed to move the session engine08:45
mrungeeven temporarily08:45
*** JeanBriceCombebi has quit IRC08:47
*** ttrifonov is now known as zz_ttrifonov08:47
mrungeccard, https://docs.djangoproject.com/en/1.8/topics/http/sessions/08:47
mrungeccard, and configure a database backed session engine08:47
ccardmrunge: I can give that a try, but as far as I can tell memcached is working fine and storing the session info.08:49
*** zz_ttrifonov is now known as ttrifonov08:50
mrungeccard, yes, sure. that was, what I saw as well08:50
mrungeccard, good luck anyways08:50
*** ttrifonov is now known as zz_ttrifonov08:51
*** JeanBriceCombebi has joined #openstack-horizon08:52
*** zz_ttrifonov is now known as ttrifonov08:54
*** bfic has quit IRC08:54
*** annashen has joined #openstack-horizon08:57
*** jtriley has joined #openstack-horizon08:58
*** JeanBriceCombebi has quit IRC09:01
*** annashen has quit IRC09:02
*** jtriley has quit IRC09:02
*** bfic has joined #openstack-horizon09:04
*** JeanBriceCombebi has joined #openstack-horizon09:04
*** bfic has quit IRC09:04
*** e0ne has joined #openstack-horizon09:06
*** Longgeek has joined #openstack-horizon09:06
*** unixlike has joined #openstack-horizon09:06
*** e0ne is now known as e0ne_09:06
unixlikeHi  there !09:06
unixlikeI  coming back to ask next stupid question )09:07
unixlikeIs it possible to show two vaious tables on same panel ?09:07
robcresswellunixlike: Yup. Look at the current Network Details :)09:08
robcresswellunixlike: https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/networks/templates/networks/detail.html09:09
unixlikerobcresswell: Thanks  for quick response ! it is what i mean .09:10
ccardmrunge: thanks. Any pointers on how to debug this? I've tried dumping tracebacks from the horizon code, but the top of the stack is in wsgi.py09:11
*** Longgeek has quit IRC09:12
*** Longgeek has joined #openstack-horizon09:13
*** yingjun has quit IRC09:13
*** yingjun_ has joined #openstack-horizon09:13
*** MaxV has quit IRC09:13
*** e0ne_ is now known as e0ne09:14
*** JeanBriceCombebi has quit IRC09:15
*** MaxV has joined #openstack-horizon09:16
*** JeanBriceCombebi has joined #openstack-horizon09:18
unixlikeccard: did you try to run dashboard with python manage.py runserver09:22
unixlike?09:22
ccardunixlike: no, at the moment everything is run by pacemaker (it's an HA setup)09:25
unixlikeccard: also i think you should run this command as web-server user  to keep file privileges as is09:25
ccardunixlike: and it's running under apache wsgi09:26
unixlikeccard: As i understand you have some problem with dashboard and cant debug this ?09:27
*** zul has quit IRC09:27
unixlikeccard: sorry for my english )09:27
*** bluex-pl has joined #openstack-horizon09:28
*** tnovacik has quit IRC09:31
ccardunixlike: I'm not familiar with django or wsgi really, so I'm not sure *how* to debug it09:31
*** JeanBriceCombebi has quit IRC09:32
*** JeanBriceCombebi has joined #openstack-horizon09:32
*** josecastroleon has quit IRC09:33
*** krykowski has joined #openstack-horizon09:35
*** yingjun_ has quit IRC09:35
*** akrivoka has joined #openstack-horizon09:40
*** JeanBriceCombebi has quit IRC09:41
*** akrivoka has quit IRC09:41
*** akrivoka has joined #openstack-horizon09:41
*** JeanBriceCombebi has joined #openstack-horizon09:44
unixlikeccard: as i said before you should find file settings.py or local_settings.py and set variable DEBUG to True , then you should run django webserver : python manage.py runserver . This command runs server on http://127.0.0.1:8000/09:45
mrungeccard, my first try would be to change session engine to something database backed09:46
mrungeand see what happens09:46
mrungeif that doesn't solve your issue, it's not session related or cockie size related09:47
unixlikebefore doing this you should add /bin/bash as shell for user apache or httpd and switch to this user09:47
mrungeunixlike, seriously?09:48
mrungeunixlike, it works well when using a different user for this09:48
rdopierahow would I go about getting currently logged in user's e-mail address?09:49
*** oro has joined #openstack-horizon09:49
mrungerdopiera, identity panel, users tab09:50
mrungeemail address is actually an attribute of user09:50
mrungerdopiera, but we removed the requirement to have an email address09:50
*** sayan has joined #openstack-horizon09:50
mrungeyou can have a user without a (valid) email address09:51
*** zul has joined #openstack-horizon09:51
unixlikemrunge: I think if you run python manage.py runserver it changes permissions to pyc files09:51
mrungeunixlike, hmm. if there were changes on .py files, the interpreter would try to update/recreate .pyc files09:52
mrungebut in general, there is no need to have write access there09:53
mrungeesp. one doesn't have write access to /usr/share/python2.7/site-packages...09:53
ccardunixlike: DEBUG is already set. I naively tried running python manage.py runserver, but it needs something to tell it where to find my local_settings file. Environment variable?09:55
unixlikemrunge: i think if you create pyc file as root user, then apache user can't modify it09:55
rdopieramrunge: I mean in the code, would just request.user.email work?09:55
rdopieramrunge: or do I need to get the user object from keystone?09:55
mrungerdopiera, I didn't try any of those09:56
rdopieramrunge: in the latter case, which id on request.user is the right id to use for that?09:56
mrungerdopiera, that should be transferred from keystone during log in09:56
neelabhAs table view(_data_table.html in horizon/templates/horizon/common), I want to add one more view grid view, Please tell me I have to add extra-file or in the same file09:56
mrungeusers are created by template from keystone09:56
mrungerdopiera, something like request.user.email should be it09:57
unixlikeneelabh: you can find tutor in horizon directory09:57
unixlikejust run: find /horion_directory | grep -i tutor09:58
*** akrivoka has quit IRC09:58
neelabhsorry, but I am customize the09:58
neelabhhorizon, I am new to open-stack09:58
neelabhthere is very less documentation09:59
rdopieramrunge: great, thank you09:59
openstackgerritRadomir Dopieralski proposed openstack/tuskar-ui: Use current user's e-mail address as default in post-init  https://review.openstack.org/17858710:01
*** bfic has joined #openstack-horizon10:02
*** bfic has quit IRC10:02
*** e0ne is now known as e0ne_10:03
unixlikeccard: Please try to open your horizon dashboard url with incorrect ending . as example http:1.1.1.1/dashboard/fnvdjfvdnf10:03
unixlikeccard: Do you see debug page ?10:03
*** e0ne_ is now known as e0ne10:05
*** tnovacik has joined #openstack-horizon10:10
*** akrivoka has joined #openstack-horizon10:10
ccardunixlike: yes10:13
unixlikeccard: seems that debug already enabled . I think that you find all available log under directory /var/log/http or /var/log/apache . and i recommend you to turn off DEBUG after solving your issue10:15
ccardunixlike: there is nothing useful that I can see in the logs10:18
*** zul has quit IRC10:19
*** akrivoka has quit IRC10:20
*** akrivoka has joined #openstack-horizon10:25
openstackgerritBradley Jones proposed openstack/horizon: Replace pie chart with number for unlimited quotas  https://review.openstack.org/16833510:36
*** _crobertsrh has quit IRC10:41
*** jtriley has joined #openstack-horizon10:47
*** jtriley has quit IRC10:51
*** bfic has joined #openstack-horizon10:56
*** bfic has quit IRC10:57
*** bfic has joined #openstack-horizon10:58
*** krykowski has quit IRC11:03
*** krykowski_ has joined #openstack-horizon11:04
*** JeanBriceCombebi has quit IRC11:21
openstackgerritRadomir Dopieralski proposed openstack/tuskar-ui: Use newer django  https://review.openstack.org/17861911:22
*** doug-fish has joined #openstack-horizon11:22
*** bluex-pl has quit IRC11:28
*** bluex-pl has joined #openstack-horizon11:29
*** e0ne is now known as e0ne_11:30
*** aix has joined #openstack-horizon11:35
*** sayan has quit IRC11:37
*** krykowski_ has quit IRC11:38
*** bfic has quit IRC11:40
*** crobertsrh has joined #openstack-horizon11:41
*** krykowski has joined #openstack-horizon11:45
*** zul has joined #openstack-horizon11:53
*** bfic has joined #openstack-horizon12:01
david-lyleMeeting starting in #openstack-meeting-3 for those interested12:02
openstackgerritRadomir Dopieralski proposed openstack/tuskar-ui: Fix tests failing under django 1.8  https://review.openstack.org/17863712:02
*** krykowski has quit IRC12:03
*** bluex-pl has quit IRC12:03
*** krykowski has joined #openstack-horizon12:03
*** raildo has joined #openstack-horizon12:03
*** bluex-pl has joined #openstack-horizon12:04
*** sayan has joined #openstack-horizon12:05
*** sayan has quit IRC12:05
*** sayan has joined #openstack-horizon12:06
*** openstackgerrit has quit IRC12:07
*** openstackgerrit has joined #openstack-horizon12:07
openstackgerritMerged openstack/tuskar-ui: Add python-tuskarclient to the installation docs  https://review.openstack.org/17853912:08
*** krykowski has quit IRC12:08
*** bluex-pl has quit IRC12:09
*** mpavlase has quit IRC12:15
*** mpavlase has joined #openstack-horizon12:16
*** Ephur has joined #openstack-horizon12:20
openstackgerritMerged openstack/tuskar-ui: Use newer django  https://review.openstack.org/17861912:22
*** bfic has quit IRC12:26
*** e0ne_ is now known as e0ne12:26
*** JeanBriceCombebi has joined #openstack-horizon12:30
*** jtriley has joined #openstack-horizon12:35
*** jtriley has quit IRC12:40
*** EmilienM is now known as EmilienM|afk12:41
*** sayan has quit IRC12:41
*** lifeless has quit IRC12:43
*** chlong has joined #openstack-horizon12:44
*** MaxV has quit IRC12:44
*** krykowski has joined #openstack-horizon12:45
*** masco has quit IRC12:45
*** neelashah has joined #openstack-horizon12:49
*** MaxV has joined #openstack-horizon12:50
*** bluex-pl has joined #openstack-horizon12:52
*** krykowski has quit IRC12:52
*** e0ne is now known as e0ne_12:54
openstackgerritMatt Borland proposed openstack/horizon: Get unit tests working with Karma  https://review.openstack.org/16815212:56
*** asahlin_afk is now known as asahlin12:56
*** bfic has joined #openstack-horizon12:59
*** lblanchard has joined #openstack-horizon13:00
*** bluex-pl has quit IRC13:01
*** ir2ivps10 has quit IRC13:01
*** bluex-pl has joined #openstack-horizon13:02
*** julim has joined #openstack-horizon13:05
*** krykowski has joined #openstack-horizon13:06
*** e0ne_ is now known as e0ne13:06
*** julim has quit IRC13:06
*** radez_g0n3 is now known as radez13:08
*** ZZelle has quit IRC13:08
*** julim has joined #openstack-horizon13:08
*** ZZelle has joined #openstack-horizon13:09
*** neelabh has quit IRC13:12
*** Madkiss has quit IRC13:13
openstackgerritMatt Borland proposed openstack/horizon: Add Angular service to provide translation  https://review.openstack.org/17597613:18
*** julim has quit IRC13:18
*** mwhagedorn has joined #openstack-horizon13:21
*** matt-borland has joined #openstack-horizon13:21
*** mattfarina has joined #openstack-horizon13:23
*** mattfarina has quit IRC13:24
*** btully has joined #openstack-horizon13:24
*** peristeri has joined #openstack-horizon13:25
*** vhoward has joined #openstack-horizon13:26
*** btully has quit IRC13:28
*** ir2ivps10 has joined #openstack-horizon13:33
*** jtriley has joined #openstack-horizon13:34
*** EmilienM|afk is now known as EmilienM13:37
*** e0ne is now known as e0ne_13:38
*** lifeless has joined #openstack-horizon13:38
*** e0ne_ is now known as e0ne13:39
*** MaxV has quit IRC13:39
*** josecastroleon has joined #openstack-horizon13:39
*** iamjarvo has joined #openstack-horizon13:55
*** iamjarvo has quit IRC13:56
*** iamjarvo has joined #openstack-horizon13:57
*** iamjarvo has quit IRC13:57
*** iamjarvo has joined #openstack-horizon13:57
*** iamjarvo has quit IRC13:58
*** iamjarvo has joined #openstack-horizon13:58
*** iamjarvo has quit IRC13:58
*** iamjarvo has joined #openstack-horizon13:59
*** iamjarvo has quit IRC13:59
*** iamjarvo has joined #openstack-horizon14:00
*** rushiagr_away has quit IRC14:05
*** alexpilotti has joined #openstack-horizon14:05
-openstackstatus- NOTICE: gerrit has been restarted to clear a stuck events queue. any change events between 13:29-14:05 utc should be rechecked or have their approval votes reapplied to trigger jobs14:05
*** bfic has quit IRC14:06
ccardmrunge: I've made some progress: the problem appears to be an exception in get_user() in openstack_auth/utils.py, which (as I discovered eventually after lots of digging) is monkey-patching auth.get_user().14:07
*** btully has joined #openstack-horizon14:08
*** ericpeterson has joined #openstack-horizon14:08
*** cbits has joined #openstack-horizon14:08
*** cbits has left #openstack-horizon14:09
mrungeccard, strange14:09
ccardon this line:14:10
ccard        user_id = request.session[auth.SESSION_KEY]14:10
mrungeccard, did you stick in a different session store?14:10
mrungesuch as database backed sessions?14:10
ccardno, this is still the caching session engine14:10
mrungeyou should give it a try14:11
ccardI wanted to find out where it was failing14:11
mrungeif I understand this right, your session data gets too long and the rest is truncated14:11
mrungebasically anything could happen then14:11
mrungewe're fighting with that for a longer time now14:12
mrungeit works in many cases, until it stops ;-)14:12
ccardthe code is here: http://pastebin.com/XbCJK6J014:12
mrungeso, in your case request.session[auth.SESSION_KEY] fails?14:13
*** jprovazn has joined #openstack-horizon14:13
ccardyes. My debug is saying:14:14
ccardrequest.session = <django.contrib.sessions.backends.cache.SessionStore object at 0x7ffd731942d0>, auth.SESSION_KEY = _auth_user_id14:14
ccardI'm not sure if that code will ever work with a SessionStore object, but I'm still investigating14:15
*** rushiagr_away has joined #openstack-horizon14:16
mrungegood luck14:16
*** zhenguo has quit IRC14:17
*** drupalmonkey has joined #openstack-horizon14:17
rdopieramrunge: seems like django was swallowing up some exceptions in our tests, and 1.8 does not anymore, so they started failing visibly (they always failed, just django lied to us)14:21
*** jtriley has quit IRC14:23
zigoWhen running unit tests of Horizon (when building Horizon Kilo RC2 in Sid), I get: "optparse.OptionConflictError: option --no-color: conflicting option string(s): --no-color"14:28
zigoAny idea why?14:29
zigomrunge: ^14:29
zigordopiera: ^14:29
*** julim has joined #openstack-horizon14:31
*** JeanBriceCombebi has quit IRC14:37
openstackgerritMatt Borland proposed openstack/horizon: Angular API Unit Tests  https://review.openstack.org/17822714:37
openstackgerritMerged openstack/tuskar-ui: Allow to upload all data from nodes.csv file  https://review.openstack.org/16805914:38
*** jprovazn has quit IRC14:39
*** vijendar has joined #openstack-horizon14:42
*** sseago has left #openstack-horizon14:48
*** alexpilotti has quit IRC14:49
*** katyafervent is now known as katyafervent_awa14:52
*** katyafervent_awa is now known as katyafervent14:55
*** cody-somerville has quit IRC14:58
*** jtriley has joined #openstack-horizon14:58
*** packet has joined #openstack-horizon15:02
*** peristeri has quit IRC15:04
openstackgerritMatt Borland proposed openstack/horizon: Angular API Unit Tests  https://review.openstack.org/17822715:08
*** alexpilotti has joined #openstack-horizon15:11
openstackgerritMatthew D. Wood proposed openstack/horizon: Adding tests for button-tooltip.js  https://review.openstack.org/17843415:12
openstackgerritMatthew D. Wood proposed openstack/horizon: Adding tests for button-tooltip.js  https://review.openstack.org/17843415:12
*** sqchen has joined #openstack-horizon15:14
*** jbell8 has joined #openstack-horizon15:18
*** bpokorny has joined #openstack-horizon15:25
*** cody-somerville has joined #openstack-horizon15:31
*** cody-somerville has quit IRC15:31
*** cody-somerville has joined #openstack-horizon15:31
*** sqchen has quit IRC15:32
*** peristeri has joined #openstack-horizon15:33
*** iamjarvo has quit IRC15:36
openstackgerritDerek Higgins proposed openstack/tuskar-ui: Fix typo in "Voltage"  https://review.openstack.org/17874015:39
*** jmolo has joined #openstack-horizon15:42
*** stevemar has joined #openstack-horizon15:42
*** julim has quit IRC15:43
*** Piet has joined #openstack-horizon15:44
*** mhorban has quit IRC15:45
*** jcoufal has quit IRC15:45
*** rushiagr_away is now known as rushiagr15:46
*** ttrifonov is now known as zz_ttrifonov15:52
ccardmrunge: I believe I know what the problem is now: memcached and HA openstack don't mix very well :(15:53
*** nlahouti has joined #openstack-horizon15:53
ccardso a db backend is probably the way to go, but I don't see anything in quickstack puppet files to help set it up15:53
*** alexvictorchan has joined #openstack-horizon15:55
*** Sukhdev has joined #openstack-horizon15:55
*** lblanchard has quit IRC15:57
*** robcresswell is now known as robcresswell_afk16:05
*** Ala has quit IRC16:09
*** jtomasek has quit IRC16:10
*** Drago has joined #openstack-horizon16:10
*** Drago has left #openstack-horizon16:11
*** zul has quit IRC16:15
*** julim has joined #openstack-horizon16:17
*** oro has quit IRC16:17
*** josecastroleon has quit IRC16:17
*** chlong has quit IRC16:19
*** alexpilotti has quit IRC16:20
*** dscottsf has joined #openstack-horizon16:21
*** pcaruana has quit IRC16:22
*** tqtran has joined #openstack-horizon16:23
*** akrivoka has quit IRC16:24
*** gyee has joined #openstack-horizon16:25
rdopierazigo: that's strange16:27
*** dscottsf has quit IRC16:27
rdopierazigo: I have to run :(16:27
*** rdopiera has quit IRC16:27
TravTmrunge: what is it that you guys use for video conferencing?16:27
TravTalso, did vidyo work for you previously?16:28
TravTI'm still wanting to find a video conferencing tool that works for everybody without small limits.16:28
*** btully has quit IRC16:28
*** lblanchard has joined #openstack-horizon16:31
*** mattfarina has joined #openstack-horizon16:34
*** mattfarina has quit IRC16:34
openstackgerritMerged openstack/tuskar-ui: Fix tests failing under django 1.8  https://review.openstack.org/17863716:38
*** lblanchard has quit IRC16:41
*** mpavlase has quit IRC16:41
*** jtriley has quit IRC16:43
tqtranTravT: any news from JohnPapa?16:49
tqtranI have to say, after reading this post, now I understand where Sean is coming from16:49
TravTHey tqtran:16:50
TravTno, his "email submission form" explicitly states he tries to respond to most email, but is usually delayed16:50
*** jingjing_ren has joined #openstack-horizon16:51
TravTI've been thinking a lot about the john papa style guide (why I put the mention on your patch). It is based on a lot of feedback from the angular community.16:53
TravTAnd is referencable.16:53
tqtranyeah, it should also help the review process too, now that there is a guideline to point to16:54
TravTWe don't have to follow everything in it, but at least it is already providing some concrete guidance.16:54
TravTWe can also influence it.16:54
tqtranyeah for sure, as we start using it, we can start making recommendations16:55
tqtranwould be great if there is a way to enforce them like how pep8 is doing it for python16:55
TravTyeah, i'm hoping he response saying there is some tool or maybe he's get some code style templates we can use16:56
*** romainh has left #openstack-horizon16:56
TravTbut, i'd be a little surprised.16:56
tqtranhttps://github.com/jscs-dev/node-jscs16:57
tqtranwe might be able to use something like this if he comes back and says no16:57
TravTmatt already started down this track:16:58
TravThttps://review.openstack.org/#/c/170204/16:58
tqtranoh cool, didnt see that16:59
*** btully has joined #openstack-horizon16:59
*** sqchen has joined #openstack-horizon16:59
matt-borlandhello :)16:59
matt-borlandI started a basic patch for JSCS, with only one example config.17:00
matt-borlandtrailingWhitespace :)17:00
TravTgotta start somewhere17:00
matt-borlandI also looked through the list of code styles and came up with a short list of things we might be interested in.17:00
TravThttps://github.com/johnpapa/angular-jscs17:00
matt-borlandinteresting!17:00
TravTlooks like john papa wants to provide it...17:01
tqtranoh nice, maybe we can just scrap his jscs config and use17:01
TravTbut he hasn't done much17:01
tqtranjk, looks like its blank lol17:01
tqtranok we can help him populate it hahaha17:01
matt-borland:)17:02
TravTlooks like there's plenty to choose from:17:03
TravThttps://www.linkedin.com/groupItem?commentID=-1&item=5945483989950226433&type=member&gid=5010991&view=&readyComment=true#lastComment17:03
TravTwe had some consultants recommend john papa17:04
asahlinTravT:  I commented in the user table review as well, but thanks for posting the link to john papa's style guide.17:06
*** jingjing_ren has quit IRC17:07
TravTasahlin: cool, i'll take a look17:07
*** bpokorny has quit IRC17:08
*** jingjing_ren has joined #openstack-horizon17:08
*** bpokorny has joined #openstack-horizon17:09
TravTtqtran: google and angularjs specifically recomends john papa17:10
TravThttp://angularjs.blogspot.com/2014/02/an-angularjs-style-guide-and-best.html17:10
*** aix has quit IRC17:10
tqtranyeah just did a google search, looks like him and todd motto are the drivers17:12
TravTguess i could try to email todd motto too17:13
*** neelashah has quit IRC17:16
openstackgerritMatt Borland proposed openstack/horizon: Get unit tests working with Karma  https://review.openstack.org/16815217:17
*** dguerri is now known as _dguerri17:18
*** _dguerri is now known as dguerri17:18
matt-borlandtqtran: TravT: FYI I updated the i18n patch to include Thai's notes from yesterday.  In addition, I expect to follow onto this patch with adding 'interpolate'17:18
openstackgerritMatthew D. Wood proposed openstack/horizon: Adding tests for button-tooltip.js  https://review.openstack.org/17843417:19
openstackgerritMatt Borland proposed openstack/horizon: Get unit tests working with Karma  https://review.openstack.org/16815217:21
TravTtqtran: maybe we could just copy that node-jscs, remove anything not in johnpapa;s guide, and issue a pull request to johnpapa.17:22
tqtranwe can17:23
tqtranthough i'm not even sure what is in node-jscs17:24
TravTme neither17:24
TravTshould I go ahead and add the link to the style guide on the wiki?  right now, i only have it on the etherpad I sent out to the ML.17:25
*** bluex-pl has quit IRC17:25
TravTor should we take up a formal vote?17:25
asahlinI'd say at it to the wiki now, ask for forgiveness later  ;-)17:26
tqtranformal vote, right now its just a small group of folks deciding, would be good to ask for other's inputs as well17:26
tqtranasahlin: lol nicely put17:26
asahlincould just put up a patch to the .rst, and 'vote' that way17:27
TravTHow about I'll add it and note that it is up for discussion.17:27
tqtranfine with me17:27
tqtranfine by me? or fine with me?17:27
TravTthat's a good idea.... but what about this page:17:27
TravThttps://wiki.openstack.org/wiki/Horizon/Javascript17:27
tqtranwill probably need updating to have a much bigger angular section17:28
TravTyes, but also referencing the style guide may make that not quite so big17:28
asahlinIf it were me, I would do what you said "update and add a note".   Then based on patch review update accordingly17:29
TravTOkay, I'm going to put up a note on the wiki about it.17:29
TravTAnd I'll put up an RST patch17:29
TravTgood ideas, aaron.17:29
asahlincool17:29
*** iamjarvo has joined #openstack-horizon17:30
*** iamjarvo has quit IRC17:30
*** iamjarvo has joined #openstack-horizon17:31
*** iamjarvo has quit IRC17:31
*** iamjarvo has joined #openstack-horizon17:31
*** iamjarvo has quit IRC17:32
*** lhcheng has joined #openstack-horizon17:32
*** iamjarvo has joined #openstack-horizon17:32
tqtranasahlin: +117:33
*** neelashah has joined #openstack-horizon17:33
*** neelashah1 has joined #openstack-horizon17:34
tqtranmatt-borland: so just wanted to understand the reasons for moving to karma better. is it solely a developer tool? and what advantage does it provide over the jasmine spec runner?17:35
matt-borlandsure,17:35
tqtranmy understanding of karma is limited17:35
tqtranjust wanted to pick your brain and learn more17:35
matt-borlandfirst off, it's slightly more meta- than Jasmine.17:35
matt-borlandit can run various types of tests (Jasmine, qunit) and can attach various types of plugins to its process.17:36
matt-borlandso, for example, you can easily plug in code coverage.17:36
matt-borlandand other other reporters, such as junit output17:36
matt-borlandso when I do an 'npm test' or 'npm run test' in this environment, I can not only get console-level info, I can also get all those reporters run17:37
*** neelashah has quit IRC17:37
matt-borlandon the dev side, this is useful to have a one-stop shop for all those needs17:38
matt-borlandsame thing on the gate17:38
matt-borlandit's also a little smarter about fileglobbing and determining what to do with input files.17:38
tqtranso you can choose to run karma once? or is it a background process?17:39
matt-borlandYou can do it both ways17:39
matt-borlandor within an IDE17:39
tqtrani see17:39
matt-borlandright now the default behavior through npm is to run-single17:39
matt-borlandalthough if you call karma more directly, it will watch for files and rerun tests when changed.17:39
tqtranand im assuming the gate is similarly running jshint the same way?17:40
matt-borlandIt also notifies you of JS errors, unlike Jasmine's runner17:40
matt-borlandI think so17:40
matt-borlandI think the idea is to have 'npm run test' and 'npm lint' or whatever the command is, to further loosen dependencies on the specific mechanism17:41
tqtranI think the jasmine runner does tell you the js errors17:42
tqtranand which line failed17:42
matt-borlandIn my experience, it doesn't17:42
tqtranthen you can debug it via the chrome inspector as well17:42
matt-borlandthe web browser just doesn't process the js that fails17:42
matt-borlande.g. when running the localhost/jasmine web tests (Jasmine)17:43
tqtranright, when i run localhost/jasmine, i can put in breakpoints and debug17:43
tqtranand the spec runner does tell me where it fails17:43
matt-borlandgotcha17:44
tqtranor sometimes it will fail silently, but the console will output errors17:44
matt-borlandyeah.17:44
tqtranso far, that has worked for me, which is why i didnt see a strong need for karma.17:45
matt-borlandah17:45
tqtranand the reason why i need more convincing haha.17:45
matt-borland:)17:45
*** rlrevell has joined #openstack-horizon17:45
rlrevellhi17:46
matt-borlandjust ask most of us on the team, you'll probably get other reasons17:46
matt-borlandcoverage is huge17:46
matt-borlandpluggability is nice17:46
tqtrani'm not against it, but if we have something that works decently, why the move to karma?17:46
tqtranyes that part is nice17:46
rlrevellwas the login form changed to autocomplete=off by horizon devs or is this something ubuntu changed?17:46
matt-borlandI don't really like that we have to treat the web page result as a single pass/fail in selenium17:46
matt-borland(in Jasmine)17:46
matt-borlandit's really kind of wonky in my view.  Having it all run separately is nice.17:47
tqtranmatt-borland: thats true, but that is a limitation of selenium (or at least our implementation of it).17:47
*** woodm1979 has joined #openstack-horizon17:47
*** iamjarvo has quit IRC17:48
matt-borlandyeah.17:48
matt-borlandI think overall, having a good meta-framework that is simple to configure and has lots of flexible options is better than a single test runner17:48
tqtrani'll look into karma some more and think on it17:50
matt-borlandI can't speak enough to the coverage feature :)17:50
matt-borlandcoverage reports are located in the .coverage-karma dirs.  Very useful in the work we've done the last 2 weeks.17:52
woodm1979tqtran: we haven't done the config work yet, but you can add your coverage reports as junit format.  Then they can be mixed with our python code-coverage reports and we can get an actual sense of what's being covered, or include the metric in the gate job or whatever at a later date.  Also, the click-able coverage report is just gold.17:55
*** Sukhdev has quit IRC17:55
*** iamjarvo has joined #openstack-horizon17:55
*** iamjarvo has quit IRC17:55
tqtranwoodm1979, matt-borland: ok, I have to play around with it some more to get a better sense17:56
matt-borlandsounds good, just let us know if you have any questions!17:56
*** iamjarvo has joined #openstack-horizon17:56
tqtranok will do17:56
woodm1979:-)17:56
woodm1979I see pretty green lines!  and ugly red ones too.  Red make woodm1979 angry!17:57
matt-borlandwoodm1979: I will accept nothing less than 100%, or more!17:57
*** e0ne has quit IRC17:57
woodm1979I'm shooting for 110% test coverage!17:57
woodm1979(boom)17:57
*** harlowja_away is now known as harlowja18:00
*** krykowski has quit IRC18:04
openstackgerritMatthew D. Wood proposed openstack/horizon: Adding tests for button-tooltip.js  https://review.openstack.org/17843418:05
openstackgerritMatthew D. Wood proposed openstack/horizon: Adding tests for button-tooltip.js  https://review.openstack.org/17843418:06
openstackgerritTyr Johanson proposed openstack/horizon: Make directory structure match Angular modules  https://review.openstack.org/17615218:07
tqtranr1chardj0n3s, neillc: https://openstack.invisionapp.com/share/6W2OXDHEK#/screens/73119719?maintainScrollPosition=false18:09
openstackgerritTyr Johanson proposed openstack/horizon: Make directory structure match Angular modules  https://review.openstack.org/17615218:09
tqtranif you guys need extra help on it, I'd be happy to chime in18:09
*** sayan has joined #openstack-horizon18:11
*** harlowja has quit IRC18:16
*** harlowja has joined #openstack-horizon18:16
*** harlowja has quit IRC18:17
*** harlowja has joined #openstack-horizon18:20
*** jprovazn has joined #openstack-horizon18:20
*** jmolo has quit IRC18:22
*** harlowja has quit IRC18:29
*** harlowja has joined #openstack-horizon18:29
*** dguerri is now known as _dguerri18:30
*** ybathia has joined #openstack-horizon18:31
*** e0ne has joined #openstack-horizon18:31
*** e0ne is now known as e0ne_18:31
*** e0ne_ is now known as e0ne18:32
*** e0ne is now known as e0ne_18:32
*** e0ne_ is now known as e0ne18:32
*** e0ne has quit IRC18:32
*** jingjing_ren has quit IRC18:34
*** _dguerri is now known as dguerri18:34
*** oro has joined #openstack-horizon18:35
*** jingjing_ren has joined #openstack-horizon18:36
*** jingjing_ren has quit IRC18:38
*** jingjing_ren has joined #openstack-horizon18:39
openstackgerritShaoquan Chen proposed openstack/horizon: Adding new util: next unique ID  https://review.openstack.org/17750618:40
*** dguerri has quit IRC18:42
openstackgerritMatt Borland proposed openstack/horizon: Angular API Unit Tests  https://review.openstack.org/17822718:42
*** jingjing_ren has quit IRC18:46
*** e0ne has joined #openstack-horizon18:48
*** Piet has quit IRC18:48
*** annashen has joined #openstack-horizon18:55
*** annashen has quit IRC19:01
*** annashen has joined #openstack-horizon19:02
*** mrunge has quit IRC19:03
*** bpokorny_ has joined #openstack-horizon19:03
*** ericpeterson has quit IRC19:06
*** jtriley has joined #openstack-horizon19:06
*** annashen has quit IRC19:06
*** bpokorny has quit IRC19:07
openstackgerritMatt Borland proposed openstack/horizon: Angular API Unit Tests  https://review.openstack.org/17822719:07
*** cody-somerville has quit IRC19:09
*** lblanchard has joined #openstack-horizon19:14
*** rushiagr is now known as rushiagr_away19:15
openstackgerritOpenStack Proposal Bot proposed openstack/django_openstack_auth: Updated from global requirements  https://review.openstack.org/17880819:16
openstackgerritOpenStack Proposal Bot proposed openstack/horizon: Updated from global requirements  https://review.openstack.org/17880919:17
openstackgerritMerged openstack/horizon: Add Angular service to provide translation  https://review.openstack.org/17597619:22
openstackgerritMatt Borland proposed openstack/horizon: Angular API Unit Tests  https://review.openstack.org/17822719:24
openstackgerritMatthew D. Wood proposed openstack/horizon: Adding tests for button-tooltip.js  https://review.openstack.org/17843419:26
*** cody-somerville has joined #openstack-horizon19:28
*** neelashah1 has quit IRC19:30
*** lblanchard has quit IRC19:34
*** neelabh has joined #openstack-horizon19:36
openstackgerritMerged openstack/horizon: avoid calling neutron, when neutron is disabled  https://review.openstack.org/17816319:41
*** david-lyle has quit IRC19:44
*** david-lyle has joined #openstack-horizon19:44
*** ChanServ sets mode: +o david-lyle19:44
openstackgerritMichael Hagedorn proposed openstack/horizon: [Launch Instance Fix] Add Flavor Step Unit Tests  https://review.openstack.org/16732619:46
openstackgerritMichael Hagedorn proposed openstack/horizon: Get unit tests working with Karma  https://review.openstack.org/16815219:46
*** jprovazn has quit IRC19:47
*** bpokorny has joined #openstack-horizon19:48
openstackgerritMichael Hagedorn proposed openstack/horizon: [Launch Instance Fix] Add Flavor Step Unit Tests  https://review.openstack.org/16732619:49
*** jingjing_ren has joined #openstack-horizon19:51
*** bpokorny_ has quit IRC19:52
*** ericpeterson has joined #openstack-horizon19:53
*** jingjing_ren has quit IRC19:55
*** nlahouti has quit IRC19:56
openstackgerritTyr Johanson proposed openstack/horizon: Make directory structure match Angular modules  https://review.openstack.org/17615219:56
openstackgerritTyr Johanson proposed openstack/horizon: Get unit tests working with Karma  https://review.openstack.org/16815219:56
TravTtqtran: clu_: r1chardj0n3s: david-lyle: are you available for a hangout in a few minutes?19:57
tqtranyeah I'm good for about 30m19:57
TravTok, one of the things definitely want to talk about is ^ the directory structure19:58
TravThttps://review.openstack.org/17615219:58
*** jwy has joined #openstack-horizon19:58
TravTwe need to get that under our belts, so we avoid massive merge conflicts.19:59
asahlinspeaking of directory structure, does anyone know Tyr Johanson nick?  I just started working on https://bugs.launchpad.net/horizon/+bug/1446886, but I see that their patch https://review.openstack.org/#/c/176152/ does that and alot more..20:00
openstackLaunchpad bug 1446886 in OpenStack Dashboard (Horizon) "Move angular service api to dashboard" [Medium,New] - Assigned to Aaron Sahlin (asahlin)20:00
TravThey aaron, he'll be in that hangout... i was hoping richard would be around to share his vidyo technology.20:01
TravThangouts have a participant limit20:01
david-lyleTravT: o/20:02
*** tyr_ has joined #openstack-horizon20:03
asahlinok, if there is room I will hop on.. otherwise just wanted to let him know that I will abodon my change, and he can take ownership of that bug.  (since he has a patch for it already)20:03
TravTwell, i guess we can start with https://plus.google.com/hangouts/_/g6r2z56lrtiy2qrjdf45zfem6ia20:03
TravTasahlin: there's room20:06
*** jingjing_ren has joined #openstack-horizon20:08
openstackgerritMatt Borland proposed openstack/horizon: Angular API Unit Tests  https://review.openstack.org/17822720:09
openstackgerritMatt Borland proposed openstack/horizon: Angular API Unit Tests  https://review.openstack.org/17822720:10
*** jtriley has quit IRC20:15
*** mpavlase has joined #openstack-horizon20:15
*** dguerri has joined #openstack-horizon20:18
*** jtriley has joined #openstack-horizon20:19
*** e0ne has quit IRC20:26
*** mpavlase has quit IRC20:32
*** e0ne has joined #openstack-horizon20:36
*** radez is now known as radez_g0n320:44
*** e0ne has quit IRC20:44
*** jcoufal has joined #openstack-horizon20:45
*** nlahouti has joined #openstack-horizon20:47
*** oro has quit IRC20:48
*** mpavlase has joined #openstack-horizon20:50
*** matt-borland has quit IRC20:56
*** raildo has quit IRC20:58
*** iamjarvo has quit IRC20:58
*** jcoufal has quit IRC21:03
*** cody-somerville has quit IRC21:05
*** iamjarvo has joined #openstack-horizon21:06
*** iamjarvo has quit IRC21:06
*** iamjarvo has joined #openstack-horizon21:07
*** peristeri has quit IRC21:09
*** jtriley has quit IRC21:12
*** neelabh has quit IRC21:13
*** iamjarvo has quit IRC21:14
*** Sukhdev has joined #openstack-horizon21:14
*** annashen has joined #openstack-horizon21:21
*** Longgeek has quit IRC21:29
*** julim has quit IRC21:30
*** cody-somerville has joined #openstack-horizon21:31
*** annashen has quit IRC21:33
*** stevemar has quit IRC21:36
*** jbell8 has quit IRC21:36
*** harlowja is now known as harlowja_away21:36
*** harlowja_away is now known as harlowja21:37
openstackgerritAaron Sahlin proposed openstack/horizon: Add description & example for isServer property in Magic Search  https://review.openstack.org/17828621:39
*** mattfarina has joined #openstack-horizon21:40
*** mattfarina has quit IRC21:40
openstackgerritCindy Lu proposed openstack/horizon: Angular Identity Users Panel Demo  https://review.openstack.org/17748921:44
openstackgerritCindy Lu proposed openstack/horizon: Angularize Identity Users Panel  https://review.openstack.org/13376721:44
openstackgerritCindy Lu proposed openstack/horizon: WIP Angular Users Panel - Admin Password check  https://review.openstack.org/17654021:44
*** crobertsrh is now known as _crobertsrh21:45
*** jtriley has joined #openstack-horizon21:47
*** ericpeterson has quit IRC21:54
*** mwhagedorn has quit IRC21:56
*** ericpeterson has joined #openstack-horizon21:57
*** jbell8 has joined #openstack-horizon21:58
*** jbell8 has quit IRC21:58
*** rlrevell has quit IRC22:02
*** mpavlase has left #openstack-horizon22:02
*** Piet has joined #openstack-horizon22:03
*** vijendar has quit IRC22:12
*** dguerri is now known as _dguerri22:18
openstackgerritRichard Jones proposed openstack/horizon: Upgrade pyScss to version 1.3.4  https://review.openstack.org/17850422:20
r1chardj0n3sbtully/ongk django-pyscss upstream accepted my patch so the requirements are updated ^^ ... if you're confident we can get all the scss working I'll look at putting in the global-requirements patch22:21
TravTgreat work r1chardj0n3s!22:22
r1chardj0n3sI'll make the menu work dependent on that patch, but it's still very early WIP so I'm not sure there's any point sharing it for review22:24
TravTwell, right now, i'm working on a patch that is going to get stomped on by the directory structure changes.22:25
r1chardj0n3syeah - did that get resolved at all this morning?22:26
TravTno22:26
r1chardj0n3sI seriously think we could discuss it for weeks22:26
TravTyes22:26
r1chardj0n3sjust needs to have a line drawn in the sand and say "good enough"22:27
TravTTyr is going to upload another take on it shortly22:27
r1chardj0n3sok22:27
TravTi think we've made good progress22:28
r1chardj0n3s\o/22:28
TravTthere was some discussion on where APIs should live22:28
openstackgerritCindy Lu proposed openstack/horizon: WIP Angular alert service - add auto dismiss  https://review.openstack.org/17260222:28
TravTas you'll see reflected in my comments22:29
r1chardj0n3soh, I like the legacy thing22:36
*** ZZelle_ has joined #openstack-horizon22:37
r1chardj0n3sTravT: I don't see any need to move the api common code back to horizon unless we envisage ever having api implemented in horizon22:40
TravTgreat! that was the net result of the earlier conversation as well.22:41
r1chardj0n3soh! good :)22:41
r1chardj0n3sso were there any outstanding issues? It seems from the review that there's nothing unresolved at this point22:43
*** ericpeterson has quit IRC22:44
*** josecastroleon has joined #openstack-horizon22:46
*** bpokorny_ has joined #openstack-horizon22:47
*** josecastroleon has quit IRC22:48
TravTthere are a few.22:48
TravTfor one thing the dependency injection is messed up because of horizon base.html defining ng-app='hz'22:49
TravTbut i think we got that figured out.22:50
TravTTyr is off working on the patch now22:51
r1chardj0n3sok22:51
*** dboik has quit IRC22:51
*** bpokorny has quit IRC22:51
r1chardj0n3sI'll have another look when he lands the next revision22:51
TravThopefully get a new revision up for review22:51
*** dboik has joined #openstack-horizon22:51
*** ZZelle_ has quit IRC22:53
*** drupalmonkey has quit IRC22:54
*** Raildo has joined #openstack-horizon22:57
*** tyr_ has quit IRC22:59
*** woodm1979 has quit IRC22:59
*** Raildo is now known as raildo23:00
openstackgerritThai Tran proposed openstack/horizon: Fixed dashboard angular translation issue  https://review.openstack.org/17461523:07
*** bpokorny has joined #openstack-horizon23:07
*** tqtran has quit IRC23:07
*** tqtran_ has joined #openstack-horizon23:07
*** tqtran_ is now known as tqtran23:07
*** bpokorny_ has quit IRC23:10
openstackgerritMerged openstack/horizon: Updated from global requirements  https://review.openstack.org/17880923:12
openstackgerritMerged openstack/horizon: Populating job type choices via api call  https://review.openstack.org/17447923:12
*** dscottsf has joined #openstack-horizon23:13
*** dscottsf has quit IRC23:13
*** Sukhdev has quit IRC23:14
*** kmartin_ has quit IRC23:17
*** kmartin has joined #openstack-horizon23:17
*** Raildo_ has joined #openstack-horizon23:21
*** raildo has quit IRC23:25
*** packet has quit IRC23:25
*** Raildo_ has quit IRC23:27
*** alexvictorchan has quit IRC23:29
*** jtriley has quit IRC23:30
*** tnovacik has quit IRC23:44
*** ericpeterson has joined #openstack-horizon23:45
zigoIt's looking like horizon has a build-conflict with a python package. I don't know which one yet, but I'll find out.23:48
zigoI know it's already build-conflicting with unittest2 ...23:48
*** chlong has joined #openstack-horizon23:50
*** ericpeterson has quit IRC23:51
*** annashen has joined #openstack-horizon23:52
*** ybathia has quit IRC23:59

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