StanLagun | obviously | 00:00 |
---|---|---|
Zer0Byte__ | but no other project is doing this | 00:02 |
Zer0Byte__ | that is breaking a functionality | 00:02 |
Zer0Byte__ | i ask to keystone guys and they said the values project_domain_id | 00:02 |
Zer0Byte__ | and os_user_domain_id are old versions | 00:03 |
Zer0Byte__ | and the newest templates of rc are using the variable os_user_domain_name | 00:03 |
Zer0Byte__ | so i will do a patch to read if this variable exist then dont assume default . | 00:03 |
StanLagun | I think it should be (os_user_domain_name or project_domain_id or "default") | 00:04 |
StanLagun | See nothing wrong with "default" as this is the default domain name | 00:04 |
Zer0Byte__ | thats right im confirming this | 00:05 |
Zer0Byte__ | right now with keystone people | 00:05 |
Zer0Byte__ | well im leaving for avoid break compatibility with older versions | 00:06 |
Zer0Byte__ | thanks for your time StanLagun :) | 00:07 |
Zer0Byte__ | and if we dont talk Merry xmas | 00:07 |
StanLagun | AFAIU this shouldn't break anything | 00:07 |
StanLagun | Merry Christmas! | 00:07 |
*** Zer0Byte__ has quit IRC | 00:19 | |
*** catintheroof has quit IRC | 00:29 | |
*** ducttape_ has joined #murano | 00:56 | |
*** ducttape_ has quit IRC | 01:01 | |
*** ducttape_ has joined #murano | 01:11 | |
openstackgerrit | Merged openstack/murano-dashboard: Fixes test_filter_by_description failing on glare gate job. https://review.openstack.org/412161 | 01:14 |
openstackgerrit | Merged openstack/murano-dashboard: Fixes murano-dashboard-coverage failing unit test. https://review.openstack.org/411948 | 01:16 |
*** pooja has joined #murano | 01:23 | |
pooja | Hello, I am new to the Murano project and needed some help with the murano environment-apps-edit cli | 01:23 |
pooja | With the object model jsonpatch, what are the types of updates allowed for the op type 'replace'? | 01:24 |
pooja | Does it allow changing the deployed app's template? | 01:25 |
*** sergmelikyan has quit IRC | 01:36 | |
openstackgerrit | Merged openstack/python-muranoclient: Update author in setup.cfg https://review.openstack.org/410096 | 01:36 |
*** sergmelikyan has joined #murano | 01:37 | |
*** yamamot__ has joined #murano | 01:39 | |
StanLagun | pooja hi! | 01:43 |
openstackgerrit | Merged openstack/murano: Updated from global requirements https://review.openstack.org/411712 | 01:44 |
StanLagun | there is a json list of applications. You can perform any json-patch on that list including changes to deployed applications | 01:44 |
StanLagun | that doesn't necessary mean that the application is going to respect the change | 01:45 |
StanLagun | pooja: 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.html | 01:46 |
StanLagun | it has some examples for the json-patch besides many other things | 01:47 |
pooja | Thanks StanLagun for providing the link! I will take a look at the jsonpatch examples.. appreciate it! | 01:57 |
StanLagun | this is a part of this commit: https://review.openstack.org/#/c/381983 | 01:57 |
StanLagun | just in case the link breaks | 01:58 |
pooja | Oh okay, that helps | 01:59 |
openstackgerrit | Merged openstack/murano: Use test-config phase for configuring murano tempest https://review.openstack.org/412029 | 02:02 |
openstackgerrit | Stan Lagun proposed openstack/murano: Developing Murano Packages 101 https://review.openstack.org/381983 | 02:09 |
*** sergmelikyan has quit IRC | 02:14 | |
*** ducttape_ has quit IRC | 02:27 | |
*** ducttape_ has joined #murano | 02:28 | |
*** ducttape_ has quit IRC | 02:32 | |
*** fragatina has joined #murano | 02:37 | |
*** ducttape_ has joined #murano | 02:48 | |
*** sergmelikyan has joined #murano | 03:00 | |
*** pooja has quit IRC | 03:11 | |
*** sergmelikyan has quit IRC | 03:23 | |
*** ducttape_ has quit IRC | 03:38 | |
*** StanLagun has quit IRC | 04:33 | |
*** StanLagun has joined #murano | 04:40 | |
*** sergmelikyan has joined #murano | 05:23 | |
*** Zer0Byte__ has joined #murano | 05:27 | |
*** sergmelikyan has quit IRC | 05:27 | |
openstackgerrit | Jose Phillips proposed openstack/python-muranoclient: Fix Murano client to use V3 and MultiDomain Authentication https://review.openstack.org/412790 | 06:49 |
openstackgerrit | Jose Phillips proposed openstack/python-muranoclient: Fix Murano client to use V3 and MultiDomain Authentication https://review.openstack.org/412790 | 06:55 |
*** StanLagun has quit IRC | 07:28 | |
*** Zer0Byte__ has quit IRC | 07:43 | |
*** yamamot__ has quit IRC | 08:12 | |
openstackgerrit | yunfeng zhou proposed openstack/murano-specs: add CONTRIBUTING.rst https://review.openstack.org/412879 | 08:32 |
*** fragatin_ has joined #murano | 08:38 | |
*** fragatina has quit IRC | 08:39 | |
*** yamamoto has joined #murano | 08:43 | |
*** yamamoto has quit IRC | 08:47 | |
*** yamamoto has joined #murano | 08:58 | |
*** yamamoto has quit IRC | 10:02 | |
*** sergmelikyan has joined #murano | 10:24 | |
*** sergmelikyan has quit IRC | 10:29 | |
*** yamamoto has joined #murano | 10:59 | |
*** yamamoto has quit IRC | 11:08 | |
*** fragatin_ has quit IRC | 11:51 | |
*** yamamoto has joined #murano | 12:09 | |
*** yamamoto has quit IRC | 12:18 | |
*** yamamoto has joined #murano | 12:28 | |
*** catintheroof has joined #murano | 12:37 | |
*** ducttape_ has joined #murano | 13:30 | |
*** Serlex has joined #murano | 13:42 | |
*** cleong has joined #murano | 13:57 | |
*** catinthe_ has joined #murano | 14:06 | |
*** catintheroof has quit IRC | 14:08 | |
*** ducttape_ has quit IRC | 14:12 | |
*** ducttape_ has joined #murano | 14:54 | |
*** sergmelikyan has joined #murano | 15:28 | |
*** bmace has quit IRC | 15:42 | |
*** ducttape_ has quit IRC | 15:56 | |
*** fragatina has joined #murano | 16:26 | |
*** catintheroof has joined #murano | 16:39 | |
*** catinthe_ has quit IRC | 16:42 | |
*** sergmelikyan has quit IRC | 16:43 | |
*** ducttape_ has joined #murano | 16:45 | |
*** sergmelikyan has joined #murano | 16:53 | |
*** sergmelikyan has quit IRC | 16:57 | |
*** ducttape_ has quit IRC | 16:57 | |
*** StanLagun has joined #murano | 16:58 | |
*** fragatina has quit IRC | 16:59 | |
*** fragatina has joined #murano | 17:00 | |
*** kzaitsev_mb has joined #murano | 17:02 | |
*** Zer0Byte__ has joined #murano | 17:16 | |
*** Serlex has quit IRC | 17:24 | |
openstackgerrit | Felipe Monteiro proposed openstack/murano-dashboard: [WIP] Add UI Tessts for Various Package Scenarios: https://review.openstack.org/413189 | 17:33 |
openstackgerrit | Felipe Monteiro proposed openstack/murano-dashboard: [WIP] Add UI Tests for Various Package Scenarios. https://review.openstack.org/413189 | 17:33 |
Zer0Byte__ | hey guys | 17:39 |
*** ducttape_ has joined #murano | 17:51 | |
*** yamamoto has quit IRC | 17:59 | |
*** catinthe_ has joined #murano | 18:03 | |
*** yamamoto has joined #murano | 18:03 | |
*** catintheroof has quit IRC | 18:06 | |
*** sergmelikyan has joined #murano | 18:07 | |
*** sergmelikyan has joined #murano | 18:07 | |
*** yamamoto has quit IRC | 18:07 | |
*** ducttape_ has quit IRC | 18:08 | |
*** ducttape_ has joined #murano | 18:19 | |
*** felipemonteiro has joined #murano | 18:24 | |
*** pooja has joined #murano | 18:35 | |
pooja | Hi 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 |
pooja | When I try using "op": "replace" and "path": "/0/services", the cli returns error "can't replace non-existent object 'services'" | 18:35 |
pooja | Does it mean apps within an environment cannot be updated once deployed? | 18:36 |
kzaitsev_mb | pooja: no it doesnt =) | 18:36 |
StanLagun | pooja hi! | 18:36 |
StanLagun | services list is the object you are editing. There is no /0/services, just /0 | 18:37 |
pooja | Ah okay, sorry I am still trying to wrap my head around the value formats expected for these attributes. | 18:39 |
kzaitsev_mb | http://jsonpatch.com might help | 18:39 |
pooja | Thanks! I will give that a try | 18:39 |
pooja | Also 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 |
pooja | But 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 app | 18:44 |
pooja | Is this something to be configured in heat or murano to cleanup old resources? | 18:44 |
StanLagun | Murano 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 Murano | 18:46 |
*** ducttape_ has quit IRC | 18:47 | |
pooja | Hmm okay, makes sense | 18:47 |
pooja | Thanks Stan! | 18:47 |
StanLagun | you're welcome! | 18:48 |
*** yamamoto has joined #murano | 19:05 | |
*** fragatina has quit IRC | 19:05 | |
*** kzaitsev_mb has quit IRC | 19:09 | |
*** yamamoto has quit IRC | 19:13 | |
*** StanLagu_ has joined #murano | 19:20 | |
*** StanLagun has quit IRC | 19:22 | |
*** StanLagun has joined #murano | 19:23 | |
*** ducttape_ has joined #murano | 19:25 | |
*** StanLagu_ has quit IRC | 19:27 | |
Zer0Byte__ | hey StanLagun | 19:34 |
*** catintheroof has joined #murano | 19:37 | |
*** catinthe_ has quit IRC | 19:40 | |
*** ducttape_ has quit IRC | 19:57 | |
*** ducttape_ has joined #murano | 20:00 | |
*** fragatina has joined #murano | 20:12 | |
*** ducttape_ has quit IRC | 20:21 | |
*** fragatina has quit IRC | 20:22 | |
*** fragatina has joined #murano | 20:23 | |
*** fragatina has quit IRC | 20:43 | |
*** catintheroof has quit IRC | 20:47 | |
StanLagun | Zer0Byte__ what's up? | 20:56 |
Zer0Byte__ | hey StanLagun | 20:57 |
Zer0Byte__ | can you help me in something really quick i guess i have the answer | 20:57 |
StanLagun | sure | 20:58 |
Zer0Byte__ | https://review.openstack.org/#/c/412790/ | 20:58 |
Zer0Byte__ | have a conflict with other commit that looks like is abandoned by the user | 20:58 |
Zer0Byte__ | i have to rebase or a project administrator can flag these commit as abandoned | 20:59 |
Zer0Byte__ | ? | 20:59 |
StanLagun | a) 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 right | 21:01 |
StanLagun | args.os_project_domain_id or 'default' will always be 'default' because args.os_project_domain_id must be None if we got to this point | 21:01 |
*** zimboboyd has quit IRC | 21:02 | |
StanLagun | previous 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 StanLagun | 21:04 |
Zer0Byte__ | if you see the template of rc | 21:04 |
Zer0Byte__ | os_projecT_domain_id doesnt' exists | 21:04 |
Zer0Byte__ | and what do the code put "default" if the variable doesnt'exists | 21:04 |
Zer0Byte__ | thats is causing if OS_USER_DOMAIN_NAME is ignored if os_project_domain_id is populated with default | 21:05 |
StanLagun | What do you mean by doesn't exist? Doesn't set or there is no such variable? | 21:06 |
Zer0Byte__ | ok let me explain u | 21:06 |
StanLagun | args.os_project_domain_name or args.os_project_domain_id will use _id only if the _name is not set | 21: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 mydomain | 21:07 |
Zer0Byte__ | exactly | 21: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 fail | 21:08 |
*** fragatina has joined #murano | 21:08 | |
Zer0Byte__ | i let the code there because for avoid breaking older versions | 21:08 |
StanLagun | Still 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 versions | 21:09 |
Zer0Byte__ | look this template | 21:09 |
Zer0Byte__ | https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/access_and_security/templates/access_and_security/api_access/openrc.sh.template | 21:09 |
Zer0Byte__ | this is a V3 template | 21:10 |
Zer0Byte__ | os_project_domain_id <doesn't exists on the lastest template | 21:11 |
Zer0Byte__ | since mitaka i guess | 21:11 |
Zer0Byte__ | what happend with the code | 21:11 |
Zer0Byte__ | if i send os_project_domain_id = default and os_user_domain_name = MyDOMAIN for any reason keystone choose OS_PROJECT_DOMAIN_ID | 21:11 |
Zer0Byte__ | always and the connection fail | 21:12 |
Zer0Byte__ | because is "DEFAULT" | 21:12 |
StanLagun | so 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 connect | 21:14 |
Zer0Byte__ | so is the same | 21:14 |
StanLagun | but 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 access | 21:14 |
Zer0Byte__ | and what keystone guys told me project_domain_id and project_domain_name are old variables | 21:15 |
Zer0Byte__ | the last time i saw these variables appears to be in Kilo | 21:15 |
StanLagun | okay. Anyway only one of them is going to be set. So we can take the first one set | 21:16 |
Zer0Byte__ | exactly so if u use a old template u will populate the information | 21:18 |
Zer0Byte__ | if the variables doesn't exsists will going to work like always do | 21:18 |
StanLagun | something like this: http://paste.ubuntu.com/23661010/ | 21:23 |
Zer0Byte__ | oh ok works also | 21:25 |
Zer0Byte__ | let me try it | 21:25 |
*** ducttape_ has joined #murano | 21:30 | |
*** fragatina has quit IRC | 21:30 | |
*** ducttape_ has quit IRC | 21:35 | |
*** ducttape_ has joined #murano | 21:38 | |
*** ducttape_ has quit IRC | 21:58 | |
*** cleong has quit IRC | 22:04 | |
openstackgerrit | Jose Phillips proposed openstack/python-muranoclient: Fix Murano client to use V3 and MultiDomain Authentication https://review.openstack.org/412790 | 22:19 |
Zer0Byte__ | StanLagun plz check the new commit | 22:20 |
StanLagun | lgtm | 22:22 |
*** fragatina has joined #murano | 22:23 | |
*** fragatina has quit IRC | 22:47 | |
Zer0Byte__ | well i learn my lesson perform fix between 8 am to 12 am | 22:52 |
Zer0Byte__ | ;) | 22:52 |
*** ducttape_ has joined #murano | 22:53 | |
*** ducttape_ has quit IRC | 23:12 | |
*** ducttape_ has joined #murano | 23:12 | |
*** felipemonteiro has quit IRC | 23:18 | |
openstackgerrit | Felipe Monteiro proposed openstack/murano: [WIP] Increase unit test coverage for DSL Helpers. https://review.openstack.org/413268 | 23:18 |
*** sergmelikyan has quit IRC | 23:56 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!