Monday, 2017-02-06

*** Jeffrey4l has joined #openstack-horizon00:02
*** lucas_ has quit IRC00:05
*** lucas_ has joined #openstack-horizon00:19
openstackgerritRichard Jones proposed openstack/horizon master: Move Consistency Groups out of Volumes panel  https://review.openstack.org/42942200:24
openstackgerritRichard Jones proposed openstack/horizon master: Move Volume Backups out of tabbed panel  https://review.openstack.org/42858100:25
openstackgerritRichard Jones proposed openstack/horizon master: Move Consistency Groups out of Volumes panel  https://review.openstack.org/42942200:25
openstackgerritRichard Jones proposed openstack/horizon master: Move Consistency Groups out of Volumes panel  https://review.openstack.org/42942200:27
*** lucas_ has quit IRC00:33
*** mtanino has joined #openstack-horizon00:40
*** kzaitsev_mb has joined #openstack-horizon00:41
*** lucas_ has joined #openstack-horizon00:56
openstackgerritEric Brown proposed openstack/horizon master: Sync keystone policy to latest  https://review.openstack.org/42942901:05
*** mtanino has quit IRC01:08
*** lucas_ has quit IRC01:10
*** zhurong has joined #openstack-horizon01:13
*** lucas_ has joined #openstack-horizon01:20
*** tqtran has joined #openstack-horizon01:23
openstackgerritEric Brown proposed openstack/horizon master: Fix the awkward English in description for extra info  https://review.openstack.org/42943301:23
*** lucas_ has quit IRC01:24
*** tqtran has quit IRC01:28
*** lucas_ has joined #openstack-horizon01:33
*** Jeffrey4l_ has joined #openstack-horizon01:51
*** ianychoi has quit IRC01:52
*** Jeffrey4l has quit IRC01:53
*** zhugaoxiao has joined #openstack-horizon01:53
*** ianychoi has joined #openstack-horizon01:54
*** Daisy has joined #openstack-horizon02:00
*** mtanino has joined #openstack-horizon02:02
*** lucas_ has quit IRC02:22
*** shu-mutou has joined #openstack-horizon02:43
openstackgerrityuhui proposed openstack/horizon master: Correct some spelling errors  https://review.openstack.org/42945302:47
*** Daisy has quit IRC02:54
*** Daisy has joined #openstack-horizon02:55
*** Daisy_ has joined #openstack-horizon03:28
*** Daisy has quit IRC03:31
*** ianychoi has quit IRC03:37
*** ianychoi has joined #openstack-horizon03:39
*** Daisy_ has quit IRC03:45
*** Daisy has joined #openstack-horizon03:51
openstackgerritxurong00037997 proposed openstack/horizon master: Update hacking version  https://review.openstack.org/42948103:52
*** amotoki has quit IRC03:56
*** Daisy has quit IRC03:56
*** Daisy has joined #openstack-horizon03:58
*** Daisy has quit IRC04:02
*** zhurong has quit IRC04:04
*** kzaitsev_mb has quit IRC04:04
*** amotoki has joined #openstack-horizon04:11
*** ianychoi has quit IRC04:12
*** ianychoi has joined #openstack-horizon04:14
openstackgerritMerged openstack/manila-ui master: Imported Translations from Zanata  https://review.openstack.org/42919404:33
*** ratailor has joined #openstack-horizon04:40
*** david-lyle has joined #openstack-horizon04:46
*** ChanServ sets mode: +o david-lyle04:46
*** zhurong has joined #openstack-horizon04:50
*** david-lyle_ has joined #openstack-horizon04:50
*** david-lyle has quit IRC04:50
*** david-lyle_ is now known as david-lyle04:52
*** ChanServ sets mode: +o david-lyle04:52
*** amotoki has quit IRC05:04
*** Daisy has joined #openstack-horizon05:10
*** david-lyle has quit IRC05:21
*** tqtran has joined #openstack-horizon05:24
*** zhurong has quit IRC05:26
openstackgerritRichard Jones proposed openstack/horizon master: Move Consistency Group Snapshots out of Volumes panel  https://review.openstack.org/42950605:26
*** shu-mutou is now known as shu-mutou-AWAY05:27
*** tqtran has quit IRC05:29
*** Daisy has quit IRC05:33
*** Daisy has joined #openstack-horizon05:34
*** amotoki has joined #openstack-horizon05:35
openstackgerritRichard Jones proposed openstack/horizon master: Move Consistency Group Snapshots out of Volumes panel  https://review.openstack.org/42950605:43
openstackgerritRichard Jones proposed openstack/horizon master: Move Consistency Groups out of Volumes panel  https://review.openstack.org/42942205:43
openstackgerritRichard Jones proposed openstack/horizon master: Move Volume Backups out of tabbed panel  https://review.openstack.org/42858105:43
openstackgerritRevon Mathews proposed openstack/horizon master: Fixes the bugs in the xstatic-d3 upgrades  https://review.openstack.org/42791806:10
*** revon has joined #openstack-horizon06:11
*** hurgleburgler has quit IRC06:14
openstackgerritOpenStack Proposal Bot proposed openstack/django_openstack_auth master: Imported Translations from Zanata  https://review.openstack.org/42952106:26
*** mtanino has quit IRC06:46
openstackgerritRichard Jones proposed openstack/horizon master: Move Consistency Group Snapshots out of Volumes panel  https://review.openstack.org/42950607:03
*** tesseract has joined #openstack-horizon07:12
*** yamamoto has quit IRC07:25
openstackgerritBéla Vancsics proposed openstack/horizon master: Use more specific asserts in tests  https://review.openstack.org/35898707:35
openstackgerritBéla Vancsics proposed openstack/horizon master: Use more specific asserts in tests  https://review.openstack.org/35898707:40
*** Daisy has quit IRC07:55
*** Daisy has joined #openstack-horizon07:55
*** pcaruana has joined #openstack-horizon07:55
openstackgerritOpenStack Proposal Bot proposed openstack/horizon master: Imported Translations from Zanata  https://review.openstack.org/42955108:00
*** Daisy has quit IRC08:00
*** Daisy has joined #openstack-horizon08:01
*** zhurong has joined #openstack-horizon08:03
*** Daisy has quit IRC08:06
*** pcaruana has quit IRC08:07
*** pcaruana has joined #openstack-horizon08:07
*** Daisy has joined #openstack-horizon08:07
openstackgerritxurong00037997 proposed openstack/horizon master: Replace six.iteritems/itervalues with dict.items()/values()  https://review.openstack.org/42955608:10
*** Daisy has quit IRC08:12
*** Daisy has joined #openstack-horizon08:14
*** Daisy has quit IRC08:18
*** Daisy has joined #openstack-horizon08:20
*** Daisy has quit IRC08:24
*** Daisy has joined #openstack-horizon08:26
*** Daisy has quit IRC08:30
*** Daisy has joined #openstack-horizon08:32
*** yamamoto has joined #openstack-horizon08:35
*** Daisy has quit IRC08:37
*** Daisy has joined #openstack-horizon08:38
*** Daisy has quit IRC08:43
*** Daisy has joined #openstack-horizon08:44
*** yamamoto has quit IRC08:47
*** Daisy has quit IRC08:49
*** Daisy has joined #openstack-horizon08:50
*** jpich has joined #openstack-horizon08:52
*** lifeless has quit IRC08:54
*** Daisy has quit IRC08:55
*** itxaka has joined #openstack-horizon08:55
*** lifeless has joined #openstack-horizon08:55
*** kzaitsev_mb has joined #openstack-horizon08:59
*** Bluebell_ has joined #openstack-horizon09:05
*** Daisy has joined #openstack-horizon09:20
*** Daisy has quit IRC09:25
*** tqtran has joined #openstack-horizon09:26
*** Daisy has joined #openstack-horizon09:26
*** Daisy has quit IRC09:30
*** tqtran has quit IRC09:31
*** kzaitsev_mb has quit IRC09:33
*** Daisy has joined #openstack-horizon09:37
*** Daisy has quit IRC09:41
betherlyr1chardj0n3s: submitted patch to https://review.openstack.org/#/c/375170/09:56
*** zhurong has quit IRC09:56
*** Daisy has joined #openstack-horizon10:14
*** Daisy has quit IRC10:19
openstackgerritMerged openstack/horizon master: Imported Translations from Zanata  https://review.openstack.org/42955110:21
*** ratailor has quit IRC10:30
*** kzaitsev_mb has joined #openstack-horizon10:31
*** aortega has quit IRC10:34
*** yamamoto has joined #openstack-horizon10:45
*** zhurong has joined #openstack-horizon10:45
*** Daisy has joined #openstack-horizon10:47
*** yamamoto has quit IRC10:48
*** Daisy has quit IRC10:51
*** amotoki has quit IRC10:55
openstackgerritMerged openstack/horizon master: Fix the awkward English in description for extra info  https://review.openstack.org/42943310:57
*** yamamoto has joined #openstack-horizon11:20
*** aortega has joined #openstack-horizon11:20
*** yamamoto has quit IRC11:31
*** wolverineav has joined #openstack-horizon11:31
*** amotoki has joined #openstack-horizon11:35
*** wolverineav has quit IRC11:35
*** kzaitsev_mb has quit IRC11:51
*** kzaitsev_mb has joined #openstack-horizon11:52
*** amotoki has quit IRC12:03
*** yamamoto has joined #openstack-horizon12:04
*** yamamoto has quit IRC12:08
*** amotoki has joined #openstack-horizon12:10
*** early has quit IRC12:12
*** dave-mccowan has joined #openstack-horizon12:14
robcresswellr1chardj0n3s: Started looking at volumes. Mostly looks solid.12:17
robcresswellr1chardj0n3s: Really nice work. I think we'll need to reorg admin dash too, match it to Project?12:18
*** early has joined #openstack-horizon12:28
*** amotoki has quit IRC12:33
*** catintheroof has joined #openstack-horizon13:03
*** amotoki has joined #openstack-horizon13:12
*** tqtran has joined #openstack-horizon13:27
*** Jeffrey4l_ has quit IRC13:32
*** tqtran has quit IRC13:32
*** Jeffrey4l_ has joined #openstack-horizon13:34
*** amotoki has quit IRC13:38
*** ppiela has joined #openstack-horizon13:42
*** Pavo has joined #openstack-horizon13:51
*** wolverineav has joined #openstack-horizon13:53
*** tosky has joined #openstack-horizon13:56
*** wolverin_ has joined #openstack-horizon13:57
*** wolverineav has quit IRC13:57
*** Jeffrey4l_ has quit IRC13:58
dstanekp/b 2213:59
*** dmsimard has joined #openstack-horizon14:01
dmsimardrobcresswell: o/ I have a question about https://review.openstack.org/#/c/400794/2 (not being super familiar with Horizon)14:01
dmsimardIt seems after that patch our builds started failing with the following stack trace: http://paste.openstack.org/raw/597843/14:02
dmsimardMaybe instead of None the value should be an empty list -> [] ?14:04
*** lucas_ has joined #openstack-horizon14:08
*** david-lyle has joined #openstack-horizon14:09
*** ChanServ sets mode: +o david-lyle14:09
*** zhurong has quit IRC14:09
*** david-lyle has quit IRC14:16
*** sergio__ has joined #openstack-horizon14:17
*** sergio__ has quit IRC14:17
openstackgerritDavid Moreau Simard proposed openstack/horizon master: Set files to an empty list instead of None  https://review.openstack.org/42972114:18
*** chlong has joined #openstack-horizon14:19
*** breitz has quit IRC14:20
*** matt-borland has joined #openstack-horizon14:23
*** jprovazn has joined #openstack-horizon14:27
*** lucas_ has quit IRC14:28
*** Pavo has quit IRC14:37
*** Pavo has joined #openstack-horizon14:37
*** Pavo has quit IRC14:40
*** Pavo has joined #openstack-horizon14:41
*** hurgleburgler has joined #openstack-horizon14:43
*** ChanServ sets mode: +v hurgleburgler14:43
*** jtriley has joined #openstack-horizon14:45
*** Pavo has quit IRC14:49
*** Pavo has joined #openstack-horizon14:50
robcresswellHmm, interesting, one moment15:06
*** lucas_ has joined #openstack-horizon15:07
robcresswelldmsimard: I can't recreate it. My understanding is that None indicates it should use whatever is defined in the packages MAIN15:08
*** lucas_ has quit IRC15:09
*** wolverin_ has quit IRC15:09
dmsimardrobcresswell: my patch fixes our build failure but I'm otherwise not familiar enough with the internals involved15:09
dmsimardMaybe the right fix is elsewhere15:10
robcresswelldmsimard: If you look at the settings.py there are other None definitions too15:10
*** wolverineav has joined #openstack-horizon15:10
robcresswelldmsimard: Are your dependencies up to date? Thats the only thing I could think it might be.15:10
dmsimardrobcresswell: that argument goes both ways, there are empty lists as well just below :)15:11
*** wolverineav has quit IRC15:11
robcresswelldmsimard: Yes, for SCSS files.15:12
*** wolverineav has joined #openstack-horizon15:12
robcresswellOh wait, more JS too15:12
robcresswellHmm...15:12
robcresswelldmsimard: https://github.com/openstack/horizon/blob/4c2e2bbf9ef0551c1279f7665ac8847ac5aa8bba/openstack_dashboard/utils/settings.py#L251 should set the files correctly.15:14
*** Bluebell_ has left #openstack-horizon15:14
openstackgerritGábor Antal proposed openstack/horizon master: Fixed indentation in changepasswordpage.py  https://review.openstack.org/42974615:15
dmsimard¯\_(ツ)_/¯15:15
dmsimardWhy is files being remapped ? https://github.com/openstack/horizon/blob/4c2e2bbf9ef0551c1279f7665ac8847ac5aa8bba/openstack_dashboard/utils/settings.py#L23815:16
robcresswell¯\_(ツ)_/¯15:17
robcresswellWhy make code easy when you could make it hard15:17
dmsimardWhere's the MAIN stuff located ?15:18
*** wolverineav has quit IRC15:18
*** breitz has joined #openstack-horizon15:18
lcastello/15:19
dmsimardoh god, inside the xstatic module ?15:19
dmsimardas far as I can tell, the xstatic modules for both jsencrypt and gettext are up to date ..15:22
*** lucas_ has joined #openstack-horizon15:22
*** edtubill has joined #openstack-horizon15:27
*** lblanchard has joined #openstack-horizon15:29
*** lucas_ is now known as lucashxu15:31
dmsimardrobcresswell: you need to bump the requirements15:32
dmsimardrobcresswell: the ones that you have don't work15:32
*** kzaitsev_mb has quit IRC15:32
dmsimardhttp://paste.openstack.org/raw/597857/15:32
dmsimardneither XStatic-JSEncrypt>=2.0.0.2 or XStatic-Angular-Gettext>=2.1.0.2 provides a .MAIN15:33
dmsimardas in, ==2.0.0.2 and ==2.1.0.215:33
robcresswelldmsimard: Ah, thats it15:33
robcresswelldmsimard: Out of curiosity, why are you installing the oldest possible version?15:33
robcresswellI'll patch requirements today15:34
*** kzaitsev_mb has joined #openstack-horizon15:34
dmsimardIt's what we happen to have in RDO right now -- we keep openstack project packages up-to-date and rebuild on every commit but we don't do the same for external dependencies15:35
openstackgerritLiuqing Jing proposed openstack/horizon master: Add suppressError param for glance.service.js  https://review.openstack.org/42975115:35
robcresswelldmsimard: Okay, good to know15:35
*** Liuqing has joined #openstack-horizon15:37
dmsimardrobcresswell: can you try to make sure reqs.txt as a whole is good and not just those two ? We're already currently in the process of updating deps as RC1s are slowing starting to roll out.15:37
robcresswelldmsimard: Yeah, I'm doing exactly that now15:38
dmsimardthanks15:38
openstackgerritLiuqing Jing proposed openstack/horizon master: Add suppressError param for glance.service.js  https://review.openstack.org/42975115:39
dmsimardrobcresswell: I don't know if you want to put related-bug or closes-bug on https://bugs.launchpad.net/horizon/+bug/1662180 -- I added a comment15:40
openstackLaunchpad bug 1662180 in OpenStack Dashboard (Horizon) "manage.py collectstatic failing with 'NoneType' object is not iterable" [Undecided,In progress] - Assigned to David Moreau Simard (dmsimard)15:40
*** Liuqing has quit IRC15:40
robcresswelldmsimard: I think we can just close it; its a requirements bug, not Horizon, strictly speaking. Installing from upper-constraints works fine, its just outdated mins15:42
dmsimardOk, up to you, I'll add a comment in it with your review.15:43
robcresswelldmsimard: https://review.openstack.org/#/c/42975315:43
*** itxaka_ has joined #openstack-horizon16:03
*** kzaitsev_mb has quit IRC16:04
*** fishbone has quit IRC16:08
*** spartacloud has joined #openstack-horizon16:08
*** sacharya has joined #openstack-horizon16:12
*** sergio has joined #openstack-horizon16:20
*** sergio is now known as Guest1569216:20
*** Guest15692 has quit IRC16:21
*** breitz has quit IRC16:21
*** gary-smith has quit IRC16:26
*** gary-smith has joined #openstack-horizon16:27
*** jprovazn is now known as jprovazn_bbl16:30
*** pcaruana has quit IRC16:38
*** gary-smith has quit IRC16:40
*** gary-smith has joined #openstack-horizon16:42
*** gary-smith has quit IRC16:42
*** gary-smith has joined #openstack-horizon16:42
*** pjm6 has joined #openstack-horizon16:44
pjm6Hi there16:44
pjm6it's possible to see in horizon total space available or at least used in cinder volumes?16:44
*** wolverineav has joined #openstack-horizon16:44
*** ducttape_ has quit IRC16:55
openstackgerritMilan Potdar proposed openstack/horizon master: [WIP]Add missing links to detail pages in tables.  https://review.openstack.org/42748416:57
*** itxaka_ has quit IRC17:03
*** itxaka has quit IRC17:03
*** Daisy has joined #openstack-horizon17:06
*** breitz has joined #openstack-horizon17:07
*** wolverineav has quit IRC17:07
*** wolverineav has joined #openstack-horizon17:09
*** Daisy has quit IRC17:11
*** wolverineav has quit IRC17:14
ediardoo/17:15
*** jose-phillips has joined #openstack-horizon17:17
*** wolverineav has joined #openstack-horizon17:17
*** tesseract has quit IRC17:18
*** weezS has joined #openstack-horizon17:19
*** harlowja has joined #openstack-horizon17:20
*** ducttape_ has joined #openstack-horizon17:20
*** spartacloud has quit IRC17:28
*** tqtran has joined #openstack-horizon17:29
*** lucashxu has quit IRC17:32
*** lucas_ has joined #openstack-horizon17:33
mpotdarHi, I remember there were two options in source type when we create image "file" and "url"? Was the url removed or its just missing.17:33
*** tqtran has quit IRC17:34
*** jpich has quit IRC17:34
*** weezS has quit IRC17:45
*** harlowja has quit IRC17:49
*** wolverin_ has joined #openstack-horizon18:04
*** wolverineav has quit IRC18:04
*** wolverin_ has quit IRC18:06
*** tqtran has joined #openstack-horizon18:06
*** wolverineav has joined #openstack-horizon18:14
*** wolverineav has quit IRC18:18
openstackgerritEddie Ramirez proposed openstack/horizon master: Small UI change in User Credentials Details modal  https://review.openstack.org/42982018:19
openstackgerritEddie Ramirez proposed openstack/horizon master: Small UI change in User Credentials Details modal  https://review.openstack.org/42982018:21
lucas_hi guys! I am trying to get the k2k plugin going within the devstacks that I have. Is there a documentation that I could follow to set up horizon? Or I should just enable the plugin? Thanks!18:30
*** breitz has quit IRC18:30
*** pcaruana has joined #openstack-horizon18:36
*** tosky has quit IRC18:38
robcresswelllucas_: I dont know of documentation off the top of my head; keystone would be a better place to ask I would expect.18:39
robcresswellmpotdar: You'll need to downgrade to Glance v118:39
lucas_robcresswell: Thanks Rob!18:40
dstaneklucas_: i think you just setup for websso18:44
*** harlowja has joined #openstack-horizon18:44
lucas_dstanek: Thanks, are you suggesting I should setup keystone federation with horizon and the dropdown will show up afterwards?18:45
dstaneklucas_: i believe you just add you k2k idp to the WEBSSO_CHOICES18:47
dstaneki haven't actually done this in quite a while18:47
lucas_dstanek, thanks, I will explore it a bit  :)18:48
*** chlong has quit IRC18:52
*** wolverineav has joined #openstack-horizon18:55
*** wolverineav has quit IRC18:59
*** wolverineav has joined #openstack-horizon19:01
*** chlong has joined #openstack-horizon19:09
*** pcaruana has quit IRC19:11
*** clu_ has joined #openstack-horizon19:13
*** ChanServ sets mode: +v clu_19:13
*** ppiela has quit IRC19:14
*** kzaitsev_mb has joined #openstack-horizon19:22
*** weezS has joined #openstack-horizon19:23
*** itxaka has joined #openstack-horizon19:24
*** ducttape_ has quit IRC19:25
*** ducttape_ has joined #openstack-horizon19:27
*** edtubill has quit IRC19:31
*** spartacloud has joined #openstack-horizon19:31
*** ducttape_ has quit IRC19:36
*** ducttape_ has joined #openstack-horizon19:37
*** clu_ has quit IRC19:59
*** ducttape_ has quit IRC20:05
*** jamespd has quit IRC20:07
*** jamespd has joined #openstack-horizon20:07
*** mtanino has joined #openstack-horizon20:11
*** MasterOfBugs has joined #openstack-horizon20:11
*** wolverineav has quit IRC20:13
*** lucas_ has quit IRC20:15
*** david-lyle has joined #openstack-horizon20:16
*** ChanServ sets mode: +o david-lyle20:16
*** lucas_ has joined #openstack-horizon20:16
openstackgerritMerged openstack/horizon master: Sync keystone policy to latest  https://review.openstack.org/42942920:19
openstackgerritMerged openstack/horizon master: Remove deprecated calls to novaclient.v2.contrib  https://review.openstack.org/42907020:21
*** wolverineav has joined #openstack-horizon20:25
r1chardj0n3srobcresswell: yeah, some reorg of admin makes sense too, but that's mostly just easy shuffling20:26
*** wolverineav has quit IRC20:29
*** Pavo has quit IRC20:44
*** Jeffrey4l has joined #openstack-horizon20:44
*** breitz has joined #openstack-horizon20:45
*** wolverineav has joined #openstack-horizon20:45
*** breitz has quit IRC20:45
*** breitz_ has joined #openstack-horizon20:45
*** Jeffrey4l has quit IRC20:49
*** chlong has quit IRC20:49
*** wolverineav has quit IRC20:50
*** Jeffrey4l has joined #openstack-horizon20:51
*** Jeffrey4l has quit IRC20:55
*** Jeffrey4l has joined #openstack-horizon20:56
*** Jeffrey4l has quit IRC20:57
*** Jeffrey4l has joined #openstack-horizon20:58
*** ducttape_ has joined #openstack-horizon21:00
*** david-lyle has quit IRC21:02
*** Jeffrey4l has quit IRC21:03
*** Jeffrey4l has joined #openstack-horizon21:06
*** wolverineav has joined #openstack-horizon21:06
*** yamamoto has joined #openstack-horizon21:06
*** wolverineav has quit IRC21:10
*** Jeffrey4l has quit IRC21:11
*** yamamoto has quit IRC21:14
*** ducttape_ has quit IRC21:15
*** wolverineav has joined #openstack-horizon21:16
*** yamamoto has joined #openstack-horizon21:17
*** Jeffrey4l has joined #openstack-horizon21:18
*** jprovazn_bbl has quit IRC21:19
*** wolverineav has quit IRC21:20
*** wolverineav has joined #openstack-horizon21:26
*** david-lyle has joined #openstack-horizon21:27
*** ChanServ sets mode: +o david-lyle21:27
*** Jeffrey4l has quit IRC21:28
*** yamamoto has quit IRC21:29
*** wolverineav has quit IRC21:30
*** itxaka has quit IRC21:32
*** Jeffrey4l has joined #openstack-horizon21:36
*** ppiela has joined #openstack-horizon21:37
*** clu_ has joined #openstack-horizon21:42
*** ChanServ sets mode: +v clu_21:42
*** wolverineav has joined #openstack-horizon21:46
*** wolverineav has quit IRC21:50
openstackgerritJuan Pablo lopez Gutierrez proposed openstack/horizon master: Pass environment variables of proxy to tox  https://review.openstack.org/42989821:55
*** wolverineav has joined #openstack-horizon21:56
*** ducttape_ has joined #openstack-horizon22:00
*** wolverineav has quit IRC22:00
*** jperry has joined #openstack-horizon22:04
*** wolverineav has joined #openstack-horizon22:06
*** jtriley has quit IRC22:07
*** wolverineav has quit IRC22:11
*** ducttape_ has quit IRC22:11
*** yamamoto has joined #openstack-horizon22:11
*** ducttape_ has joined #openstack-horizon22:13
kongr1chardj0n3s: hi, morning. I created another bug related to performance https://bugs.launchpad.net/horizon/+bug/166234722:15
openstackLaunchpad bug 1662347 in OpenStack Dashboard (Horizon) "Can not disable quota check for button availability check" [Undecided,New]22:15
kongbut not sure the best way to fix that22:15
*** wolverineav has joined #openstack-horizon22:16
r1chardj0n3syup22:17
kongi'd like to hear your suggestion before i actually write the code :-)22:17
kongwhat i want to do is to reuse the 'enable_quotas' flag in conf22:18
kongbut not sure it it's designed to be used in that way22:18
kongand it's missing in 'OPENSTACK_CINDER_FEATURES'22:18
r1chardj0n3sah, you'd like to just turn off quota checking in many places, IIRC?22:19
kongr1chardj0n3s: yes22:20
kongespecailly in all the button 'allow' check22:20
r1chardj0n3sI wonder whether this has anything to do with ducttape_'s Make Quotas Great Again?22:20
kongany link?22:20
r1chardj0n3sI'm looking, there's a BP I think22:21
r1chardj0n3sfrom https://etherpad.openstack.org/p/horizon-ocata-priorities22:21
*** wolverineav has quit IRC22:21
r1chardj0n3shttps://blueprints.launchpad.net/horizon/+spec/make-quotas-great-again22:21
r1chardj0n3sno actual detail, it'd be good to get a design nutted out between you and ducttape_ so your changes align with his goals22:22
r1chardj0n3sbut it looks like you might be on the same path22:22
r1chardj0n3s& there are already patches22:22
* kong is reading22:22
r1chardj0n3sdavid-lyle is shepherd for that BP, he might be around and be able to help with questions too22:22
*** ducttape_ has quit IRC22:25
*** aortega has quit IRC22:25
*** wolverineav has joined #openstack-horizon22:26
*** wolverineav has quit IRC22:31
*** wolverineav has joined #openstack-horizon22:36
*** wolverineav has quit IRC22:41
*** jrcloud has joined #openstack-horizon22:42
openstackgerritRichard Jones proposed openstack/horizon master: Move Consistency Group Snapshots out of Volumes panel  https://review.openstack.org/42950622:42
*** lucas_ has quit IRC22:43
*** jrcloud has quit IRC22:46
*** sacharya_ has joined #openstack-horizon22:51
*** ducttape_ has joined #openstack-horizon22:53
*** sacharya_ has quit IRC22:54
*** sacharya has quit IRC22:54
*** sacharya has joined #openstack-horizon22:54
ducttape_kong - you have questions or issues around quotas  ?22:55
kongducttape_: yeah, i want to disable quota check when horizon decide if a button should be disabled or not22:56
kongducttape_: https://bugs.launchpad.net/horizon/+bug/166234722:56
openstackLaunchpad bug 1662347 in OpenStack Dashboard (Horizon) "Can not disable quota check for button availability check" [Undecided,New]22:56
*** wolverineav has joined #openstack-horizon22:57
ducttape_quota check does not apply in public cloud?  I'd think especially in public cloud22:57
ducttape_you can also set your quotas to be -1 all around, this will also disable it22:57
david-lyleif they are -1, the API calls to retrieve those values is still made though22:58
kongducttape_: i mean, we have quota monitoring script running for customers, and will automatically increase when we are notified and customers are happy with that22:58
kongbut we just don't want to do the check in dashboard22:58
ducttape_fair enough.  I think thats a reasonable patch, and not on the path I started down22:59
david-lyleI agree that is unrelated, other than quotas is in the subject22:59
kongpersonally speaking, i think the quota check in 'allow' function is a little bit 'over-designed'23:00
*** sacharya has quit IRC23:00
kongwhy not just let customers click the button, and show a message when failed because of quota23:01
*** wolverineav has quit IRC23:01
kongthe current quota check in 'allow' function takes most of the time when loading page23:01
ducttape_the allow is a general api, which may or may not be related to quota23:01
kongyes23:01
kongi mean, quota check in allow23:01
kongi just want to disalbe quota check, not allow functio itself23:02
david-lyleyou could certainly have a setting that could short circuit the quota check23:02
kongespecaily the apis are called in sequense23:02
ducttape_you could monkey patch that in an overrides file, or make upstream contribution to make it configurable23:02
*** sacharya has joined #openstack-horizon23:02
kongducttape_: 'make it configurable' sounds good to me23:03
kongducttape_, david-lyle, originally, i planed to reuse 'enable_quotas' option, but have some questions23:04
kong1. was it designed for that purpose?23:04
kong2. cinder has no 'enable_quotas' option23:04
kong3. nova didn't apply 'enable_quotas' when getting resource usage23:04
kong4. overview page also won't take 'enable_quotas' into consideration23:05
ducttape_sounds like you've found a lot of work to do  ;)23:05
david-lylehttps://github.com/openstack/horizon/blob/master/doc/source/topics/settings.rst#openstack_hypervisor_features23:06
*** jperry has quit IRC23:06
*** sacharya has quit IRC23:06
*** wolverineav has joined #openstack-horizon23:07
kongducttape_: david-lyle, so the easiest way for me seems to add another option to enable/disable quota check in 'allow' method23:08
david-lylekong I think its intent was only around modifying quotas23:08
kongdavid-lyle: yeah, i guess so23:08
david-lylekong, I would put the bypass in the quota check call itself23:08
david-lylethen you only have to change on place23:08
david-lyle*one23:08
david-lylenot every allow method that is applicable23:09
kongdavid-lyle: good suggestion :-)23:09
david-lylealso in some rendering applications I suppose23:09
david-lyledepending on the full intent of the new setting23:09
david-lyleif you are disabling quotas, then you wouldn't want to render the values23:10
kongyeah, just need to make sure bypass it won't affect things other than 'alloow'23:10
david-lylethat gets more complicated23:10
david-lylesay for launch instance23:11
david-lyleit represents the quota in charts23:11
david-lyleare you wanting to remove the charts?23:11
*** wolverineav has quit IRC23:11
kongdavid-lyle: no, just want to avoid the api calls when loading some pages23:12
david-lylekong which pages?23:12
konge.g. floating ips, security groups23:12
david-lyleI think this is going to be a hard thing to generalize23:13
*** matt-borland has quit IRC23:14
david-lyleI suppose you could have some sort of view dictionary that you want to disable, but we have modals with quotas too23:15
david-lyleand that wouldn't map that way effectively23:15
konghmm...sounds a complex thing to do23:16
*** wolverineav has joined #openstack-horizon23:17
david-lyleducttape_'s suggestion of overrides is looking better and better23:17
kongdavid-lyle: but it is like kind of hacking to me23:18
kongwhich means we need to carry over the patches ourseleves :-(23:19
r1chardj0n3sdmsimard: are you around?23:20
david-lylekong you would need to carry only an overrides.py file23:20
david-lylein which you monkeypatch the allowed methods you wat to change the behavior of23:20
ducttape_this idea of sometimes using quotas sometimes not.... I would use an overrides for this, but I have low standards too23:21
*** wolverineav has quit IRC23:21
*** kmartin has joined #openstack-horizon23:22
david-lylekong it's an intended strategy https://github.com/openstack/horizon/blob/master/doc/source/topics/customizing.rst#horizon-customization-module-overrideshttps://github.com/openstack/horizon/blob/master/doc/source/topics/customizing.rst#horizon-customization-module-overrides23:22
david-lylefor cases such as yours that are not easily generalized23:23
kongdavid-lyle: thanks, will take a look23:23
*** mattfarina_ has joined #openstack-horizon23:27
*** AndyWojo_ has joined #openstack-horizon23:27
*** nikhil_ has joined #openstack-horizon23:27
*** nikhil_ is now known as Guest449123:27
*** DuncanT_ has joined #openstack-horizon23:28
*** lblanchard has quit IRC23:28
*** cargonza_ has joined #openstack-horizon23:28
*** r1chardj0n3s_ has joined #openstack-horizon23:28
*** Anticime1 has joined #openstack-horizon23:29
*** John341__ has joined #openstack-horizon23:30
*** johnsom_ has joined #openstack-horizon23:31
*** v12aml_ has joined #openstack-horizon23:32
*** DuncanT has quit IRC23:34
*** Anticimex has quit IRC23:34
*** John341 has quit IRC23:34
*** IgorYozhikov has quit IRC23:34
*** v12aml has quit IRC23:34
*** slunkad has quit IRC23:34
*** r1chardj0n3s has quit IRC23:34
*** johnsom has quit IRC23:34
*** nikhil has quit IRC23:34
*** mattfarina has quit IRC23:34
*** dlevy has quit IRC23:34
*** cargonza has quit IRC23:34
*** AndyWojo has quit IRC23:34
*** v12aml_ is now known as v12aml23:34
gary-smithIs there some way to specify a relative path in a plugin setting file and resolve it to an absolute path?23:34
*** IgorYozhikov has joined #openstack-horizon23:35
*** mattfarina_ is now known as mattfarina23:35
gary-smithI'm trying to have a plugin setting like POLICY_FILE = { 'foo': 'conf/policy.json' } that will resolve to conf/policy.json within the plugin23:35
*** Guest4491 is now known as nikhil23:36
david-lylepath will be relative to the application running, in this case openstack_dashboard23:36
*** DuncanT_ is now known as DuncanT23:36
*** cargonza_ is now known as cargonza23:37
*** AndyWojo_ is now known as AndyWojo23:37
david-lyleso short answer is not that I'm aware of23:37
gary-smithyeah, that's what I'm seeing23:37
*** wolverineav has joined #openstack-horizon23:37
*** johnsom_ is now known as johnsom23:37
david-lyleit would require a symlink, which would defeat your purpose23:37
gary-smiththe code (update_dashboards() in settings.py) that loads the dashboards from plugins uses imports, and then can refer to the __path__23:38
gary-smithI guess I can try something like that23:38
gary-smithi.e., https://github.com/openstack/horizon/blob/master/openstack_dashboard/utils/settings.py#L122-L12323:40
*** slunkad has joined #openstack-horizon23:40
*** ducttape_ has quit IRC23:41
*** r1chardj0n3s_ is now known as r1chardj0n3s23:42
*** ChanServ sets mode: +o r1chardj0n3s23:42
david-lylegary-smith, that could work, but you'd need the module in the mapping?23:42
david-lylenevermind you could build it23:43
gary-smithi'd need the name of the module somehow23:43
*** wolverineav has quit IRC23:43
gary-smithCan I assume that ADD_INSTALLED_APPS is populated?23:44
*** lbaeriswyl has joined #openstack-horizon23:44
gary-smithI guess I could require that in order to use this feature23:45
openstackgerritMerged openstack/horizon master: Fix wrong min/max media queries for sidebar  https://review.openstack.org/42850923:45
david-lylegary-smith, that's how the plugin is loaded23:46
david-lyleso yes23:46
david-lyleif that is not set, then no plugin will be loaded23:47
david-lylebut if you have multiple enabled files in your plugin, only one will need to populate the field23:47
gary-smithwas thinking of adding it into the local_settings.d, but same thing, I suppose. Only needs to be in one setting23:48
*** wolverineav has joined #openstack-horizon23:49
gary-smithwoops my bad. those are in enabled dir23:49
david-lyleyeah, I think local_settings.d would be too late23:49
david-lylebecause the plugin would not be loaded23:50
*** wolverineav has quit IRC23:53
*** catintheroof has quit IRC23:54
*** crutley has joined #openstack-horizon23:59

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