Friday, 2016-03-25

*** _ducttape_ has quit IRC00:01
*** garthb has quit IRC00:15
*** neelashah has joined #openstack-horizon00:15
*** SimonChung has quit IRC00:26
*** ducttape_ has joined #openstack-horizon00:28
*** ducttape_ has quit IRC00:37
*** ediardo has quit IRC00:38
openstackgerritBrad Pokorny proposed openstack/horizon: Choose a server group when booting a VM  https://review.openstack.org/21761700:41
*** bpokorny_ has joined #openstack-horizon00:44
*** bpokorny has quit IRC00:47
*** neelashah has quit IRC00:48
*** bpokorny_ has quit IRC00:48
*** clu_ has quit IRC00:50
*** cshahani has quit IRC00:53
*** ducttape_ has joined #openstack-horizon00:53
*** cshahani has joined #openstack-horizon00:55
*** lhcheng_ has joined #openstack-horizon00:57
*** lhcheng has quit IRC01:00
*** zhurong has joined #openstack-horizon01:00
*** pushkaru has quit IRC01:16
*** Mounica has quit IRC01:22
*** ducttape_ has quit IRC01:24
*** piet has joined #openstack-horizon01:26
*** ducttape_ has joined #openstack-horizon01:27
*** Daisy has joined #openstack-horizon01:28
*** Daisy_ has joined #openstack-horizon01:29
*** ducttape_ has quit IRC01:30
*** Daisy_ has quit IRC01:30
*** Daisy_ has joined #openstack-horizon01:30
*** Daisy_ has quit IRC01:32
*** Daisy has quit IRC01:32
*** Daisy has joined #openstack-horizon01:32
*** ducttape_ has joined #openstack-horizon01:33
*** zzxwill has joined #openstack-horizon01:42
*** yamamoto_ has joined #openstack-horizon01:45
*** piet has quit IRC01:45
*** Daisy has quit IRC01:45
*** Daisy has joined #openstack-horizon01:45
*** Mounica has joined #openstack-horizon01:47
*** dan_nguyen has quit IRC01:47
*** Mounica has quit IRC01:48
*** Mounica has joined #openstack-horizon01:49
*** Mounica has quit IRC01:49
*** zzxwill has quit IRC01:49
*** Daisy has quit IRC01:50
*** zzxwill has joined #openstack-horizon01:52
*** lhcheng_ has quit IRC01:52
*** ducttape_ has quit IRC01:53
*** wangliwei has joined #openstack-horizon01:55
*** zzxwill_ has joined #openstack-horizon01:56
*** wangliwei has quit IRC01:56
*** zzxwill has quit IRC01:57
*** yamamoto_ has quit IRC02:01
*** zzxwill_ has quit IRC02:02
*** yamamoto_ has joined #openstack-horizon02:02
*** zzxwill has joined #openstack-horizon02:03
openstackgerritKenji Ishii proposed openstack/horizon: Fixing the position of tooltip on ng-create volume modal.  https://review.openstack.org/29748802:03
*** Daisy has joined #openstack-horizon02:12
*** wolverineav has quit IRC02:13
*** piet has joined #openstack-horizon02:26
*** Mounica has joined #openstack-horizon02:29
*** Mounica has quit IRC02:32
*** zzxwill has quit IRC02:33
*** wangbo has quit IRC02:36
*** zzxwill has joined #openstack-horizon02:41
*** lhcheng has joined #openstack-horizon02:41
*** ChanServ sets mode: +v lhcheng02:41
openstackgerritDavid Lyle proposed openstack/horizon: Fixing updating user with no default project  https://review.openstack.org/29730002:47
*** wangbo has joined #openstack-horizon02:48
*** yamamoto_ has quit IRC02:49
*** lblanchard has quit IRC02:51
*** Mounica has joined #openstack-horizon02:51
*** wangbo has quit IRC02:51
*** wangbo has joined #openstack-horizon02:52
*** gyee has quit IRC02:53
*** ducttape_ has joined #openstack-horizon02:56
*** wangbo has quit IRC02:59
*** Mounica has quit IRC03:00
*** chlong has quit IRC03:12
*** ducttape_ has quit IRC03:12
*** chlong has joined #openstack-horizon03:15
*** absubram has quit IRC03:18
*** neelashah has joined #openstack-horizon03:25
*** roxanaghe has joined #openstack-horizon03:25
*** neelashah has quit IRC03:27
*** fedexo has joined #openstack-horizon03:27
*** roxanaghe has quit IRC03:40
*** roxanaghe has joined #openstack-horizon03:41
*** yamamoto has joined #openstack-horizon03:44
*** wolverineav has joined #openstack-horizon03:48
*** k-ishii has quit IRC03:55
*** zzxwill has quit IRC03:59
*** zzxwill has joined #openstack-horizon04:00
*** shu-mutou is now known as shu-mutou-AFK04:05
*** k-ishii has joined #openstack-horizon04:07
*** Daisy has quit IRC04:09
*** Daisy has joined #openstack-horizon04:10
*** zzxwill has quit IRC04:14
*** Daisy has quit IRC04:18
*** ski1 has quit IRC04:29
*** ski1 has joined #openstack-horizon04:29
openstackgerritAnh Tran proposed openstack/horizon: Removes some redundant words  https://review.openstack.org/29750904:29
*** vgridnev has joined #openstack-horizon04:33
*** david_cu has quit IRC04:34
*** zzxwill has joined #openstack-horizon04:55
*** Daisy has joined #openstack-horizon04:57
*** wasmum has joined #openstack-horizon05:11
*** piet has quit IRC05:13
*** Daisy has quit IRC05:13
*** Daisy has joined #openstack-horizon05:14
*** ediardo has joined #openstack-horizon05:16
*** Daisy has quit IRC05:18
*** wangbo has joined #openstack-horizon05:28
*** Daisy has joined #openstack-horizon05:29
*** gberginc has joined #openstack-horizon05:30
*** roxanaghe has quit IRC05:32
*** roxanaghe has joined #openstack-horizon05:36
*** zzxwill has quit IRC05:40
*** Daisy has quit IRC05:41
*** Daisy has joined #openstack-horizon05:41
*** zzxwill has joined #openstack-horizon05:43
*** dratushnyy has joined #openstack-horizon05:44
*** vgridnev has quit IRC05:47
*** roxanaghe has quit IRC05:47
*** tmazur has joined #openstack-horizon05:50
*** zzxwill has quit IRC05:54
*** fedexo has quit IRC06:04
*** zzxwill has joined #openstack-horizon06:09
*** amotoki has joined #openstack-horizon06:11
*** Daisy_ has joined #openstack-horizon06:16
*** Daisy has quit IRC06:19
*** zzxwill has quit IRC06:27
*** lhcheng has quit IRC06:30
*** zzxwill has joined #openstack-horizon06:37
*** chlong has quit IRC06:45
*** zzxwill has quit IRC06:55
*** zzxwill has joined #openstack-horizon06:57
*** vishwanathj has joined #openstack-horizon07:01
*** zzxwill has quit IRC07:03
*** e0ne has joined #openstack-horizon07:06
*** vishwana_ has joined #openstack-horizon07:06
*** vishwana_ has quit IRC07:06
*** vishwanathj has quit IRC07:08
*** zzxwill has joined #openstack-horizon07:14
*** e0ne has quit IRC07:15
*** zzxwill has quit IRC07:24
*** wolverineav has quit IRC07:24
*** zzxwill has joined #openstack-horizon07:26
*** ediardo has quit IRC07:28
*** zzxwill has quit IRC07:29
*** kzaitsev_mb has joined #openstack-horizon07:30
*** zzxwill has joined #openstack-horizon07:31
*** x00350071_ has joined #openstack-horizon07:32
*** mpavlase has joined #openstack-horizon07:32
x00350071_hi guys, when i develop a new horizon plugin, how could i add the css into the horizon plugin?07:33
x00350071_i find the js could be added into the horizon plugin and the js is working, but the css file is not.07:34
x00350071_could someone help? thanks07:34
x00350071_i add js and css files like this. http://www.cnblogs.com/edisonxiang/p/5312167.html07:38
*** pcaruana has joined #openstack-horizon07:38
*** Daisy_ has quit IRC07:49
*** mpavlase has quit IRC07:51
*** Daisy has joined #openstack-horizon07:52
*** zzxwill has quit IRC07:55
*** Daisy has quit IRC07:57
*** liangbo has joined #openstack-horizon08:04
*** reedip is now known as reedip_away08:13
*** zzxwill has joined #openstack-horizon08:13
*** akulshin has joined #openstack-horizon08:14
*** SimonChung has joined #openstack-horizon08:16
*** SimonChung1 has joined #openstack-horizon08:18
*** lhcheng has joined #openstack-horizon08:19
*** ChanServ sets mode: +v lhcheng08:19
*** kzaitsev_mb has quit IRC08:19
*** SimonChung has quit IRC08:21
*** kzaitsev_mb has joined #openstack-horizon08:22
*** lhcheng has quit IRC08:24
*** zzxwill has quit IRC08:27
openstackgerritShan Guo proposed openstack/horizon: Add a workflow step to change VIP security group  https://review.openstack.org/29757108:31
*** liangbo has quit IRC08:35
*** zzxwill has joined #openstack-horizon08:35
*** kzaitsev_mb has quit IRC08:39
*** x00350071 has joined #openstack-horizon08:58
*** zzxwill has quit IRC09:00
*** dratushnyy has quit IRC09:00
*** zhurong has quit IRC09:01
*** x00350071_ has quit IRC09:01
*** zzxwill has joined #openstack-horizon09:02
*** dratushnyy has joined #openstack-horizon09:04
*** openstackstatus has joined #openstack-horizon09:08
*** ChanServ sets mode: +v openstackstatus09:08
*** dratushnyy has quit IRC09:11
*** ygbo has joined #openstack-horizon09:11
openstackgerritGeorgy Dyuldin proposed openstack/horizon: Fix CheckBoxMixin:is_marked behavior  https://review.openstack.org/29758709:11
*** zzxwill has quit IRC09:17
*** zzxwill has joined #openstack-horizon09:20
*** gberginc has quit IRC09:20
*** gberginc has joined #openstack-horizon09:21
*** gberginc has quit IRC09:21
pkarikhx00350071_: hi! Please take a look at plugin file structure here:  http://docs.openstack.org/developer/horizon/tutorials/plugin.html09:22
pkarikhespecially on the 'static' dir09:22
*** wolverineav has joined #openstack-horizon09:25
openstackgerritGeorgy Dyuldin proposed openstack/horizon: Fix CheckBoxMixin:is_marked behavior  https://review.openstack.org/29758709:26
*** zzxwill has quit IRC09:27
*** wolverineav has quit IRC09:30
*** tmazur has quit IRC09:38
*** tsufiev has quit IRC09:39
*** zzxwill has joined #openstack-horizon09:39
*** zzxwill has quit IRC09:39
*** tsufiev has joined #openstack-horizon09:41
*** ChanServ sets mode: +v tsufiev09:41
openstackgerritMerged openstack/horizon: minor ng launch instance cleanup - remove unused css styles  https://review.openstack.org/29681409:50
x00350071thanks pkarikh10:03
*** yamamoto has quit IRC10:03
pkarikhnp10:05
*** e0ne has joined #openstack-horizon10:11
*** schipiga has joined #openstack-horizon10:25
*** JeanBriceCombebi has joined #openstack-horizon10:26
*** lhcheng has joined #openstack-horizon10:32
*** ChanServ sets mode: +v lhcheng10:32
*** lhcheng has quit IRC10:37
openstackgerritShan Guo proposed openstack/horizon: Add a workflow step to change VIP security group  https://review.openstack.org/29757110:39
openstackgerritTimur Sufiev proposed openstack/horizon: Fix opening multiple Launch Instance during jQuery table polling  https://review.openstack.org/29711010:39
tsufievrobcresswell, I think I've found what caused Launch Instance modal to be opened more than one time ^^10:41
*** JeanBriceCombebi has quit IRC10:45
*** JeanBriceCombebi has joined #openstack-horizon10:51
openstackgerritShan Guo proposed openstack/horizon: Add a workflow step to change VIP security group  https://review.openstack.org/29757110:52
*** JeanBriceCombebi has quit IRC10:56
*** kzaitsev_mb has joined #openstack-horizon11:06
*** Daisy has joined #openstack-horizon11:14
*** Daisy has quit IRC11:18
openstackgerritGeorgy Dyuldin proposed openstack/horizon: Fix CheckBoxMixin:is_marked behavior  https://review.openstack.org/29758711:19
*** kzaitsev_mb has quit IRC11:24
*** wolverineav has joined #openstack-horizon11:26
*** wangbo has quit IRC11:27
*** mpavlase has joined #openstack-horizon11:28
*** wolverineav has quit IRC11:31
*** yamamoto_ has joined #openstack-horizon11:35
*** yamamot__ has joined #openstack-horizon11:35
*** aortega has quit IRC11:37
*** kzaitsev_mb has joined #openstack-horizon11:37
*** aortega has joined #openstack-horizon11:37
*** yamamoto_ has quit IRC11:39
*** yamamot__ has quit IRC11:42
*** yamamoto_ has joined #openstack-horizon11:46
*** yamamoto_ has quit IRC11:55
*** yamamoto_ has joined #openstack-horizon11:56
*** yamamoto_ has quit IRC12:01
*** zhurong has joined #openstack-horizon12:01
openstackgerritTimur Sufiev proposed openstack/horizon: Fix opening multiple Launch Instance during jQuery table polling  https://review.openstack.org/29711012:07
openstackgerritTatiana Ovchinnikova proposed openstack/horizon: [Trivial] Wrong policy for Heat resource type details  https://review.openstack.org/29694912:09
*** ducttape_ has joined #openstack-horizon12:11
*** aortega has quit IRC12:17
*** lapalm has joined #openstack-horizon12:24
*** wolverineav has joined #openstack-horizon12:28
*** ducttape_ has quit IRC12:32
*** wolverineav has quit IRC12:33
openstackgerritTomonobu Niwa proposed openstack/horizon: "Clear Selection" is unlocalzed  https://review.openstack.org/29765312:37
*** matt-borland has joined #openstack-horizon12:41
matt-borlandtsufiev, just waking up and catching up with the bug tracking12:43
tsufiev matt-borland, morning! I think that the latest patchset solves it12:43
tsufievthere was an issue with each compile pass spawning new click handlers for ng-click12:44
matt-borlandawesome...you note that "$table.find('ng-click').off();" didn't work...did you need an @sign in front of the ng-click?12:44
tsufievthat was my mistake12:44
matt-borlandok, cool, I'll test the solution12:45
tsufievI forgot that it should be find('[ng-click'])12:45
tsufievsince it's an attribute, not tag12:45
matt-borlandright, [] :)12:45
*** david-lyle has quit IRC12:45
*** yamamoto has joined #openstack-horizon12:49
matt-borlandtsufiev, that seems to work!  Thanks for tracking that down.12:52
tsufiev\o/12:55
tsufievseems that we won't have to revert new LI :)12:55
tsufievmatt-borland, do you think that there are other events/directives I had missed?12:57
*** zhurong has quit IRC12:58
matt-borlandHm, tsufiev, really the only places are those where we launch instances.  What about from the instances page itself?13:00
matt-borlandInstances, Images, Volumes, Volume Snapshots...I think those are the only places that can perform that modal launch.13:01
tsufievwell, I suppose all these places should be covered with the fix13:02
* tsufiev finds it reasonable when developer doesn't test his code for failures aggressively13:03
*** piet has joined #openstack-horizon13:04
*** amotoki has quit IRC13:05
openstackgerritMatt Borland proposed openstack/horizon: Move magic-search bar out of the smart-table structure  https://review.openstack.org/29729113:11
matt-borlandtsufiev, I'm having a horrible time getting https://review.openstack.org/#/c/290041/ and https://review.openstack.org/#/c/290738/ through the gate.  I don't see how it can be the content that causes it.13:12
*** neelashah has joined #openstack-horizon13:12
matt-borlandit seems after a certain fail rate, a deeper problem must be afoot.13:12
tsufievlemme look into dsvm failures...13:13
matt-borlandnpm ERR! weird error 1 / Error: ENOENT, lstat '/home/jenkins/tmp/npm-7713-baLcfVcH/1458860054642-0.8489224568475038/package/index.js'13:14
openstackgerritPaul Karikh proposed openstack/horizon: Improve quota unit tests coverage  https://review.openstack.org/28539013:14
*** jtriley has joined #openstack-horizon13:14
tsufievmatt-borland, could it be unfamous leftpad npm issue?13:15
tsufiev*could it be13:15
matt-borlandtsufiev, it could be, I just hate to blame it first if other jobs are passing13:15
tsufievmatt-borland, http://logs.openstack.org/41/290041/6/gate/gate-horizon-dsvm-integration/3067293/console.html#_2016-03-24_20_31_31_60013:15
tsufievseems that something is wrong with devstack itself13:15
tsufievmatt-borland, the best option I could offer right now is reverify13:16
tsufievthis kind of timeout errors is extremely difficult to debug :(13:16
matt-borlandthat's what I'll do...I agree that it doesn't look code-related, since mostly I'm modifying comments.13:16
tsufievgiven the number of layers of logic involved13:16
matt-borlandthanks! :)13:17
*** jtriley has quit IRC13:19
*** yamamoto has quit IRC13:19
matt-borlandrobcresswell, I assume you're busy, but did you have any more comments/things to consider when moving magic-search out of the table?  Also, concerned that clu's patch inserts a search bar into every table.13:21
*** yamamoto has joined #openstack-horizon13:21
* matt-borland realizes rob's away13:23
tsufievmatt-borland, yeah, he hasn't been here since morning13:28
matt-borlandnp.  tsufiev, you ready for Austin?  I still need to get my plane ticket.13:28
*** k-ishii has quit IRC13:28
*** yamamoto has quit IRC13:28
tsufievmatt-borland, err... no :/. Not this time13:29
*** yamamoto has joined #openstack-horizon13:29
matt-borlandoh no! :*(13:29
*** wolverineav has joined #openstack-horizon13:30
*** jtriley has joined #openstack-horizon13:32
*** wolverineav has quit IRC13:34
*** piet has quit IRC13:34
*** yamamoto has quit IRC13:34
*** piet has joined #openstack-horizon13:34
zigorobcresswell: tsufiev: I've found out that the "Launch instance" in fact works perfectly in Sid, it's just in the backports that it doesn't, so I just need to upgrade one of the libjs packages.13:41
zigoI also "just" need to find out which one! :)13:41
zigorobcresswell: tsufiev: https://gist.github.com/amrith/2f1835ae890dac88ff20 <--- First line is upstream, 2nd line is me in Jessie. If you happen to second-guess which components needs upgrade to fix the launch instance, let me know.13:42
zigoOtherwise, I'll try to upgrade each libjs package one by one until it works ...13:42
tsufievzigo, we still have some issues with New Launch instance we hope to backport to RC2 for M13:42
zigoAh no, it doesn't work in Sid either... :(13:42
zigotsufiev: Oh, good to know.13:43
zigotsufiev: It appears empty for me. Ie, I can click on next and back, the tab on the left is changing, but I can't see any content on the right.13:43
zigotsufiev: Is this the bug?13:43
tsufievzigo, no, that's something different13:43
tsufievmatt-borland, ring any bells ^^^?13:44
*** zhurong has joined #openstack-horizon13:44
matt-borlandah, first thing is to open up the JavaScript debugger window; most likely there's an error when redering content for the right hand side of the modal13:45
matt-borlandof course it will be some AngularJS nonsense13:45
openstackgerritMatt Borland proposed openstack/horizon: Add Magic Search client side filtering NG Images  https://review.openstack.org/21743713:46
*** masco has joined #openstack-horizon13:48
*** pushkaru has joined #openstack-horizon13:48
*** yamamoto has joined #openstack-horizon13:49
zigotsufiev: This doesn't look good for me then... :(13:51
zigotsufiev: I can't see any error in my JS console btw.13:51
zigoHum... I don't have security groups or glance installed.13:52
zigoCould it be the reason?13:52
*** absubram has joined #openstack-horizon13:52
*** absubram_ has joined #openstack-horizon13:54
zigoWhere are the security groups taken from ? Neutron endpoint ?13:54
* zigo will try to also install neutron-server to see...13:54
*** absubram has quit IRC13:57
*** absubram_ is now known as absubram13:57
*** ducttape_ has joined #openstack-horizon13:59
*** piet has quit IRC14:02
*** yamamoto has quit IRC14:07
*** yamamoto has joined #openstack-horizon14:09
*** yamamoto has quit IRC14:09
zigoOh, I have some 404 for some html files...14:16
zigo/horizon/static/dashboard/project/workflow/launch-instance/flavor/flavor.html HTTP/1.1" 40414:16
zigoSounds like I found the issue! :P14:16
matt-borlandlooks like a static url problem?14:17
*** masco has quit IRC14:18
zigomatt-borland: I haven't dropped the files in the correct location! :P14:18
matt-borlandoh!  heh :)14:19
*** piet has joined #openstack-horizon14:21
openstackgerritLucas Palm proposed openstack/horizon: Add the Snapshots tab on the Volume Details page  https://review.openstack.org/27046114:26
*** aortega has joined #openstack-horizon14:29
*** zhurong has quit IRC14:32
openstackgerritTomonobu Niwa proposed openstack/horizon: "Clear Selection" is unlocalzed  https://review.openstack.org/29770414:33
*** yamamoto has joined #openstack-horizon14:42
*** dan_nguyen has joined #openstack-horizon14:45
zigoLaunch instance works now in Sid.14:46
zigo(at least, it shows up with the html)14:46
*** aortega has quit IRC14:48
matt-borlandawesome, zigo!14:49
zigoI still would like to understand why openstack_dashboard/dashboards/project/static/dashboard/project were not automatically installed... :/14:50
matt-borlandthat is...strange14:51
*** aortega has joined #openstack-horizon14:51
tsufievzigo, are you still symlinking /usr/share/openstack-dashboard/static to /usr/share/openstack-dashboard/openstack_dashboard/static?14:52
zigotsufiev: Yup.14:52
tsufievcould it be the case?14:52
zigoNo.14:52
tsufievokay )14:52
zigoNothing to do with it...14:53
tsufievstill this particular symlink smells bad to me14:53
zigoLet's not restart the discussion ! :)14:53
tsufievokay, never mind :)14:53
zigotsufiev: Do you know what JS component makes the launch instance box to grow from a line into a rectangle?14:54
zigo(ie: the transition effect...)14:55
matt-borlandI think it's part of the AngularUI/Bootstrap modal handling, if I know what you mean.14:57
dani_castellanosHi all o/.. I think I got this one working: https://review.openstack.org/#/c/295964/ I could use more feedback :)15:00
*** ediardo has joined #openstack-horizon15:01
tsufievzigo, https://pypi.python.org/pypi/XStatic-Angular-Bootstrap/0.11.0.215:02
*** weezS has joined #openstack-horizon15:02
zigotsufiev: Thanks a lot.15:02
zigoWill try that.15:02
*** garthb has joined #openstack-horizon15:03
tsufievmatt-borland, https://review.openstack.org/#/c/290738/ very weird indeed! failure on the same job15:05
tsufievcould it be the real linter failure?15:05
tsufievperhaps npm environment on gate job is different from the one in check job?15:05
matt-borlandit's possible.15:05
matt-borlandbut other things would fail too...15:06
tsufievmatt-borland, I would ask infra guys about that. You know, it looks like the same patch is being reverified again and again on the same crappy Jenkins node15:06
matt-borlandok, sounds good15:07
tsufievit's just my speculation15:07
tsufievuse with care :)15:07
*** electrocucaracha has joined #openstack-horizon15:07
zigotsufiev: angular-boostrap is one of the few packages for which I do *not* de-embedd the libjs component.15:08
zigotsufiev: So it shouldn't be that one which has an issue.15:08
tsufievzigo, well, it could be xstatic-angular either15:08
zigotsufiev: I already tried upgrading to the Sid version, it didn't help.15:09
zigoNever mind, I'll try to find out later, I need to run now...15:11
*** electrocucaracha has left #openstack-horizon15:13
*** TravT has quit IRC15:16
*** yamamoto has quit IRC15:17
ygbotsufiev: Hi, may I ask you a few questions regarding https://review.openstack.org/#/c/230434/ ?15:18
tsufievygbo, sure! It's stalled right now on Glance feature completion15:18
*** TravT has joined #openstack-horizon15:19
*** ChanServ sets mode: +v TravT15:19
ygbotsufiev: do you mean that it needs some feture from glance itsself?15:19
ygbos/feture/feature/15:19
tsufievygbo, yes, when we upload file to glance it's wrapped into form/multipart-data mime envelope, so Glance needs to un-wrap it15:19
*** pumarani__ has joined #openstack-horizon15:19
tsufievwhich it doesn't'15:19
ygbotsufiev: o, ok, I see.15:20
ygbotsufiev: is there not a possibility do just do a normal glance upload from the JS (with CORS enabled)?15:20
tsufievwhat do you mean by 'normal upload'?15:21
*** vijendar has joined #openstack-horizon15:21
*** pushkaru has quit IRC15:21
*** Daisy has joined #openstack-horizon15:22
tsufievygbo, Django web app and Glance app have different expectations on how files are transferred via HTTP15:22
ygbotsufiev: the same kind of request as the one performed via "glance image-upload""15:22
tsufievI'm afraid not15:22
ygbotsufiev: I mean via the javascript15:22
tsufievI could coerce the browser to not wrap an image into mime envelope15:23
tsufiev*could not15:23
ygbotsufiev: it's possible to replace the glance client via a curl command, so I was wondering if JS could alos do the same15:23
ygbotsufiev: is it a JS limitation?15:23
tsufievcurl != JS15:23
tsufievit's a browser security limitation15:23
*** weezS has quit IRC15:23
ygbotsufiev: Ok, that's what I wanted to know :-)15:23
tsufievyeah, things are tricky once you're in browser :/15:24
tsufievygbo, well, you're welcome to find a workaround for that, but I haven't managed to do this15:24
ygbotsufiev: so if I understand, CORS is not enough, JS sends only in form/multipart-data and so wee need glance to un-wrap that15:24
*** vijendar has left #openstack-horizon15:24
tsufievygbo, yes, exactly15:25
tsufievbtw, we tried another approach of using Transfer-Encoding: chunked15:25
tsufievthis way we could have sent large file split into chunks sent as plain strings (with above header) and not wrap it into multipart/form-data envelope15:26
tsufievbut it happened to be restricted by browser security policies15:26
tsufievI mean, it didn't allow us to set Transfer-Encoding header15:26
*** Daisy has quit IRC15:26
*** Mounica has joined #openstack-horizon15:26
ygbotsufiev: ok, thanks for the info15:26
tsufievyou're welcome :)15:27
*** clu_ has joined #openstack-horizon15:29
*** ChanServ sets mode: +v clu_15:29
*** neelashah1 has joined #openstack-horizon15:29
*** bpokorny has joined #openstack-horizon15:30
*** wolverineav has joined #openstack-horizon15:31
*** neelashah has quit IRC15:31
openstackgerritMerged openstack/horizon: Cleaning code to remove eslint warnings from Launch Instance  https://review.openstack.org/29004115:32
*** Mounica has quit IRC15:32
*** weezS has joined #openstack-horizon15:32
*** TravT_ has joined #openstack-horizon15:33
*** ChanServ sets mode: +v TravT_15:33
*** TravT has quit IRC15:33
*** neelashah has joined #openstack-horizon15:33
*** david-lyle has joined #openstack-horizon15:34
*** ChanServ sets mode: +o david-lyle15:34
*** neelashah1 has quit IRC15:34
*** wolverineav has quit IRC15:35
*** TravT has joined #openstack-horizon15:36
*** ChanServ sets mode: +v TravT15:36
*** weezS has quit IRC15:36
openstackgerritRob Cresswell proposed openstack/horizon: Use breadcrumb nav across Horizon  https://review.openstack.org/28442115:37
openstackgerritRob Cresswell proposed openstack/horizon: Improve Horizon nav sidebar  https://review.openstack.org/29773315:37
*** vishwanathj has joined #openstack-horizon15:38
*** TravT_ has quit IRC15:38
*** david-lyle_ has joined #openstack-horizon15:38
matt-borlandtsufiev, that one eslint patch merged15:38
matt-borlandI'll just reverify the other one15:38
*** david-lyle has quit IRC15:38
*** david-lyle_ is now known as david-lyle15:39
*** ChanServ sets mode: +o david-lyle15:39
openstackgerritMatt Borland proposed openstack/horizon: Cleaning up eslint warnings in the openstack-service-api directory  https://review.openstack.org/29073815:41
openstackgerritPaul Karikh proposed openstack/horizon: Remove admin role name 'admin' hardcode  https://review.openstack.org/12374115:42
tsufievmatt-borland, \o/15:42
matt-borlandAlthough, as I rebased it I realize I killed the +W :)15:42
tsufievfixed15:43
matt-borlandthx tsufiev!15:43
*** peristeri has joined #openstack-horizon15:43
*** Mounica has joined #openstack-horizon15:46
*** TravT has quit IRC15:47
*** TravT has joined #openstack-horizon15:48
*** ChanServ sets mode: +v TravT15:48
openstackgerritRob Cresswell proposed openstack/horizon: Fix incorrect breadcrumb on Admin > Details  https://review.openstack.org/29696415:50
openstackgerritRob Cresswell proposed openstack/horizon: Fix incorrect breadcrumb on Admin > Details  https://review.openstack.org/29696415:51
*** weezS has joined #openstack-horizon15:53
*** gyee has joined #openstack-horizon15:55
*** roxanaghe has joined #openstack-horizon15:57
openstackgerritRob Cresswell proposed openstack/horizon: Follow up on detail title fix  https://review.openstack.org/29774315:57
*** akulshin has quit IRC15:59
*** kzaitsev_mb has quit IRC16:05
*** piet has quit IRC16:06
*** bpokorny has quit IRC16:07
*** bpokorny has joined #openstack-horizon16:08
*** pcaruana has quit IRC16:11
*** wolverineav has joined #openstack-horizon16:12
*** SimonChung1 has quit IRC16:14
*** roxanaghe has quit IRC16:15
*** piet has joined #openstack-horizon16:16
*** yamamoto has joined #openstack-horizon16:17
*** roxanaghe has joined #openstack-horizon16:18
robcresswelldavid-lyle: I've noticed a couple of patches recently adding policy checks to the panels for whether the user can list a resource. To me this feels like it may be incorrect; you don't need a list to able to create for example, and those are different policies.16:18
robcresswelldavid-lyle: thoughts?16:18
*** roxanaghe has quit IRC16:22
*** roxanaghe has joined #openstack-horizon16:24
*** neelashah1 has joined #openstack-horizon16:27
robcresswelllapalm: Is doug around? Cant find him on IRC :)16:27
lapalmrobcresswell: He took the day off today.16:27
lapalmLucky guy huh16:28
*** yamamoto has quit IRC16:28
robcresswellAh okay16:28
*** neelashah has quit IRC16:28
*** Mounica has quit IRC16:31
robcresswelllapalm: I know he has a vested interest in translatability so just wanted to point out a number of fairly trivial translation bugs in Mitaka.16:32
robcresswellNot entirely clear to me how we proceed in relation to RC2 with fixing missing translations. Its not new translatable content, but one or two missing lines or titles from existing content.16:33
*** schipiga has quit IRC16:33
robcresswellBut its still technically "new translatable strings" so would normally not be able to backport.16:33
lapalmrobcresswell: Good questions for Doug.16:34
*** Mounica has joined #openstack-horizon16:42
*** clu_ has quit IRC16:47
*** mpavlase has quit IRC16:56
*** garthb_ has joined #openstack-horizon16:57
*** SimonChung has joined #openstack-horizon16:57
*** wolverineav has quit IRC16:57
*** garthb has quit IRC17:00
*** garthb_ has quit IRC17:02
*** ygbo has quit IRC17:07
*** ducttape_ has quit IRC17:09
*** clu_ has joined #openstack-horizon17:11
*** ChanServ sets mode: +v clu_17:11
*** mpavlase has joined #openstack-horizon17:11
*** clu_ has quit IRC17:16
*** e0ne has quit IRC17:19
*** wolverineav has joined #openstack-horizon17:20
*** clu_ has joined #openstack-horizon17:27
*** ChanServ sets mode: +v clu_17:27
openstackgerritLucas Palm proposed openstack/horizon: Fixed the Volume Type and QoS specs table size issues  https://review.openstack.org/26603017:29
*** SimonChung1 has joined #openstack-horizon17:34
*** SimonChung has quit IRC17:36
tsufievdavid-lyle, I have some concerns about reinventing the wheel here https://bugs.launchpad.net/horizon/+bug/1426415 :/... Wouldn't it be easier to reuse oslo.policy machinery?17:41
openstackLaunchpad bug 1426415 in OpenStack Dashboard (Horizon) "policy should support AND and OR checks for panels" [Medium,In progress] - Assigned to Dmitry Ratushnyy (dratushnyy)17:41
*** ducttape_ has joined #openstack-horizon17:41
tsufievmore specifically, to create another policies file - this time for dashboard, where dashboard rules would combine existing service policies using AND and OR (which oslo.policy supports)?17:42
david-lyletsufiev: which part are we reinventing?17:42
tsufievAND and OR17:42
tsufievI'm speaking about https://review.openstack.org/#/c/175982/17:43
tsufievthe proposed syntax... isn't it confusing?17:43
tsufiev(P1, P2,) expands to P1 OR P2 results as True.17:44
tsufiev([P1, P2],) expands to P1 AND P2 results as False.17:44
tsufiev(P1, [P3, P4],)expands to P1 OR (P3 AND P4) results True.17:44
david-lyleoslo.policy supports AND and OR in policy files17:44
david-lylewe're tying in at the enforce level17:44
tsufievmeaning that we reimplementing the part of enforcer17:45
tsufievwhere certain combinations of lists evaluate to AND or OR17:45
tsufievmy point is that it's clearer to write AND/ OR explicitly17:46
david-lyletsufiev: write it where?17:47
tsufievin policy file for dashboard17:47
david-lylewell, if we write a policy file for dashboard how do we load in the rules for the other services?17:48
tsufievwe'll load policy file for dashboard along with policy files for other services17:48
david-lyletsufiev: I'm not in a rush for that patch, maybe a conversation at the summit would be easier?17:49
david-lyleoops17:49
david-lylenevermind17:49
david-lylesorry17:49
tsufievyes :)17:49
david-lyleI'm not sure how to daisy chain policy files17:49
tsufievokay, I'll try to expand my POV in gerrit's comments17:49
david-lylebut pulling out the specific policy rules into a dashboard specific file would be great17:50
david-lylejust have to figure out how to tie the pieces together17:50
tsufievwell, perhaps it's not possible technically, but I definitely sense some overengineering in the linked patch17:51
david-lylelet me consider the wiring17:51
*** piet has quit IRC17:51
david-lyleproblem is we're going to have to support some backward compatibility moving forward17:51
david-lyledefinitely worth looking into17:51
tsufievoh17:51
tsufievit's never easy17:51
david-lylewell policy is in d-o-a17:52
david-lyleI support we could do a major revision17:52
david-lyle*suppose17:52
david-lyleand just fix it17:52
david-lylelet me think about that wiring, because having the policy rule combinations in a dashboard policy file is actually flexible17:53
tsufievyeah... looking at https://github.com/openstack/horizon/tree/master/openstack_dashboard/conf seems like we have policy syntaxes there from different epoches17:53
david-lyleI'll have to re-dig into policy17:53
tsufievhttps://github.com/openstack/horizon/blob/master/openstack_dashboard/conf/keystone_policy.json seems most up to date17:53
* david-lyle was trying to forget17:53
tsufievI remember we had some talk with lhcheng about single point of authority (Keystone) for all policies17:54
tsufievbut I recall that at that time Keystone/other services weren't ready17:54
* tsufiev wonders if situation changed as 6 months passed17:55
david-lyletsufiev: it's still a conversation17:55
tsufiev:(17:56
*** ybathia has joined #openstack-horizon17:56
david-lyleI'm hoping having more time I can help that effort17:57
david-lyleit's long overdue17:57
*** SimonChung has joined #openstack-horizon18:03
*** SimonChung1 has quit IRC18:03
*** ying_zuo has joined #openstack-horizon18:13
*** piet has joined #openstack-horizon18:14
openstackgerritYing Zuo proposed openstack/horizon: Show instance lock/unlock actions based on the locked status  https://review.openstack.org/27284118:14
*** pumarani__ has quit IRC18:15
*** pushkaru has joined #openstack-horizon18:15
*** ying_zuo has quit IRC18:18
*** kzaitsev_mb has joined #openstack-horizon18:18
*** SimonChung has quit IRC18:21
*** SimonChung1 has joined #openstack-horizon18:21
*** pushkaru has quit IRC18:25
robcresswell379 more bugs to triage.18:31
* robcresswell is slowly making progress18:32
*** clu_ has quit IRC18:32
*** peristeri has quit IRC18:41
*** pjm9 has joined #openstack-horizon18:42
pjm9Hi there18:42
*** pjm9 is now known as pjm618:42
pjm6i'm trying to implement an ajax18:42
pjm6that fetch me data after a choice of the selectbox18:44
pjm6there is a example of best practices in how to do it? I was trying to find something that was implement already in the openstack and didn't find it18:44
pjm6or there is another way do dynamically adjust the data when i'm changing it?18:44
pjm6right now i'm having ChoiceFields and fetching the all the data from the DB and passing it to the context data18:47
robcresswellpjm6: If you look into the Create Network code there's some switchable fields. That may help.18:48
pjm6hmm that execute code in the server side?18:49
robcresswellNothing to stop you adding an API call18:50
pjm6robcresswell, thanks I will see it. But the API call works in ajax way18:51
pjm6or its necessary to go to server again?18:51
robcresswellNot entirely sure what you mean :) If you're making an AJAX request, I'm assuming you're already hitting a server.18:52
*** roxanaghe has quit IRC18:52
pjm6yes forgot what I say, I will look at it =)18:53
pjm6What I need is to make a View that return the data in json, I think18:54
pjm6what i was talking about was something like that, but instead change the components was getting data from the database (via REST for example) and then update the ChoiceField with the data19:01
pjm6an example19:01
pjm6ChoiceField => Countries19:01
pjm6after I select one19:01
pjm6i will show: ChoiceField => Cities19:02
pjm6and only the records of cities that belong to the countries19:02
robcresswellpjm6: I think you want something along these lines, then: https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/networks/workflows.py#L23019:07
robcresswellI *think* the handling around this data is done similarly to what you are requesting19:08
pjm6yes I have that now19:08
pjm6but the problem is that to filter the data to show, I think I have to do it via ajax19:08
pjm6and that code is executed once per load, right?19:09
robcresswellTrying to think of examples of this type of thing within Horizon19:11
robcresswellI just tore down my stack, dammit.19:11
robcresswellCan't think of anything off the top of my head, and I'm about done for the day. If you're still stuck on Monday, shoot me a ping and I'll work through it with you.19:13
robcresswellThats about the best I can do right now I'm afraid :)19:14
pjm6thanks robcresswell, have a nice day =)19:14
pjm6i will searching more to see if I find anything19:14
pjm6and I tell you if I find something I will let you now =)19:14
pjm6*know19:14
*** e0ne has joined #openstack-horizon19:20
*** kzaitsev_mb has quit IRC19:35
*** vgridnev has joined #openstack-horizon19:36
openstackgerritMatt Borland proposed openstack/horizon: Move magic-search bar out of the smart-table structure  https://review.openstack.org/29729119:36
*** lhcheng has joined #openstack-horizon19:36
*** lapalm has quit IRC19:40
openstackgerritMatt Borland proposed openstack/horizon: Move magic-search bar out of the smart-table structure  https://review.openstack.org/29729119:42
*** gyee has quit IRC19:42
*** e0ne has quit IRC19:44
*** Mounica has quit IRC19:44
*** e0ne has joined #openstack-horizon19:46
*** ankurgupta1 has left #openstack-horizon19:51
*** ybathia has quit IRC19:56
*** clu_ has joined #openstack-horizon20:02
*** ChanServ sets mode: +v clu_20:02
*** pushkaru has joined #openstack-horizon20:08
*** bpokorny has quit IRC20:12
*** e0ne has quit IRC20:14
*** tqtran has joined #openstack-horizon20:14
*** roxanaghe has joined #openstack-horizon20:22
*** Mounica has joined #openstack-horizon20:33
*** piet has quit IRC20:35
*** ybathia has joined #openstack-horizon20:56
openstackgerritMerged openstack/horizon: Cleaning up eslint warnings in the openstack-service-api directory  https://review.openstack.org/29073820:57
*** Mounica has quit IRC20:58
*** ducttape_ has quit IRC21:00
*** dan_nguyen has quit IRC21:01
*** Mounica has joined #openstack-horizon21:02
*** david-lyle_ has joined #openstack-horizon21:08
*** david-lyle has quit IRC21:08
*** kzaitsev_mb has joined #openstack-horizon21:11
*** david-lyle has joined #openstack-horizon21:13
*** ChanServ sets mode: +o david-lyle21:13
*** pushkaru has quit IRC21:14
*** pumarani__ has joined #openstack-horizon21:14
*** david-lyle_ has quit IRC21:14
*** dan_nguyen has joined #openstack-horizon21:26
*** matt-borland has quit IRC21:28
*** mpavlase has left #openstack-horizon21:29
*** roxanaghe has quit IRC21:44
*** roxanaghe has joined #openstack-horizon21:47
pjm6I already make the REST API in horizon to give me the necessary data21:55
pjm6but I can't inject javascript code in my template21:55
pjm6i'm loading a modal form21:55
pjm6and inside that model template I have {% block js %}21:55
pjm6with the code21:55
pjm6if I access page by URL works fine21:55
pjm6but if the page is loaded via ajax don't work21:55
*** ediardo has quit IRC21:55
pjm6anyone have a clue?21:55
*** ArcTanSusan has joined #openstack-horizon21:57
*** lhcheng has quit IRC22:02
*** jtriley has quit IRC22:04
*** lhcheng has joined #openstack-horizon22:08
*** jtriley has joined #openstack-horizon22:26
*** dan_nguyen has quit IRC22:27
*** vgridnev has quit IRC22:33
*** neelashah1 has quit IRC22:35
*** dan_nguyen has joined #openstack-horizon22:41
*** pumarani__ has quit IRC22:42
*** ducttape_ has joined #openstack-horizon22:54
*** vgridnev has joined #openstack-horizon22:55
*** jtriley has quit IRC22:55
*** pushkaru has joined #openstack-horizon22:56
*** vgridnev has quit IRC22:56
*** garthb has joined #openstack-horizon22:58
*** ArcTanSusan has quit IRC23:00
*** pushkaru has quit IRC23:01
*** pushkaru has joined #openstack-horizon23:02
*** garthb has quit IRC23:05
*** piet has joined #openstack-horizon23:06
*** lhcheng has quit IRC23:14
*** ybathia has left #openstack-horizon23:20
*** piet has quit IRC23:21
*** lhcheng has joined #openstack-horizon23:24
*** lhcheng has quit IRC23:24
*** dhellmann has quit IRC23:24
*** lhcheng has joined #openstack-horizon23:24
*** pushkaru has quit IRC23:25
*** ArcTanSusan has joined #openstack-horizon23:33
*** lhcheng has quit IRC23:34
*** pjm9 has joined #openstack-horizon23:35
*** pjm6 has quit IRC23:38
*** ppiela has quit IRC23:47
*** ducttape_ has quit IRC23:55
*** Mounica has quit IRC23:59

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