Wednesday, 2016-07-20

*** btully has joined #openstack-horizon00:00
*** bpokorny has quit IRC00:02
*** btully has quit IRC00:05
*** dan_nguyen has quit IRC00:07
*** zhurong has quit IRC00:07
*** jtriley has joined #openstack-horizon00:21
*** sdake_ has quit IRC00:28
*** clu_ has quit IRC00:33
*** tqtran has quit IRC00:37
*** jtriley has quit IRC00:37
*** wolverin_ has joined #openstack-horizon00:52
*** xiong has quit IRC00:54
*** wolverineav has quit IRC00:55
*** wolverin_ has quit IRC00:59
*** dan_nguyen has joined #openstack-horizon01:03
*** shu-mutou has joined #openstack-horizon01:08
openstackgerritMerged openstack/xstatic-angular-cookies: Add basic tox.ini file  https://review.openstack.org/34440401:11
openstackgerritMerged openstack/xstatic-spin: Add .gitreview file  https://review.openstack.org/34442701:12
openstackgerritMerged openstack/xstatic-spin: Add basic tox.ini file  https://review.openstack.org/34442801:12
*** zhurong has joined #openstack-horizon01:13
openstackgerritMerged openstack/xstatic-qunit: Add .gitreview file  https://review.openstack.org/34442501:13
openstackgerritMerged openstack/xstatic-qunit: Add basic tox.ini file  https://review.openstack.org/34442601:13
openstackgerritMerged openstack/xstatic-jquery.tablesorter: Add .gitreview file  https://review.openstack.org/34442301:13
openstackgerritMerged openstack/xstatic-jquery.tablesorter: Add basic tox.ini file  https://review.openstack.org/34442401:13
openstackgerritMerged openstack/xstatic-jquery.quicksearch: Add .gitreview file  https://review.openstack.org/34442101:14
openstackgerritMerged openstack/xstatic-jquery.quicksearch: Add basic tox.ini file  https://review.openstack.org/34442201:14
openstackgerritMerged openstack/xstatic-jquery-migrate: Add .gitreview file  https://review.openstack.org/34441901:14
openstackgerritMerged openstack/xstatic-hogan: Add .gitreview file  https://review.openstack.org/34441701:14
openstackgerritMerged openstack/xstatic-hogan: Add basic tox.ini file  https://review.openstack.org/34441801:15
openstackgerritMerged openstack/xstatic-angular-sanitize: Add .gitreview file  https://review.openstack.org/34441501:15
openstackgerritMerged openstack/xstatic-angular-sanitize: Add basic tox.ini file  https://review.openstack.org/34441601:15
openstackgerritMerged openstack/xstatic-jquery-migrate: Add basic tox.ini file  https://review.openstack.org/34442001:15
openstackgerritMerged openstack/xstatic-jasmine: Add basic tox.ini file  https://review.openstack.org/34440701:15
openstackgerritMerged openstack/xstatic-angular-smart-table: Add basic tox.ini file  https://review.openstack.org/34440601:15
openstackgerritMerged openstack/xstatic-angular-mock: Add basic tox.ini file  https://review.openstack.org/34440501:16
*** yingjun has quit IRC01:17
*** yingjun has joined #openstack-horizon01:18
*** yingjun has quit IRC01:22
*** Liuqing has joined #openstack-horizon01:34
Liuqingmorning01:35
*** rajalokan has joined #openstack-horizon01:37
*** harlowja has joined #openstack-horizon01:37
LiuqingHI there, r1chardj0n3s01:39
r1chardj0n3shi Liuqing01:40
*** rafael__ has joined #openstack-horizon01:40
Liuqinghttps://review.openstack.org/#/c/344032/  the patch had merged. but it failed to release01:40
LiuqingRelease xstatic-angular-smart-table 1.4.1301:40
Liuqingrobcresswell said that we need to debug horizon xstatic side01:40
Liuqingxstatic-mdi also failed to release..01:41
*** rafael__ has quit IRC01:42
Liuqingwe may miss something base on openstack release readme01:43
Liuqingwill we have meeting today?01:44
Liuqing r1chardj0n3s01:44
r1chardj0n3sI've just approved a raft of changes to the xstatic repos to fix that issue01:45
r1chardj0n3shttps://review.openstack.org/#/q/topic:xstatic-add-tox01:46
r1chardj0n3sso it should be possible to re-submit the releases patch now for those to get them released01:46
openstackgerritAllen proposed openstack/horizon: Adding identity ng-roles panel  https://review.openstack.org/22282501:47
*** asettle has joined #openstack-horizon01:47
r1chardj0n3salso Liuqing I'm pretty sure there'll be a 2016-07-20 meeting at 2000 UTC01:48
*** dan_nguyen has left #openstack-horizon01:49
*** dan_nguyen has joined #openstack-horizon01:49
*** dan_nguyen has left #openstack-horizon01:49
Liuqingok, r1chardj0n3s01:50
*** asettle has quit IRC01:54
*** revon has quit IRC02:00
*** jtriley has joined #openstack-horizon02:03
*** yingjun has joined #openstack-horizon02:05
*** pt_15 has joined #openstack-horizon02:13
*** yamamoto has quit IRC02:17
*** yamamoto has joined #openstack-horizon02:17
*** ducttape_ has quit IRC02:18
*** rafael__ has joined #openstack-horizon02:19
*** ducttape_ has joined #openstack-horizon02:25
*** rafael__ has quit IRC02:43
*** zackf has quit IRC02:45
*** lblanchard has quit IRC02:50
Liuqingr1chardj0n3s, how could we re-release the xstatic smart table? re-submit a patch to openstack/release?02:59
r1chardj0n3sLiuqing: yup02:59
Liuqingbut the patch already there.02:59
*** zhurong has quit IRC02:59
*** Liuqing has quit IRC02:59
*** zhurong has joined #openstack-horizon03:00
*** Liuqing has joined #openstack-horizon03:00
Liuqingforget that hash value,03:03
Liuqingwill re-submit a patch03:03
r1chardj0n3sLiuqing: let me know when you have, I'll take a look03:08
Liuqingdo it now, back soon and will ping you r1chardj0n3s03:09
*** zackf has joined #openstack-horizon03:10
*** zackf has quit IRC03:14
*** vkmc has quit IRC03:15
Liuqingi have add a patch to release smart table: https://review.openstack.org/#/c/344547/03:15
Liuqinghttps://review.openstack.org/#/c/344547/03:15
Liuqingr1chardj0n3s03:15
r1chardj0n3sta03:15
r1chardj0n3sLiuqing: -1 see review sorry03:19
r1chardj0n3shappy to explain further if necessary03:19
*** vkmc has joined #openstack-horizon03:21
Liuqingthanks for the explanation had re-submit a patch03:23
*** jtriley has quit IRC03:30
*** julim has quit IRC03:32
r1chardj0n3sit's just a shame that we can't have a  gate check to run for the patch :-(03:32
*** zackf has joined #openstack-horizon03:32
*** btully has joined #openstack-horizon03:36
*** ducttape_ has quit IRC03:36
openstackgerritSwapnil Kulkarni (coolsvap) proposed openstack/horizon: [WIP] Testing latest u-c  https://review.openstack.org/30342903:45
*** yamamoto has quit IRC03:47
*** david-lyle has joined #openstack-horizon03:49
*** ChanServ sets mode: +o david-lyle03:49
*** liuyulong_ has quit IRC03:54
*** liuyulong has joined #openstack-horizon03:57
*** jlopezgu has quit IRC03:58
*** jlopezgu has joined #openstack-horizon03:58
*** zackf has quit IRC04:06
*** mtanino has quit IRC04:07
*** david-lyle_ has joined #openstack-horizon04:19
*** david-lyle has quit IRC04:19
*** zackf has joined #openstack-horizon04:25
*** david-lyle_ has quit IRC04:26
*** zackf has quit IRC04:29
*** amotoki has joined #openstack-horizon04:32
*** itisha has joined #openstack-horizon04:36
*** yamamoto has joined #openstack-horizon04:37
*** zackf has joined #openstack-horizon04:44
*** zackf has quit IRC04:48
*** ratailor has joined #openstack-horizon04:52
*** masco has joined #openstack-horizon05:20
*** javeriak has joined #openstack-horizon05:20
*** jprovazn has joined #openstack-horizon05:30
*** jprovazn has quit IRC05:31
*** jprovazn has joined #openstack-horizon05:31
openstackgerritAllen proposed openstack/horizon: Adding identity ng-roles panel  https://review.openstack.org/22282505:33
openstackgerritAllen proposed openstack/horizon: Add Angular keytone role creation action  https://review.openstack.org/34457205:33
*** tnovacik has joined #openstack-horizon05:39
*** rcernin has quit IRC05:44
*** asettle has joined #openstack-horizon05:53
openstackgerritAllen proposed openstack/horizon: Adding identity ng-roles panel  https://review.openstack.org/22282505:56
*** asettle has quit IRC06:00
*** javeriak has quit IRC06:01
*** rcernin has joined #openstack-horizon06:07
*** jprovazn has quit IRC06:22
*** btully has quit IRC06:28
*** wolverineav has joined #openstack-horizon06:28
*** jerrygb has quit IRC06:29
*** wolverineav has quit IRC06:32
*** roxanaghe has joined #openstack-horizon06:32
*** vishwanathj has quit IRC06:33
*** roxanaghe has quit IRC06:37
*** wolverineav has joined #openstack-horizon06:43
openstackgerritKenji Ishii proposed openstack/horizon: Display notifications defined by the mechanism of MESSAGE_PATH in angular panel  https://review.openstack.org/32624406:43
*** tesseract- has joined #openstack-horizon06:50
*** lelyakin has quit IRC06:50
openstackgerritMerged openstack/horizon: Fix jasmine tests failing due to missing ng-file-upload dep  https://review.openstack.org/34439406:53
*** belmoreira has joined #openstack-horizon07:01
*** itxaka has joined #openstack-horizon07:03
*** javeriak has joined #openstack-horizon07:07
*** asettle has joined #openstack-horizon07:11
openstackgerritSwapnil Kulkarni (coolsvap) proposed openstack/horizon: [WIP] Testing latest u-c  https://review.openstack.org/30342907:16
*** asettle has quit IRC07:19
openstackgerritOpenStack Proposal Bot proposed openstack/horizon: Imported Translations from Zanata  https://review.openstack.org/34409107:23
*** wolverineav has quit IRC07:29
*** jerrygb has joined #openstack-horizon07:30
*** jerrygb has quit IRC07:35
*** tmazur has joined #openstack-horizon07:37
*** mpavlase has joined #openstack-horizon07:39
*** wolverineav has joined #openstack-horizon07:41
*** alexvictorchan has quit IRC07:45
*** wolverineav has quit IRC07:46
*** alexvictorchan has joined #openstack-horizon07:50
*** wolverineav has joined #openstack-horizon07:51
*** wolverineav has quit IRC07:58
*** javeriak has quit IRC08:02
*** javeriak has joined #openstack-horizon08:04
*** btully has joined #openstack-horizon08:13
*** wolverineav has joined #openstack-horizon08:15
openstackgerritKenji Ishii proposed openstack/horizon: [Trivial]Fix the number that failed to delete in swift  https://review.openstack.org/34463608:16
*** btully has quit IRC08:18
zigoWhat should be used instead of django.conf.urls.patterns() ?08:18
zigosahara-dashboard uses that, but it's removed from Django 1.1008:18
zigoOh, it's described in the error message...08:19
*** roxanaghe has joined #openstack-horizon08:21
*** wolverineav has quit IRC08:24
*** roxanaghe has quit IRC08:25
*** pjm6_ is now known as pjm608:27
*** pjm6 has left #openstack-horizon08:28
*** jerrygb has joined #openstack-horizon08:31
*** jerrygb has quit IRC08:35
*** asettle has joined #openstack-horizon08:36
*** wolverineav has joined #openstack-horizon08:39
robcresswellzigo: Its just a format change. Uses a list of urls now.08:41
robcresswellr1chardj0n3s: Just following the scrollback08:42
robcresswellLiuqing: Please don't release packages08:42
robcresswellLiuqing: I would prefer you wait for me or r1chardj0n3s to fix issues before the wider community start attempting releases.08:42
openstackgerritMerged openstack/xstatic-angular-bootstrap: Remove py33 from the default envlist  https://review.openstack.org/34446308:44
robcresswellLiuqing, r1chardj0n3s: I assume you've realised by now, but I reverted both of the previous release patches so they can be processed the same way now08:45
zigorobcresswell: I'm trying to fix it, and I'm not sure how...08:45
zigoFor example:08:46
*** wolverineav has quit IRC08:46
Liuqingrobcresswell,  r1chardj0n3s add a raft of changes to the xstatic repos to fix that issue:ix that issue08:46
Liuqinghttps://review.openstack.org/#/q/topic:xstatic-add-tox08:46
zigourlpatterns = patterns(08:46
zigo    'openstack_dashboard.dashboards.project.ngdetails.views',08:46
zigo    url('', views.IndexView.as_view(), name='index'),08:46
zigo)08:46
zigoWhat should I set as 2nd param?08:46
robcresswellzigo: that would be: urlpatterns = [08:46
robcresswellurl('', views.IndexView.as_view(), name='index'),08:46
zigoYeah, that point I got it.08:46
robcresswell]08:46
robcresswellthats it08:46
zigoOh, that's it?08:46
zigoOk.08:46
zigoEasy then.08:46
robcresswellYep08:46
Liuqingrobcresswell , so you think the patch is not ready now : https://review.openstack.org/#/c/344547/08:47
Liuqing??08:47
robcresswellLiuqing: It seems that it is okay now, would just prefer if we had waited for mdi to go through to check for issues08:47
robcresswellrather than handling this in multiple places08:48
robcresswellits creating extra work for me :)08:48
Liuqingthey're in the same level :-)08:48
robcresswellWell, I had to go and revert multiple patches and track changes08:48
*** asettle has quit IRC08:49
openstackgerritThomas Goirand proposed openstack/horizon: [Django 1.10] django.conf.urls.patterns() removed  https://review.openstack.org/34465108:53
zigorobcresswell: Does it look good?08:53
robcresswellzigo: You've left the patterns import in :)08:54
robcresswellbut otherwise yes08:54
Liuqingrobcresswell, maybe that's a test patch for xstatic release process:-)08:54
zigorobcresswell: It's not a fault, as the class still exists, but ok, I'll remove it.08:54
robcresswellzigo: Unused imports will fail tests08:55
robcresswellpep808:55
robcresswellOh, I already have this patch, I thought I had looked into it08:55
robcresswellhttps://review.openstack.org/#/c/335433/08:55
zigoOh ok.08:55
openstackgerritThomas Goirand proposed openstack/horizon: [Django 1.10] django.conf.urls.patterns() removed  https://review.openstack.org/34465108:55
robcresswellzigo: See above, I think we dont need both. It is already on the blueprint08:56
zigoOk.08:56
zigorobcresswell: How come it fails gate-horizon-dsvm-integration?08:57
robcresswellzigo: I think it may have been a random failure. I ran a recheck.08:58
*** asettle has joined #openstack-horizon08:58
*** ygbo has joined #openstack-horizon09:00
openstackgerritShu Muto proposed openstack/horizon: [WIP] Add "nextUrl" to action-result  https://review.openstack.org/34465909:03
*** shu-mutou is now known as shu-mutou-AFK09:04
*** asettle has quit IRC09:06
*** asettle has joined #openstack-horizon09:06
*** ratailor has quit IRC09:11
*** asettle has quit IRC09:13
*** asettle has joined #openstack-horizon09:14
*** wolverineav has joined #openstack-horizon09:14
*** ratailor has joined #openstack-horizon09:16
*** yingjun has quit IRC09:18
*** yingjun has joined #openstack-horizon09:19
*** wolverineav has quit IRC09:19
*** sdake has joined #openstack-horizon09:21
*** wolverineav has joined #openstack-horizon09:21
*** sdake has quit IRC09:23
*** wolverineav has quit IRC09:26
*** mvk has quit IRC09:27
*** javeriak has quit IRC09:29
*** tmazur has quit IRC09:29
*** yingjun has quit IRC09:30
*** tmazur has joined #openstack-horizon09:32
*** jerrygb has joined #openstack-horizon09:32
*** jerrygb has quit IRC09:36
*** javeriak has joined #openstack-horizon09:39
*** javeriak has quit IRC09:41
*** wolverineav has joined #openstack-horizon09:42
*** lelyakin has joined #openstack-horizon09:47
*** wolverineav has quit IRC09:47
lelyakinHi, everywhere!09:48
lelyakinCan somebody help me with Horizon Integration tests?09:49
lelyakinI have commit to Sahara-Dashboard project https://review.openstack.org/#/c/333273/09:49
*** rajalokan has quit IRC09:50
lelyakinIn this patch I use JS with Ajax requests in templates to load horizon tabs dynamically09:50
lelyakinBut our Integration tests aren't support dynamically loaded tabs.09:51
lelyakinI always have NoSuchElementException09:52
Liuqinglelyakin, http://horizon/detail#abc09:53
Liuqingwe could avoid dynamically loaded tabs  via such link http://horizon/detail#abc , maybe09:54
lelyakinSorry, have you missprint in link?09:55
*** wolverineav has joined #openstack-horizon09:55
robcresswelllelyakin: Its an example, not a link :)09:55
Liuqingyep09:56
openstackgerritxujun proposed openstack/horizon: fix magic search bug  https://review.openstack.org/34469209:56
lelyakinthen I don't understand how I can rewrite my solution. I can not avoid dynamically-loaded tabs :(09:57
lelyakinI have around 30-35 tabs in workflow, and If a load it at once it take around 40-45 sec09:58
robcresswellA workflow with 35 tabs!?09:58
lelyakinyes, we have too many configurations09:59
*** tosky has joined #openstack-horizon10:01
*** zhurong has quit IRC10:02
*** Liuqing has quit IRC10:03
lelyakinhttp://picpaste.com/Screenshot_from_2016-07-20_13_03_50-kpIZLdfX.png10:03
*** wolverineav has quit IRC10:04
robcresswell:/10:04
robcresswellI think you guys should consider rewriting that workflow :)10:04
robcresswellIn terms of the integration tests, I would try asking tsufiev, as our resident expert10:05
*** amotoki has quit IRC10:05
*** amotoki has joined #openstack-horizon10:05
lelyakinvery thanks!10:06
kenji-irobcresswell: Hi, thank you for your comment about the bp of hierarchical projects previously! and I apologize for the late thank you.10:06
*** roxanaghe has joined #openstack-horizon10:09
lelyakinYou are absolutely sure that dynamically-loaded tabs is bad practice? If is possible integrate it to Horizon, I can make patch in holiday, when I will be available10:09
robcresswelllelyakin: Its not a bad practice in general, but that workflow design for 20+ tabs is not a good idea10:09
robcresswelllelyakin: Dynamically loaded tabs aren't go going away though10:10
robcresswellaren't going*10:10
toskyrobcresswell: how to model then that case? Each tab contains the options for a service which is dynamically enabled/disabled10:11
toskyso the number of tabs can be smaller or larger depending on your hadoop/spark/bigdata cluster10:11
vgridnevtosky, +1, was writing the same question10:11
*** tnovacik has quit IRC10:11
*** roxanaghe has quit IRC10:14
vgridnevtosky, my only thought is to make some kind of Advanced configs tab and that will collects links to open other steps, but I'm not sure how good it's10:14
*** sdake has joined #openstack-horizon10:14
toskyhide all the dynamic tabs under a unique tab, loaded on demand? Uhm10:15
* tosky is not an usability expert10:15
toskyfor sure, if such solution is implemented, the additional tab should not take age to be populated (so everything on demand as much as possible)10:16
robcresswelltosky: Difficult to say without understanding the API underneath it10:16
robcresswellHowever: with that kind of involved process, easier to create a base object then boot user to details page and configure there by addingconfig10:16
openstackgerritValeriy Ponomaryov proposed openstack/manila-ui: Fix unit tests  https://review.openstack.org/34416310:16
robcresswellSo things like networks, you could have all subnets, ports etc in one workflow, or break it in to multiple10:16
*** sdake_ has joined #openstack-horizon10:17
*** sdake has quit IRC10:19
vgridnevrobcresswell, API is simple. plugin will give you a map {target: list of configs} and {target: [list of processes]}. If we have a workflow step per target (and yeah, there are around 30 possible targets), and if user selected some process, we will show that workflow steps. Then we are collecting configs from all steps and creating a cluster in one API call10:21
*** sdake_ has quit IRC10:22
*** wolverineav has joined #openstack-horizon10:24
*** sdake has joined #openstack-horizon10:25
robcresswellvgridnev: Does the targets list continue to grow?10:25
robcresswellAs in, in 2 years time, will there be 50 possible targets?10:25
robcresswellI wonder how manageable that workflow will be, and whether it might make sense to have an intermediate step, where each target is a separate action.10:26
vgridnevGood question. So I would say no, but usually per release there 2-3 new services supported by vendors10:28
*** wolverineav has quit IRC10:29
*** jerrygb has joined #openstack-horizon10:33
*** ratailor has quit IRC10:34
*** sdake has quit IRC10:38
*** jerrygb has quit IRC10:39
*** sdake has joined #openstack-horizon10:42
*** mvk has joined #openstack-horizon10:44
*** wolverineav has joined #openstack-horizon10:46
*** wolverineav has quit IRC10:50
*** ratailor has joined #openstack-horizon10:51
*** asettle has quit IRC10:52
*** zhurong has joined #openstack-horizon11:07
*** tnovacik has joined #openstack-horizon11:08
*** wolverineav has joined #openstack-horizon11:10
*** zhurong has quit IRC11:11
*** sdake has quit IRC11:12
*** zhurong has joined #openstack-horizon11:13
*** wolverineav has quit IRC11:14
*** yamamoto has quit IRC11:15
*** yamamoto has joined #openstack-horizon11:21
*** aortega has joined #openstack-horizon11:21
*** yamamoto has quit IRC11:22
*** rodrigods has quit IRC11:26
*** lelyakin has quit IRC11:26
*** wolverineav has joined #openstack-horizon11:31
*** jerrygb has joined #openstack-horizon11:35
*** wolverineav has quit IRC11:36
*** davidc_ has joined #openstack-horizon11:36
davidc_Hi11:36
*** wolverineav has joined #openstack-horizon11:37
*** jerrygb has quit IRC11:39
*** wolverineav has quit IRC11:45
*** pt_15 has quit IRC11:46
*** tnovacik has quit IRC11:46
*** wolverineav has joined #openstack-horizon11:48
*** itisha has quit IRC11:50
*** btully has joined #openstack-horizon11:51
*** wolverineav has quit IRC11:54
*** btully has quit IRC11:56
openstackgerritMerged openstack/manila-ui: Fix unit tests  https://review.openstack.org/34416311:58
*** florianf has joined #openstack-horizon12:05
*** ducttape_ has joined #openstack-horizon12:07
*** Liuqing has joined #openstack-horizon12:10
openstackgerritMerged openstack/horizon: Imported Translations from Zanata  https://review.openstack.org/34409112:10
*** yamamoto has joined #openstack-horizon12:11
*** rodrigods has joined #openstack-horizon12:12
*** ducttape_ has quit IRC12:12
*** asettle has joined #openstack-horizon12:15
zigorobcresswell: Before I attempt to send it for review, does this look reasonable? http://paste.openstack.org/show/538811/12:17
*** yamamoto has quit IRC12:20
*** tnovacik has joined #openstack-horizon12:20
*** ratailor has quit IRC12:22
*** yamamoto has joined #openstack-horizon12:23
robcresswellzigo: It looks like you've replaced the view class for auth/login with a generic one12:24
zigorobcresswell: I really don't know what I'm doing ... :)12:24
zigorobcresswell: Though the old code fails in Django 1.10.12:24
robcresswellzigo: You can review things/ leave notes on the bp, that would help me a lot12:28
robcresswellzigo: Even if its like "this issue, these docs might help"12:29
zigoI did write in the whiteboard, and expect to do that more.12:29
robcresswellzigo: Yep, thats great12:29
*** julim has joined #openstack-horizon12:31
*** wolverineav has joined #openstack-horizon12:35
*** jerrygb has joined #openstack-horizon12:36
*** jojden has quit IRC12:39
*** jerrygb has quit IRC12:41
*** pauloewerton has joined #openstack-horizon12:44
*** javeriak has joined #openstack-horizon12:44
*** wolverineav has quit IRC12:44
*** rajalokan has joined #openstack-horizon12:45
openstackgerritPaul Karikh proposed openstack/horizon: Provide the bones of profiler: api, models and middleware  https://review.openstack.org/27308512:49
openstackgerritPaul Karikh proposed openstack/horizon: [WIP] Wrap api calls with tracing recorators  https://review.openstack.org/33967512:49
openstackgerritPaul Karikh proposed openstack/horizon: Add the Profiler panel to the Developer dashboard  https://review.openstack.org/30351412:49
*** wolverineav has joined #openstack-horizon12:51
*** yamamoto has quit IRC12:54
*** yamamoto has joined #openstack-horizon12:56
*** matt-borland has joined #openstack-horizon12:57
*** ducttape_ has joined #openstack-horizon12:58
*** wolverineav has quit IRC12:59
*** purva has joined #openstack-horizon13:03
LiuqingHI, matt-borland:-)13:05
openstackgerritLiuqing Jing proposed openstack/horizon: [TrivialFix] Hide expand in angular table if we haven't setSummaryTemplateUrl  https://review.openstack.org/34481913:05
Liuqingping13:05
matt-borlandHey Liuqing!13:05
matt-borlandwant me to take a look at the above?13:06
Liuqinghow could we integrate django actions and angular tables?13:06
matt-borlandLiuqing, tyr will be putting up a patch, but you can see generally how it works as part of the patch in https://review.openstack.org/#/c/329700/, the server-side-action portion13:06
Liuqingreview on above patch is appreciated  :-))13:07
matt-borlandthat patch allows us to register Django actions using the Angular registration, etc., but it needs to be cleaned up.13:07
*** uxdanielle has joined #openstack-horizon13:08
Liuqingseems cool, will check that patch13:08
matt-borlandLiuqing, with your patch, I do suggest filing a simple bug to associate with that patch.  It can be a very simple bug, just describe when it doesn't work quite right.13:09
LiuqingOK, will report a bug :)13:09
matt-borlandthanks for putting that together!13:09
Liuqingmy pleasure, matt-borland13:10
matt-borlandI'll check with tyr to see when he's going to put up a separate patch for the Django/Angular actions.13:11
*** peristeri has joined #openstack-horizon13:11
*** lblanchard has joined #openstack-horizon13:13
Liuqingok, i'm not very clear about tyr's timezeon..13:13
Liuqings/timezeon/timezone/13:13
openstackgerritxujun proposed openstack/horizon: fix magic search bug  https://review.openstack.org/34469213:15
*** jtriley has joined #openstack-horizon13:17
matt-borlandLiuqing, tyr works with me here in Colorado, but usually starts his work day in about 2 hours.13:17
*** ducttape_ has quit IRC13:18
Liuqinggotcha13:19
*** rajalokan has quit IRC13:19
*** sdake has joined #openstack-horizon13:21
*** tnovacik has quit IRC13:22
*** pt_15 has joined #openstack-horizon13:24
*** javeriak_ has joined #openstack-horizon13:25
*** javeriak has quit IRC13:26
*** javeriak has joined #openstack-horizon13:26
*** rajalokan has joined #openstack-horizon13:28
*** javeriak_ has quit IRC13:30
*** btully has joined #openstack-horizon13:34
*** mtanino has joined #openstack-horizon13:36
*** jerrygb has joined #openstack-horizon13:37
*** aortega has quit IRC13:39
*** masco has quit IRC13:40
*** sjmc7 has joined #openstack-horizon13:41
*** jerrygb has quit IRC13:41
*** javeriak_ has joined #openstack-horizon13:44
*** roxanaghe has joined #openstack-horizon13:45
*** javeria__ has joined #openstack-horizon13:45
*** javeriak has quit IRC13:45
*** wolverineav has joined #openstack-horizon13:45
*** cardeois_ has joined #openstack-horizon13:46
*** cardeois_ is now known as cardeois13:46
*** cardeois has quit IRC13:46
*** cardeois has joined #openstack-horizon13:47
*** cardeois has quit IRC13:47
*** asettle has quit IRC13:49
*** ducttape_ has joined #openstack-horizon13:49
*** javeriak_ has quit IRC13:49
*** roxanaghe has quit IRC13:49
*** asettle has joined #openstack-horizon13:49
*** itisha has joined #openstack-horizon13:49
openstackgerritMatt Borland proposed openstack/horizon: WIP: Flavors panel using Angular  https://review.openstack.org/34391713:50
*** uxdanielle has quit IRC13:52
*** jerrygb has joined #openstack-horizon13:53
*** wolverineav has quit IRC13:53
*** wolverineav has joined #openstack-horizon13:55
*** rajalokan has quit IRC13:56
*** cardeois has joined #openstack-horizon13:56
*** tnovacik has joined #openstack-horizon13:57
robcresswellmatt-borland: I think create-net is functionally complete *except* for the little * on invalid steps13:59
*** TravT has quit IRC13:59
openstackgerritSteve McLellan proposed openstack/horizon: Allow horizon to function without nova  https://review.openstack.org/34228313:59
robcresswellmatt-borland: I did have thought about though. I think I could use ngForm (which exists exactly for this reason)14:00
robcresswell"It is useful to nest forms, for example if the validity of a sub-group of controls needs to be determined."14:00
ducttape_robcresswell - lets have 2 mins of talk on https://review.openstack.org/#/c/342619/14:01
robcresswellducttape_: Sure14:01
*** TravT has joined #openstack-horizon14:01
*** ChanServ sets mode: +v TravT14:01
ducttape_so here is my problem with this approach from you and Dianna14:01
ducttape_horizon upstream makes changes, breaks plugins14:01
*** yingjun has joined #openstack-horizon14:02
ducttape_and you don't want to write code than is backwards compatible14:02
*** sdake_ has joined #openstack-horizon14:02
*** roxanaghe has joined #openstack-horizon14:02
ducttape_instead the viewpoint is "your config is bad - we now require this"14:02
ducttape_the problem is, this type of new config etc is something that needs to take a release or two / three to add new stuff14:02
ducttape_instead, I'd think a warning etc would be printed14:03
robcresswellHow long ago was that key added?14:03
ducttape_not sure, but was is stated that it was required ?14:03
robcresswellMy issue isn't with backwards compatibility, its with just supporting everything forever because of old testing settings files14:03
*** sdake has quit IRC14:03
ducttape_there was no notice given to plugins that they need to change something14:03
ducttape_it's just "poof" - now things are broken14:04
robcresswellI'd have to check through the release notes and see14:04
*** sdake has joined #openstack-horizon14:05
ducttape_fair enough.   it could be that this is required or some docs take care of this14:05
ducttape_but it seems to me that several plugins were busted / surprised14:05
ducttape_and the code to support the old stuff is not very large14:05
*** roxanaghe has quit IRC14:06
robcresswellWhich is fine, and if we've failed to properly document this change then I apologise and we should merge the compatibility fix14:06
ducttape_i'd think some version of that patch, and you could log a warning that a new config is needed..... that would be a good transition patch14:06
robcresswellWhat I *don't* want is a situation where Horizon documents changes, has an early FF, a milestone release every two months, and then when something doesnt work in a plugin, everyone blames horizon.14:07
robcresswellThere is a middle ground, thats all.14:07
*** sdake_ has quit IRC14:07
robcresswellLet me dig into the code a bit more and see what's going wrong14:07
ducttape_fair enough.   not trying to say horizon needs to support plugins from 2 years ago14:08
ducttape_but if 2-3 plugins from master break on a horizon change, that is a red flag14:08
lcastellmorning all14:11
ducttape_o/14:12
robcresswello/14:12
zhurong@robcresswell ducttape_ sorry for the interrupt, Can you give me some help what is the correct way to make the plugin setting without this error?14:12
robcresswellhttps://review.openstack.org/#/c/343640/14:13
*** yingjun_ has joined #openstack-horizon14:13
robcresswellpatches like that are the way to go ^^14:13
*** Tamayo has joined #openstack-horizon14:13
zhurongNot the test setting, my develop env gives the error14:14
openstackgerritRodrigo Barbieri proposed openstack/manila-ui: Add Share Migration support  https://review.openstack.org/34443114:15
ducttape_agree with robcresswell on that fix14:15
zhuronghttps://bugs.launchpad.net/horizon/+bug/1603307 look this bug, I add the snapshot, make some changes, horizon will give the error too14:15
openstackLaunchpad bug 1603307 in OpenStack Dashboard (Horizon) "horizon plugin gives the KeyError" [Undecided,In progress] - Assigned to zhurong (zhu-rong)14:15
robcresswellzhurong: Sorry, I don't understand, when you're running Horizon you see the error?14:15
*** yingjun has quit IRC14:16
ducttape_ah that is different, yeah14:16
*** wolverineav has quit IRC14:16
robcresswellducttape_: There are release notes about older settings being deprecated, but not about requiring the new ones. I'll look into the patch and add a warning in there too.14:16
ducttape_thanks for hearing me vent robcresswell (again)14:17
openstackgerritLiuqing Jing proposed openstack/horizon: [TrivialFix] Hide expand in angular table if we haven't setSummaryTemplateUrl  https://review.openstack.org/34481914:18
robcresswellzhurong: It looks like Murano dashboard is overriding the entire compress logic!?14:18
robcresswellTimurs patch seems to fix the issue too14:18
zhurongNo, I test the patch, can not fix the issue14:18
kzaitsev_wsrobcresswell: I don't like the idea of including every single js file of murano-dashboard on every single page of horizon14:19
robcresswellkzaitsev_ws: Right now every single JS file is included on every single page anyway14:20
robcresswellWe don't use any form of module loading in base Horizon14:20
kzaitsev_wsand no, I don't think that we're overriding all the compress logic, we're just adding all the files to all the pages of murano-dashboard14:20
*** uxdanielle has joined #openstack-horizon14:20
kzaitsev_wshttps://github.com/openstack/murano-dashboard/blob/master/muranodashboard/templates/murano_base.html14:21
kzaitsev_wsall the templates in murano-dashboard inherit from this template and we just add an extra {% compress js %} block to {% block js %}14:21
*** wolverineav has joined #openstack-horizon14:21
kzaitsev_wswithout throwing away what horizon is putting there14:22
matt-borlandrobcresswell, sorry, I was afk14:22
robcresswellAh I see14:22
matt-borlandhad to let the chickens out into the yard after a nice rain14:23
kzaitsev_wsso we're overriding =) but I believe we're doing it respectfully )14:23
robcresswellkzaitsev_ws: The compressor must be functioning differently to Horizon though if its missing contextual info14:23
*** tosky has quit IRC14:24
kzaitsev_wsrobcresswell: my take on this was that everybody seem to use old settings.py, but I haven't had time to dig deeper14:24
kzaitsev_wsthe thing is we have dashboard CI, that uses master horizon+master dashboard and runs some selenium tests14:25
kzaitsev_wsand it's green =)14:25
kzaitsev_wsthis is the major point why I think that dashboard and horizon are actually ok, and the problem is in the local configuration14:26
*** sjmc7 has quit IRC14:26
Liuqingthe problem is in the local configuration seems wired..kzaitsev_ws14:26
openstackgerritYosef Hoffman proposed openstack/horizon: Configure vol_create in Launch Instance defaults  https://review.openstack.org/30953914:26
Liuqingreally? or because of not dive deep..14:27
*** sjmc7 has joined #openstack-horizon14:27
*** vishwanathj has joined #openstack-horizon14:27
*** tyr has joined #openstack-horizon14:27
*** wolverineav has quit IRC14:28
ducttape_tsufiev: did you read my reply on https://review.openstack.org/#/c/337703/  ?14:28
kzaitsev_wsunfortunatelly I'm in the middle of tearing down configuration file of our dashboard/panels into multiple small pieces, so it's hard to test, but I'll try to get to it sooner rather than later14:28
*** yohoffman has joined #openstack-horizon14:28
kzaitsev_wsLiuqing: not sure, that I got you message14:28
robcresswellLiuqing: Compile and compress works fine with murano dashboard and Horizon master14:30
Liuqingso what's the problem..14:30
robcresswellUnsure, just checking. I think settings file being out of date.14:31
*** julim has quit IRC14:32
Liuqingrobcresswell, we need docs/notes about settings and test settings in horizon plugin page14:32
zhurong@robcresswell https://launchpadlibrarian.net/274118063/snapshot.png take a look at this snapshot14:32
robcresswellzhurong: I don't understand what this shows.14:33
*** dave-mccowan has joined #openstack-horizon14:33
robcresswellLiuqing: Indeed, I will add recommendations14:33
*** wolverineav has joined #openstack-horizon14:33
Liuqingthanks robcresswell, maybe i can help with the docs or recommendations:-)14:34
zhurong@robcresswell horizon/project index will give the error too14:34
robcresswellzhurong: Because you have changed it. It does not error in the repo.14:34
Liuqinganywaym i'm fine with the fix from zhurong14:34
robcresswellI'm going to update it to add deprecation warnings14:34
robcresswellI think the entire thing arises because AVAILABLE_THEMES isn't configured in test settings.14:37
Liuqingkzaitsev_ws, zhurong, maybe that's the root cause: kzaitsev_ws14:37
Liuqinghttps://github.com/openstack/horizon/blob/master/horizon/themes.py#L71-L8114:37
robcresswellhttps://github.com/openstack/horizon/blob/107488f2f53f55ce2b727e52b5496db47ffc21ce/horizon/themes.py#L4214:37
Liuqingrobcresswell, you got the point:-)14:38
robcresswellFYI, link to a hash, not to /master, otherwise the logs will not make sense in the future.14:38
*** wolverineav has quit IRC14:38
*** uxdanielle has quit IRC14:38
robcresswellSo then context['THEME'] is not set14:39
robcresswellRather than default to a [], it should throw a configuration error.14:39
openstackgerritSwapnil Kulkarni (coolsvap) proposed openstack/horizon: [WIP] Testing latest u-c  https://review.openstack.org/30342914:39
robcresswellor default to ['default']14:39
ducttape_yep14:40
Liuqingyep14:40
ducttape_if theme is not there, I'd bet default is not as well.   default is fairly new14:40
ducttape_but you could have that config error on both if you wanted14:41
*** yingjun has joined #openstack-horizon14:41
openstackgerritRob Cresswell proposed openstack/horizon: Fix missing 'THEME' key  https://review.openstack.org/34487114:42
robcresswellsomething like that ^^14:42
*** yingjun_ has quit IRC14:42
robcresswellThat should just always fall back to the 'default' theme packaged with Horizon14:42
ducttape_perhaps.   but if you really want this to be required, need to log some warning etc14:44
robcresswellYes, was just about to add that14:44
ducttape_I just don't want this implied requirement that gets swept under the rug14:44
*** wolverineav has joined #openstack-horizon14:45
*** uxdanielle has joined #openstack-horizon14:47
*** wolverineav has quit IRC14:47
*** wolverineav has joined #openstack-horizon14:48
*** wolverineav has quit IRC14:48
robcresswellYup14:49
*** uxdanielle has quit IRC14:49
*** wolverineav has joined #openstack-horizon14:49
*** tosky has joined #openstack-horizon14:50
*** wolverineav has quit IRC14:50
*** zhurong has quit IRC14:50
*** wolverineav has joined #openstack-horizon14:50
*** wolverineav has joined #openstack-horizon14:51
*** wolverineav has quit IRC14:51
*** wolverineav has joined #openstack-horizon14:51
*** wolverineav has quit IRC14:51
*** Marcellin_ has joined #openstack-horizon14:51
*** wolverineav has joined #openstack-horizon14:52
*** aortega has joined #openstack-horizon14:52
*** aortega has joined #openstack-horizon14:52
kzaitsev_wsrobcresswell: I'll ask my colleagues to check if this patch fixes the problem )14:53
*** wolverineav has quit IRC14:54
*** wolverineav has joined #openstack-horizon14:54
*** wolverineav has joined #openstack-horizon14:55
*** wolverineav has quit IRC14:55
*** wolverineav has joined #openstack-horizon14:55
*** wolverineav has quit IRC14:55
*** wolverineav has joined #openstack-horizon14:56
*** javeria__ has quit IRC14:57
*** zackf has joined #openstack-horizon14:58
*** uxdanielle has joined #openstack-horizon14:59
matt-borlandLiuqing, +1 on https://review.openstack.org/#/c/344819/ .  Good catch, it's a good, simple fix.14:59
Liuqingthanks matt-borland14:59
*** ZZelle has joined #openstack-horizon15:00
*** wolverineav has quit IRC15:00
*** yingjun has quit IRC15:03
*** yingjun has joined #openstack-horizon15:04
robcresswellmatt-borland: Remember to target bugs to N-3 or Next please :)15:04
*** wolverineav has joined #openstack-horizon15:05
matt-borlandrobcresswell, oh, I really didn't know :)15:05
matt-borlandWhat is the way I decide what to target for?15:05
robcresswellYeah, if it looks likely to merge soon, go for N-3, if not just hit Next. I pull them in from Next every now and then to keep track of whats gone in15:05
matt-borlandLike, if a fix is present, target for next milesone?  got it...thanks!15:05
yohoffmanr1chardj0n3s: Regarding changing security rule name from "ALLOW -1:-1/icmp from 0.0.0.0/0" to "ALLOW any port/icmp from 0.0.0.0/0" for all ports, do you think we should keep "-1:-1" and mark this as not a bug? Or maybe change to "any_port", "anyport", or "any-port" instead of "any port"?15:06
*** Liuqing has quit IRC15:07
yohoffmanDoes anyone else think "ALLOW any port/icmp from 0.0.0.0/0" is more confusing than "ALLOW -1:-1/icmp from 0.0.0.0/0"?15:07
openstackgerritValeriy Ponomaryov proposed openstack/manila-ui: Register apps in unit tests properly  https://review.openstack.org/34487915:07
*** jplopezgu_ has joined #openstack-horizon15:07
*** uxdanielle has quit IRC15:08
*** rcernin has quit IRC15:09
*** pumaranikar_ has joined #openstack-horizon15:09
robcresswellyohoffman: Better off asking neutron or ops than upstream horizon devs.15:09
*** wolverineav has quit IRC15:09
openstackgerritValeriy Ponomaryov proposed openstack/manila-ui: Register apps in unit tests properly  https://review.openstack.org/34487915:09
*** rajalokan has joined #openstack-horizon15:11
*** uxdanielle has joined #openstack-horizon15:11
robcresswellmatt-borland: Yup :)15:11
*** rcernin has joined #openstack-horizon15:12
robcresswellmatt-borland: I also have a new suggestion for tracking "priority items" which is a million items more easy than writing that wiki page15:12
matt-borlandoh, cool! robcresswell15:12
robcresswellmatt-borland: Realised I can do this: https://review.openstack.org/#/q/starredby:rob-cresswell+status:open15:12
robcresswellSo I'll just star things and tell people to look at that list15:12
matt-borlandheh heh, yeah, starred items15:12
robcresswellmuch faster15:12
matt-borlandcool15:13
robcresswellThe point is, I hadnt realise starred by others were exposed to the public15:13
matt-borlandI just added a bookmark for "Rob's Fave Patches"15:13
matt-borland:)15:13
robcresswellSo we can make use of that to focus on specific items15:13
robcresswellha, so what you can do too is change the links under the "My" section in gerrit15:13
robcresswellAnd append the hash part of the URL15:14
*** uxdanielle has quit IRC15:14
*** kbaikov has quit IRC15:15
robcresswellmatt-borland: Like the bottom of this img: http://imgur.com/a/KIxzp15:15
*** cardeois has quit IRC15:16
robcresswellI'll suggest it in the meeting anyway; its a good way of getting reviewers to focus on specific items I think.15:16
matt-borlandsounds good15:16
*** wolverineav has joined #openstack-horizon15:16
*** yingjun_ has joined #openstack-horizon15:17
*** yingjun_ has quit IRC15:17
*** yingjun_ has joined #openstack-horizon15:17
*** rafael__ has joined #openstack-horizon15:17
*** yingjun has quit IRC15:18
*** belmoreira has quit IRC15:18
*** rafael__ has quit IRC15:19
*** pumaranikar_ has quit IRC15:19
*** jplopezgu_ has quit IRC15:19
*** wolverineav has quit IRC15:20
*** jplopezgu_ has joined #openstack-horizon15:20
*** pumaranikar_ has joined #openstack-horizon15:21
*** kbaikov has joined #openstack-horizon15:22
*** rcernin has quit IRC15:22
*** yamamoto has quit IRC15:23
*** uxdanielle has joined #openstack-horizon15:23
*** tesseract- has quit IRC15:25
*** wolverineav has joined #openstack-horizon15:26
*** peristeri has quit IRC15:26
*** woodburn has joined #openstack-horizon15:26
*** sdake has quit IRC15:26
*** kbaikov has quit IRC15:29
*** dave-mccowan has quit IRC15:29
*** sdake has joined #openstack-horizon15:29
*** alexvictorchan has quit IRC15:29
openstackgerritValeriy Ponomaryov proposed openstack/manila-ui: Add share replication support  https://review.openstack.org/22638915:30
*** krotscheck is now known as krotscheck_dcm15:30
*** bpokorny has joined #openstack-horizon15:31
*** jplopezgu_ has quit IRC15:32
*** pumaranikar_ has quit IRC15:32
*** bpokorny has quit IRC15:32
zigo  File "/usr/lib/python2.7/dist-packages/django/views/generic/edit.py", line 93, in get_context_data15:35
zigo    kwargs['form'] = self.get_form()15:35
zigoTypeError: get_form() takes exactly 2 arguments (1 given)15:35
zigorobcresswell: I've been trying to find out what's going on for what's above ^15:36
zigoAnd I still don't understand even after a few hours of investigation.15:36
robcresswellzigo: form_class requires a default arg15:36
zigoThere's only a single place where there's a get_form() function in Horizon.15:36
zigoopenstack_dashboard/usage/base.py15:36
zigoAdding another param there don't fix it.15:37
zigorobcresswell: What function would that be?15:37
*** lucas__ has joined #openstack-horizon15:38
robcresswellIts just looking for a form class to use as a default15:38
robcresswellIf one isnt defined15:38
*** woodburn has quit IRC15:39
zigoThat's the first big class of issue for what's in openstack_dashboad, the 2nd one would be:15:40
zigoAttributeError: 'set' object has no attribute 'setdefault'15:40
*** mvk has quit IRC15:40
zigoHopefully, I'll be able to investigate later on today.15:40
zigoBye.15:40
openstackgerritValeriy Ponomaryov proposed openstack/manila-ui: Add share replication support  https://review.openstack.org/22638915:41
openstackgerritMatt Borland proposed openstack/horizon: WIP: Flavors panel using Angular  https://review.openstack.org/34391715:41
*** dave-mccowan has joined #openstack-horizon15:42
*** kbaikov has joined #openstack-horizon15:42
*** wolverineav has quit IRC15:44
openstackgerritYosef Hoffman proposed openstack/horizon: Improve security rule notification message  https://review.openstack.org/31308615:44
*** yingjun_ has quit IRC15:48
*** wolverineav has joined #openstack-horizon15:51
*** harlowja has quit IRC15:52
*** lucas__ has quit IRC15:57
openstackgerritMerged openstack/manila-ui: Updated from global requirements  https://review.openstack.org/34371115:57
*** uxdanielle has quit IRC15:58
*** alexvictorchan has joined #openstack-horizon15:59
*** ygbo has quit IRC16:01
*** itxaka has quit IRC16:02
*** roxanaghe has joined #openstack-horizon16:02
*** ttrifonov has quit IRC16:08
*** davidc_ has quit IRC16:08
*** ttrifonov has joined #openstack-horizon16:10
*** drupalmonkey has joined #openstack-horizon16:10
*** roxanaghe has quit IRC16:11
*** TravT has quit IRC16:14
*** jprovazn has joined #openstack-horizon16:15
*** javeriak has joined #openstack-horizon16:15
*** wolverineav has quit IRC16:17
*** roxanaghe has joined #openstack-horizon16:17
*** roxanaghe has quit IRC16:18
*** roxanaghe has joined #openstack-horizon16:18
openstackgerritOpenStack Proposal Bot proposed openstack/horizon: Updated from global requirements  https://review.openstack.org/34431216:18
*** david-lyle has joined #openstack-horizon16:19
*** ChanServ sets mode: +o david-lyle16:19
*** tnovacik has quit IRC16:21
*** rajalokan has quit IRC16:21
*** wolverineav has joined #openstack-horizon16:21
*** jamielennox|away is now known as jamielennox16:23
*** yamamoto has joined #openstack-horizon16:24
*** javeriak has quit IRC16:26
*** wolverineav has quit IRC16:27
*** rafael__ has joined #openstack-horizon16:28
*** v12aml has quit IRC16:30
*** javeriak has joined #openstack-horizon16:31
*** yamamoto has quit IRC16:31
*** wolverineav has joined #openstack-horizon16:32
*** v12aml has joined #openstack-horizon16:33
matt-borlandAngular folks: Liuqing's patch: https://review.openstack.org/#/c/344819/ solves a bug due to changes to defaults in the registry...I gave a +1 but could use other perspectives.16:34
*** uxdanielle has joined #openstack-horizon16:36
*** uxdanielle has quit IRC16:36
*** bpokorny has joined #openstack-horizon16:37
*** jtomasek has quit IRC16:38
*** wolverineav has quit IRC16:38
*** harlowja has joined #openstack-horizon16:40
*** wolverineav has joined #openstack-horizon16:40
openstackgerritValeriy Ponomaryov proposed openstack/manila-ui: Add share replication support  https://review.openstack.org/22638916:42
*** david-lyle has quit IRC16:42
*** vishwanathj has quit IRC16:44
robcresswellducttape_: So I did some more digging, and that patch with the missing key doesn't cause any issues with plugins functioning within Horizon16:45
*** wolverineav has quit IRC16:46
robcresswellducttape_: The *only* time it arises is when a plugin is testing using an outdated test settings file16:46
robcresswellducttape_: So the plugins aren'ty actually broken at all. its just a UT issue that arises from bad test config.16:46
robcresswellas far as I can tell16:46
*** wolverineav has joined #openstack-horizon16:46
robcresswellback in a bit16:47
ducttape_k.  I have some comments on this, I think16:48
ducttape_robcresswell ping me when back16:48
zigorobcresswell: I've fixed the get_form() issue! :)16:51
*** wolverineav has quit IRC16:52
*** wolverineav has joined #openstack-horizon16:53
openstackgerritThomas Goirand proposed openstack/horizon: [Django 1.10] Fix get_form uses kwargs  https://review.openstack.org/34493116:55
*** tnovacik has joined #openstack-horizon16:57
robcresswellducttape_: Back17:02
*** rafael__ has quit IRC17:05
ducttape_ok17:06
*** Marcellin_ has quit IRC17:07
ducttape_so you are saying that the plugins broke b/c the config is not up to date with new config settings17:07
*** sdake has quit IRC17:07
ducttape_and I agree.... but it's on horizon to manage transition to new required configs17:07
ducttape_tell others that stuff is going to break, etc17:08
ducttape_give time to update things, so on17:08
ducttape_either way I think horizon needs to write code that is more forgiving of old configs17:09
ducttape_defensive programming, etc17:09
* ducttape_ wonders if he is the crazy one17:10
*** javeriak_ has joined #openstack-horizon17:10
*** javeriak has quit IRC17:10
*** sdake has joined #openstack-horizon17:11
*** wolverineav has quit IRC17:11
robcresswellSure. I just wanted to clarify what caused this situation.17:11
*** mpavlase has quit IRC17:11
robcresswellDamn internet.17:11
ducttape_the horizon plugin developers may or may not be watching every little horizon change to merge.   in general, they have something that works and might be ignoring horizon day to day changes17:11
ducttape_no worries  ;)17:11
robcresswellRight, my implication was more that the way they appear to have set up test settings is very fragile17:12
robcresswellThats on us to document better.17:12
*** florianf has quit IRC17:12
ducttape_yes, this is all very fragile ;).   The plugin framework stuff can be easily broken, and how to test plugins is an exercise left to the reader17:13
*** wolverineav has joined #openstack-horizon17:13
*** sdake has quit IRC17:16
*** wolverineav has quit IRC17:19
*** wolverineav has joined #openstack-horizon17:20
robcresswellducttape_: I don't know if you've been following the mailer today, but would be interested to hear your thoughts17:21
*** aortega has quit IRC17:22
ducttape_k.   will read the mail list from my special email folder17:23
*** _stowa has joined #openstack-horizon17:24
*** florianf has joined #openstack-horizon17:26
*** pcaruana has quit IRC17:27
*** jtomasek has joined #openstack-horizon17:31
openstackgerritMatt Borland proposed openstack/horizon: Add more Nova API features for NG Instances  https://review.openstack.org/34494917:32
*** _stowa has quit IRC17:32
*** wolverineav has quit IRC17:36
*** dave-mccowan has quit IRC17:37
*** dan_nguyen has joined #openstack-horizon17:39
*** hoonetorg has quit IRC17:40
*** ducttape_ has quit IRC17:43
*** sjmc7 has quit IRC17:51
*** tosky has quit IRC17:51
*** hoonetorg has joined #openstack-horizon17:54
*** wolverineav has joined #openstack-horizon17:55
*** wolverineav has joined #openstack-horizon17:55
*** dave-mccowan has joined #openstack-horizon17:57
*** matt-borland has quit IRC18:05
*** tqtran has joined #openstack-horizon18:05
*** sjmc7 has joined #openstack-horizon18:06
*** Tamayo has quit IRC18:08
*** Tamayo has joined #openstack-horizon18:14
*** harlowja has quit IRC18:19
*** btully has quit IRC18:21
*** ducttape_ has joined #openstack-horizon18:28
*** _ducttape_ has joined #openstack-horizon18:29
*** clu_ has joined #openstack-horizon18:32
*** ChanServ sets mode: +v clu_18:32
*** dan_nguyen has quit IRC18:32
*** ducttape_ has quit IRC18:33
*** tmazur has quit IRC18:34
*** uxdanielle has joined #openstack-horizon18:34
*** dan_nguyen has joined #openstack-horizon18:34
*** pkarikh has quit IRC18:37
*** asettle has quit IRC18:38
*** katyafervent_awa has quit IRC18:39
*** kzaitsev_ws has quit IRC18:39
*** tsufiev has quit IRC18:39
*** matt-borland has joined #openstack-horizon18:39
*** javeriak has joined #openstack-horizon18:39
*** asettle has joined #openstack-horizon18:40
*** javeriak_ has quit IRC18:42
*** asettle has quit IRC18:45
*** bpokorny_ has joined #openstack-horizon18:45
*** roxanaghe has quit IRC18:46
*** pcaruana has joined #openstack-horizon18:48
*** bpokorny has quit IRC18:49
*** bpokorny_ has quit IRC18:49
openstackgerritMatt Borland proposed openstack/horizon: WIP: Flavors panel using Angular  https://review.openstack.org/34391718:50
*** vishwanathj has joined #openstack-horizon18:52
*** matt-borland has quit IRC18:55
*** asettle has joined #openstack-horizon18:55
*** _ducttape_ has quit IRC18:59
*** ducttape_ has joined #openstack-horizon18:59
*** matt-borland has joined #openstack-horizon18:59
openstackgerritCindy Lu proposed openstack/horizon: NG Images Create Volume should use constant from images.module.js  https://review.openstack.org/34498919:00
*** bpokorny has joined #openstack-horizon19:00
*** asettle has quit IRC19:01
*** piet_ has joined #openstack-horizon19:02
matt-borlandclu_, thanks for the review!  I19:02
matt-borlandwill follow up shortly.19:02
clu_np matt-borland :)19:05
tqtranmatt-borland: gm matt, got a question for you19:06
matt-borlandhey tqtran, what's up19:06
matt-borland?19:06
tqtrani remember tyr did something with promises to replace the events19:07
openstackgerritDaniel Castellanos proposed openstack/horizon: Removed inline_edit functionality for tables  https://review.openstack.org/34386119:07
matt-borlandtqtran, basically actions return promises.19:07
*** dan_nguyen has quit IRC19:07
tqtranwhat did they return before?19:07
matt-borlandin particular, *perform* returns a promise19:07
matt-borlandnothing19:07
matt-borlandthey just wandered off and did things19:08
tqtranwe wanted perform to return a promise for what reasons again?19:08
matt-borlandso we can react to the completion of the action19:08
matt-borlandthat is, figure out if we need to refresh a display, or whatever behavior is appropriate19:08
tqtranand the table controller is listenting to this how?19:09
matt-borlandif you look at the result handler features, that will give you some perspective on that19:09
matt-borlandit will basically use a .then(...) on the promise that the action returned19:09
tqtranlets say i just added a new instance via an action, and i want to update the instances table19:09
tqtrancan you give me a link to github with the xample in mind?19:10
matt-borlandfirst off, most of that is handled for you if your promises' resolve item indicates updates.19:10
tqtrani gotta run for a bit but will be back and talk more19:10
matt-borlandno problem, it's a useful topic19:10
*** tqtran is now known as tqtran-afk19:10
*** javeriak has quit IRC19:11
*** javeriak has joined #openstack-horizon19:12
*** roxanaghe has joined #openstack-horizon19:13
openstackgerritMatt Borland proposed openstack/horizon: Image uses hz-property for its drawer information  https://review.openstack.org/33408319:14
matt-borlandclu_, ^^ Updated per your comments19:15
*** harlowja has joined #openstack-horizon19:19
*** peristeri has joined #openstack-horizon19:21
*** peristeri has quit IRC19:21
*** peristeri has joined #openstack-horizon19:22
*** zackf has quit IRC19:28
*** zackf has joined #openstack-horizon19:29
openstackgerritEddie Ramirez proposed openstack/horizon: WIP: Fix Sort Indicator Position  https://review.openstack.org/34500119:29
*** ducttape_ has quit IRC19:32
*** zackf has quit IRC19:33
*** jprovazn has quit IRC19:36
*** harlowja has quit IRC19:36
*** sdake has joined #openstack-horizon19:38
*** pkarikh has joined #openstack-horizon19:40
*** katyafervent_awa has joined #openstack-horizon19:43
*** dan_nguyen has joined #openstack-horizon19:44
*** revon has joined #openstack-horizon19:45
*** tsufiev has joined #openstack-horizon19:46
*** ChanServ sets mode: +v tsufiev19:46
*** sdake has quit IRC19:47
*** kzaitsev_mb has joined #openstack-horizon19:52
*** tnovacik has quit IRC19:52
openstackgerritEddie Ramirez proposed openstack/horizon: More filters in servers (Nova)  https://review.openstack.org/33292219:55
*** asettle has joined #openstack-horizon19:58
*** Tamayo has quit IRC19:58
*** Liuqing has joined #openstack-horizon19:58
*** asettle has quit IRC19:58
*** dan_nguyen has quit IRC19:59
openstackgerritEddie Ramirez proposed openstack/horizon: Server-side filtering Identity  https://review.openstack.org/32411220:00
*** Marcellin_ has joined #openstack-horizon20:00
*** Tamayo has joined #openstack-horizon20:00
*** dan_nguyen has joined #openstack-horizon20:01
robcresswellMeeting in #openstack-meeting-320:01
*** Tamayo has quit IRC20:01
*** Tamayo has joined #openstack-horizon20:02
*** julim has joined #openstack-horizon20:02
*** btully has joined #openstack-horizon20:08
*** btully has quit IRC20:12
*** uxdanielle has quit IRC20:18
*** peristeri has quit IRC20:25
*** TravT has joined #openstack-horizon20:25
*** ChanServ sets mode: +v TravT20:25
*** jtriley_ has joined #openstack-horizon20:31
*** javeriak has quit IRC20:33
*** uxdanielle has joined #openstack-horizon20:34
*** jtriley has quit IRC20:34
*** jtriley_ has quit IRC20:36
*** florianf has quit IRC20:38
*** lblanchard has quit IRC20:41
*** dan_nguyen has quit IRC20:46
*** dan_nguyen has joined #openstack-horizon20:47
*** bpokorny has quit IRC20:48
*** wolverin_ has joined #openstack-horizon20:50
*** wolverin_ has quit IRC20:51
*** wolverin_ has joined #openstack-horizon20:52
*** pcaruana has quit IRC20:53
*** wolverineav has quit IRC20:53
*** NightKhaos has quit IRC20:54
*** jerrygb has quit IRC20:56
*** wolverin_ has quit IRC20:57
*** piet_ has quit IRC20:57
*** matt-borland has quit IRC20:58
*** xiong has joined #openstack-horizon20:58
*** gyee has joined #openstack-horizon21:00
*** bpokorny has joined #openstack-horizon21:02
*** jerrygb has joined #openstack-horizon21:02
*** PatSplinter1 has joined #openstack-horizon21:05
*** PatSplinter has quit IRC21:05
xiongr1chardj0n3s: Hey richard, I've created a panel that makes an API call to a neutron plugin, but my GUI doesn't automatically update after making it. Are you familiar with where and how the current images panel automatically updates when an image is created?21:07
*** Tamayo has quit IRC21:07
*** mpavlase has joined #openstack-horizon21:07
Liuqingstatus choice make that works21:09
Liuqingin table21:09
r1chardj0n3smorning21:11
*** Liuqing has quit IRC21:12
r1chardj0n3sxiong: I didn't code that panel but I believe it uses the ActionResult mechanism to communicate changes like that from actions to the the table21:12
*** NightKhaos has joined #openstack-horizon21:13
tyrxiong: are you talking about the Django images panel?21:14
tyrMost actions implemented on the Django side return a redirect to the browser in response to the form submit. Often, this is used to re-load the list of resources such as images.21:14
tyrthe exact behavior is action dependent. As we move to Angular, the pattern becomes make a REST call for the action (such as create image). The response is parsed by the client-side action into an ActionResult promise that the panel can use (or not) to reload all rows, some rows, highlight "dirty" rows, etc.21:17
tyrif you are using hz-dynamic-table directive, the ActionResult promise will be returned to you via the "resultHandler" callback.21:18
openstackgerritDaniel Castellanos proposed openstack/horizon: Removed inline_edit functionality for tables  https://review.openstack.org/34386121:19
lcastellmorning r1chardj0n3s21:20
tyralternatively, you can simply use hz-resource-table directive, which implements an ActionResult handler to automatically reload data on action completion.21:20
*** bpokorny has quit IRC21:20
*** bpokorny has joined #openstack-horizon21:21
*** xiong has quit IRC21:22
*** tqtran-afk is now known as tqtran21:22
*** gyee has quit IRC21:22
*** pauloewerton has quit IRC21:26
*** gyee has joined #openstack-horizon21:26
*** NightKhaos has quit IRC21:28
*** jerrygb has quit IRC21:32
*** mpavlase has quit IRC21:37
openstackgerritMatt Borland proposed openstack/horizon: WIP: Flavors panel using Angular  https://review.openstack.org/34391721:38
*** darrenc is now known as darrenc_afk21:41
*** PatSplinter1 has quit IRC21:41
openstackgerritYosef Hoffman proposed openstack/horizon: Use nav-tabs in workflows  https://review.openstack.org/34506221:43
*** PatSplinter has joined #openstack-horizon21:44
*** xiong has joined #openstack-horizon21:47
openstackgerritTravis Tripp proposed openstack/horizon: Adding project name column to ng images  https://review.openstack.org/33925621:48
*** NightKhaos has joined #openstack-horizon21:50
xiongtyr: Sorry I stepped away a moment. I am talking about the angular side of things. Currently, I use hz-resource-table in my panel.html, and register an action with my resource.21:52
*** yohoffman has quit IRC21:53
openstackgerritTyr Johanson proposed openstack/horizon: Schema Form Modal Service  https://review.openstack.org/34506721:53
xiongThen for the back end, I have a service that opens the modal and sends the data to the API. I see the result service that people have mentioned in the ngimages version of things21:53
tyrrobcresswell: See https://review.openstack.org/345067 Schema Form Modal Service21:53
xiongDo I just return actionResultService.getActionResult().created(resourceType, data).result; ?21:54
tyryes, but strike the ".result"21:55
*** uxdanielle has quit IRC21:56
tyrthe idea is that any client side "action" returns a promise that contains standardized data. In this way, the action that you register as an OS::Glance::Image action, can be called by anyone, even if they didn't know your action existed.21:57
tyrbecause the return is a promise, the caller can tell when the action completes (or not), and because it contains an ActionResult object...the caller knows if you have "updated", "deleted" or "created" any items...and the type of those items.21:58
tyrthe caller can then decide if it cares about those types.  For example, you can "create volume from image" which is an image action...but returns a volume...so the images page can choose to ignore the returned data.21:59
tyrsorry, I might have confused the promise and return type. I meant that the action "perform" method should return a promise that resolves when the action is complete.22:02
tyrand the promise should resolve with an ActionResult object as data. Promise chaining is used to make that all work. Let me know if you need examples.22:03
xiongHm, let me give it a try, and I'll ping you if I need something more concrete to look at22:04
*** TravT_ has joined #openstack-horizon22:09
*** ChanServ sets mode: +v TravT_22:09
*** mvk has joined #openstack-horizon22:09
openstackgerritSteve McLellan proposed openstack/horizon: WIP Swift account quota support  https://review.openstack.org/34507122:10
*** harlowja has joined #openstack-horizon22:11
*** TravT has quit IRC22:11
*** harlowja has quit IRC22:11
*** piet_ has joined #openstack-horizon22:13
*** sjmc7 has quit IRC22:14
*** uxdanielle has joined #openstack-horizon22:16
*** TravT_ has quit IRC22:22
*** darrenc_afk is now known as darrenc22:24
*** purva has quit IRC22:24
r1chardj0n3syo tqtran22:31
*** jerrygb has joined #openstack-horizon22:33
tqtranr1chardj0n3s: shello22:34
*** wolverineav has joined #openstack-horizon22:34
r1chardj0n3sohai, just read your initScope response, thanks!22:35
r1chardj0n3sI'll respond in email, but I did want to pick your brain about the re-use aspect of the workflow steps: do you have a concrete example of where that would be used, because it seems we're jumping through hoops to support it without one (ie. YAGNI)22:35
tqtranyeah, the metadata update step is an example22:36
tqtranlet me double check and see if i can find a reference to it22:37
r1chardj0n3sany others?22:37
tqtranso far thats the only one22:37
tqtrani know that doug-fish argued strongly for it when he was around22:37
r1chardj0n3sso if we ignore re-use, the data model becomes a lot simpler and events are unnecessary AFAICT22:38
tqtranhis team did more of the plugin work, i just helped lay the foundation for it22:38
r1chardj0n3sand re-use is, as far as I can tell, only potentially useful in one step type22:38
tqtrani actually think it might be ok, you can still do the workflow.model thing22:38
tqtranand still have the step controllers be independent22:39
*** piet_ has quit IRC22:39
tqtranworkflow.model defines an empty object, which the steps controller will populate22:39
tqtranand you can still share data between steps via scope.$watch22:39
r1chardj0n3sthe schemaform changes will potentially make that reuse stuff a lot easier too22:39
*** piet_ has joined #openstack-horizon22:39
r1chardj0n3ssince the form model will be defined at a higher level, so should be shareable22:39
*** jerrygb has quit IRC22:39
tqtranyeah, thats true22:40
r1chardj0n3syep, the *key* change is that the scope stuff isn't done in a *service* but rather in controllers which *have* scopes, unlike services :-)22:40
r1chardj0n3swatching is definitely still necessary22:40
tqtranyes, but the thing is, your step controller has a different scope than your table controller22:41
r1chardj0n3syeah, the table scope -> workflow controller scope -> [n step controller scopes]22:41
tqtranyes, thats the way it works today, and we are able to do it because we initScope22:41
r1chardj0n3soh, hmm, no the workflow controller scope is aside it in the modal22:41
r1chardj0n3sso the *workflow controller* should be manually scoped, not the action22:42
r1chardj0n3slemme just rewrite that22:42
tqtranthe scope gets pass onto the $modal with then launches the workflow with the scope taken from table22:42
r1chardj0n3syes, but at the moment that scope capture is done in the service, which is bad (do we agree on that?) when it should be done in the workflow controller22:42
tqtranlet me reword that: the scope from the table is propagated from table -> $modal -> workflow -> steps22:43
tqtrani agree it is bad, yes22:43
tqtranbut i dont see a workaround atm.22:43
r1chardj0n3sI do :-)22:43
tqtranif you launched the $modal from the table controller, then you avoid the initScope22:44
r1chardj0n3sso I think that the action perform() needs to require a scope which is passed through to the modal controller (ie. the workflow controller)22:44
tqtranwhat is the workaround you have in mind?22:44
tqtranand where does the workflow controller gets its scope?22:45
r1chardj0n3sgimme a sec, just confirming something22:46
r1chardj0n3sI'm pretty sure the workflow controller *is* the $modal controller22:46
r1chardj0n3sah, no, there's a generic WizardModalController in-between22:47
tqtrani believe the wizard modal controller launches the $modal22:47
tqtranand guess where $modal gets it scope from :P22:48
tqtranthe table controller22:48
r1chardj0n3sthe WizardModalService invokes $modal.open22:48
tqtranright22:48
r1chardj0n3s... which is hard-coded to use WizardModalController22:48
r1chardj0n3sbut it does so using the scope passed in22:48
r1chardj0n3s(the scope passed to WizardModalService.modal)22:49
tyrr1chardj0n3s: what are the events in question. Is there a reason data binding isn't appropriate?22:49
r1chardj0n3s*that* is currently taken from the action service invoking the modal22:49
r1chardj0n3styr: tqtran is arguiing that events need to propogate out from the workflow, yes, though I'm not sure which ones22:50
r1chardj0n3sI think that ActionResult was intended to replace all that though22:50
*** bpokorny has quit IRC22:50
*** itisha has quit IRC22:50
r1chardj0n3s(since workflows are created as part of an action)22:50
tqtranr1chardj0n3s: yeah, action result was intended to replace events22:50
*** wolverineav has quit IRC22:50
tqtranbut my argument is, i still think that you need to initScope (especially if you are going to be watching models in the steps controller)22:51
r1chardj0n3s*inside* the workflow, we can definitely do data binding and watching inside the workflow scope independently of the table22:51
r1chardj0n3stqtran: ^^ :-)22:51
tqtrani think some code will go a long way22:51
tqtranright now, we could just be talking pass each other22:51
tyris this a patch currently?22:51
r1chardj0n3sno, but it will be soon, I hope22:51
tqtranit is not, we are talking about it22:52
r1chardj0n3s(that I will write)22:52
xiongtyr: Have a question about the actionResultService, but don't want to mix up tqtran and r1chardj0n3s conversation. Is there a way to unicast you? Alternatively, I don't mind waiting22:52
*** catintheroof has joined #openstack-horizon22:52
r1chardj0n3stqtran / tyr : I will respond to Thai's email and look into a concrete patch22:52
tyrr1chardj0n3s: Please add me as a reviewer to that (future) patch. I have particular interest in seeing data binding usage spread22:53
r1chardj0n3styr: did you see the email?22:53
*** TravT has joined #openstack-horizon22:53
tyr*the* email? :) no.22:53
r1chardj0n3swe don't get *that* much [Horizon] email :-P22:53
*** ChanServ sets mode: +v TravT22:53
tyroutlook hides it somewhere on me22:54
r1chardj0n3s"[Horizon] Angular action services and initScope" in openstack-dev22:54
r1chardj0n3syour thoughts would be appreciated22:54
r1chardj0n3sI'm worried that changes I make in this sort of patch will be out of date when robcresswell's schemaform patch lands though22:55
*** asettle has joined #openstack-horizon22:55
r1chardj0n3sbut I'll have a crack anyway, to get the general idea across22:55
*** wolverineav has joined #openstack-horizon22:55
*** bpokorny has joined #openstack-horizon22:55
tyrfwiw, I haven't even coded initScope in any actions for months22:56
r1chardj0n3sthat's because you're a good person tyr22:57
tyrlol...I just meant, outside of workflows, the conversion to returning action promises eliminated the need22:57
tyrand thank you. At least somebody thinks so.22:57
r1chardj0n3syep22:57
* r1chardj0n3s blames a lot of confusion for AngularJS calling things "factory" when they're not22:58
r1chardj0n3sservice and factory being basically exactly the same thing, only *slightly* different in a way that doesn't really matter at all and yet we have those two things like they *seem* to be different to newbies (and some experienced folks)22:59
r1chardj0n3s(and their docs etc. all just revert to "factory() returns a service" which triply-confuses things)22:59
r1chardj0n3sugh23:00
tyryou are interested in cleaning up workflows in particualr?23:00
tyrperhaps isolating the steps as individual actions?23:00
*** harlowja has joined #openstack-horizon23:00
r1chardj0n3sForemost is nuking initScope across the board; to do so I will most likely need to make some changes to workflow, hopefully not too drastic (the email talks about the changes in a broad sense)23:01
tyrroger. I'm a big fan23:02
tyrhave to run, but feel free to loop me in on further developments.23:02
r1chardj0n3sI'll be keeping that email discussion up to date23:02
tyrI resubscribed to the list.23:03
*** tyr has quit IRC23:03
*** harlowja has quit IRC23:03
r1chardj0n3s\o/23:04
r1chardj0n3sfwiw I mark [Horizon] and [all] interesting, and everything else goes into to an easy-to-delete folder ;-)23:04
r1chardj0n3skeeps the noise under control23:04
*** alexvictorchan has quit IRC23:05
xiongr1chardj0n3s: Do you know anybody other than tyr that is familiar w/ the ngimages panel/how actionResultServices are handled?23:05
r1chardj0n3sxiong: I am somewhat familiar with that stuff though I've not implemented anything using it yet23:05
xiongDo you mind helping me out? I was just going to ask him about getting the angular page to autoupdate after an API call.23:06
xiongHe mentioned returning an actionResultService being passed as the resolve value of a promise from the perform() function in the action service23:07
*** TravT has quit IRC23:07
*** harlowja has joined #openstack-horizon23:07
r1chardj0n3syep23:07
r1chardj0n3sare you using hz-dynamic-table or hz-resource-table for your table rendering?23:07
xiongMy understanding is that if I return one of those promises, whatever function in the framework calls the service will also be responsible for updating after the API call, is that correct?23:08
xionghz-resource-table23:08
openstackgerritMerged openstack/horizon: Image uses hz-property for its drawer information  https://review.openstack.org/33408323:08
r1chardj0n3s hz-dynamic-table and hz-resource-table have methods of handling ActionResults from a perform() ... dynamic is manual (through an explicit handler provided to the directive) and resource is automatic23:08
r1chardj0n3sso it should be updated automatically23:09
xiongSo as long as that action is registered to the resource type, the hz-resource-table that uses that resource type will automatically update?23:09
r1chardj0n3ssee actions/create-volume.service.js in the ngimages23:09
r1chardj0n3sapp/core/images/actions... that is23:10
*** revon has quit IRC23:10
r1chardj0n3syou can see that the perform() creates a modal, which when it resolves will invoke submit() which when it resolves invokes showSuccessMessage which right at the end returns the action result which is propogated all the way back through all those promises23:11
*** TravT has joined #openstack-horizon23:11
*** ChanServ sets mode: +v TravT23:11
r1chardj0n3sand that is handled automatically by hz-resource-table23:11
xiongRight, that's what I'm trying to emulate, but I can't seem to get the update23:11
r1chardj0n3sso yes, the resource type code must match23:12
r1chardj0n3swe use injectables to ensure we get the type code correct23:12
r1chardj0n3svolumeResourceType in the create-volume case23:12
*** harlowja has quit IRC23:12
r1chardj0n3s(that should really be volumeResourceTypeCode, but alas)23:12
xiongHm, I will take another look at my code because it seems my understanding was correct23:15
xiongThe other thing I'm curious about is the initScope function that's in some of the services23:15
xiongI took a peek at what you guys were talking about above, and it seems like that's not essential? and that you want to get rid of it?23:15
r1chardj0n3sxiong: it's definitely not essential and yes I wish to nuke it23:16
xiongIt looked like a way to set up watchers on certain fields in workflows, is that right?23:16
r1chardj0n3syou can definitely write action services which don't need to use it23:16
r1chardj0n3ssomething like that yes23:16
xiongOk, but I guess the bottom line is that I'll live just fine not knowing what it does :P23:17
*** Marcellin_ has quit IRC23:17
xiongThanks for clarifying :) helps a lot23:18
r1chardj0n3syep :-)23:20
*** asettle has quit IRC23:21
*** TravT has quit IRC23:25
xiongr1chardj0n3s: In my panel, I'm not using the wizardModalService that create-volume.service.js and create.action.service.js use. Is it important that I use that in order for hz-resource-table to autoupdate? I'm returning a actionResult like the two services, and the only difference I can tell is that I don't use the wizard.23:29
r1chardj0n3sno, if you don't have a wizard/workflow then you don't need to use that thing23:29
*** roxanaghe has quit IRC23:35
*** jerrygb has joined #openstack-horizon23:35
*** alexvictorchan has joined #openstack-horizon23:39
*** jerrygb has quit IRC23:41
*** btully has joined #openstack-horizon23:45
openstackgerritTimur Sufiev proposed openstack/horizon: Allow wiring of <hz-dynamic-table> into <transfer-table>  https://review.openstack.org/32664123:47
*** zhurong has joined #openstack-horizon23:48
*** btully has quit IRC23:50
*** kzaitsev_mb has quit IRC23:53
*** uxdanielle has quit IRC23:55

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