Monday, 2015-08-24

*** julim has quit IRC00:39
*** julim has joined #openstack-horizon00:40
*** RA_ has joined #openstack-horizon00:42
*** amotoki has joined #openstack-horizon00:47
*** garthb has joined #openstack-horizon00:48
*** amotoki has quit IRC00:50
*** amotoki has joined #openstack-horizon00:56
*** jtriley has joined #openstack-horizon00:57
*** zhenguo has joined #openstack-horizon01:01
*** jtriley has quit IRC01:04
*** shivrao has quit IRC01:32
*** linkedinyou has joined #openstack-horizon01:43
*** jbell8 has quit IRC01:52
*** KunalGan_ has joined #openstack-horizon01:54
*** KunalGandhi has quit IRC01:57
*** yamamoto has joined #openstack-horizon02:07
*** yamamoto has quit IRC02:18
*** jamielennox is now known as jamielennox|away02:20
*** jamielennox|away is now known as jamielennox02:32
*** shivrao has joined #openstack-horizon02:47
*** garthb has quit IRC02:49
*** shivrao has quit IRC02:51
*** jbell8 has joined #openstack-horizon02:58
*** Daisy has joined #openstack-horizon03:02
*** yamamoto has joined #openstack-horizon03:04
*** KunalGan_ has quit IRC03:17
*** julim has quit IRC03:30
*** openstackgerrit has quit IRC03:31
*** openstackgerrit has joined #openstack-horizon03:32
*** saksham has joined #openstack-horizon03:37
*** Drago has quit IRC03:59
*** saksham_ has joined #openstack-horizon04:16
*** saksham has quit IRC04:18
*** saksham_ is now known as saksham04:18
*** shivrao has joined #openstack-horizon04:19
*** jtriley has joined #openstack-horizon04:46
*** jtriley has quit IRC04:50
*** Daisy has quit IRC04:57
*** fedexo has quit IRC04:57
*** Daisy has joined #openstack-horizon04:57
*** Daisy has quit IRC04:58
*** Daisy has joined #openstack-horizon05:04
*** Daisy has quit IRC05:08
*** kiran-r has joined #openstack-horizon05:10
*** geoffarnold has joined #openstack-horizon05:11
*** geoffarnold has quit IRC05:15
*** Daisy has joined #openstack-horizon05:15
*** Daisy has quit IRC05:19
*** geoffarnold has joined #openstack-horizon05:21
*** Daisy has joined #openstack-horizon05:31
*** cody-somerville has joined #openstack-horizon05:35
*** cody-somerville has quit IRC05:35
*** cody-somerville has joined #openstack-horizon05:35
*** Daisy has quit IRC05:36
*** stevemar has joined #openstack-horizon05:43
*** Daisy has joined #openstack-horizon05:43
openstackgerritKarthik Suresh proposed openstack/horizon: Added small block to remove default panels  https://review.openstack.org/21313905:47
*** jamielennox is now known as jamielennox|away05:47
*** Daisy has quit IRC05:48
openstackgerritKarthik Suresh proposed openstack/horizon: Added small block to remove default panels  https://review.openstack.org/21313905:50
*** shivrao has quit IRC05:54
*** Daisy has joined #openstack-horizon05:59
*** jtriley has joined #openstack-horizon06:00
*** Daisy has quit IRC06:00
*** Daisy has joined #openstack-horizon06:00
*** jtriley has quit IRC06:06
*** lsmola has joined #openstack-horizon06:11
*** jbell8 has quit IRC06:20
*** saksham has quit IRC06:20
*** geoffarnold is now known as geoffarnoldX06:21
*** pkarikh_ has joined #openstack-horizon06:22
pkarikh_amotiki: hi! Do you know anything about Horizon translation and translation scripts? I'm trying to follow https://wiki.openstack.org/wiki/Translations/Infrastructure#Horizon this man locally. Is there a way to compile translation strings locally?06:25
*** _kiran_ has joined #openstack-horizon06:25
*** peristeri has joined #openstack-horizon06:26
pkarikh_amotoki: ^^^ sorry, I often make mistypes in the morning06:27
*** kiran-r has quit IRC06:27
*** geoffarnoldX is now known as geoffarnold06:27
amotoki pkarikh_: I think https://github.com/openstack-dev/devstack/blob/master/lib/horizon#L83-L87 helps you06:29
*** geoffarnold is now known as geoffarnoldX06:29
openstackgerritRajat Vig proposed openstack/horizon: JSCS Cleanup - use DI in launch instance model  https://review.openstack.org/21174106:29
openstackgerritRajat Vig proposed openstack/horizon: Run ESLint on Javascript files in dashboards  https://review.openstack.org/21405706:29
amotokipkarikh_: for django openstack auth, https://github.com/openstack-dev/devstack/blob/master/lib/horizon#L16806:29
openstackgerritRajat Vig proposed openstack/horizon: Create a Angular Modules for Admin Dashboard  https://review.openstack.org/21477906:30
*** rajatvig has joined #openstack-horizon06:30
openstackgerritRajat Vig proposed openstack/horizon: Create a Angular Modules for Admin Dashboard  https://review.openstack.org/21477906:33
pkarikh_ amotoki: yes, but looks like http://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/scripts/propose_translation_update_horizon.sh this script make a lot of work too. Shouldn't I run it locally too?06:33
*** xnox has joined #openstack-horizon06:33
amotokipkarikh_: it depends on what you want to do.06:34
amotokipkarikh_: for minimum, what you need to do are "tx pull" and compile message catalogs.06:34
pkarikh_amotoki: I want to backport new translations into the older versions of Horizon.06:35
amotokipkarikh_: is the updated version of translation available in Transifex "Kilo" resource now?06:36
pkarikh_amotoki: so, looks like I need to somehow compile or compress new files before committing them06:36
amotokipkarikh_: compiled message catalogs are no longer maintained in our git repo06:37
amotokiso I don't think you need to compile thme.06:37
openstackgerritRajat Vig proposed openstack/horizon: WIP: Detail-page directives (Angular/UX) with CSS  https://review.openstack.org/15888106:37
amotokipkarikh_: what are the target version?06:37
pkarikh_amotoki: hm..Kilo, as far as I know.06:38
amotokipkarikh_: more confirmation: are you try to backport Kilo translation to the upstream repo, or just apply it to your local deployment?06:40
openstackgerritRajat Vig proposed openstack/horizon: WIP - Image Details Edit/Delete (UX/Angular)  https://review.openstack.org/15840906:42
openstackgerritRajat Vig proposed openstack/horizon: WIP: Image Detail Redesign (Angular/UX)  https://review.openstack.org/17388506:42
pkarikh_amotoki: I want try to back port upstream translations into the Kilo Horizon of Mirantis Openstack. It doesn't affect upstream, but I want to make it the same way it was for Kilo.06:42
*** mrunge has joined #openstack-horizon06:43
amotokipkarikh_: for the upsteram translations, what I usually do is to download latest translations using "tx pull" with some threshold, "git add" them and commit, and then propose for review.06:44
amotokipkarikh_: that's all.06:44
amotokipkarikh_: /FYI/ this is the script I usually use to propose translation imports: https://github.com/amotoki/horizon-i18n-tools/blob/master/propose-trans.sh06:46
amotokiI borrow a bunch of code from project-config, but most of them are for automation (to cleanup a previous run) and skip to create a new commit if no new translation is available.06:47
*** vgridnev has joined #openstack-horizon06:47
pkarikh_amotoki: hm.. Ok. So, I shouldn't have some transfix credits to pull upstream translations? tx pull takes right transfix repo and git add them. I should'n run manage.py makemessages?06:48
amotokipkarikh_: re: makemessages, it depends on a case.06:49
amotokipkarikh_: if your source code is updated and the source string is changed, you should run makemessage to keep source and trnaslation strings synced.06:50
amotokiotherwise there is no need to run it.06:50
pkarikh_amotoki: Am I right that if source strings was not changed and I run make messages, it will not break anything?06:51
amotokipkarikh_: right. it should not break anything.06:51
*** stevemar has quit IRC06:53
*** stevemar has joined #openstack-horizon06:55
*** stevemar has quit IRC06:56
*** juggler has quit IRC06:57
*** RA_ has quit IRC07:09
*** _kiran_ has quit IRC07:17
pkarikh_amotoki: ok, thank you!07:18
*** markus_z has joined #openstack-horizon07:19
*** saksham has joined #openstack-horizon07:20
*** pkarikh_ has quit IRC07:20
*** saksham has left #openstack-horizon07:21
*** romainh has joined #openstack-horizon07:23
*** linkedinyou has quit IRC07:24
*** bfic has joined #openstack-horizon07:26
*** yamamoto has quit IRC07:26
*** kzaitsev_mb has joined #openstack-horizon07:27
*** ^Gal^ has quit IRC07:29
*** jtomasek has quit IRC07:29
*** rdopiera has joined #openstack-horizon07:31
*** ^Gal^ has joined #openstack-horizon07:32
*** arxcruz has joined #openstack-horizon07:33
*** jcoufal has joined #openstack-horizon07:33
openstackgerritMerged openstack/horizon: Remove _40_router.py.example file  https://review.openstack.org/21524807:34
*** Ala has joined #openstack-horizon07:34
*** zz_ttrifonov is now known as ttrifonov07:41
openstackgerritWim De Clercq proposed openstack/horizon: Add allowed address pair extension UI for neutron ports.  https://review.openstack.org/19307907:42
*** yamamoto has joined #openstack-horizon07:49
*** kzaitsev_mb has quit IRC07:50
*** MaxV has joined #openstack-horizon07:56
*** bluex-pl has joined #openstack-horizon07:58
*** kzaitsev_mb has joined #openstack-horizon07:58
*** mpavlase has joined #openstack-horizon08:00
*** jtriley has joined #openstack-horizon08:07
*** jtriley has quit IRC08:13
*** kzaitsev_mb has quit IRC08:14
openstackgerritRajat Vig proposed openstack/horizon: WIP : API for Metadata Definitions  https://review.openstack.org/21572108:18
openstackgerritRajat Vig proposed openstack/horizon: WIP : Angular panel for Metadata Definitions  https://review.openstack.org/21614108:18
*** vgridnev has quit IRC08:23
*** ygbo has joined #openstack-horizon08:24
*** rajatvig has quit IRC08:25
*** linkedinyou has joined #openstack-horizon08:26
*** tosky has joined #openstack-horizon08:46
*** tosky has quit IRC08:46
*** tosky has joined #openstack-horizon08:48
*** tosky has quit IRC08:51
*** tosky has joined #openstack-horizon08:53
robcresswello/ Morning folks. Please ping me if you would like some code reviewed. L-3 is next week, please don't leave it to the last day :D09:02
*** jcoufal has quit IRC09:03
pkarikhamotoki: looks like transifex wants some credentials. tx pull retirns "Exception: No user credentials found for host https://www.transifex.com."09:10
amotokipkarikh: you need to have a transifex account.09:11
*** vgridnev has joined #openstack-horizon09:12
*** aix has joined #openstack-horizon09:20
*** DWfuturetec has joined #openstack-horizon09:21
*** kzaitsev_mb has joined #openstack-horizon09:25
pkarikhamotoki: yes, I thought that I can do it without account. So, am I right that backporting translations would be look like tx pool on branch I want to update translations?09:27
pkarikhrobcresswell: morning! For example, this patch - https://review.openstack.org/#/c/142481/09:36
*** jcoufal has joined #openstack-horizon09:37
*** akrivoka has joined #openstack-horizon09:50
*** e0ne has joined #openstack-horizon09:51
robcresswellpkarikh: Woah patch sets09:52
pkarikhrobcresswell: :D09:53
*** romainh has quit IRC09:53
robcresswellpkarikh: Added to my list boss :D09:55
pkarikhrobcresswell: thanks. :) And how long it that list?09:56
robcresswellpkarikh: Only a handful so far. Should get to it today.09:56
* robcresswell makes no promises :p09:56
*** yamamoto has quit IRC09:57
*** cody-somerville has quit IRC09:58
pkarikhrobcresswell: looks like it is really hard to be a core-dev. :)09:58
tsufievpkarikh, I think there is a constant pressure of answering expectations09:59
mrungepkarikh, whatever he says, it's harder ;-)09:59
pkarikhmrunge, robcresswell: so, thanks you are doing it. :)10:01
*** e0ne has quit IRC10:08
*** vgridnev has quit IRC10:08
*** liangbo has joined #openstack-horizon10:08
robcresswell:)10:09
*** DWfuturetec has quit IRC10:11
*** aix has quit IRC10:15
*** e0ne has joined #openstack-horizon10:18
*** jtomasek has joined #openstack-horizon10:19
*** ekarlso has quit IRC10:32
*** ekarlso has joined #openstack-horizon10:32
*** DWfuturetec has joined #openstack-horizon10:35
*** Daisy has quit IRC10:36
*** Daisy has joined #openstack-horizon10:36
*** jtriley has joined #openstack-horizon10:37
*** e0ne has quit IRC10:40
*** Daisy has quit IRC10:41
*** romainh has joined #openstack-horizon10:43
*** jtriley has quit IRC10:44
*** yamamoto has joined #openstack-horizon10:47
*** aix has joined #openstack-horizon10:48
*** yamamoto has quit IRC10:50
*** yamamoto has joined #openstack-horizon10:50
*** jamielennox|away has quit IRC10:50
*** yamamoto_ has joined #openstack-horizon10:50
*** liangbo has quit IRC10:52
*** yamamoto has quit IRC10:54
*** zul has quit IRC10:56
*** jroll has quit IRC10:56
*** ameade has quit IRC10:58
*** ameade has joined #openstack-horizon10:59
*** jroll has joined #openstack-horizon11:02
*** amotoki has quit IRC11:02
*** yamamoto_ has quit IRC11:03
*** jamielennox|away has joined #openstack-horizon11:04
*** jamielennox|away is now known as jamielennox11:04
*** romainh has quit IRC11:05
*** vgridnev has joined #openstack-horizon11:05
*** ^Gal^ has quit IRC11:16
*** romainh has joined #openstack-horizon11:19
*** yamamoto has joined #openstack-horizon11:21
*** liangbo has joined #openstack-horizon11:22
*** nikunj2512 has joined #openstack-horizon11:23
*** nikunj2512 has quit IRC11:24
*** nikunj2512 has joined #openstack-horizon11:25
*** fsaifee has joined #openstack-horizon11:26
nikunj2512Hi, in the Horizon logs, i am getting debug logs but i have set the log level to info11:26
nikunj2512{"tags": [], "color": "", "@version": 1, "@timestamp": "2015-08-24T09:06:39.696196Z", "user_identity": "", "project": "unknown", "instance": "", "host": "cmc", "version": "unknown", "path": "/opt/stack/venvs/openstack/lib/python2.7/site-packages/heatclient/common/http.py", "logger": "heatclient.common.http", "type": "horizon", "message": "curl -i -11:26
nikunj2512X GET -H 'X-Auth-Token: {SHA1}47667d3daab769bafdbd1d81d428cf0a933b8367' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'User-Agent: python-heatclient' --cacert /usr/local/share/ca-certificates/ephemeralca-cacert.crt http://192.168.0.1:8004/v1/7c63eee5fa49416dbe79e38d21c4b84a/stacks?sort_dir=desc&sort_key=created_at&limit=17&ma11:26
nikunj2512rker=1d001654-9a0a-41ab-b0b0-acf3c10477dc", "levelname": "DEBUG"}11:26
nikunj2512Please can anyone tell me how to stop printing debug logs when log level is still INFO>11:27
nikunj2512?11:27
*** nikunj2512 has quit IRC11:29
*** nikunj2512 has joined #openstack-horizon11:30
*** ^Gal^ has joined #openstack-horizon11:35
robcresswellnikunj2512: Where have you set the log level?11:36
robcresswell&& is DEBUG True?11:37
nikunj2512@robcresswell: In the /etc/horizon/local_settings.py and DEBUG is False11:37
pkarikhnikunj2512: it could be stupid but... Are you sure that Horizon uses that local_settings.py? There is no another local_settings on that env?11:38
nikunj2512i think i got the issue.. i changed the log level in /etc/apache2/sites-enabled/horizon.conf file from debug to info11:38
tsufievmrunge, hi! Are you aware of dj18 deprecation warnings being outputted while running ./manage.py compress?11:39
nikunj2512i am using this local_settings.py file and adding it in the settings.py filr11:39
nikunj2512*file11:39
mrungetsufiev, yes, there are a few11:39
*** ttrifonov is now known as zz_ttrifonov11:39
tsufievmrunge, okay, then I'm relieved :)11:40
robcresswelltsufiev: Deprecated in dj18, or removed?11:40
mrungetsufiev, they are harmless and looking for a fix11:40
tsufievrobcresswell, http://paste2.org/ejcDLx0k - deprecated11:40
mrungeIMHO deprecations like The django.forms.util module has been renamed. Use django.forms.utils instead.11:40
mrungeLoading the `url` tag from the `future` library is deprecated and will be removed in Django 1.9. Use the default `url` tag instead.11:41
mrungethose are easy fixes11:41
mrungesomeone just needs to do it11:41
robcresswelltsufiev: Huh, I thought I removed those11:41
robcresswellI swear I had a patch to remove the cycle and firstof warnings just a few days back11:41
robcresswellMaybe it didnt merge yet11:42
tsufievrobcresswell, hm, they may haven't yet got it into the commit I'm reviewing11:42
tsufiev(because it wasn't rebased to the actual master)11:42
robcresswelltsufiev: https://review.openstack.org/#/c/173921/11:42
robcresswellAh, I see11:42
pkarikhFolks, has anyone faced "Don't know how to merge conflicting combinators: <SimpleSelector: u'+ .btn:not(:first-child)'> and <SimpleSelector: u'> .btn'>" error? I've googled some IRC log where r1chardj0n3s said about it and pyScss problems, but I cant find a log with  some solution.11:42
tsufievrobcresswell, yep, thanks for taking care of them )11:42
robcresswelltsufiev: np, was only minor bug.11:43
mrungepkarikh, wait11:45
mrungeI tracked that down last friday11:46
mrungeit is an pyScss issue, your pyScss may be to new11:46
mrungepkarikh, I have a patch for this, but it's not acceptable upstream, let me find the bug for you11:47
mrungepkarikh, https://bugs.launchpad.net/horizon/+bug/148750611:48
openstackLaunchpad bug 1487506 in OpenStack Dashboard (Horizon) "compression error" [Undecided,New]11:48
pkarikhmrunge: yep, I remember same problem a few months ago. It as something wrong with pyScss version and I had to downgrade it. But I can't find right version11:48
mrungepkarikh, IMHO horizon/static/angular/action-list/action-list.scss is broken and should be fixed11:48
mrungeit's the only reference to  .btn:not(:first-child) {11:49
mrungejust dropping it solves the compression issue11:49
pkarikhmrunge: so I can't fix it just with another version of django-pyscss or pyscss?11:50
nikunj2512robcresswell: in the settings.py file i have defined something i this -> http://paste.openstack.org/show/426012/11:51
nikunj2512robcresswell: if you see the config i pasted in the above url, you will see this filename -> /var/log/horizon/horizon-json.log. In this file i am seeing the debug logs11:52
*** frickler has joined #openstack-horizon11:53
mrungepkarikh, you could probably downgrade to python-scss-1.2.111:53
pkarikhmrunge: looks like downgrading django-pyscss to 1.0.6 from 2.0.2 helped11:53
mrungefor me, this is not a real option, and since requirements for liberty is pyScss>=1.3.4 we need to fix it anyways11:54
mrungeI wonder how this passes the gate11:55
*** Daisy has joined #openstack-horizon11:57
*** KingKhan has joined #openstack-horizon11:58
openstackgerritRaga lahari proposed openstack/horizon: Update Settings tab in the dashboard  https://review.openstack.org/21621811:58
*** Daisy has quit IRC12:02
*** lapalm has joined #openstack-horizon12:03
fricklerhow can I debug why the "Volumes" tab is missing from my dashboard? working with volumes via cli works fine, I can also see it in the service catalog: http://paste.openstack.org/show/426013/12:08
*** nikunj2512 has quit IRC12:10
mrungefrickler, you might need a cinder v1 endpoint12:13
*** piotr_k has joined #openstack-horizon12:15
robcresswell:s How am I getting npm run lint failures on master, yet the gate is fine...?12:16
*** geoffarnoldX is now known as geoffarnold12:16
openstackgerritRob Cresswell proposed openstack/horizon: Move i18n to HTML for launch-instance source step  https://review.openstack.org/21623012:17
*** liangbo has quit IRC12:17
*** lyanchih has joined #openstack-horizon12:17
piotr_khello all, horizon newbie here. Why when I add neutron's endpoint to the regionOne horizon is detecting that service to be enabled on regionTwo? Is there any way to chage that? I'd like to have nova-network in the regionOne and neutron in the regionTwo12:18
piotr_kCan anybody at least point me in the right direction in horizon, please?12:18
*** geoffarnold is now known as geoffarnoldX12:19
*** julim has joined #openstack-horizon12:22
mrungepiotr_k, horizon pulls that info from keystone12:22
mrungepiotr_k, no need to change horizon settings12:23
piotr_kyes, I know but the problem is that I want to add neutron to the regionTwo only...when I do that horizon detect two regions but in both I have enabled neutron and I cannot launch VM in region one using nova network12:25
*** daemontool__ has joined #openstack-horizon12:27
*** daemontool_ has quit IRC12:29
*** DWfuturetec has quit IRC12:33
*** petertr7_away is now known as petertr712:37
*** zul has joined #openstack-horizon12:39
*** Daisy has joined #openstack-horizon12:40
*** zz_ttrifonov is now known as ttrifonov12:43
*** jtriley has joined #openstack-horizon12:44
fricklermrunge: in fact it works if I create an endpoint with name/type="cinder/volume" pointing to the cinder v2 API12:47
*** sayan has joined #openstack-horizon12:47
*** doug-fish has joined #openstack-horizon12:48
mrungefrickler, yes, that's my understanding12:48
*** MaxV has quit IRC12:48
*** MaxV has joined #openstack-horizon12:48
fricklermrunge: so is this a deficiency of horizon, when cinder+nova seem to work well with "cinderv2/volumev2"?12:49
mrungefrickler, horizon currently requires volume v1 and volume v2 endpoints. so: yes it's a bug. if it's not already filed, you should probably file a bug12:51
mrungefrickler, did you configure the preferred version for volume in local_settings.py ?12:51
fricklermrunge: yes: OPENSTACK_API_VERSIONS = { "volume": 2 }12:53
mrungeok, that's not solving it either :(12:53
*** jtriley has quit IRC12:54
fricklermrunge: and it looks like I really do not need the v1 endpoint, just the v2 endpoint with a different service name/type12:54
mrungeyupp12:55
mrungethere must be some code explicitly looking for an endpoint named volume or cindev1 (or so)12:56
mrungefrickler, when you're filing a bug, could you please add the version you're using? I.e. kilo or master branch?12:58
fricklermrunge: I found https://bugs.launchpad.net/horizon/+bug/1415712 which seems to fit, will update with my results12:58
openstackLaunchpad bug 1415712 in OpenStack Dashboard (Horizon) ""Volumes" tab doesn't show up if cinder v1 isn't registered" [Undecided,In progress] - Assigned to IWAMOTO Toshihiro (iwamoto)12:58
rdopieradoes anybody know how I would check if we are using neutron or nova-network?12:59
mrungerdopiera, iirc they are compatible from api side13:01
piotr_krdopiera, openstack endpoint list13:01
mrungethere should be an api to ask, if neutron feauture foo is enabled13:02
*** mrunge has quit IRC13:02
openstackgerritFrode Nordahl proposed openstack/horizon: Add support for creating subnets with Neutron subnet allocation  https://review.openstack.org/20357013:08
fnordahlmrunge: you have is_extension_supported and is_service_enabled13:12
fnordahlmrunge: the former checks against the neutron extension list, the latter both checks Horizon configuration and the Neutron extension list.13:13
fnordahlmrunge: Could that be what you are looking for?13:13
fnordahlrdopiera: base.is_service_enabled(request, 'network')13:14
piotr_knewbie question: the object "request" is passed as an argument to a lot of functions. Where can I find definition of that object?13:14
fnordahlrdopiera: have a look at openstack_dashboard/api/network.py13:15
piotr_kanybody? ;)13:16
rdopierafnordahl: thanks!13:17
fnordahlpiotr_k: it's a HttpReqest object from the http module.13:17
rdopierapiotr_k: it's a webob request13:17
tsufievpiotr_k, https://docs.djangoproject.com/en/1.8/ref/request-response/13:17
rdopieraah13:17
rdopierasorry, django request13:17
* rdopiera is getting the projects mixed up13:17
rdopierapiotr_k: but it has a lot of stuff added13:17
robcresswelltqtran: https://review.openstack.org/#/c/216230/13:20
piotr_krdopiera, I asked because I am wandering about this line in api/base.py13:20
piotr_khttps://github.com/openstack/horizon/blob/master/openstack_dashboard/api/base.py#L33213:20
piotr_kthe object request.user.services_region13:21
fsaifeeI am a newbie to opentstack. I have assigned myself to a bug - "  launch instance should add config for require ssh key " on horizon. I have also set up dev env. Can anyone tell me what should I do now? Where should I start?13:21
piotr_kis it region_id or region13:21
*** Samos123 has quit IRC13:22
piotr_kbecause later on in the function is_service_enabled it is compared with _get_endpoint_region(endpoint) == region:13:22
*** dsneddon has quit IRC13:22
*** lapalm_ has joined #openstack-horizon13:22
piotr_kand I am wandering whether this is correct13:23
robcresswellfsaifee: Can you link the bug please? Generally, you should look for bugs tagged "low-hanging-fruit" for first bugs.13:23
*** jroll has quit IRC13:23
fsaifeehttps://bugs.launchpad.net/horizon/+bug/147354913:23
openstackLaunchpad bug 1473549 in OpenStack Dashboard (Horizon) "launch instance should add config for require ssh key" [Undecided,New] - Assigned to Fatema Saifee (fatema-saifee711)13:23
*** e0ne has joined #openstack-horizon13:23
fsaifeeyes it is low hanging bug13:24
*** Daisy has quit IRC13:24
*** jamielennox has quit IRC13:26
robcresswellfsaifee: Ah, nice. Well, look over the bug report, find the setting referenced, and see how to go about implementing it. It seems to be similar to an existing setting. Also, the bug author is ducttape_, so you can pester him for info ;)13:26
*** lapalm has quit IRC13:26
*** lapalm_ has quit IRC13:26
*** Samos123 has joined #openstack-horizon13:27
*** doug-fish has quit IRC13:27
*** lapalm has joined #openstack-horizon13:28
*** doug-fish has joined #openstack-horizon13:28
*** _crobertsrh is now known as crobertsrh13:28
fsaifeerobcresswell: thank you. I'll start looking t its reposrt13:28
*** bapalm_ has joined #openstack-horizon13:28
*** doug-fis_ has joined #openstack-horizon13:29
*** liangbo has joined #openstack-horizon13:30
*** doug-fi__ has joined #openstack-horizon13:31
*** doug-fish has quit IRC13:32
*** fsaifee has quit IRC13:32
*** doug-fish has joined #openstack-horizon13:33
*** exploreshaifali has joined #openstack-horizon13:33
*** doug-fis_ has quit IRC13:34
*** dsneddon has joined #openstack-horizon13:34
*** doug-fish has quit IRC13:34
*** doug-fish has joined #openstack-horizon13:34
*** yamamoto has quit IRC13:34
*** lyanchih has quit IRC13:35
*** doug-fi__ has quit IRC13:36
*** petertr7 is now known as petertr7_away13:36
*** jroll has joined #openstack-horizon13:37
tsufievdoug-fish, hello, Doug! A wonderful day to finally fix integration tests, isn't it :)?13:39
*** jpomeroy has joined #openstack-horizon13:40
*** jtriley has joined #openstack-horizon13:42
*** jamielennox|away has joined #openstack-horizon13:43
*** doug-fish has quit IRC13:43
*** jamielennox|away is now known as jamielennox13:43
*** doug-fish has joined #openstack-horizon13:43
*** KingKhan has quit IRC13:47
*** lawrancejing has joined #openstack-horizon13:48
*** doug-fish has quit IRC13:48
lawrancejinghello cindy & rob , for the two patch : https://review.openstack.org/#/c/216230/ & https://review.openstack.org/#/c/215792/   could we add one common bug for such patch, so that others can contribute and add `Partial-Bug: xxxxxx`13:48
*** geoffarnoldX is now known as geoffarnold13:50
*** yamamoto has joined #openstack-horizon13:50
*** neelashah has joined #openstack-horizon13:50
*** doug-fish has joined #openstack-horizon13:50
*** bfic has left #openstack-horizon13:53
doug-fishtsufiev: you're fishing for a hug, aren't you13:55
doug-fish:-)13:55
doug-fishyeah, it's nice to see that code moving along13:55
tsufievdoug-fish, for a beer, actually ;)13:56
tsufievdoug-fish, so I had to fall back to a less straightforward 'data-selenium' assignment in tables code, otherwise a lot of unit tests failed13:56
*** petertr7_away is now known as petertr713:57
*** lapalm has quit IRC13:58
tsufievalso, although tests start to pass in https://review.openstack.org/#/c/214671/ they are still very fragile until the next commit is merged also13:58
doug-fishin a class and can't chat much todqay13:58
tsufievok13:59
*** lblanchard has joined #openstack-horizon13:59
*** amotoki has joined #openstack-horizon14:00
*** pauloewerton has joined #openstack-horizon14:03
openstackgerritYves-Gwenael Bourhis proposed openstack/horizon: Show external networks  https://review.openstack.org/19912714:04
*** mwhagedorn has joined #openstack-horizon14:04
openstackgerritSzymon Wróblewski proposed openstack/horizon: Angular metadata update modal  https://review.openstack.org/18427414:06
openstackgerritSzymon Wróblewski proposed openstack/horizon: Angularize metadata update modals  https://review.openstack.org/18427514:06
*** frickler_ has joined #openstack-horizon14:07
*** neelashah has left #openstack-horizon14:07
*** mrunge has joined #openstack-horizon14:07
*** frickler has quit IRC14:07
*** tyr has joined #openstack-horizon14:08
*** jamielennox has quit IRC14:08
*** Ala has quit IRC14:08
*** ducttape_ has joined #openstack-horizon14:09
*** tyr has quit IRC14:09
ducttape_marked https://bugs.launchpad.net/horizon/+bug/1473549 as dupe of  https://bugs.launchpad.net/horizon/+bug/1283148 fyi14:10
openstackLaunchpad bug 1283148 in OpenStack Dashboard (Horizon) "duplicate for #1473549 add keypair config params for instance creation" [Medium,In progress] - Assigned to Eric Peterson (ericpeterson-l)14:10
openstackLaunchpad bug 1283148 in OpenStack Dashboard (Horizon) "add keypair config params for instance creation" [Medium,In progress] - Assigned to Eric Peterson (ericpeterson-l)14:10
*** aortega_ has quit IRC14:10
openstackgerritRob Cresswell proposed openstack/horizon: Move i18n to HTML for launch-instance source step  https://review.openstack.org/21623014:10
*** jamielennox|away has joined #openstack-horizon14:10
*** jamielennox|away is now known as jamielennox14:11
*** DWfuturetec has joined #openstack-horizon14:13
*** jprovazn has joined #openstack-horizon14:13
*** mwhagedorn has quit IRC14:13
*** mwhagedorn has joined #openstack-horizon14:14
*** zhenguo has quit IRC14:17
*** lyanchih has joined #openstack-horizon14:17
openstackgerritDarren Shaw proposed openstack/horizon: Correct local_settings example from overwriting settings  https://review.openstack.org/21209014:19
*** frickler_ is now known as frickler14:19
*** petertr7 is now known as petertr7_away14:20
*** mrunge has quit IRC14:20
openstackgerritSzymon Wróblewski proposed openstack/horizon: Angular metadata update modal  https://review.openstack.org/18427414:25
openstackgerritSzymon Wróblewski proposed openstack/horizon: Angularize metadata update modals  https://review.openstack.org/18427514:25
*** petertr7_away is now known as petertr714:25
openstackgerritSzymon Wróblewski proposed openstack/horizon: Allow to edit image metadata from project view  https://review.openstack.org/18428014:26
openstackgerritlawrancejing proposed openstack/horizon: Moving inline html code out of magic-search spec file  https://review.openstack.org/21628114:32
*** alejandrito has joined #openstack-horizon14:37
openstackgerritlawrancejing proposed openstack/horizon: Moving inline html code out of magic-search spec file  https://review.openstack.org/21628114:38
*** liangbo has quit IRC14:38
*** MaxV has quit IRC14:39
*** liangbo has joined #openstack-horizon14:40
*** bapalm_ has quit IRC14:41
*** vijendar has joined #openstack-horizon14:42
lawrancejingliangbo14:44
liangboHi, bro14:45
*** bapalm- has joined #openstack-horizon14:46
*** exploreshaifali has quit IRC14:46
*** zhenguo has joined #openstack-horizon14:47
openstackgerritRadomir Dopieralski proposed openstack/horizon: Use security group id not name in the create instance dialog  https://review.openstack.org/21104614:47
openstackgerritDavid Lyle proposed openstack/horizon: [Sahara] Add support for event logs  https://review.openstack.org/15871514:54
openstackgerritDarren Shaw proposed openstack/horizon: Correct local_settings example from overwriting settings  https://review.openstack.org/21209014:55
*** neelashah has joined #openstack-horizon14:59
*** jcoufal has quit IRC15:01
pkarikhdoug-fish: hi! Do you know, what should I do if I found mistake in the Kilo translation strings? Do we have any person to contact about it?15:01
*** geoffarnold is now known as geoffarnoldX15:01
*** bluex-pl has quit IRC15:06
*** bluex-pl has joined #openstack-horizon15:06
*** yamamoto has quit IRC15:07
*** MaxV has joined #openstack-horizon15:11
*** lyanchih has quit IRC15:12
*** arxcruz has quit IRC15:12
*** lyanchih has joined #openstack-horizon15:12
*** bluex-pl has quit IRC15:14
*** amotoki has quit IRC15:16
openstackgerritDarren Shaw proposed openstack/horizon: Correct local_settings example from overwriting settings  https://review.openstack.org/21209015:17
*** jbell8 has joined #openstack-horizon15:17
*** geoffarnoldX is now known as geoffarnold15:22
*** peristeri has quit IRC15:23
*** geoffarnold has quit IRC15:28
*** piotr_k has quit IRC15:29
*** zhenguo has quit IRC15:31
*** Sukhdev has joined #openstack-horizon15:33
*** Mohh has joined #openstack-horizon15:34
*** Drago has joined #openstack-horizon15:34
*** Drago has quit IRC15:34
*** Drago has joined #openstack-horizon15:35
openstackgerritDiana Whitten proposed openstack/horizon: Theming Mechanism now supports 3rd party themes  https://review.openstack.org/19782115:35
MohhHi there. I clone horizon source, and I ran run_test script. The script executed properly with no errror. But after I login to the horizon the following error occured:15:35
MohhException Value: global name '_' is not defined Exception Location:/home/stack/source_codes/horizon/.venv/local/lib/python2.7/site-packages/openstack_auth/plugin/base.py in list_projects, line 95 Python Executable:/home/stack/source_codes/horizon/.venv/bin/python15:35
*** ccesario has quit IRC15:36
*** garthb has joined #openstack-horizon15:36
*** Daisy has joined #openstack-horizon15:36
david-ly_Mohh: what version of horizon are you using, this reminds me of an old bug that's been fixed15:37
*** david-ly_ is now known as david-lyle15:38
*** ChanServ sets mode: +o david-lyle15:38
Mohhin virtual env 1.7 is installed15:38
david-lylehttps://bugs.launchpad.net/horizon/+bug/1452232 specifically15:38
openstackLaunchpad bug 1452232 in OpenStack Dashboard (Horizon) ""NameError: global name '_' is not defined" on keystone authorization error" [Medium,Fix committed] - Assigned to Doug Fish (drfish)15:38
Mohhdavid-lyle: Is that merged?15:39
david-lyleyes15:39
Mohhdavid-lyle: OK, just checking git pull...15:40
david-lylehttps://review.openstack.org/#/c/180486/ for liberty and https://review.openstack.org/#/c/199194/ for kilo15:40
hurgleburgler1If anyone would like to gives some feedback/testing on this review: https://review.openstack.org/#/c/197821/ … I'd be much obliged … This is the Material Design theme for Horizon15:40
*** Daisy has quit IRC15:41
*** e0ne has quit IRC15:42
*** e0ne has joined #openstack-horizon15:44
*** exploreshaifali has joined #openstack-horizon15:44
*** garthb_ has joined #openstack-horizon15:44
robcresswellhurgleburgler1: Sooo much aaawesome15:45
robcresswellWill add to list15:45
hurgleburgler1Yay!15:46
*** garthb has quit IRC15:46
*** garthb_ has quit IRC15:46
hurgleburgler1robcresswell ٩(͡๏̮͡๏)۶ Thanks!15:46
*** garthb has joined #openstack-horizon15:46
*** lhcheng has joined #openstack-horizon15:47
*** SimonChung has joined #openstack-horizon15:47
*** ccesario has joined #openstack-horizon15:48
*** exploreshaifali has quit IRC15:48
*** doug-fish has quit IRC15:49
*** sqchen has joined #openstack-horizon15:49
*** doug-fish has joined #openstack-horizon15:49
*** SimonChung1 has joined #openstack-horizon15:51
*** SimonChung has quit IRC15:52
*** cody-somerville has joined #openstack-horizon15:53
openstackgerritMichael Hagedorn proposed openstack/horizon: enable_quotas=False breaks Neutron usage  https://review.openstack.org/21131015:53
*** alejandrito has quit IRC15:53
*** doug-fish has quit IRC15:54
openstackgerritMichael Hagedorn proposed openstack/horizon: Neutron Quota Settings Flag Disables Neutron GUI  https://review.openstack.org/21010015:54
*** gyee has joined #openstack-horizon15:54
*** vijendar has quit IRC15:55
*** petertr7 is now known as petertr7_away15:56
*** geoffarnold has joined #openstack-horizon16:01
*** mtanino has joined #openstack-horizon16:02
*** vgridnev has quit IRC16:02
*** doug-fish has joined #openstack-horizon16:05
*** markus_z has quit IRC16:06
openstackgerritRadomir Dopieralski proposed openstack/horizon: Use security group id not name in the create instance dialog  https://review.openstack.org/21104616:06
doug-fishpkarikh: I'm not sure there is a good formal process to report translations bugs ... I found success going into the translator's channel #openstack-i18n and whining; hopefully they can point to you the real process from there!16:07
robcresswellofc, fastest way is to contribute yourself ;)16:07
kfox1111david-lyle: any more comments for https://review.openstack.org/#/c/206773/ ? It seems to be kind of stuck.16:08
*** yamamoto has joined #openstack-horizon16:08
*** yamamoto has quit IRC16:12
Mohhdavid-lyle: Thanks David, the patch works.16:14
*** aortega has joined #openstack-horizon16:16
*** ygbo has quit IRC16:18
*** mpavlase has quit IRC16:18
*** Mohh has quit IRC16:20
openstackgerritDavid Lyle proposed openstack/horizon: Document OPENSTACK_KEYSTONE_ADMIN_ROLES  https://review.openstack.org/21632516:22
*** liangbo has quit IRC16:23
*** jcoufal has joined #openstack-horizon16:29
*** jbell8 has quit IRC16:31
*** doug-fish has quit IRC16:31
*** doug-fish has joined #openstack-horizon16:31
*** rajatvig has joined #openstack-horizon16:39
*** lyanchih has quit IRC16:39
openstackgerritDiana Whitten proposed openstack/horizon: Horizon Logo Documentation is out of date  https://review.openstack.org/21347316:41
*** absubram has joined #openstack-horizon16:42
robcresswellhurgleburgler1: Theme looks fairly good. Works fine, see no errors. But some things are odd - the responsive nav menu icon is sorta glitchy (Chrome), and the headers are massive in the workflows descriptions16:44
hurgleburgler1Yes16:44
*** kzaitsev_mb has quit IRC16:44
hurgleburgler1robcresswell : not all of horizon is themeable yet either … there are some fucky parts, but I'm gonna fix those16:44
robcresswellBut I assume thats because of our markup16:44
robcresswellya16:44
hurgleburgler1as each piece becomes theme compliant, it will just fall through and look clean16:44
robcresswellEither way, this is a cool examples16:44
robcresswellexample*16:44
hurgleburgler1and as a drop in replacement for Blue, it already hits the ground running :)16:45
hurgleburgler1I'm gonna work on making Tables, Login and Fonts theme compliant this week16:45
robcresswellOne more question; in the local_settings, the default CUSTOM_THEME_PATH is 'static/themes/default'. Is that correct? Should it not be 'themes/default'?16:45
hurgleburgler1That wrong16:46
hurgleburgler1but is addressed here : https://review.openstack.org/#/c/213473/16:46
robcresswellcool, great16:47
hurgleburgler1Documentation, in general, got away from me a bit, :(  but this review sums up everything that has changed recently16:47
robcresswellI haven't had chance to look yet. Is the rest of the docs up to date? Any info needed on adding new css etc?16:48
robcresswellThanks for doing that btw, docs stuff helps alot even though its v boring to do.16:48
hurgleburgler1There's a lot more that we can add, on how to customize things … but I think as a general stab at the current flexibility, it covers all the new stuff16:49
hurgleburgler1are there docs for that other that settings.rst and customizing.rst?16:49
robcresswellEvery time I see "izing" I want to correct it :/16:50
*** vgridnev has joined #openstack-horizon16:50
*** jtriley has quit IRC16:50
robcresswellafaik those are the main places. But we may want more info around how to contribute CSS etc, not just how to change high level themes etc.16:50
openstackgerritRajat Vig proposed openstack/horizon: Cloud Service directive to check if Service is enabled  https://review.openstack.org/21212516:50
*** liangbo has joined #openstack-horizon16:51
*** jbell8 has joined #openstack-horizon16:52
*** lhcheng has quit IRC16:52
*** ybathia has joined #openstack-horizon16:53
*** ybathia_ has joined #openstack-horizon16:54
*** jwy has joined #openstack-horizon16:56
*** romainh has left #openstack-horizon16:57
*** ybathia has quit IRC16:57
*** ybathia_ is now known as ybathia16:57
*** jtriley has joined #openstack-horizon16:57
kfox1111odd... is a liberty horizon incompatable with a juno keystone?16:58
*** rdopiera has quit IRC16:58
kfox1111Its trying to contact: [Mon Aug 24 16:57:26.599634 2015] [:error] [pid 1764] Unable to establish connection to https://identity.cloud.pnnl.gov:5000/v3/auth/tokens16:58
kfox1111hmm... there's an extra /auth in there for some reason...16:59
kfox1111no, that was just v2... nm.16:59
openstackgerritEthan Gafford proposed openstack/horizon: [Sahara] Unified job interface map UI  https://review.openstack.org/20968317:00
openstackgerritShaoquan Chen proposed openstack/horizon: Moving inline html code out of action-list.spec.js  https://review.openstack.org/21338317:01
kfox1111ah. looks like it was selinux. :/17:04
*** shivrao has joined #openstack-horizon17:05
robcresswelltqtran: Can't recall if I pointed you to this already... https://review.openstack.org/#/c/216230/17:05
robcresswellI think I did17:06
openstackgerritEthan Gafford proposed openstack/horizon: [Sahara] Unified job interface map UI  https://review.openstack.org/20968317:07
*** MaxV has quit IRC17:08
*** doug-fish has quit IRC17:08
*** doug-fish has joined #openstack-horizon17:09
robcresswelldoug-fish: o/17:10
*** mpavlase has joined #openstack-horizon17:10
*** doug-fish has quit IRC17:13
*** petertr7_away is now known as petertr717:20
*** mpavlase has quit IRC17:20
*** aix has quit IRC17:20
openstackgerritYing Zuo proposed openstack/horizon: Only insert "Any Availability Zone" if there are more than one AZs.  https://review.openstack.org/21634517:26
*** jingjing_ren has joined #openstack-horizon17:28
openstackgerritDavid Lyle proposed openstack/horizon: Adding missing mocks to lbaas tests  https://review.openstack.org/21634617:31
*** lhcheng has joined #openstack-horizon17:31
david-lyleTired of noisy test console logs, and errant API calls. Then I have the patch for you. ^^^^^17:32
* david-lyle goes back to what he was trying to verify17:33
*** Sukhdev has quit IRC17:33
*** jtomasek has quit IRC17:43
*** kzaitsev_mb has joined #openstack-horizon17:44
*** doug-fish has joined #openstack-horizon17:48
*** wolverineav has joined #openstack-horizon17:51
*** jcoufal has quit IRC17:52
*** Sukhdev has joined #openstack-horizon17:52
*** Ephur has joined #openstack-horizon17:53
*** Ephur has quit IRC17:54
*** pkarikh_ has joined #openstack-horizon17:55
*** jprovazn has quit IRC17:55
*** tqtran has joined #openstack-horizon18:01
*** TravT has quit IRC18:03
*** Sukhdev has quit IRC18:03
*** vgridnev has quit IRC18:10
*** TravT has joined #openstack-horizon18:10
*** saksham has joined #openstack-horizon18:11
kfox1111tqtran: get a chance yet to reviewhttps://review.openstack.org/#/c/206773/ ?18:18
openstackgerritCindy Lu proposed openstack/horizon: Moving translation to HTML for launch-instance flavor step  https://review.openstack.org/21579218:18
kfox1111I'm trying to get the app catalog plugin into rdo, but their horizon's based on trunk, which doesn't have the fixes. :/18:18
*** bapalm- is now known as bapalm_18:19
*** Drago has quit IRC18:19
*** ybathia has quit IRC18:19
tqtranok, i'll take a look at in after the one i'm currently reviewing18:19
kfox1111thanks.18:20
*** jtriley has quit IRC18:22
*** vgridnev has joined #openstack-horizon18:22
openstackgerritKBrown proposed openstack/horizon: WIP: Add angular flavors panel  https://review.openstack.org/20620318:22
openstackgerritKBrown proposed openstack/horizon: WIP: Add angular flavors panel subflows  https://review.openstack.org/21429418:22
openstackgerritKBrown proposed openstack/horizon: WIP: API Services for Flavors Panel  https://review.openstack.org/21489618:22
rajatvigCan the patches https://review.openstack.org/#/c/214057/ and https://review.openstack.org/#/c/211741/ be reviewed? Currently eslint does not run on javascripts inside openstack_dashboard/dashboard/*/static.18:25
rajatvigthe patches fix existing violations and future based of new eslint rules based off changes from https://review.openstack.org/#/c/213818/18:26
*** jtriley has joined #openstack-horizon18:28
*** liangbo has quit IRC18:30
openstackgerritRajat Vig proposed openstack/horizon: Use the JP Style Guide for OpenStack Services  https://review.openstack.org/21283818:31
*** vijendar has joined #openstack-horizon18:31
*** Drago has joined #openstack-horizon18:35
*** Drago has quit IRC18:35
*** Drago has joined #openstack-horizon18:36
*** absubram has quit IRC18:36
*** exploreshaifali has joined #openstack-horizon18:36
*** rajatvig has quit IRC18:41
*** mrunge has joined #openstack-horizon18:43
*** Mzoorikh has joined #openstack-horizon18:47
MzoorikhHi. I wrote a tenant-delete test case, but I can't delete the project: test_tenant18:48
MzoorikhThis error occured: 'Unable to delete project: test_tenant'18:48
*** rajatvig has joined #openstack-horizon18:49
MzoorikhIs there anybody know why?18:49
kfox1111ever seen this one? its with a trunk rdo build... Error: [$injector:modulerr] Failed to instantiate module horizon.app due to:18:49
*** geoffarnold is now known as geoffarnoldX18:49
*** geoffarnoldX is now known as geoffarnold18:49
kfox1111[$injector:modulerr] Failed to instantiate module horizon.auth due to:18:49
kfox1111[$injector:nomod] Module 'horizon.auth' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.18:49
*** ttrifonov is now known as zz_ttrifonov18:49
ducttape_kfox1111 - I've seen that18:49
mrungeMzoorikh, without seeing a bit more context, it's probably impossible to tell what you're talking about18:49
ducttape_it's like my top 5 favorite bugs, for sure kfox111118:50
kfox1111know a fix? :)18:50
mrungethat should be in trunk as well18:50
mrungetrunk rdo build is built from github at each commit in horizon18:51
ducttape_yep, for me that happens when the code base and the settings are out of wack / do not match.  and I also need to re-run collectstatic and compressor18:51
ducttape_usually the settings and even the static settings util stuff are giving you problems kfox111118:51
kfox1111I thought the latter happened at http restart via the systemctl hooks.18:51
mrungehmm, collectstatic and compress is run at httpd restart18:52
mrungeyepp18:52
kfox1111k. so I need to figure out why the local_settings are too old?18:52
ducttape_ok.  then check your settings and the static settings specifically18:52
ducttape_yep18:52
ducttape_or too new - maybe a bug was added recently ;)   that situation has caused me to loose a couple of days (if that makes you feel any better)18:53
mrungethis is called on httpd restart /usr/lib/systemd/system/httpd.service.d/openstack-dashboard.conf18:53
Mzoorikhmrunge: I want to delete 'test_tenant' project in my test case with the following line of codes: form_data = {'action': 'tenants__delete__%s' % project_id}         res = self.client.post(INDEX_URL, form_data, follow=True)18:53
Mzoorikhmrunge: But the res object contains the error message: Unable to delete project: test_tenant.18:53
*** jingjing_ren has quit IRC18:53
mrungeMzoorikh, yes, that's what you wrote earlier before18:54
Mzoorikhmrunge: exactly. But that was worked before.18:54
mrungeMzoorikh, you're surely mocking api calls, don't you?18:55
Mzoorikhmrunge: Yeah I did. http://www.pastebin.ca/312687518:58
kfox1111ducttape_: both settings look about right. :/19:02
ducttape_kfox1111 : after that, I had to turn off compression on two machines, and compare what libraries where not being included... I think I tracked it down to something related to HORIZON[static something or rather] for my case19:03
ducttape_but I had one machine working, and the other not so much19:03
kfox1111k.19:04
kfox1111I did see they tried to move stuff into /dashboard/static, but don't think they fully got there...19:04
*** e0ne has quit IRC19:04
Mzoorikhmrunge: Did you see my API call mocks? http://www.pastebin.ca/312687519:08
openstackgerritVitaly Gridnev proposed openstack/horizon: [Sahara] Add missing job type in libs selection  https://review.openstack.org/21638419:10
tqtranducttape_, r1chardj0n3s, david-lyle: question for you guys, should I use POST or GET for resource validation or permission?19:10
tqtranaccording to HTTP spec, POST should only be use for creating something new, but in policy, we use POST to ask whether some rules are allowed.19:11
tqtrankfox1111's patch uses GET to validation a heat template. not sure what the norm should be?19:12
ducttape_hmm.... not sure.  the other think could be to use a head call for a quick check?19:12
ducttape_think/thing19:13
ducttape_tqtran - so this is purely for policy checks such as "can I create or list users?"19:14
tqtranwell, im asking for a more general approach, what is the correct pattern we should be using when it comes to just checking or validating something.19:15
ducttape_yep. understood.  I agree that doing a POST feels akward for this type of use case.19:16
tqtrani personally prefer POST but I can understand why someone would use GET instead. but we should be consistent, so just asking for 2nd opinions19:16
ducttape_david-lyle you at keyboard ?19:16
kfox1111tqtran: yeah. its borderline. it shouldn't cause side affects, so get seems like its reasonable, but it can take a while, so post may be better?19:17
kfox1111I could go either way. :/19:17
ducttape_it would be interesting (to me) to have http headers on resources, describing permissions.  so you'd call /api/users  and the http headers would say "you have permission to do x/y/z"19:17
ducttape_we always have CRUD, plus list19:18
kfox1111or maybe a HEAD like thing...19:18
kfox1111tqtran: a thought... maybe we should just see what heat does?19:20
kfox1111They have it as POST.19:20
kfox1111seems like a good thing to copy then.19:20
tqtranok lets go with POST then19:21
kfox1111k.19:21
tqtranjust wanted to be consistent :P19:21
kfox1111yeah.19:21
ducttape_I like HEAD calls for this, but consistency would win for me too19:22
kfox1111if the rest stuff is supposed to be just a wraper around the real services rest, then POST is probably best.19:23
ducttape_this is something else though.... this is horizon doing a policy check, and returning the results of that call (if I understand this correctly).19:23
ducttape_i.e. no additional network calls19:24
tqtranright19:24
tqtranbut in kfox1111's case, he is using heat to validate19:24
ducttape_but if heat does something like this, then consistency is better than idealism ;)19:24
tqtranso that is slightly different....19:24
*** petertr7 is now known as petertr7_away19:25
tqtrankfox1111: let me finish reviewing it before you go off and update the patch :P19:25
kfox1111k. :)19:25
tqtranwe can save the gate a few cycles19:26
kfox1111thanks for reviewing.19:26
tqtrannp19:26
*** petertr7_away is now known as petertr719:29
doug-fishtsufiev: are you still around?19:30
*** jwy has quit IRC19:30
*** jingjing_ren has joined #openstack-horizon19:31
david-lyleducttape_: here19:32
kfox1111thats... unfortunate...19:33
kfox1111doesn't look like /home/kfox2/svn/horizon-app-catalog7/openstack_dashboard/test/helpers.py handles POSTS?19:33
david-lylewhat are we posting?19:33
kfox1111david-lyle: https://review.openstack.org/#/c/206773/19:34
kfox1111in the heat rest api, we just decided it should be POST not GET.19:34
ducttape_david-lyle  - if we want a js / rest call to determine policy results..... how should that be done?19:34
david-lylewhy is that a post?19:35
ducttape_that was / is question orig from tqtran19:35
kfox1111david-lyle: cause its a post in Heat.19:35
ducttape_because heat did it first ;)19:35
david-lyleoh, not a policy check19:35
kfox1111we figured it was probably best to be consistant?19:35
tqtraneven the REST policy check is a POST19:36
david-lylein that case, makes sense19:36
ducttape_the preference in the room was (I think) a HTTP HEAD call would be nice, but consistency with some other pattern is even better19:36
ducttape_but if that post pattern is only within horizon and heat.... I think we might want to not pay as much attention to this precendence19:36
david-lyletqtran: it is? what dumb dodo wrote that?19:37
tqtran*cough cough* some old fella19:37
* david-lyle knows it was him19:37
kfox1111hmm.. nova_rest_tests.py does a post... so can probably adapt that code...19:37
ducttape_so if dave orig wrote it, then it's probably wrong and a terrible idea19:37
tqtranlol19:37
david-lyletqtran: I meant to revisit it, now I have another reason19:38
* ducttape_ realizes he will see no more merges19:38
tqtranoriginally i thought POST was ok, but then i realized i was confusing form POST vs rest POST19:38
Mzoorikhmrunge: Are you there?19:39
kfox1111hm... yea... that probably will change this code a bit. :_(19:39
mrungeMzoorikh, no19:39
Mzoorikhmrunge: OK19:39
*** Ephur has joined #openstack-horizon19:46
*** shivrao has quit IRC19:47
mrungeMzoorikh, sorry, I'm still quite busy :(19:48
*** zul has quit IRC19:49
*** sayan has quit IRC19:49
*** ZZelle has joined #openstack-horizon19:49
*** ZZelle is now known as ZZll-off19:49
Mzoorikhmrunge: No worries. I am waiting, and working to get rid of the error by my own!19:49
*** ducttape_ has quit IRC19:52
*** jwy has joined #openstack-horizon19:52
*** exploreshaifali has quit IRC19:53
*** sqchen has quit IRC19:55
*** shivrao has joined #openstack-horizon19:57
*** sqchen has joined #openstack-horizon19:58
*** exploreshaifali has joined #openstack-horizon20:04
kfox1111is there any way to make mock more verbose?20:05
kfox1111I'm shooting a bit blind here. :/20:05
*** ducttape_ has joined #openstack-horizon20:05
kfox1111tqtran: other then the POST/GET thing, how does the rest of the patch look?20:06
*** mrunge has quit IRC20:10
*** ericpeterson has joined #openstack-horizon20:12
*** exploreshaifali has quit IRC20:13
*** ducttape_ has quit IRC20:15
tqtrankfox1111: still reviewing it :P20:15
kfox1111k. thanks.20:15
tqtranok done with the review, take a moment to read and let me know what you think20:18
kfox1111so you want me to patch the forms in the plugin?20:20
kfox1111tqtran: I was hoping to merge before cloudbase goes away since it seemed much farther along. Is that the case?20:21
*** absubram has joined #openstack-horizon20:21
tqtranif by patching forms, you mean moving the get_initial blocks then yes20:21
kfox1111that makes the plugin specific to a horizon's internals.20:23
tqtranyes, cloud services is going to get replace, so a rebase on top of that would be ideal20:23
kfox1111that I really want to avoid. :/20:23
tqtranthe thing is, we're not using that piece anywhere else in trunk, so its just kind of sitting there20:23
kfox1111I could just drop out the change to the file entirely. it would merge today, then get deleted when the other patch merges.20:23
kfox1111I'm sure the murano folks would use it too.20:24
kfox1111or anyone else writing a plugin to pop up the dialogs.20:24
tqtranright, which is why i think the nested dialog deserves its own patch, that part i can understand20:24
kfox1111yeah, but just poping up a dialog without filling any bits in is not very useful.20:25
tqtranbut the get_initial block and additions to image-form-controller is less clear20:25
*** Sukhdev has joined #openstack-horizon20:25
kfox1111the thing is, you can pop up the dialog, and set some of the stuff via ajax-modal and form vars, but not some others.20:25
*** ducttape_ has joined #openstack-horizon20:26
kfox1111the ones that you cant have the fix in for. that makes them all setable.20:26
kfox1111is that not a bug?20:26
*** ericpeterson has quit IRC20:26
openstackgerritRajat Vig proposed openstack/horizon: WIP : API for Metadata Definitions  https://review.openstack.org/21572120:26
openstackgerritRajat Vig proposed openstack/horizon: Run ESLint on Javascript files in dashboards  https://review.openstack.org/21405720:26
david-lylekfox1111: so the heat views piece is so you can have a template already selected?20:26
openstackgerritRajat Vig proposed openstack/horizon: WIP : Angular panel for Metadata Definitions  https://review.openstack.org/21614120:26
openstackgerritRajat Vig proposed openstack/horizon: JSCS Cleanup - use DI in launch instance model  https://review.openstack.org/21174120:26
openstackgerritRajat Vig proposed openstack/horizon: Create a Angular Modules for Admin Dashboard  https://review.openstack.org/21477920:26
kfox1111david-lyle: exactly. same with te glance image create patch.20:27
kfox1111so I can pass the ui a heat template to launch with, and the glance image a url to import, name, etc.20:27
kfox1111I just take the stuff in the app catalog and pass it to the horizon dialog when asked by the user.20:28
david-lylekfox1111: why do I want to land on the select template and not the next step?20:28
kfox1111because you might want to customize the environment.20:28
david-lylethat's what I was wondering, but in the app-catalog case?20:29
david-lyleprobably20:29
kfox1111yeah. I didn't want to exclude the case. In the future, we can maybe add more metadata into the catalog to allow skipping for certain items.20:30
david-lyleI think that could be generally useful20:30
kfox1111basically the dialogs are just the handoff point between the app catalog plugin and horizon.20:31
*** rajatvig has quit IRC20:31
david-lylewhy not just go ahead and create the image?20:31
*** rajatvig has joined #openstack-horizon20:31
david-lyleseems like almost everything is passed in20:31
david-lylethe public and protected?20:31
kfox1111the user can further customize the import, such as setting the public flag, changing the default sizes, etc.20:32
kfox1111protected, yeah.20:32
kfox1111plus there is no restapi for image creation yet. ;)20:32
kfox1111I figured I'ld try and write that for M...20:32
kfox1111just trying to get very basic but functional app catalog in L.20:32
*** jerrygb has joined #openstack-horizon20:33
david-lyleright and I think tqtran and I are just trying to verifywe're not just merging one offs to allow that20:33
david-lylebeing able to seed a form is generally useful20:34
kfox1111ah.20:34
*** jerrygb is now known as test0rz20:34
*** test0rz is now known as asd112z20:34
kfox1111yeah. its something that use to work, up until some of the angular stuff kicked in.20:34
david-lylethe image controller part20:36
kfox1111yeah.20:36
david-lylebecause you aren't triggering selectImageFormat?20:39
david-lyleseems rather selective for just the two fields20:39
david-lylebecause the others are already set?20:39
kfox1111the rest of the fields were being copied ok. Somethign to do with the angularness on them.20:40
david-lylethat's a sweet mess20:40
kfox1111yeah. :/20:40
david-lylebut if you have two initialization methods, you don't have much choice20:40
* kfox1111 nods.20:40
kfox1111should be better once everything's totally angular.20:41
* david-lyle hears judy garland singing20:41
*** petertr7 is now known as petertr7_away20:42
kfox1111arg... this get->post thing is a real pain. :/20:42
kfox1111I need to spend a week and just sit down with mock and better understand it.20:42
robcresswellAnd then try and explain to your boss what you did this week :(20:43
kfox1111yeah. :(20:43
david-lyleok, I'm good with the initialization code20:44
kfox1111k. thanks.20:45
david-lylethe modal changes scare me quite a bit20:45
david-lyleI have to walk through that a bunch, that code is quite fragile, IIRC20:46
*** rajatvig has quit IRC20:46
kfox1111heh. yeah, scared me too when I saw it doing global css selection before my change. :/20:46
david-lyleit20:46
david-lyleit's a mess20:46
kfox1111yeah.20:46
david-lylesomeone once tried to fix it, and bailed20:47
david-lylelarge patchset20:47
kfox1111I think the last line in the change isn't needed after the moving of the parent.20:47
kfox1111since it moves it to :last anyway.20:47
kfox1111It too should get much better once angularized.20:47
openstackgerritKBrown proposed openstack/horizon: WIP: Add API services for system information  https://review.openstack.org/20519620:48
robcresswellI had a thought. How does theming work with all the inline widget scss?20:48
openstackgerritKBrown proposed openstack/horizon: WIP: Add angular system information panel  https://review.openstack.org/20473120:48
kfox1111without moving the parent, the other line's required to fix the js it breaks when calling modal.modal() on.20:48
david-lylebut there's a whole pop side too20:49
david-lylenot saying what you have is wrong, I just need more time to evaluate it20:50
*** shivrao has quit IRC20:51
kfox1111sure.20:52
*** jwy has quit IRC20:53
MzoorikhIt seems utils.logout_with_message() function is not worked in tests? it it?20:54
*** pkarikh_ has quit IRC20:57
*** shivrao has joined #openstack-horizon20:58
*** DWfuturetec has quit IRC20:59
*** rajatvig has joined #openstack-horizon20:59
*** jbell8 has quit IRC21:01
*** jingjing_ren has quit IRC21:03
*** lblanchard has quit IRC21:11
*** jbell8 has joined #openstack-horizon21:12
kfox1111david-lyle: should the patch be broken up?21:13
kfox1111I'm ok doing that. just worried it will delay the review a lot more.21:14
*** jingjing_ren has joined #openstack-horizon21:14
tqtrani think it would actually make it easier to review :P21:17
kfox1111ok. I'll split it then.21:17
*** DWfuturetec has joined #openstack-horizon21:17
kfox1111about half the files are the new heat rest api.21:17
kfox1111should I just split it to heat and non heat?21:17
*** jwy has joined #openstack-horizon21:18
tqtranyeah that would make sense21:19
tqtranyou can chain them if you want, to show that one depends on another21:20
*** Piet has joined #openstack-horizon21:20
kfox1111ok. sounds good.21:20
kfox1111really, the validate one's icing. so I'll do that one last. The plugin can be quickly adapted to work without it.21:21
*** jcoufal has joined #openstack-horizon21:21
kfox1111the rest are really critical to make it work.21:21
*** absubram has quit IRC21:23
*** rajatvig has quit IRC21:23
kfox1111what about the rebase on https://review.openstack.org/#/c/179516/? I'm trying to merge quickly, and I keep getting new things to rebase on.21:24
kfox1111should I just not make any changes to cloud-services.service.js21:25
kfox1111and when the other merge happens, the file just gets dropped?21:25
kfox1111I only patched it since there were other api entries there. I don't belive I actually use it.21:25
*** crobertsrh is now known as _crobertsrh21:26
r1chardj0n3smorning21:28
*** jtriley has quit IRC21:31
hurgleburgler1r1chardj0n3s morning21:31
*** rajatvig has joined #openstack-horizon21:33
*** rajatvig has quit IRC21:39
tqtrankfox1111: i think that will be fine, you can just leave cloud-services.js out of your patch to avoid the rebase21:39
kfox1111ok. thanks.21:39
kfox1111there we go... got get->post fixed up. now to split the patch.21:40
*** geoffarnold has quit IRC21:41
*** Piet has quit IRC21:42
*** Mzoorikh has quit IRC21:44
*** andersonvom has joined #openstack-horizon21:55
*** mwhagedorn has quit IRC21:56
*** pauloewerton has quit IRC21:56
andersonvomhey folks, do we have a tag or some sort of way to track low-hanging-fruit bugs on launchpad that I could use to locate easy-to-fix bugs for newcomers?21:56
andersonvomnevermind, we do. for whatever reason I totally missed that21:58
tqtranandersonvom: haha just about to say that, cool, welcome to the community!21:59
*** neelashah has quit IRC21:59
*** vgridnev has quit IRC21:59
*** tqtran is now known as tqtran-afk21:59
*** ybathia has joined #openstack-horizon22:00
*** ybathia has quit IRC22:00
*** ybathia has joined #openstack-horizon22:00
*** mwhagedorn has joined #openstack-horizon22:02
andersonvomtqtran: thanks! :D too bad the list of easy bugs is pretty much taken already! ;)22:02
*** rajatvig has joined #openstack-horizon22:03
openstackgerritKevin Fox proposed openstack/horizon: A few fixes to make the App Catalog plugin work.  https://review.openstack.org/20677322:04
*** mwhagedorn has joined #openstack-horizon22:05
*** rajatvig has quit IRC22:07
openstackgerritKirill Zaitsev proposed openstack/django_openstack_auth: Use set comprehension instead of converting lists to sets  https://review.openstack.org/21644122:08
*** rajatvig has joined #openstack-horizon22:08
*** aortega_ has joined #openstack-horizon22:12
*** aortega has quit IRC22:12
openstackgerritKevin Fox proposed openstack/horizon: Javascript Heat API  https://review.openstack.org/21644322:14
kfox1111tqtran: split.22:15
*** vijendar has quit IRC22:16
*** rajatvig has quit IRC22:18
kzaitsev_mbkfox1111: care to update the 1st patch 1st line, to make it a bit more informative? =)22:18
kzaitsev_mbwhile you're still at it, and it haven't got much reviews, I mean )22:18
kfox1111yeah, sure. suggestions? ;)22:19
*** akrivoka has quit IRC22:19
*** akrivoka has joined #openstack-horizon22:20
kzaitsev_mbSomething like "Allow passing params to form stack/image dialogs" ?22:21
kfox1111How about:22:25
kfox1111This fixes passing params to stack and image creation form dialogs.22:25
kfox1111It also fixes a bug with nested dialogs.22:25
*** aortega_ has quit IRC22:25
*** Sukhdev has quit IRC22:25
*** rajatvig has joined #openstack-horizon22:25
*** asd112z has quit IRC22:25
kzaitsev_mbyep, why not )22:26
*** mpavlase has joined #openstack-horizon22:26
openstackgerritKevin Fox proposed openstack/horizon: A few fixes to make the App Catalog plugin work.  https://review.openstack.org/20677322:26
kfox1111done. thanks. :)22:26
*** akrivoka has quit IRC22:28
*** jcoufal has quit IRC22:32
*** doug-fish has quit IRC22:34
*** doug-fish has joined #openstack-horizon22:34
openstackgerritKBrown proposed openstack/horizon: WIP: API Services for Flavors Panel  https://review.openstack.org/21489622:35
*** jpomeroy has quit IRC22:36
*** doug-fis_ has joined #openstack-horizon22:37
*** geoffarnold has joined #openstack-horizon22:38
*** doug-fish has quit IRC22:38
*** tsufiev has quit IRC22:41
*** doug-fish has joined #openstack-horizon22:41
*** kzaitsev_ws has quit IRC22:41
*** doug-fis_ has quit IRC22:42
*** geoffarnold has quit IRC22:42
*** kzaitsev_ws has joined #openstack-horizon22:42
*** nullvariable has quit IRC22:42
*** geoffarnold has joined #openstack-horizon22:45
*** doug-fish has quit IRC22:46
*** tsufiev has joined #openstack-horizon22:46
*** rajatvig has quit IRC22:47
*** tosky has quit IRC22:49
*** vgridnev has joined #openstack-horizon22:50
*** mpavlase has quit IRC22:50
*** tosky has joined #openstack-horizon22:50
*** tosky has quit IRC22:51
*** vgridnev has quit IRC22:52
*** tosky has joined #openstack-horizon22:53
*** tosky has quit IRC22:55
*** tosky has joined #openstack-horizon22:57
*** rajatvig has joined #openstack-horizon22:57
*** Drago has quit IRC22:57
*** tosky has quit IRC22:58
*** tosky has joined #openstack-horizon23:00
*** tosky has quit IRC23:01
*** ducttape_ has quit IRC23:05
*** mwhagedorn has quit IRC23:06
*** rajatvig has quit IRC23:08
*** kzaitsev_mb has quit IRC23:10
*** ccesario has quit IRC23:13
*** rajatvig has joined #openstack-horizon23:15
*** rajatvig has quit IRC23:19
*** Ephur has quit IRC23:22
*** ccesario has joined #openstack-horizon23:26
*** doug-fish has joined #openstack-horizon23:34
*** EmilienM has quit IRC23:34
*** NightKhaos has quit IRC23:35
*** saksham has quit IRC23:35
*** rajatvig has joined #openstack-horizon23:35
*** kzaitsev_mb has joined #openstack-horizon23:36
*** EmilienM has joined #openstack-horizon23:36
*** dsneddon is now known as dsneddon_away23:36
*** wolverineav has quit IRC23:38
*** DuncanT has quit IRC23:38
*** doug-fish has quit IRC23:38
*** wolverineav has joined #openstack-horizon23:38
*** DuncanT has joined #openstack-horizon23:39
kfox1111is there a reason wait condition's timeout tops out at 43200?23:40
*** NightKhaos has joined #openstack-horizon23:42
*** morganfainberg is now known as morgan23:42
kfox1111oh. did the math a little wrong. 43200 is 12 hours.23:42
kfox1111that should be ok.23:42
*** DWfuturetec has quit IRC23:42
*** garthb has quit IRC23:45
*** jtriley has joined #openstack-horizon23:46
openstackgerritKBrown proposed openstack/horizon: WIP: Add angular flavors panel subflows  https://review.openstack.org/21429423:46
openstackgerritKBrown proposed openstack/horizon: WIP: API Services for Flavors Panel  https://review.openstack.org/21489623:46
openstackgerritRajat Vig proposed openstack/horizon: Create a Angular Modules for Admin Dashboard  https://review.openstack.org/21477923:47
openstackgerritRajat Vig proposed openstack/horizon: WIP : API for Metadata Definitions  https://review.openstack.org/21572123:47
openstackgerritRajat Vig proposed openstack/horizon: WIP : Angular panel for Metadata Definitions  https://review.openstack.org/21614123:47
*** jingjing_ren has quit IRC23:48
*** mwhagedorn has joined #openstack-horizon23:49
*** rajatvig has quit IRC23:50
*** mwhagedorn has quit IRC23:51
*** jcoufal has joined #openstack-horizon23:57
kfox1111tqtran-afk: Thanks. :)23:58
*** tqtran-afk is now known as tqtran23:58
tqtrannp23:58

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