Monday, 2014-08-11

*** openstack has joined #openstack-horizon16:32
*** cedrics has quit IRC16:32
*** alexpilotti has quit IRC16:38
*** amcrn has joined #openstack-horizon16:42
*** dkorn has joined #openstack-horizon16:43
*** tqtran has joined #openstack-horizon16:44
*** peristeri has quit IRC16:46
*** MaxV_ has quit IRC16:47
*** akrivoka has quit IRC16:52
*** stpierre has joined #openstack-horizon16:59
*** alexpilotti has joined #openstack-horizon17:00
*** tqtran1 has joined #openstack-horizon17:01
*** julim has quit IRC17:02
*** julim has joined #openstack-horizon17:05
*** stpierre_ has joined #openstack-horizon17:08
*** sbfox1 has joined #openstack-horizon17:10
*** stpierre has quit IRC17:10
*** sambetts has quit IRC17:10
*** sbfox has quit IRC17:12
*** e0ne has joined #openstack-horizon17:12
*** sambetts has joined #openstack-horizon17:14
*** sambetts has quit IRC17:14
*** Tehsmash has joined #openstack-horizon17:17
*** Tehsmash has quit IRC17:17
*** Tehsmash has joined #openstack-horizon17:17
*** Tehsmash has quit IRC17:19
rbertramdavid-lyle: Since your call for bootstrap fixes, I opened and fixed https://review.openstack.org/#/c/112626/  Tagged it, but making sure it's on your radar.17:22
*** sambetts has joined #openstack-horizon17:23
*** stpierre__ has joined #openstack-horizon17:23
*** sambetts has quit IRC17:24
*** stpierre_ has quit IRC17:24
*** e0ne has quit IRC17:27
*** alexpilotti has quit IRC17:29
*** romainh has left #openstack-horizon17:29
*** jprovazn has joined #openstack-horizon17:33
*** ArcTanSusan has joined #openstack-horizon17:35
*** e0ne has joined #openstack-horizon17:37
*** Longgeek_ has quit IRC17:37
*** stpierre__ has quit IRC17:40
*** ArcTanSusan has quit IRC17:40
*** stpierre__ has joined #openstack-horizon17:41
*** alexpilotti has joined #openstack-horizon17:45
*** amcrn has quit IRC17:46
*** MaxV has joined #openstack-horizon17:50
*** MaxV has quit IRC17:51
*** MaxV has joined #openstack-horizon17:51
*** stpierre_ has joined #openstack-horizon17:53
*** amcrn has joined #openstack-horizon17:54
*** clu_ has quit IRC17:54
*** stpierre__ has quit IRC17:55
*** dguerri is now known as dguerri`afk17:56
*** amcrn has quit IRC17:57
*** ArcTanSusan has joined #openstack-horizon17:57
*** amcrn has joined #openstack-horizon18:03
*** stpierre_ has quit IRC18:09
*** absubram has quit IRC18:10
*** stpierre_ has joined #openstack-horizon18:14
*** peristeri has joined #openstack-horizon18:15
*** Sukhdev has joined #openstack-horizon18:19
tqtrandavid-lyle or lcheng: https://review.openstack.org/#/c/108147/ could you guys reapprove this patch? thanks =)18:19
*** clu_ has joined #openstack-horizon18:22
*** cody-somerville has joined #openstack-horizon18:23
*** tqtran1 has quit IRC18:24
*** mgarza has joined #openstack-horizon18:24
*** jay-atl has quit IRC18:25
*** tosky has quit IRC18:25
*** stpierre_ has quit IRC18:25
*** stpierre has joined #openstack-horizon18:26
*** mgarza has quit IRC18:26
*** wchrisj has joined #openstack-horizon18:34
*** sbfox1 has quit IRC18:34
*** sbfox has joined #openstack-horizon18:34
*** sbfox has quit IRC18:34
wchrisjWhat is the right way to selectively show a form element within a template?18:35
wchrisjInside my workflow action, I'm setting a BooleanFIeld (hidden), and checking it within the template; but I'm getting squirrelly results....18:36
*** dkorn has quit IRC18:40
*** stpierre has quit IRC18:41
*** stpierre has joined #openstack-horizon18:42
crobertsrhwhat do you mean by "squirrelly"?18:44
*** e0ne has quit IRC18:44
*** sbfox has joined #openstack-horizon18:47
wchrisjTwo vars, same type, one is True, one is False;both used as conditionals in the template; both being checked for truthiness; both returning the true result18:47
wchrisjexample18:47
wchrisj{% if form.dbaas_enabled %}18:48
wchrisj                  {% if form.dbaas_instances_exist %}18:48
wchrisjit falls thru BOTH checks, but the second check is False18:48
wchrisjcrobertsrh: ^^18:48
*** e0ne has joined #openstack-horizon18:48
*** ArcTanSusan has quit IRC18:52
crobertsrhI think that %if in a template only checks that it is not empty18:52
crobertsrhhttps://docs.djangoproject.com/en/dev/ref/templates/builtins/18:52
crobertsrhsearch for the {% if %} tag18:52
crobertsrhSo you could probably do something like {% if form.dbaas_enabled == "True" %}18:54
crobertsrhbut that is probably not optimal18:54
*** stpierre_ has joined #openstack-horizon18:54
*** jay-atl has joined #openstack-horizon18:54
*** stpierre has quit IRC18:55
wchrisjcrobertsrh: Yeah, I have done that, but it rails to reload the template properly when validation occurrs. I had it that way earlier.18:55
wchrisjfails18:55
wchrisjI need a ay to check truthiness that works whether it is expressed as True, "True", 1, or "1"18:56
wchrisjway18:56
wchrisj... unless there was something else going on during validation, but I think that's the idea18:57
wchrisjhmmm, ugly, but this might work:18:58
wchrisj{% if form.dbaas_enabled == "True" or  form.dbaas_enabled == "1" %}18:58
*** absubram has joined #openstack-horizon18:59
absubramamotoki: Hi Akihiro.. Can you attend the IPv6 meeting tomorrow on IRC if you're available?18:59
absubramI'm hearing conflicting statements from the v6 developers and we'll be talking about whether they even want the IPv6 2 subnet Horizon support in J or not19:00
crobertsrhI think you could also register a custom filter to make that happen19:00
wchrisjcrobertsrh: custom filter?19:01
crobertsrhI'm looking for an example19:01
*** e0ne has quit IRC19:01
crobertsrhdashboards/project/stacks/mappings.py uses a custom filter19:04
crobertsrhlook for @register.filter19:04
crobertsrhThen in the stacks/templates/stacks/_detail_overview.html, you can see it in action19:04
wchrisjcrobertsrh: Like this? https://docs.djangoproject.com/en/dev/ref/templates/builtins/#filter19:04
wchrisjWill look...19:05
crobertsrhYeah, those are the ticket19:05
*** e0ne has joined #openstack-horizon19:05
*** e0ne has quit IRC19:07
*** stpierre_ has quit IRC19:11
*** stpierre_ has joined #openstack-horizon19:11
*** e0ne has joined #openstack-horizon19:20
*** ArcTanSusan has joined #openstack-horizon19:23
*** e0ne has quit IRC19:23
*** stpierre has joined #openstack-horizon19:25
*** stpierre_ has quit IRC19:26
*** jtomasek has quit IRC19:27
*** sbfox has quit IRC19:30
*** e0ne has joined #openstack-horizon19:32
*** stpierre_ has joined #openstack-horizon19:38
*** stpierre has quit IRC19:41
*** clu_ has quit IRC19:51
*** stpierre has joined #openstack-horizon19:55
*** stpierre_ has quit IRC19:55
*** lcheng has joined #openstack-horizon19:56
doug-fishI'm triaging my _very first bug_ and I think it looks like a potentially serious issue.  I'd like to run it by the IRC crowd before I write anything up in case I'm being alarmist ...20:02
doug-fishits this bug  https://bugs.launchpad.net/horizon/+bug/117449920:03
doug-fishand I think these 2 lines are going to cause trouble.  https://github.com/openstack/django_openstack_auth/blob/58da8b38a9606697e5b96f6d068be83ef52d83d5/openstack_auth/user.py#L7120:03
doug-fishI have to confess, I'm not sure because I don't know exactly how that id is supposed to be used.20:03
*** e0ne has quit IRC20:08
*** stpierre_ has joined #openstack-horizon20:08
*** ArcTanSusan has quit IRC20:09
*** ArcTanSusan has joined #openstack-horizon20:09
*** ArcTanSusan has quit IRC20:09
*** ArcTanSusan has joined #openstack-horizon20:10
*** stpierre has quit IRC20:10
*** Sukhdev has quit IRC20:19
*** jthopkin has joined #openstack-horizon20:22
*** ArcTanSusan has quit IRC20:23
*** stpierre_ has quit IRC20:26
*** jprovazn has quit IRC20:27
*** amcrn has quit IRC20:33
*** julim has quit IRC20:33
*** amcrn has joined #openstack-horizon20:33
*** lblanchard has quit IRC20:34
*** radez is now known as radez_g0n320:38
*** clu_ has joined #openstack-horizon20:39
*** ArcTanSusan has joined #openstack-horizon20:44
*** romainh has joined #openstack-horizon20:48
*** Sukhdev has joined #openstack-horizon20:58
*** peristeri has quit IRC21:01
*** amotoki_ has joined #openstack-horizon21:02
*** amotoki has quit IRC21:02
*** amotoki_ is now known as amotoki21:02
*** crobertsrh is now known as _crobertsrh21:06
*** jthopkin has quit IRC21:12
*** cody-somerville has quit IRC21:21
*** neelashah has quit IRC21:22
*** doug-fish has left #openstack-horizon21:22
*** amcrn has quit IRC21:26
*** amcrn has joined #openstack-horizon21:27
*** e0ne has joined #openstack-horizon21:28
*** ArcTanSusan has quit IRC21:32
*** sbfox has joined #openstack-horizon21:34
*** absubram has quit IRC21:35
*** rbertram has quit IRC21:41
*** cbader has quit IRC21:43
*** ArcTanSusan has joined #openstack-horizon21:44
*** alexpilotti has quit IRC21:52
*** sayali_ has quit IRC21:55
*** vijendar has quit IRC21:57
*** Dafna has quit IRC22:02
*** romainh has left #openstack-horizon22:03
*** jakedahn_ has joined #openstack-horizon22:10
*** jakedahn has quit IRC22:11
*** jakedahn_ is now known as jakedahn22:11
*** wchrisj has quit IRC22:12
*** jakedahn has quit IRC22:12
*** jakedahn has joined #openstack-horizon22:12
*** sbfox1 has joined #openstack-horizon22:30
*** sbfox has quit IRC22:30
*** e0ne has quit IRC22:35
*** sbfox1 has quit IRC22:37
*** denis_makogon_ has quit IRC22:39
*** e0ne has joined #openstack-horizon22:39
clu_hi all! if free, please check out: https://review.openstack.org/#/c/84531/22:40
*** sbfox has joined #openstack-horizon22:45
*** e0ne has quit IRC22:57
*** Sukhdev has quit IRC22:58
jablcheng: I'm looking at https://bugs.launchpad.net/horizon/+bug/1354583 just wondering if you can tell me how to recreate this23:07
*** amotoki has quit IRC23:10
lchengjab: thanks for taking on this bug23:16
lchengI just injected23:17
lchengfor volume in volumes:23:17
lchengvolume.encrypted = None23:17
lchengin the file23:17
lchenghttps://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/volumes/tabs.py#L3523:17
lchengthat is for testing in devstack23:18
lchengwe have our own openstack deployment that returns None for the encrypted field.23:18
lchengI don't know how to configure devstack to recreate the bug, I would assume maybe an old version of cinder would probably have that issue.23:19
jabOK great will take a look thanks23:24
*** david-lyle has quit IRC23:36
*** david-lyle has joined #openstack-horizon23:37
*** david-lyle has quit IRC23:42
*** e0ne has joined #openstack-horizon23:47
*** e0ne has quit IRC23:55
*** e0ne has joined #openstack-horizon23:59

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