Thursday, 2015-09-17

*** zhurong has joined #murano00:01
*** yamamoto has joined #murano00:13
*** zhurong has quit IRC00:21
*** lawrancejing has quit IRC00:22
*** kzaitsev_mb has quit IRC00:27
*** yamamoto has quit IRC00:47
*** lawrancejing has joined #murano00:50
*** pradiprwt has quit IRC00:57
*** zhurong has joined #murano01:28
*** zhurong_ has joined #murano01:46
*** lawrance_ has joined #murano01:46
*** lawrancejing has quit IRC01:49
*** zhurong has quit IRC01:49
*** xiangxinyong has joined #murano02:01
*** yamamoto has joined #murano02:19
*** yamamoto has quit IRC02:29
*** asalkeld_ has joined #murano02:55
*** yamamoto has joined #murano03:15
*** xiangxinyong has quit IRC03:23
*** lawrance_ has quit IRC04:53
openstackgerritMerged openstack/murano-dashboard: Change package to category in DeleteCategory error message  https://review.openstack.org/22408405:02
*** junhongl has joined #murano05:36
*** vgridnev has joined #murano05:39
*** lawrancejing has joined #murano06:07
*** nkoffman has joined #murano06:12
*** vgridnev has quit IRC06:27
*** vgridnev has joined #murano06:29
*** drupalmonkey has quit IRC06:34
*** mgershen has joined #murano06:35
nkoffmanHi good morning, I saw the thread regarding removing the owner filter from list packages API, can anyone please explain the context? is this going to be removed from the API itself or just from dashboard, and what does it break? thanks06:50
*** junhongl_ has joined #murano07:06
*** junhongl has quit IRC07:08
*** xiangxinyong has joined #murano07:27
*** prefer has joined #murano07:35
*** prefer1 has joined #murano07:36
*** nkoffman has quit IRC07:37
*** prefer has quit IRC07:39
*** xiangxinyong has quit IRC07:59
-openstackstatus- NOTICE: Gate is currently stuck, failing grenade upgrade tests due the release of oslo.utils 1.4.1 for Juno.08:00
*** mgershen has quit IRC08:01
*** vgridnev has quit IRC08:05
*** nkoffman has joined #murano08:12
*** mgershen has joined #murano08:12
*** xiangxinyong has joined #murano08:24
*** prefer1 has quit IRC08:31
katyaferventHi nkoffman !08:35
katyaferventThis filter is in horizon08:35
katyaferventSo we don't use it in murano anymore and all packages are shown in one table like it was before08:35
katyaferventWe just added 'Tenant Name' column to recognize packages08:36
openstackgerritEkaterina Chernova proposed openstack/murano: Show public packages for non-admin users  https://review.openstack.org/22418008:39
*** lawrancejing has quit IRC08:41
*** lawrancejing has joined #murano08:41
nkoffmankatyafervent: so if I understand you correctly, I can still use this flag in the API? and it won't break anything?08:47
katyaferventsure, api was not modified08:47
nkoffmangreate thx :)08:47
xiangxinyonghi katyafervent, I see your advice about this bug. https://bugs.launchpad.net/murano/+bug/149622408:56
openstackLaunchpad bug 1496224 in murano "Get an OfflineGenerationError after setting DISABLED = True in _50_murano.py" [Undecided,Invalid]08:56
xiangxinyong. Thanks.08:56
*** vgridnev has joined #murano08:57
katyaferventxiangxinyong, hi! welcome, let me know if you will continue having a traceback08:57
xiangxinyong^-^08:59
*** zhurong_ has quit IRC09:10
*** lawrancejing has quit IRC09:28
*** pradiprwt has joined #murano09:34
pradiprwt /msg NickServ identify 983856895609:34
pradiprwtstan_lagun : hi09:34
pradiprwtstan_lagun : i want to add one template which will execute on master node only after execution of all template in kubernetes package ..09:36
pradiprwtstan_lagun :  should i need to write new class for that or any way to integrate ..09:37
*** xiangxinyong has quit IRC09:39
openstackgerritMerged openstack/murano: Removing unused dependency: discover  https://review.openstack.org/21831709:40
*** kzaitsev_mb has joined #murano09:43
stan_lagunpradiprwt: Ideally you don't need to modify existing package but instead you would make your own class/package that inherit from KubernetesCluster and add extra step. However because of current UI limitation it will not allow you to choose your custom cluster implementation for KubernetesPod09:52
stan_lagunpradiprwt: we are working on that09:52
stan_lagunpradiprwt: meanwhile the only solution is to modify KubernetesCluster and add extra step to deploy mentod09:53
*** mgershen has quit IRC10:01
-openstackstatus- NOTICE: Gate back to normal, thanks to the backlisting of the problematic version10:14
pradiprwtstan_lagun : i will tell the scenario what i want to add to kubernetes  package , first i need one check box two input field in UI and my template should execute on master node only afrer setting up cluster.10:18
pradiprwtstan_lagun : what are the possible things i can do in these requirement.10:19
*** nkoffman has quit IRC10:20
stan_lagunyou can add your own checkboxes etc to UI.yaml (and declare corresponding properties in MuranoPL). You can modify KubernetesCluster.deploy to add extra step10:21
stan_lagunpradiprwt: but you need to consider that it may be better to write your own application that will use CubernetesCluster instead of modifying it. Don't know if it suits you needs but if it doest it would be much better at least because you won't have to update your solution each time we release new KubernetesCluster to catch up with new fixes10:24
stan_lagunpradiprwt: sorry, need to go but I'll be back later10:24
*** stan_lagun has quit IRC10:25
*** nkoffman has joined #murano10:27
*** mgershen has joined #murano10:27
*** zhurong has joined #murano10:35
*** lawrancejing has joined #murano10:46
*** zhurong has quit IRC10:50
*** xiangxinyong has joined #murano10:55
openstackgerritMerged openstack/murano-dashboard: Show 'Tenant name' column for non-admin users  https://review.openstack.org/22419411:04
*** xiangxinyong has quit IRC11:10
*** xiangxinyong has joined #murano11:10
pradiprwti have provided check box in UI how i can make condition in class to call template ..11:25
*** prefer1 has joined #murano11:25
pradiprwtkatyafervent : hi11:25
katyaferventpradiprwt, hi!11:25
katyaferventlet's check in existent apps11:26
pradiprwti have provided check box in UI how i can make condition in class to call template according to check box value ture/false ...??11:26
katyaferventyou will get boolean property in object model11:26
katyaferventand then you can check for it for true or false11:26
katyaferventsee enablePhp is a checkbox https://github.com/openstack/murano-apps/blob/master/ApacheHTTPServer/package/Classes/ApacheHttpServer.yaml#L5711:27
katyaferventor another example11:28
*** prefer1 has quit IRC11:28
katyaferventhttps://github.com/openstack/murano-apps/blob/master/Docker/Applications/Crate/package/Classes/DockerCrate.yaml#L5611:28
katyaferventhttps://github.com/openstack/murano-apps/blob/master/Docker/Applications/Crate/package/UI/ui.yaml#L2011:29
katyaferventtake a look at publish variable11:29
*** prefer has joined #murano11:29
*** xiangxinyong has quit IRC11:39
pradiprwtkatyafervent :  please see this sample http://paste.openstack.org/show/466182/11:43
pradiprwthere i am parsing sampleValue as property of check box11:43
pradiprwtkatyafervent :  i want to make condition in class file if true then only call to template ..11:45
katyaferventpradiprwt, looks ok11:50
katyaferventtry it11:50
katyaferventalso, you need to call that method11:51
pradiprwtkatyafervent : can i call two template in same method11:52
katyaferventsure11:53
pradiprwtthanks katyafervent ... :)11:54
openstackgerritTetiana Lashchova proposed openstack/python-muranoclient: Enable F812 and H904 style check  https://review.openstack.org/22458911:59
*** yamamoto has quit IRC12:20
*** zhurong has joined #murano12:24
*** xiangxinyong has joined #murano12:45
*** drupalmonkey has joined #murano12:46
*** kzaitsev_mb has quit IRC12:47
*** tlashchova has quit IRC12:57
*** junhongl_ has quit IRC13:00
*** yamamoto has joined #murano13:02
openstackgerritMerged openstack/murano-apps: Stop WP deployment if PHP is not installed  https://review.openstack.org/22130913:09
*** pradiprwt has quit IRC13:12
*** xiangxinyong has quit IRC13:19
*** openstackgerrit has quit IRC13:31
*** openstackgerrit has joined #murano13:31
*** kzaitsev_mb has joined #murano13:36
*** tlashchova has joined #murano13:37
*** prefer has quit IRC13:49
openstackgerritTetiana Lashchova proposed openstack/murano: Remove H904 rule from ignore list  https://review.openstack.org/22474214:04
*** Piet has quit IRC14:14
*** raildo-afk is now known as raildo14:23
openstackgerritKirill Zaitsev proposed openstack/murano-dashboard: WIP: apply AUTO_DISCOVER_STATIC_FILES  https://review.openstack.org/20076414:24
*** zhurong has quit IRC14:39
*** lawrancejing has quit IRC14:39
*** pradiprwt has joined #murano14:46
pradiprwtkatyafervent : [murano.dsl.exceptions.UninitializedPropertyAccessError]: Access to uninitialized property autoScaling in class io.murano.apps.docker.kubernetes.KubernetesMasterNode is forbidden14:47
pradiprwtthis error i am getting when i am adding one more template to method in kubernetes package14:48
*** Piet has joined #murano14:51
*** vgridnev has quit IRC14:59
*** vgridnev has joined #murano15:04
*** vgridnev has quit IRC15:04
katyaferventshow me your class definition15:07
katyaferventI think you need to get this variable to the list of properties15:07
*** nkoffman has quit IRC15:12
*** vgridnev has joined #murano15:15
openstackgerritKirill Zaitsev proposed openstack/murano-dashboard: Prevent UnboudLocalError  when checking out tenants for packages  https://review.openstack.org/22478415:16
openstackgerritNikolay Starodubtsev proposed openstack/murano: Fix an error with wrong argument  https://review.openstack.org/22479015:27
*** xiangxinyong has joined #murano15:49
*** Guest88065 has joined #murano15:52
*** LimorStotland has quit IRC15:59
*** vgridnev has quit IRC16:01
*** serg_melikyan has joined #murano16:01
*** yamamoto has quit IRC16:04
*** sergmelikyan has quit IRC16:05
*** xiangxinyong has quit IRC16:06
*** xiangxinyong has joined #murano16:06
Guest88065Hi guys, this might be a simple question but hopefully someone can help. How can i get the instance object from an existing environment? When i do this:16:07
Guest88065      - $._environment.reporter.report($this, format('test {0}', $._environment))16:07
Guest880652015-09-17 16:01:36 - [murano.dsl.exceptions.PropertyReadError]: Property instance in class io.murano.Environment cannot be read16:07
Guest880652015-09-17 16:01:36 - test '?': {id: 0b2e6ab8437a4f1aa40cd500933d49f7, type: io.murano.Environment}16:07
Guest88065applications:16:07
Guest88065- '?': {id: 7d180871-3b2a-4608-bcfa-76c748615c35, type: io.murano.lib.att.AtoSingleDeploy}16:07
Guest88065  deployVars: {SO_BRANCH: master, SO_BUNDLE: OL7435, SO_IP: '', SO_LOCATION: mtnj,16:07
Guest88065    SO_MOTSID: '23575', SO_OS: RHEL, SO_SWMCONTACT: ol7435, SO_SWMMGMT: com.att.ccp.tenants,16:07
Guest88065    SO_UAMROLE: CCP E2E TEST}16:08
Guest88065  instance:16:08
Guest88065    '?': {id: b3649931-045e-47b8-b95a-02f814434d9c, type16:08
Guest88065it looks like environment object has instance property but doing:     - $instance: $._environment.instance gives an error16:08
*** pradiprwt has quit IRC16:08
*** enthurohini has joined #murano16:09
kzaitsev_mblooks strange =/16:10
kzaitsev_mblooks like you're trying to access non-existant property16:10
Guest88065sorry it looks ugly, basically i have an existing environment with an existing instance, and i have a seperate package to make a call to the murano agent on this instance16:11
Guest88065but i need to know how to get the instance object16:11
kzaitsev_mbcan you post the obj model to some paste?16:12
Guest88065how do i get the object model?16:12
kzaitsev_mbsomewhere with foratting ))16:12
kzaitsev_mbthe log, you just posted16:12
kzaitsev_mbGuest88065: generally only apps have an instance16:14
kzaitsev_mbenvironment contains apps, so you should probably call something like $.instance if your app has an instance.16:15
kzaitsev_mbhard to say more without looking at your app.16:15
Guest88065http://pastebin.com/5eLz6J4e16:16
Guest88065that's the thing i have 1 package which creates an instance, then i have another package i want to add to the same env, and make a call to the murano agent on the existing instance in the same env16:18
Guest88065but i don't know how to get the instance object in the 2nd package16:18
Guest88065so the second package doesn't know what $.instance is - at least i don't think16:18
kzaitsev_mbOh I see16:18
kzaitsev_mbcorrect way would be to make 2d package dependant on the 1st.16:19
kzaitsev_mblet's take a look at how we do that for apps in murano-apps16:19
*** enthurohini has quit IRC16:20
kzaitsev_mbGuest88065: https://github.com/openstack/murano-apps/blob/master/Guacamole/package/Classes/Guacamole.yaml16:21
kzaitsev_mbsee, this app has server: Contract: $.class(srv:Tomcat).notNull()16:21
kzaitsev_mband later accesses $.server.instance.agent.call($template, $resources)16:21
kzaitsev_mbGuest88065: got that? =)16:24
Guest88065so the ui.yaml of the 2nd pacakge would have to have an object of the 1st package type?16:24
xiangxinyongAgree with kzaitsev. It is the same as MySQL depend on SQLDatabaseLibrary.16:25
kzaitsev_mbtechnically you might be able to access $._environment.applications[0].instance. But that can really screw things up if you add apps in different order. Strongly recommend against that =)16:26
kzaitsev_mbGuest88065: https://github.com/openstack/murano-apps/blob/master/Guacamole/package/UI/ui.yaml16:26
kzaitsev_mb- name: server type: io.murano.apps.apache.Tomcat16:26
*** yamamoto has joined #murano16:26
kzaitsev_mbyep16:26
kzaitsev_mbanother parameter for an app16:27
Guest88065ok it looks like i have what i need, thanks! :)16:30
kzaitsev_mbcool16:32
*** serg_melikyan has quit IRC16:32
*** sergmelikyan has joined #murano16:33
*** stanchan has joined #murano16:33
*** Guest88065 is now known as lesage_o16:36
*** vgridnev has joined #murano16:38
xiangxinyongStan Lagun: Hello16:52
*** serg_melikyan has joined #murano16:58
*** sergmelikyan has quit IRC17:01
*** serg_melikyan has quit IRC17:08
*** sergmelikyan has joined #murano17:09
*** enthurohini has joined #murano17:09
*** pashkin has quit IRC17:19
*** pashkin has joined #murano17:23
*** sergmelikyan has quit IRC17:26
*** sergmelikyan has joined #murano17:27
*** mgershen has quit IRC17:27
*** mragupat has joined #murano17:37
*** enthurohini has quit IRC17:39
*** sergmelikyan has quit IRC17:47
*** sergmelikyan has joined #murano17:50
*** sergmelikyan has quit IRC17:52
*** vgridnev_ has joined #murano17:53
*** vgridnev has quit IRC17:55
*** vgridnev_ has quit IRC18:02
*** docaedo has joined #murano18:22
*** kzaitsev_mb has quit IRC18:29
*** vgridnev has joined #murano18:33
*** vgridnev has quit IRC18:45
*** vgridnev has joined #murano18:46
*** vgridnev has quit IRC18:49
*** vgridnev has joined #murano18:50
*** xiangxinyong has quit IRC18:54
*** vgridnev has quit IRC18:55
*** vgridnev has joined #murano19:14
*** raildo is now known as raildo-afk19:19
*** jfluhmann has joined #murano19:37
*** Piet has quit IRC19:47
*** raildo-afk is now known as raildo19:52
docaedoJust in case it slips past, there's a patch (https://review.openstack.org/#/c/224869/) and a note on the ML (http://lists.openstack.org/pipermail/openstack-dev/2015-September/074842.html) that relates to Murano packages in the app catalog20:04
*** Piet has joined #murano20:07
*** stanchan has quit IRC20:08
*** stanchan has joined #murano20:09
*** enthurohini has joined #murano20:09
*** Piet has quit IRC20:12
*** Piet has joined #murano20:13
*** Piet has quit IRC20:13
*** enthurohini has quit IRC20:13
*** mragupat has quit IRC20:29
*** drupalmonkey has quit IRC20:32
*** drupalmonkey has joined #murano20:49
*** vgridnev has quit IRC20:51
*** raildo is now known as raildo-afk21:03
*** drupalmonkey has quit IRC21:28
*** drupalmonkey has joined #murano21:29
*** kzaitsev_mb has joined #murano21:39
*** kzaitsev_mb has quit IRC22:19
*** kzaitsev_mb has joined #murano22:21
*** Piet has joined #murano22:53
*** Piet has quit IRC22:54
*** jfluhmann has quit IRC23:10
*** stanchan has quit IRC23:18
*** sergmelikyan has joined #murano23:33
*** sergmelikyan has quit IRC23:50
*** jfluhmann has joined #murano23:52
openstackgerritMerged openstack/python-muranoclient: Fix app-show command  https://review.openstack.org/22350523:56
*** zhurong has joined #murano23:59

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