Monday, 2016-03-21

blake_Is it possible to provision murano-agent using cloud-init data from ConfigDrive instead of the metadata service?00:13
*** ducttape_ has joined #murano00:28
*** ducttape_ has quit IRC00:35
*** kzaitsev_mb has joined #murano00:41
*** x00350071 has quit IRC00:54
*** yamamoto has joined #murano00:56
*** x00350071 has joined #murano00:59
*** zhurong has joined #murano01:02
*** kzaitsev_mb has quit IRC01:16
*** Liuqing has joined #murano01:30
*** ducttape_ has joined #murano01:31
*** yamamoto has quit IRC01:31
*** ducttape_ has quit IRC01:35
*** Liuqing has quit IRC01:57
*** kzaitsev_mb has joined #murano02:12
*** blake_ has quit IRC02:16
*** kzaitsev_mb has quit IRC02:18
*** ducttape_ has joined #murano02:18
*** yamamoto has joined #murano02:32
*** yamamoto has quit IRC02:41
*** ducttape_ has quit IRC02:45
*** ducttape_ has joined #murano03:02
*** kzaitsev_mb has joined #murano03:13
*** kzaitsev_mb has quit IRC03:18
*** ducttape_ has quit IRC03:25
*** ducttape_ has joined #murano03:26
*** ducttape_ has quit IRC03:31
*** yamamoto has joined #murano03:36
*** ishergin has joined #murano03:41
*** andybotting has joined #murano03:41
*** x00350071_ has joined #murano03:41
*** x00350071 has quit IRC03:44
*** ishergin has quit IRC03:45
*** yamamoto has quit IRC04:13
*** ducttape_ has joined #murano04:27
*** ducttape_ has quit IRC04:33
*** klkumar has joined #murano04:34
*** yamamoto has joined #murano04:34
*** yamamoto has quit IRC04:37
*** yamamoto has joined #murano04:40
*** yamamoto has quit IRC04:42
*** Marga_ has quit IRC04:43
*** Nikolay_St has quit IRC05:12
*** kzaitsev_mb has joined #murano05:15
*** kzaitsev_mb has quit IRC05:20
*** yamamoto has joined #murano05:29
*** ducttape_ has joined #murano05:29
*** ducttape_ has quit IRC05:34
*** ishergin has joined #murano05:41
*** ishergin has quit IRC05:46
*** Liuqing has joined #murano05:51
*** klkumar has quit IRC05:52
*** yamamoto has quit IRC05:52
*** yamamoto has joined #murano05:59
*** klkumar has joined #murano06:00
*** ishergin has joined #murano06:01
*** ishergin has quit IRC06:02
*** ishergin has joined #murano06:02
*** Nikolay_St has joined #murano06:13
*** kzaitsev_mb has joined #murano06:16
*** openstackgerrit has quit IRC06:17
*** openstackgerrit_ is now known as openstackgerrit06:17
*** openstackgerrit_ has joined #murano06:18
*** ishergin has quit IRC06:18
*** openstackgerrit_ is now known as openstackgerrit06:18
*** openstackgerrit_ has joined #murano06:19
*** kzaitsev_mb has quit IRC06:21
*** yamamoto has quit IRC06:22
*** Marga_ has joined #murano06:30
*** ducttape_ has joined #murano06:30
*** ducttape_ has quit IRC06:34
*** nshenoy has joined #murano06:41
*** yamamoto has joined #murano06:41
nshenoy@kzaitsev_ws, @slagun, @ativelkov I am trying to fetch the specific application object for the given Instance06:43
nshenoyJust like we do $.environment: $.find(std:Environment).require() to get the environment, how can i get the specific application which is responsible for deploying this instance ?06:44
*** itisha has quit IRC06:49
*** kzaitsev_mb has joined #murano07:17
*** ishergin has joined #murano07:18
*** kzaitsev_mb has quit IRC07:21
*** ducttape_ has joined #murano07:31
*** ducttape_ has quit IRC07:35
*** Marga_ has quit IRC07:41
openstackgerritNikolay Starodubtsev proposed openstack/murano: Upgrade bind function to use murano actions  https://review.openstack.org/29367407:59
*** yamamoto has quit IRC08:01
*** yamamoto has joined #murano08:02
*** zhurong has quit IRC08:04
*** zhurong has joined #murano08:05
slagunnshenoy: hi!08:05
slagunnshenoy: there is no such thing as responsible application. Instance can be shared between several applications or be owned by something else that is not application08:07
slagunnshenoy: you can say $instance.find(std:Application) to find closest instance owner of type std:Application but there's no guarantee that you won't get null08:08
*** yamamoto has quit IRC08:17
*** ducttape_ has joined #murano08:31
*** kzaitsev_mb has joined #murano08:35
*** ducttape_ has quit IRC08:36
openstackgerritNikolay Starodubtsev proposed openstack/murano: Upgrade bind function to use murano actions  https://review.openstack.org/29367408:37
*** permalac has joined #murano08:40
*** kzaitsev_mb has quit IRC08:41
openstackgerritNikolay Starodubtsev proposed openstack/murano: Docs about murano applications debugging  https://review.openstack.org/29341108:44
Nikolay_Stslagun: can you take a look at status:open project:openstack/murano branch:master topic:bug/155824208:56
*** permalac has quit IRC09:05
*** permalac has joined #murano09:05
nshenoyslagun: Thanks,  i too felt so. I am trying to store cloud information in application and retrieve the credentials by refering to the application.09:08
nshenoyslagun: From what you say, i think its better to maintain the cloud information in the instance itself(or the default cloud information in the environment)09:09
nshenoyslagun: That way, instance will have cloud object model09:10
slagunnshenoy: so you're going to have say Cloud class and then Instance have a property of type $.class(Cloud)?09:11
nshenoyslagun: yes09:12
openstackgerritValerii Kovalchuk proposed openstack/python-muranoclient: Refactor request methods in HTTP/SessionClient classes  https://review.openstack.org/29053609:12
nshenoyslagun: i first thought application will have that property. but i think Instance is the right placeholder09:13
nshenoyslagun: Application can still have cloudconfiguration which maps to the UI. But this gets stored inside instance.09:13
slagunnshenoy: yes, instance and other cloud resources will probably have it. Application may have it as well, but application may use >1 clouds and have several instances in different clouds09:14
slagunthe problem is how to avoid choosing cloud for each app09:14
nshenoyslagun: there will be a default cloud at environment level as well09:15
slagunthe problem is that you don't have access to environment from UI.yaml09:16
nshenoyslagun: Oh !!09:16
slagunyou cannot use find() there09:16
nshenoyslagun:  I was thinking that by default application will use default cloud from environment, but user can customize too09:16
slagunyes, I just thinking how to achieve this09:17
nshenoyslagun: May be we chould use similar concept as we have for "useEnvironmentNetwork"09:18
*** yamamoto has joined #murano09:18
slagunthis is one more property at each resource09:18
slagunI have a better idea09:18
nshenoysure ? please suggest09:19
*** klkumar has quit IRC09:19
*** gsankanna has joined #murano09:20
slagunhave some base class called CloudResource with a property "cloud" and a method findCloud(). findCloud checks if the "$.cloud != null". If it is then returns $.cloud. Otherwise says "$.find(CloudResource)" in attempt to find parent resource. If find returned non-null value then Return: $parent.getCloud(). And finally make Environemt be CloudResource as well09:21
*** fuel-slackbot has quit IRC09:22
openstackgerritNikolay Starodubtsev proposed openstack/murano: Upgrade bind function to use murano actions  https://review.openstack.org/29367409:23
*** yamamoto has quit IRC09:25
nshenoyslagun: Ok, so environment has CloudResource. Application can optionally have one or more CloudResource. and Instance will have specific CloudResource which is either taken from Application or environment09:25
*** permalac has quit IRC09:26
slagunEnvironment is CloudResouce (by inheritance). Application may either be CloudResource or provide instance with a cloud value09:30
slagunInstance is either have cloud provided explicitly or obtains it from its owners up to environment09:31
*** ducttape_ has joined #murano09:32
nshenoyslagun: Can both Environment and Application be derived from CloudResource ? might create some future problems09:33
*** samuelBartel has joined #murano09:34
slagunThey both derived from Object. Don't see any problem for both be derived from CloudResource09:34
slagunMaybe the name should be better09:34
slagunCloudObject or CloudAware09:34
slagunetc09:34
slagunit is not std:Application who get derived. It is particular application that derives from both std:Application or std:CloudObject09:36
slagunand then we may write std:SingleCloudApplication that does just that09:36
nshenoyslagun:  sure let me think on that09:36
nshenoyslagun: thanks09:37
*** ducttape_ has quit IRC09:37
*** klkumar has joined #murano09:41
*** zhurong has quit IRC09:49
*** Liuqing has quit IRC09:51
openstackgerritNikolay Starodubtsev proposed openstack/murano: Upgrade bind function to use murano actions  https://review.openstack.org/29367410:05
*** kzaitsev_mb has joined #murano10:22
*** x00350071_ has quit IRC10:22
openstackgerritValerii Kovalchuk proposed openstack/murano-dashboard: Improve message about component deleting in UI  https://review.openstack.org/28845310:23
*** x00350071 has joined #murano10:24
*** tlashchova has joined #murano10:41
openstackgerritNikolay Starodubtsev proposed openstack/murano: [cfapi] Use muranoclient to access murano packages  https://review.openstack.org/29362910:44
openstackgerritNikolay Starodubtsev proposed openstack/murano: Upgrade bind function to use murano actions  https://review.openstack.org/29367410:45
*** nshenoy has quit IRC10:53
*** yamamoto has joined #murano11:01
*** yamamoto has quit IRC11:04
*** yamamoto has joined #murano11:10
*** Liuqing has joined #murano11:15
Nikolay_Sthi all11:28
Nikolay_Stplease be informed, that our ci was unavailable for 2hours. please retrigger you changes if you have any.11:28
*** ducttape_ has joined #murano11:34
*** ducttape_ has quit IRC11:38
*** yamamoto has quit IRC11:39
*** yamamoto has joined #murano11:56
*** Liuqing has quit IRC12:01
*** yamamoto has quit IRC12:02
*** Liuqing has joined #murano12:03
*** ducttape_ has joined #murano12:13
openstackgerritNikolay Starodubtsev proposed openstack/murano: Upgrade bind function to use murano actions  https://review.openstack.org/29367412:16
*** tlashchova has quit IRC12:19
*** MVenesio has joined #murano12:19
*** Liuqing has quit IRC12:23
*** Liuqing has joined #murano12:24
*** Liuqing has quit IRC12:27
*** raildo-afk is now known as raildo12:35
*** ducttape_ has quit IRC12:36
*** akanksha_ has joined #murano12:40
*** kzaitsev_mb has quit IRC12:41
*** Einherjer has joined #murano13:13
*** yamamoto has joined #murano13:18
*** kzaitsev_mb has joined #murano13:22
*** permalac has joined #murano13:34
*** lrensing has joined #murano13:50
openstackgerritMerged openstack/murano: Upgrade bind function to use murano actions  https://review.openstack.org/29367413:57
*** Nikolay_St has quit IRC14:03
*** ducttape_ has joined #murano14:08
*** ducttape_ has quit IRC14:08
*** ducttape_ has joined #murano14:08
lrensinghey guys, i just grabbed this bug: https://bugs.launchpad.net/murano/+bug/155989014:10
openstackLaunchpad bug 1559890 in Murano "use oslo_service.loopingcall.Retry decorator" [Wishlist,New] - Assigned to Larry Rensing (lr699s)14:10
lrensingi just removed the retrying.retry and the tox still passes, what is the best way to test this bug?14:11
kzaitsev_mblrensing: you can't just remove retrying. Do you understand what the code does? =)14:12
kzaitsev_mblrensing: I don't think we have a test for that code, it would be awesome if you would write one for it =)14:14
lrensingi think i understand it, i'm new to the project14:15
lrensingmy intention was to remove it, run tox, and see how many things break haha14:15
*** sergmelikyan has joined #murano14:17
*** alejandrito has joined #murano14:18
*** yamamoto has quit IRC14:23
*** yamamoto has joined #murano14:35
kzaitsev_mblrensing: that's not what the bug is about14:44
kzaitsev_mbit's about the fact, that we have an extra dependency, that we can safely remove, because oslo already has similar code14:44
kzaitsev_mblrensing: just removeing something is rarely a good idea =)14:45
kzaitsev_mblrensing: since we do not have a test for this — it would be really nice of you to write one. =) You can Mock the calls in such a way, that they would raise an exeption 2-3 times and would pass after that =)14:46
*** yamamoto has quit IRC14:48
isherginhello)14:51
isherginAs of MuranoPL can execute a command on the server side (not the agent)? there is a way through the Mistral, through static agent(plugin) or write your plugin. There are other ways?14:51
*** tlashchova has joined #murano14:52
*** x00350071 is now known as xiangxinyong14:54
xiangxinyongkzaitsev_mb: Hello14:54
*** yamamoto has joined #murano15:08
*** yamamoto has quit IRC15:09
*** yamamoto has joined #murano15:10
*** yamamoto has quit IRC15:10
openstackgerritMerged openstack/murano: [cfapi] Use muranoclient to access murano packages  https://review.openstack.org/29362915:17
openstackgerritOmar Shykhkerimov proposed openstack/murano-dashboard: Limiting descriptions of fields  https://review.openstack.org/29309415:26
openstackgerritOmar Shykhkerimov proposed openstack/murano-dashboard: Limiting descriptions of fields  https://review.openstack.org/29309415:31
*** Nikolay_St has joined #murano15:33
*** xiangxinyong456 has joined #murano15:35
*** yamamoto has joined #murano15:37
*** yamamoto has quit IRC15:41
*** yamamoto has joined #murano15:42
*** xiangxinyong456 has quit IRC15:42
*** alejandrito has quit IRC15:47
*** alejandrito has joined #murano15:49
*** blake_ has joined #murano15:54
kzaitsev_mbishergin: nope, that's the reason to have MuranoPL — not to allow arbitrary code on server.15:55
kzaitsev_mbOtherwise a user would be able to run arbitrary code on your controllers. Doesn't sound nice at all15:55
*** yamamoto has quit IRC15:56
kzaitsev_mbshame xiangxinyong left =/15:56
*** alejandrito has quit IRC15:57
*** alejandrito has joined #murano15:59
sergmelikyanishergin: if you could share your use-cases may be would be able to help you more?15:59
*** yamamoto has joined #murano16:00
*** gsankanna has left #murano16:01
*** yamamoto has quit IRC16:08
*** itisha has joined #murano16:12
*** yamamoto has joined #murano16:24
openstackgerritOmar Shykhkerimov proposed openstack/murano-dashboard: Limiting descriptions of fields  https://review.openstack.org/29309416:25
*** yamamoto has quit IRC16:28
openstackgerritMerged openstack/murano: Document MuranoPL Metadata  https://review.openstack.org/29179116:28
blake_Is it possible to provision murano-agent using cloud-init data from ConfigDrive instead of the metadata service?16:32
kzaitsev_mbblake_: I don't think we have that ability yet. At least I never really tried to do that.16:33
kzaitsev_mbblake_: Can you maybe give a little more insight on why you need this and a link to some docs for more context =)16:34
*** tmadhusu has joined #murano16:36
blake_kzaitsev_mb: I do not currently have the Nova metadata service running in my environment. I currently use Heat Orchestration Templates to install apps onto a VM with the RAW user data format. Data is read by the VM from a config drive. I was hoping I could use this same method within Murano16:39
kzaitsev_mbblake_: I'll be honest — I'm not that familiar with cloud init and would have to read a bit, before I have a definite answer )16:41
*** ishergin has quit IRC16:48
openstackgerritOmar Shykhkerimov proposed openstack/murano-dashboard: Limiting descriptions of fields  https://review.openstack.org/29309416:52
*** klkumar has quit IRC17:03
*** Marga_ has joined #murano17:08
*** samuelBartel has quit IRC17:15
*** Marga_ has quit IRC17:16
*** Marga_ has joined #murano17:17
*** Marga_ has quit IRC17:25
*** Marga_ has joined #murano17:26
*** ishergin has joined #murano17:28
*** yamamoto has joined #murano17:29
isherginkzaitsev_mb for example - execute ansible playbook, create/clone the jenkins task/create record in dns(designate)17:33
isherginkzaitsev_mb: to do it via Murano-agent is unsafe (must be open network access, etc)17:35
*** yamamoto has quit IRC17:35
*** yamamoto has joined #murano17:36
*** jasonsb has quit IRC17:36
*** yamamoto has quit IRC17:37
*** yamamoto has joined #murano17:59
*** ducttape_ has quit IRC18:11
*** yamamoto has quit IRC18:13
*** blake_ has quit IRC18:19
*** kzaitsev_mb has quit IRC18:21
*** ducttape_ has joined #murano18:23
openstackgerritValerii Kovalchuk proposed openstack/murano-dashboard: Add 'prev_marker' parameter to pagination in tables  https://review.openstack.org/29543918:25
*** ducttape_ has quit IRC18:33
*** ducttape_ has joined #murano18:33
*** ishergin_ has joined #murano18:34
*** Marga_ has quit IRC18:34
*** ishergin has quit IRC18:38
*** _ducttape_ has joined #murano18:55
*** ducttape_ has quit IRC18:58
*** Marga_ has joined #murano19:00
*** Marga_ has quit IRC19:00
*** Marga_ has joined #murano19:01
*** yamamoto has joined #murano19:14
*** yamamoto has quit IRC19:21
*** lrensing has quit IRC19:25
*** kzaitsev_mb has joined #murano20:06
*** alejandrito has quit IRC20:25
*** kzaitsev_mb has quit IRC20:30
*** alejandrito has joined #murano20:31
*** kzaitsev_mb has joined #murano20:35
*** MVenesio has quit IRC20:37
*** srwilkers has joined #murano20:40
*** akanksha_ has quit IRC20:47
*** ishergin_ has quit IRC20:50
*** alejandrito has quit IRC20:57
*** alejandrito has joined #murano20:58
*** raildo is now known as raildo-afk21:03
*** raildo-afk is now known as raildo21:06
*** _ducttape_ has quit IRC21:17
*** tlashchova has quit IRC21:21
*** sergmelikyan has quit IRC21:29
*** ducttape_ has joined #murano21:33
*** sergmelikyan has joined #murano21:35
*** sergmelikyan has quit IRC21:36
*** srwilkers has quit IRC21:42
*** raildo is now known as raildo-afk21:47
*** kzaitsev_mb has quit IRC21:53
*** kzaitsev_mb has joined #murano21:56
*** alejandrito has quit IRC22:32
*** MVenesio has joined #murano22:38
*** MVenesio has quit IRC22:42
*** ducttape_ has quit IRC22:43
*** openstackgerrit has quit IRC23:03
*** openstackgerrit_ is now known as openstackgerrit23:03
*** openstackgerrit has quit IRC23:03
*** openstackgerrit_ has joined #murano23:03
*** openstackgerrit_ is now known as openstackgerrit23:04
*** openstackgerrit_ has joined #murano23:08
*** ducttape_ has joined #murano23:29

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