Thursday, 2015-12-03

*** ducttape_ has quit IRC00:15
openstackgerritVictor Ryzhenkin proposed openstack/python-muranoclient: Remove unnecessary logging in SessionClient  https://review.openstack.org/24643900:26
openstackgerritRico Lin proposed openstack/python-muranoclient: Remove py26 support  https://review.openstack.org/25245600:51
*** hidekazu_ has joined #murano00:58
*** hidekazu has quit IRC01:02
*** kzaitsev_mb has quit IRC01:08
*** kzaitsev_mb has joined #murano01:11
*** kzaitsev_mb has quit IRC01:22
*** kzaitsev_mb has joined #murano01:27
*** yamamoto has joined #murano01:43
*** yamamoto has quit IRC01:53
*** zhurong has joined #murano01:53
*** kzaitsev_mb has quit IRC02:01
*** jasonsb has joined #murano02:18
*** Piet has joined #murano02:19
*** yamamoto has joined #murano02:40
*** yamamoto has quit IRC02:46
*** yamamoto has joined #murano02:54
*** klkumar has joined #murano03:28
*** ducttape_ has joined #murano03:29
*** klkumar has quit IRC04:07
*** ducttape_ has quit IRC04:12
*** klkumar has joined #murano04:15
*** enthurohini has joined #murano04:41
*** yamamoto has quit IRC05:19
*** enthurohini has quit IRC05:21
*** yamamoto has joined #murano05:21
*** xiangxinyong has quit IRC06:09
*** xiangxinyong has joined #murano06:09
*** vgridnev has joined #murano06:21
*** xiangxinyong_ has joined #murano06:47
*** jesuspg has joined #murano07:06
*** vahidh has quit IRC07:16
*** xiangxinyong has quit IRC07:17
*** x00350071 has joined #murano07:33
*** x00350071 is now known as edison07:44
*** edison is now known as x0035007107:44
*** x00350071 is now known as edison07:44
*** xiangxinyong_ has quit IRC07:46
*** Nikolay_St has joined #murano07:51
*** zhurong has quit IRC08:25
*** klkumar has quit IRC08:29
*** klkumar has joined #murano08:32
*** Nikolay_St has quit IRC08:41
*** Nikolay_St has joined #murano08:46
*** vgridnev has quit IRC08:46
*** jesuspg has quit IRC09:38
*** jesuspg has joined #murano09:40
*** klkumar has quit IRC09:45
*** vgridnev has joined #murano09:46
*** vahidh_ has joined #murano09:49
*** klkumar has joined #murano09:53
*** vahidh_ has quit IRC09:54
*** vgridnev has quit IRC10:05
*** vgridnev_ has joined #murano10:05
*** hidekazu_ has quit IRC10:06
*** vgridnev_ has quit IRC10:16
*** vgridnev has joined #murano10:17
*** kzaitsev_mb has joined #murano10:21
*** tsufiev has quit IRC10:22
*** akuznetsova has quit IRC10:28
*** IgorYozhikov has quit IRC10:28
*** tsufiev has joined #murano10:29
*** IgorYozhikov has joined #murano10:29
*** ativelkov has quit IRC10:29
*** akuznetsova has joined #murano10:31
*** ativelkov has joined #murano10:32
*** yamamoto has quit IRC10:33
*** kzaitsev_mb has quit IRC10:36
*** vahidh has joined #murano10:44
*** vahidh has quit IRC10:45
*** vahidh_ has joined #murano10:46
*** vahidh_ has quit IRC10:50
*** klkumar has quit IRC10:58
*** nkoffman has joined #murano11:00
*** klkumar has joined #murano11:03
*** gangadhar has joined #murano11:07
*** tshtilman has joined #murano11:07
tshtilmanplease review on gerrit https://review.openstack.org/#/c/252307/ code change made by Stan and tested by me , Thanks Stan for your help11:07
tshtilmanits an important fix11:08
openstackgerritTetiana Lashchova proposed openstack/murano-apps: Add Google Container Registry to KubernetesCluster  https://review.openstack.org/24882411:22
*** kzaitsev_mb has joined #murano11:30
gangadharHi all. Getting below error:11:45
gangadharError: Adding application to an environment failed.11:45
kzaitsev_mbcheck the logs11:45
gangadharI tried to deploy an instance11:45
gangadharkzaitsev_mb: where? there is no error murano-engine.log11:48
*** solo1h has joined #murano11:50
StanLagungangadhar: something is wrong with the Murano package or at Horizon. It doesn't reach engine11:51
StanLagunprobably need to start with Horizon logs and maybe API logs11:51
gangadharOK. My  package don't have Resources directory. Is that OK?11:52
StanLagunyes, that is not the problem11:55
solo1hHi all.11:57
*** klkumar has quit IRC11:57
solo1hI have a problem with murano on kilo release. Murano itself seems work -- horizon plugin works well, I can deploy apps and they become available. But there are no logs from apps in dashboard and app status does not changing during deployment. So... where I have to start debugging?11:57
*** klkumar has joined #murano11:57
kzaitsev_mbsolo1h: that's wierd11:57
StanLagunsolo1h: do you see deployment logs during deployment?11:58
kzaitsev_mbgangadhar: oh sry. you pinged me. no you need api and horizon logs11:58
solo1hStanLagun: no11:58
ddovbiisolo1h: check that you have 'notification_driver=messagingv2' string on your murano.conf file11:59
StanLagunsolo1h: please make sure that you have notification_driver=messagingv2 in murano.conf (in [DEFAULT])11:59
kzaitsev_mbthat was synchronized )11:59
kzaitsev_mbdo we have that in FAQ?12:00
ddovbiilooks like no =(12:01
kzaitsev_mbwe do, but in the troubleshooting12:01
StanLagunAFAIK we have this string in default config12:02
*** klkumar has quit IRC12:02
kzaitsev_mbhttp://docs.openstack.org/developer/murano/draft/admin-guide/admin_troubleshooting.html12:02
StanLagunI wonder if anyone knows why do we need it at all. I mean are there any other value possible? If it is fixed then why it is in the config?12:02
kzaitsev_mbsolo1h: could you check the link ^^12:03
kzaitsev_mb"Deployment log in the UI contains incomplete reports"12:03
kzaitsev_mbsection12:03
*** yamamoto has joined #murano12:03
solo1hddovbii, StanLagun: Thanks! That's working! Oh... I spent a day to figure out what is wrong in my setup. Thanks again!12:04
ddovbiisolo1h: the same was with me =)12:05
kzaitsev_mbsolo1h: next time just drop a message here, we try to have this channel active fo such requests )12:05
kzaitsev_mbgangadhar: any info on the horison/api logs?12:05
gangadharLooking it12:05
gangadharIn horizon the last log is printed at 2015-11-20 07:34:49.59784612:07
gangadhar*horizon.log*12:07
gangadharThis is the api log: http://paste.openstack.org/show/480747/ . I didn't see any error.12:08
*** yamamoto has quit IRC12:09
gangadharThe last log of murano-engine.log is 2015-12-02 18:16:38.364. Why horizon.log and murano-engine.log are not updating?12:09
kzaitsev_mbgangadhar: can you check browser logs — it should contain a note about 4xx or 5xx error12:09
kzaitsev_mbgangadhar: murano-engine would only do something during deploy. so it doesn't have any logs and that's ok12:10
kzaitsev_mbgangadhar: horizon — well that's probably because you're looking in the wrong file or your logging is configured incorrectly )12:10
gangadharWhat are common places of horizon.log? I'm looking at "/opt/stack/logs/horizon.log"12:13
openstackgerritTetiana Lashchova proposed openstack/murano-apps: Add Google Container Registry to KubernetesCluster  https://review.openstack.org/24882412:14
kzaitsev_mbgangadhar: is your horizon behind apache?12:14
kzaitsev_mbI usually just check configs12:14
kzaitsev_mboh, you're using devstack, right?12:15
gangadharkzaitsev_mb: Yes12:15
kzaitsev_mbgangadhar: check SCREEN_LOGDIR=$DEST/logs/screen12:17
kzaitsev_mbi.e. /opt/stack/logs/screen12:18
openstackgerritTetiana Lashchova proposed openstack/murano-apps: Add Google Container Registry to DockerStandaloneHost  https://review.openstack.org/24821512:19
kzaitsev_mbor just connect to the relevant screen12:19
kzaitsev_mbneed an article on that? )12:20
gangadharSorry, what is SCREEN_LOGDIR/?12:20
kzaitsev_mbgangadhar: a variable from localrc12:21
*** raildo-afk is now known as raildo12:21
*** kzaitsev_mb has quit IRC12:22
gangadharkzaitsev_mb: What I have to do?12:22
kzaitsev_wsgangadhar: find where your logs are )12:24
kzaitsev_wsor probably check the LOGDIR variable and directory12:25
kzaitsev_wsI'm actually not that good with devstack12:25
gangadharNo, there are no variables like SCREEN_LOGDIR, DEST and LOGDIR. I opened openrc. but there nothing about logs12:26
kzaitsev_wslike I said — I usually just check the config file of apache, it would point to wsgi applications location, there I would be able to see the location of the django settings, there I would be able to find logging configs12:27
kzaitsev_wsgangadhar: ok, so those are defaults12:27
gangadharGot it. /var/log/apache2/horizon_error.log . Written in file: stack-screenrc12:30
*** openstackgerrit has quit IRC12:32
*** openstackgerrit has joined #murano12:32
gangadharHere is the log: http://paste.openstack.org/show/480751/. Line no: 6012:35
*** vahidh has joined #murano12:36
gangadharKeyError: 'type' 2015-12-03 12:33:24.473664 Recoverable error: 'type'12:36
*** vahidh_ has joined #murano12:38
*** klkumar has joined #murano12:39
StanLagungangadhar: can you share the package?12:39
gangadharOK, 2 mins. I'll past in them http://paste.openstack.org/12:40
StanLagunI will need ui.yaml12:41
*** vahidh has quit IRC12:41
gangadharStanLagun: OK12:41
*** vahidh_ has quit IRC12:43
gangadharStanLagun: http://paste.openstack.org/show/480754/12:43
StanLagungangadhar: 'type' key for the application is missing12:44
StanLagungangadhar: like this: https://github.com/openstack/murano-apps/blob/master/ApacheHTTPServer/package/UI/ui.yaml#L2412:45
gangadharOh, I thought I don't need it12:45
gangadharWhat is it for exactly?12:46
*** ducttape_ has joined #murano12:47
StanLagunotherwise how would Murano know to what application all those parameter belong to?12:47
*** kzaitsev_mb has joined #murano12:48
StanLagunyou are telling murano to create 2 objects - one of you app type and the second is of VM type. But you haven't provided the type of the app12:48
gangadharHmm. Can you explain this section also https://github.com/openstack/murano-apps/blob/master/ApacheHTTPServer/package/UI/ui.yaml#L35 ?12:50
StanLagunI think we can handle situation when it is missing and insert it automatically since we already know what application we about to add12:50
StanLagunthose are parameters of the Instance (VM). It has a 'networks' property which tells what networks it should attach to (by default it is environment networks)12:51
gangadhar38th line, I didn't understand12:52
StanLagunthat property is a dictionary with 3 predefined keys. This block configures instance to join network that was selected in that UI form12:52
StanLagunyes, that looks weird, I know12:53
gangadhar`$.instanceConfiguration.network[0]=null` means, if user provide network then take it as null. Am I right or does it have diff meaning?12:54
gangadhar*don't provide a n/w then*12:54
StanLagunno. In no network was provided use null. Otherwise use block from line #1612:55
StanLagunit reads like examine ($.instanceConfiguration.network[0]. If it is null ( $=null) then use list() (empty list). If it is not null  $!=null then use $customJoinNet (list defined in line 16)12:57
StanLagundon't know why it is [0]12:57
*** edison has quit IRC13:02
*** x00350071 has joined #murano13:03
*** solo1h has quit IRC13:03
StanLagunit can be written as switch($.instanceConfiguration.network[0] = null => list(), true => $customJoinNet)13:10
*** jesuspg has quit IRC13:12
StanLagunor as list($customJoinNet, [])[selectCase($.instanceConfiguration.network[0] != null)]13:13
*** ducttape_ has quit IRC13:14
*** openstackgerrit has quit IRC13:17
StanLagunselectCase($.instanceConfiguration.network[0] != null).switchCase($customJoinNet, [])13:17
*** openstackgerrit has joined #murano13:17
*** yamamoto has joined #murano13:23
*** yamamoto has quit IRC13:24
openstackgerritEkaterina Chernova proposed openstack/murano: Add OneOf smart type  https://review.openstack.org/25295113:26
*** jesuspg has joined #murano13:32
*** vahidh has joined #murano13:33
*** vahidh has quit IRC13:33
*** yamamoto has joined #murano13:46
openstackgerritEkaterina Chernova proposed openstack/murano: Add OneOf smart type  https://review.openstack.org/25295113:58
*** yamamoto has quit IRC14:02
*** yamamoto has joined #murano14:02
*** yamamoto has quit IRC14:09
*** yamamoto has joined #murano14:09
*** jesuspg has quit IRC14:10
gangadharWhat is "$._environment: $.find(std:Environment).require()" ? At what time it will execute?14:21
gangadhar"Deploy" is like a main function in C language?14:22
StanLagungangadhar: deploy is what get executed when you click "deploy environment" in dashboard. Environment is also a class that has "deploy" method. And in turn it calls deploy method of each application it has14:25
StanLagunfind(Environment) return environment application belongs to14:25
StanLagunit is needed because environment holds shared objects that all applicaitons require like shared Heat stack, reporting API etc14:26
*** vahidh has joined #murano14:29
gangadharStanLagun: I have many classes and I have specified all of them in manifest file. If I click on deploy, does it  execute deploy method of  first class that mentioned in manifest?14:29
openstackgerritEkaterina Chernova proposed openstack/murano: Add MockContextManager  https://review.openstack.org/23968114:30
*** Piet has quit IRC14:30
StanLagungangadhar: no, it will call deploy on the class who's type you forgot to add to UI.yaml14:32
*** vahidh_ has joined #murano14:32
*** vahidh has quit IRC14:33
StanLagunActually what Application section of UI does is defines an object tree from classes from your or other packages. deploy method of the root of this tree get called14:33
openstackgerritStan Lagun proposed openstack/murano-apps: [Kubernetes] Kubernetes documentation  https://review.openstack.org/25189914:34
*** vahidh_ has quit IRC14:37
gangadharSo it calls the "type" under the Application section. Understand.14:39
gangadharStanLagun: can user send some data with actionID?14:40
StanLagunit is possible to pass parameters to the action. Action call is actually remote method call that support both parameters and method result14:43
StanLagunhowever there is no UI to pass parameters to action14:43
*** yamamoto has quit IRC14:45
gangadharStanLagun: thanks a lot14:46
*** jesuspg has joined #murano14:54
*** yamamoto has joined #murano14:54
openstackgerritEkaterina Chernova proposed openstack/murano: [mocking-machinery] Add inject YAQL functions  https://review.openstack.org/25299014:58
*** ducttape_ has joined #murano15:00
*** jesuspg has quit IRC15:01
*** vgridnev has quit IRC15:08
*** vgridnev has joined #murano15:28
*** vgridnev has quit IRC15:35
*** yamamoto has quit IRC15:40
openstackgerritOlga Gusarenko proposed openstack/murano: [Admin Guide] Policy enforcement  https://review.openstack.org/25046415:41
openstackgerritOlga Gusarenko proposed openstack/murano: [Admin Guide] Policy enforcement  https://review.openstack.org/25046415:48
*** yamamoto has joined #murano15:54
openstackgerritMaria Zlatkova proposed openstack/murano: [Murano Docs] Add an intro to env section  https://review.openstack.org/25249115:54
*** vahidh has joined #murano15:56
*** Nikolay_St has quit IRC16:00
*** Nikolay_St has joined #murano16:01
*** jasonsb has quit IRC16:08
*** yamamoto has quit IRC16:08
*** yamamoto has joined #murano16:11
openstackgerritEkaterina Chernova proposed openstack/murano: Add OneOf smart type  https://review.openstack.org/25295116:12
openstackgerritEkaterina Chernova proposed openstack/murano: [mocking-machinery] Add inject YAQL functions  https://review.openstack.org/25299016:12
openstackgerritEkaterina Chernova proposed openstack/murano: Add MockContextManager  https://review.openstack.org/23968116:12
*** jasonsb has joined #murano16:15
*** Nikolay_St has quit IRC16:16
*** Nikolay_St has joined #murano16:18
*** yamamoto has quit IRC16:20
openstackgerritMerged openstack/murano-apps: Add Google Container Registry to DockerStandaloneHost  https://review.openstack.org/24821516:24
openstackgerritMerged openstack/murano-apps: Add Google Container Registry to KubernetesCluster  https://review.openstack.org/24882416:24
*** Nikolay_St has quit IRC16:25
openstackgerritKirill Zaitsev proposed openstack/murano: WIP: python 3 support. Makes tests run.  https://review.openstack.org/25304516:27
*** vgridnev has joined #murano16:34
openstackgerritMerged openstack/murano-specs: Murano exception handling  https://review.openstack.org/24411916:34
*** vahidh_ has joined #murano16:50
*** vahidh has quit IRC16:51
*** thumpba has joined #murano16:54
openstackgerritMerged openstack/python-muranoclient: Add limit param for package-list  https://review.openstack.org/25118517:10
lesage_ohave a question about security groups, Murano creates a security group for the env with only port 22 open, but if default security group is wide open, the VMs created through Murano seem to be letting traffic through any port, is this intended?17:18
lesage_ojuno code base in case it matters17:18
*** tshtilman has quit IRC17:29
*** enthurohini has joined #murano17:35
*** thumpba_ has joined #murano17:39
*** Nikolay_St has joined #murano17:40
*** thumpba has quit IRC17:40
*** kzaitsev_mb has quit IRC17:43
*** kzaitsev_mb has joined #murano18:03
*** klkumar has quit IRC18:04
*** Piet has joined #murano18:06
*** kzaitsev_mb has quit IRC18:08
StanLagunlesage_o: that is true, but Murano doesn't create such default18:35
StanLagunat least is shouldn't18:35
StanLagun*it*18:35
*** enthurohini has quit IRC18:36
*** flsjflsjlf has joined #murano19:38
*** StanLagun has quit IRC19:54
*** StanLagun has joined #murano19:57
*** jasonsb has quit IRC20:03
*** kzaitsev_mb has joined #murano20:11
lesage_ohmm it is in our environment we have security groups that look like this murano-plnqeigntsz5b7-MuranoSecurityGroup-ol1-nxr4yvpjy5kd20:25
lesage_onot explicitly setting security group in the package20:26
lesage_oenvironment name is ol1, which is part of the security group name20:26
kzaitsev_mblesage_o: I believe Instance class creates sec group20:30
kzaitsev_mbor Environment20:30
*** jesuspg has joined #murano20:33
*** Piet has quit IRC20:35
openstackgerritMerged openstack/murano-apps: [Docker] Docker applications developer reference  https://review.openstack.org/25176920:43
openstackgerritMerged openstack/murano-apps: [Kubernetes] Kubernetes documentation  https://review.openstack.org/25189920:43
*** jasonsb has joined #murano20:45
*** openstackgerrit has quit IRC20:47
*** openstackgerrit has joined #murano20:47
StanLagunlesage_o: we do create security group. But there shouldn't be any 'allow all' rules there20:56
*** raildo is now known as raildo-afk21:05
*** jasonsb has quit IRC21:08
*** jasonsb has joined #murano21:08
*** Piet has joined #murano21:19
openstackgerritMerged openstack/murano: HOT outputs were merged  https://review.openstack.org/25230721:33
*** thumpba_ has quit IRC21:47
lesage_ostan there isn't allow all rules, i'm saying if default is set to 'allow all' it seems to allow all, even though murano creted a security group for only ssh (22)21:55
lesage_oit's like it's falling through to the default group no matter the specific murano rule, just wondering if this is expected behavior21:56
*** Piet has quit IRC21:59
kzaitsev_mbhey, I've just released m-1 murano =)22:08
kzaitsev_mbcleaning up the l-pad22:08
kzaitsev_mband releasing apps and client releases after that )22:08
kzaitsev_mbuh the client release would break liberty gates, though. have to put a cap for liberty I guess.22:09
*** flsjflsjlf has quit IRC22:11
kzaitsev_mblaunchpad cleared for murano =)22:25
*** jesuspg has quit IRC22:32
*** jasonsb has quit IRC23:18
openstackgerritKirill Zaitsev proposed openstack/python-muranoclient: WIP  https://review.openstack.org/25325623:24
openstackgerritKirill Zaitsev proposed openstack/murano-dashboard: WIP  https://review.openstack.org/25325723:25
openstackgerritKirill Zaitsev proposed openstack/murano-agent: WIP  https://review.openstack.org/25325823:25
openstackgerritKirill Zaitsev proposed openstack/murano: WIP  https://review.openstack.org/25325923:26
*** hidekazu has joined #murano23:39
*** ducttape_ has quit IRC23:53
*** yamamoto has joined #murano23:54

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