Tuesday, 2016-12-20

StanLagunobviously00:00
Zer0Byte__but no other project is doing this00:02
Zer0Byte__that is breaking a functionality00:02
Zer0Byte__i ask to keystone guys and they said the values project_domain_id00:02
Zer0Byte__and os_user_domain_id are old versions00:03
Zer0Byte__and the newest templates of rc are using the variable os_user_domain_name00:03
Zer0Byte__so i will do a patch to read if this variable exist then dont assume default .00:03
StanLagunI think it should be (os_user_domain_name  or project_domain_id  or "default")00:04
StanLagunSee nothing wrong with "default" as this is the default domain name00:04
Zer0Byte__thats right im confirming this00:05
Zer0Byte__right now with keystone people00:05
Zer0Byte__well im leaving for avoid break compatibility with older versions00:06
Zer0Byte__thanks for your time StanLagun :)00:07
Zer0Byte__and if we dont talk Merry xmas00:07
StanLagunAFAIU this shouldn't break anything00:07
StanLagunMerry Christmas!00:07
*** Zer0Byte__ has quit IRC00:19
*** catintheroof has quit IRC00:29
*** ducttape_ has joined #murano00:56
*** ducttape_ has quit IRC01:01
*** ducttape_ has joined #murano01:11
openstackgerritMerged openstack/murano-dashboard: Fixes test_filter_by_description failing on glare gate job.  https://review.openstack.org/41216101:14
openstackgerritMerged openstack/murano-dashboard: Fixes murano-dashboard-coverage failing unit test.  https://review.openstack.org/41194801:16
*** pooja has joined #murano01:23
poojaHello, I am new to the Murano project and needed some help with the murano environment-apps-edit cli01:23
poojaWith the object model jsonpatch, what are the types of updates allowed for the op type 'replace'?01:24
poojaDoes it allow changing the deployed app's template?01:25
*** sergmelikyan has quit IRC01:36
openstackgerritMerged openstack/python-muranoclient: Update author in setup.cfg  https://review.openstack.org/41009601:36
*** sergmelikyan has joined #murano01:37
*** yamamot__ has joined #murano01:39
StanLagunpooja hi!01:43
openstackgerritMerged openstack/murano: Updated from global requirements  https://review.openstack.org/41171201:44
StanLagunthere is a json list of applications. You can perform any json-patch on that list including changes to deployed applications01:44
StanLagunthat doesn't necessary mean that the application is going to respect the change01:45
StanLagunpooja: this might help http://docs-draft.openstack.org/83/381983/14/check/gate-murano-docs-ubuntu-xenial/7aa0857//doc/build/html/appdev-guide/step-by-step/step_by_step.html01:46
StanLagunit has some examples for the json-patch besides many other things01:47
poojaThanks StanLagun for providing the link! I will take a look at the jsonpatch examples.. appreciate it!01:57
StanLagunthis is a part of this commit: https://review.openstack.org/#/c/38198301:57
StanLagunjust in case the link breaks01:58
poojaOh okay, that helps01:59
openstackgerritMerged openstack/murano: Use test-config phase for configuring murano tempest  https://review.openstack.org/41202902:02
openstackgerritStan Lagun proposed openstack/murano: Developing Murano Packages 101  https://review.openstack.org/38198302:09
*** sergmelikyan has quit IRC02:14
*** ducttape_ has quit IRC02:27
*** ducttape_ has joined #murano02:28
*** ducttape_ has quit IRC02:32
*** fragatina has joined #murano02:37
*** ducttape_ has joined #murano02:48
*** sergmelikyan has joined #murano03:00
*** pooja has quit IRC03:11
*** sergmelikyan has quit IRC03:23
*** ducttape_ has quit IRC03:38
*** StanLagun has quit IRC04:33
*** StanLagun has joined #murano04:40
*** sergmelikyan has joined #murano05:23
*** Zer0Byte__ has joined #murano05:27
*** sergmelikyan has quit IRC05:27
openstackgerritJose Phillips proposed openstack/python-muranoclient: Fix Murano client to use V3 and MultiDomain Authentication  https://review.openstack.org/41279006:49
openstackgerritJose Phillips proposed openstack/python-muranoclient: Fix Murano client to use V3 and MultiDomain Authentication  https://review.openstack.org/41279006:55
*** StanLagun has quit IRC07:28
*** Zer0Byte__ has quit IRC07:43
*** yamamot__ has quit IRC08:12
openstackgerrityunfeng zhou proposed openstack/murano-specs: add CONTRIBUTING.rst  https://review.openstack.org/41287908:32
*** fragatin_ has joined #murano08:38
*** fragatina has quit IRC08:39
*** yamamoto has joined #murano08:43
*** yamamoto has quit IRC08:47
*** yamamoto has joined #murano08:58
*** yamamoto has quit IRC10:02
*** sergmelikyan has joined #murano10:24
*** sergmelikyan has quit IRC10:29
*** yamamoto has joined #murano10:59
*** yamamoto has quit IRC11:08
*** fragatin_ has quit IRC11:51
*** yamamoto has joined #murano12:09
*** yamamoto has quit IRC12:18
*** yamamoto has joined #murano12:28
*** catintheroof has joined #murano12:37
*** ducttape_ has joined #murano13:30
*** Serlex has joined #murano13:42
*** cleong has joined #murano13:57
*** catinthe_ has joined #murano14:06
*** catintheroof has quit IRC14:08
*** ducttape_ has quit IRC14:12
*** ducttape_ has joined #murano14:54
*** sergmelikyan has joined #murano15:28
*** bmace has quit IRC15:42
*** ducttape_ has quit IRC15:56
*** fragatina has joined #murano16:26
*** catintheroof has joined #murano16:39
*** catinthe_ has quit IRC16:42
*** sergmelikyan has quit IRC16:43
*** ducttape_ has joined #murano16:45
*** sergmelikyan has joined #murano16:53
*** sergmelikyan has quit IRC16:57
*** ducttape_ has quit IRC16:57
*** StanLagun has joined #murano16:58
*** fragatina has quit IRC16:59
*** fragatina has joined #murano17:00
*** kzaitsev_mb has joined #murano17:02
*** Zer0Byte__ has joined #murano17:16
*** Serlex has quit IRC17:24
openstackgerritFelipe Monteiro proposed openstack/murano-dashboard: [WIP] Add UI Tessts for Various Package Scenarios:  https://review.openstack.org/41318917:33
openstackgerritFelipe Monteiro proposed openstack/murano-dashboard: [WIP] Add UI Tests for Various Package Scenarios.  https://review.openstack.org/41318917:33
Zer0Byte__hey guys17:39
*** ducttape_ has joined #murano17:51
*** yamamoto has quit IRC17:59
*** catinthe_ has joined #murano18:03
*** yamamoto has joined #murano18:03
*** catintheroof has quit IRC18:06
*** sergmelikyan has joined #murano18:07
*** sergmelikyan has joined #murano18:07
*** yamamoto has quit IRC18:07
*** ducttape_ has quit IRC18:08
*** ducttape_ has joined #murano18:19
*** felipemonteiro has joined #murano18:24
*** pooja has joined #murano18:35
poojaHi Stan, I went through the docs you sent yesterday but couldn't really find any examples for murano environment-apps-edit cli with op type 'replace'.18:35
poojaWhen I try using "op": "replace" and "path": "/0/services", the cli returns error "can't replace non-existent object 'services'"18:35
poojaDoes it mean apps within an environment cannot be updated once deployed?18:36
kzaitsev_mbpooja: no it doesnt =)18:36
StanLagunpooja hi!18:36
StanLagunservices list is the object you are editing. There is no /0/services, just /018:37
poojaAh okay, sorry I am still trying to wrap my head around the value formats expected for these attributes.18:39
kzaitsev_mbhttp://jsonpatch.com might help18:39
poojaThanks! I will give that a try18:39
poojaAlso had another unrelated question.. I was trying out addition of apps to an existing environment and found that if an existing heat stack for a deployed app is in error state, adding a new app causes this stack to be updated.18:43
poojaBut instead of deleting the old stack resources, murano leaves the old resources as is and tries creating a new instance. So I end up with 2 instances for same app18:44
poojaIs this something to be configured in heat or murano to cleanup old resources?18:44
StanLagunMurano just took the Heat stack, added new resources and bushed it back to the Heat. If you got extra copy of old VMs it is Heat to blame. Maybe nova, but not Murano18:46
*** ducttape_ has quit IRC18:47
poojaHmm okay, makes sense18:47
poojaThanks Stan!18:47
StanLagunyou're welcome!18:48
*** yamamoto has joined #murano19:05
*** fragatina has quit IRC19:05
*** kzaitsev_mb has quit IRC19:09
*** yamamoto has quit IRC19:13
*** StanLagu_ has joined #murano19:20
*** StanLagun has quit IRC19:22
*** StanLagun has joined #murano19:23
*** ducttape_ has joined #murano19:25
*** StanLagu_ has quit IRC19:27
Zer0Byte__hey StanLagun19:34
*** catintheroof has joined #murano19:37
*** catinthe_ has quit IRC19:40
*** ducttape_ has quit IRC19:57
*** ducttape_ has joined #murano20:00
*** fragatina has joined #murano20:12
*** ducttape_ has quit IRC20:21
*** fragatina has quit IRC20:22
*** fragatina has joined #murano20:23
*** fragatina has quit IRC20:43
*** catintheroof has quit IRC20:47
StanLagunZer0Byte__ what's up?20:56
Zer0Byte__hey StanLagun20:57
Zer0Byte__can you help me in something really quick i guess i have the answer20:57
StanLagunsure20:58
Zer0Byte__https://review.openstack.org/#/c/412790/20:58
Zer0Byte__have a conflict with other commit that looks like is abandoned by the user20:58
Zer0Byte__i have to rebase or a project administrator can flag these commit as abandoned20:59
Zer0Byte__?20:59
StanLaguna) It doesn't matter. The only thing that matters here is that you have no conflicts with the current master b) The commit itself doesn't look right21:01
StanLagunargs.os_project_domain_id or 'default' will always be 'default' because args.os_project_domain_id must be None if we got to this point21:01
*** zimboboyd has quit IRC21:02
StanLagunprevious version was better. I thought you're just going to replace "args.os_project_domain_id or 'default'" with "args.os_project_domain_name or args.os_project_domain_id or 'default'"21:03
Zer0Byte__this is the point StanLagun21:04
Zer0Byte__if you see the template of rc21:04
Zer0Byte__os_projecT_domain_id doesnt' exists21:04
Zer0Byte__and what do the code put "default" if the variable doesnt'exists21:04
Zer0Byte__thats is causing if OS_USER_DOMAIN_NAME is ignored if os_project_domain_id is populated with default21:05
StanLagunWhat do you mean by doesn't exist? Doesn't set or there is no such variable?21:06
Zer0Byte__ok let me explain u21:06
StanLagunargs.os_project_domain_name or args.os_project_domain_id will use _id only if the _name is not set21:06
Zer0Byte__if i send to keystone os_user_domain_name ="mydomain" and os_project_domain_id ="default" keystone try to use default instead of mydomain21:07
Zer0Byte__exactly21:07
Zer0Byte__and if you choose the template of RC  os_project_domain_id  is never populated and always will be "default"21:07
Zer0Byte__and this is why will fail21:08
*** fragatina has joined #murano21:08
Zer0Byte__i let the code there because for avoid breaking older versions21:08
StanLagunStill don't understand/ What is the relation between user domain and project domain?21:09
Zer0Byte__no relationship i ask to keystone guys and said project_domain is a old variable and is not used on newest versions21:09
Zer0Byte__look this template21:09
Zer0Byte__https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/access_and_security/templates/access_and_security/api_access/openrc.sh.template21:09
Zer0Byte__this is a V3 template21:10
Zer0Byte__os_project_domain_id  <doesn't exists on the lastest template21:11
Zer0Byte__since mitaka i guess21:11
Zer0Byte__what happend with the code21:11
Zer0Byte__if i send os_project_domain_id = default and os_user_domain_name = MyDOMAIN   for any reason keystone choose OS_PROJECT_DOMAIN_ID21:11
Zer0Byte__always and the connection fail21:12
Zer0Byte__because is "DEFAULT"21:12
StanLagunso project_domain_name, project_domain_id, user_domain_name, user_domain_id are all the same?21:12
Zer0Byte__i can use os_user_domain_id or os_user_domain_name to connect21:14
Zer0Byte__so is the same21:14
StanLagunbut cat the project domain be different from the user domain?21:14
Zer0Byte__no  , the user have to be part of a project to get access21:14
Zer0Byte__and what keystone guys told me project_domain_id and project_domain_name are old variables21:15
Zer0Byte__the last time i saw these variables appears to be in Kilo21:15
StanLagunokay. Anyway only one of them is going to be set. So we can take the first one set21:16
Zer0Byte__exactly so if u use a old template u will populate the information21:18
Zer0Byte__if the variables doesn't exsists will going to work like always do21:18
StanLagunsomething like this: http://paste.ubuntu.com/23661010/21:23
Zer0Byte__oh ok works also21:25
Zer0Byte__let me try it21:25
*** ducttape_ has joined #murano21:30
*** fragatina has quit IRC21:30
*** ducttape_ has quit IRC21:35
*** ducttape_ has joined #murano21:38
*** ducttape_ has quit IRC21:58
*** cleong has quit IRC22:04
openstackgerritJose Phillips proposed openstack/python-muranoclient: Fix Murano client to use V3 and MultiDomain Authentication  https://review.openstack.org/41279022:19
Zer0Byte__StanLagun  plz check the new commit22:20
StanLagunlgtm22:22
*** fragatina has joined #murano22:23
*** fragatina has quit IRC22:47
Zer0Byte__well i learn my lesson perform fix between 8 am to 12 am22:52
Zer0Byte__;)22:52
*** ducttape_ has joined #murano22:53
*** ducttape_ has quit IRC23:12
*** ducttape_ has joined #murano23:12
*** felipemonteiro has quit IRC23:18
openstackgerritFelipe Monteiro proposed openstack/murano: [WIP] Increase unit test coverage for DSL Helpers.  https://review.openstack.org/41326823:18
*** sergmelikyan has quit IRC23:56

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