Wednesday, 2014-07-30

*** sarob_ has joined #heat00:01
*** sarob_ has quit IRC00:05
*** gokrokve has quit IRC00:21
*** gokrokve has joined #heat00:21
*** gokrokve has quit IRC00:25
*** sarob_ has joined #heat00:26
*** sarob_ has quit IRC00:30
*** arbylee has joined #heat00:31
*** sarob_ has joined #heat00:46
*** Qiming has quit IRC00:48
*** sarob_ has quit IRC00:50
*** rbuilta has quit IRC00:56
openstackgerritZane Bitter proposed a change to openstack/heat: Allow Resources to select paths from attributes  https://review.openstack.org/10654101:10
openstackgerritZane Bitter proposed a change to openstack/heat: Use standard FnGetAtt method for Swift container  https://review.openstack.org/10654001:10
openstackgerritZane Bitter proposed a change to openstack/heat: Allow ResourceGroup to select an attribute path  https://review.openstack.org/10654201:10
*** rwsu has quit IRC01:18
*** nanjj has joined #heat01:29
*** liuhang has joined #heat01:32
*** erkules_ has joined #heat01:33
*** erkules has quit IRC01:35
*** nosnos has joined #heat01:38
*** tiantian has joined #heat01:42
*** liu_hang has joined #heat01:47
openstackgerritA change was merged to openstack/heat: Stop software_deployments from passing empty keys  https://review.openstack.org/11030001:49
*** liuhang has quit IRC01:50
*** Yanyanhu has joined #heat01:57
openstackgerritRikimaru Honjo proposed a change to openstack/heat: Restore resource_id from backup_stack  https://review.openstack.org/10276701:58
*** tiantian has quit IRC02:00
*** tiantian has joined #heat02:00
*** liu_hang has quit IRC02:08
openstackgerritJun Jie Nan proposed a change to openstack/heat-templates: Hello world sample enhancement  https://review.openstack.org/11031802:09
*** liuhang has joined #heat02:11
openstackgerritJun Jie Nan proposed a change to openstack/heat-templates: Hello world sample enhancement  https://review.openstack.org/11031802:13
*** sarob_ has joined #heat02:13
*** blomquisg has joined #heat02:18
*** sarob_ has quit IRC02:18
*** tonisbones has joined #heat02:23
*** tonisbones has quit IRC02:27
*** andersonvom has quit IRC02:28
openstackgerritJun Jie Nan proposed a change to openstack/heat: console url support in server resource  https://review.openstack.org/10992302:29
*** andersonvom has joined #heat02:30
*** sjmc7 has quit IRC02:40
*** sarob_ has joined #heat02:46
*** sarob_ has quit IRC02:50
elynnmorning all :)02:52
*** harlowja is now known as harlowja_away02:57
*** andersonvom has quit IRC02:59
*** Qiming has joined #heat03:01
openstackgerritA change was merged to openstack/heat: Use standard FnGetAtt method for Swift container  https://review.openstack.org/10654003:02
tiantian<elynn>: wait for your +1 :)03:14
elynnI'm testing it :)03:15
elynnA question03:15
*** jyoti-ranjan has joined #heat03:15
elynnabout function get_secgroup_uuids(security_groups, client, context)03:15
tiantianfor what?03:16
elynnOnly tenant id is used in this function, is it better to use tenant for parameter instead of context ?03:16
tiantian<elynn>: I thought may be one day should match the user_id03:18
tiantianso .... I use the context03:18
elynnI think securitygroup doesn't have any field related to user_id.03:19
*** morganfainberg is now known as morganfainberg_Z03:20
*** morganfainberg_Z is now known as morganfainberg03:22
tiantian<elynn>: if you insist, I will modify, it's not big problem :)03:23
elynnAnd I think it's not safe to use context as parameter.03:23
elynn:)03:23
tiantianok, modify03:23
openstackgerrithuangtianhua proposed a change to openstack/heat: Implement GroupSet updatable for AWS::EC2::NetworkInterface  https://review.openstack.org/10980903:24
asalkeldpresentations allways seem to be great ways of finding bugs :(03:24
*** arbylee has quit IRC03:25
tiantian<asalkeld>: correct :)03:26
*** nosnos has quit IRC03:28
asalkeldtiantian, I think you fixed only part of https://bugs.launchpad.net/heat/+bug/132915203:30
uvirtbotLaunchpad bug 1329152 in heat "Parameter type validation failed when create stack (dup-of: 1321549)" [Undecided,Fix committed]03:30
uvirtbotLaunchpad bug 1321549 in heat "wrong input of number parameter will result in abnormal behavior of heat " [Medium,In progress]03:30
asalkeldsorry s/tiatian/elynn03:31
asalkeldI have a heat glued up and can't stack-list03:31
*** cmyster has joined #heat03:31
*** daneyon has quit IRC03:31
*** daneyon has joined #heat03:32
elynnasalkeld, maybe...03:33
elynnasalkeld, can you give more information?03:33
asalkeldI'll add it to this bug: https://bugs.launchpad.net/heat/+bug/132154903:34
uvirtbotLaunchpad bug 1321549 in heat "wrong input of number parameter will result in abnormal behavior of heat " [Medium,In progress]03:34
cmystermorning03:34
elynnasalkeld, I will dig it later :)03:36
asalkeldI have to do something now (presentation time:( )03:36
*** daneyon has quit IRC03:36
*** liu_hang has joined #heat03:37
*** bvivek has joined #heat03:38
elynntiantian, do you have time to see my reply in https://review.openstack.org/#/c/109479/, I'm afraid i18n.install() can't be removed from api/cloudwatch/__init__.py03:38
tiantianlooking03:38
tiantianand I don't mean you should remove it, I just thinking why you remove the cfn/__init__.py, but don't remove the cloudwatch/__init__.py03:40
*** liuhang has quit IRC03:40
elynnbecause install() can be removed without breaking unittest03:43
*** nanjj has quit IRC03:43
elynnThis function (install()) will set a global _(), so some files can use this function without import it.03:43
tiantianglobal for what scope?03:44
elynnI have a patch to totally remove install() function https://review.openstack.org/#/c/110192/03:44
elynntiantian, sorry, I don't know exactly...03:44
openstackgerritSteve Baker proposed a change to openstack/heat: Exceptions ResourceInError, ResourceUnknownStatus  https://review.openstack.org/10239403:45
openstackgerritSteve Baker proposed a change to openstack/heat: Retry resource create until success  https://review.openstack.org/10239703:45
*** nanjj has joined #heat03:45
elynnBut install() is deprecated, and will finally removed.03:45
stevebaker\o first one needed a rebase, so needs re-approving03:45
*** arbylee has joined #heat03:45
elynntiantian, I think install() may only effect the whole dir.03:46
cmystermorning stevebaker03:47
elynnWill have launch :)03:47
openstackgerritAngus Salkeld proposed a change to openstack/heat: Don't validate parameters when listing stacks  https://review.openstack.org/11053603:50
asalkeldelynn, ^03:50
*** slowe has joined #heat03:55
*** tspatzier__ has joined #heat03:56
sloweHello all. I'm trying to get the Docker plugin working with Heat, but can't seem to make it work (either resource isn't recognized by Heat or heat-engine fails to load). Running Icehouse packages from Ubuntu Cloud Archive. Any suggestions?03:56
uberjstrange. all the variable values my SoftwareConfigs are consuming have new lines appended to them o.003:59
*** nosnos has joined #heat04:03
asalkeldslowe, it's not enabled by default04:04
asalkeldslowe, how to install: https://github.com/openstack/heat/tree/master/contrib/docker/docker04:05
*** jyoti-ranjan has quit IRC04:05
asalkeldtho' I wouldn't do this: echo "plugin_dirs=$(cd heat/contrib/docker-plugin/plugin; pwd)" > /etc/heat/heat.conf04:06
asalkeldthat looks like it will overwrite your heat.conf04:06
sloweasalkeld: Right, I'm aware it's not enabled by default, and I've tried those instructions (unsuccessfully so far).04:06
sloweasalkeld: And I've manually edited heat.conf to point to the directory04:07
sloweNo luck so far04:07
asalkeldslowe, when you run: heat resource-type-list04:07
asalkelddoes it appear?04:07
sloweasalkeld: Hold a sec, let me check (I've just been trying to deploy a stack and seeing if it errors out, then reading the logs)04:08
asalkeldalso when heat-engine starts it logs all the resource types04:09
sloweasalkeld: OK, heat resource-type-list does not show it, which tells me the plugin isn't loading properly04:12
asalkeldslowe, can you paste the heat-engine startup output to pastebin?04:13
sloweasalkeld: Sure, one moment04:14
*** blomquisg has quit IRC04:15
*** nanjj has quit IRC04:16
*** tiantian has quit IRC04:16
*** tiantian has joined #heat04:17
*** alexheneveld has quit IRC04:17
asalkeldslowe, I just tried it (didn't install the py docker lib) and got04:18
asalkeldWARNING heat.engine.plugins.resources.docker_container [-] Docker plug-in loaded, but docker lib not installed.04:18
sloweasalkeld: So what's the path where the plugin is installed on your system, if you don't mind me asking?04:18
asalkeld plugin_dirs                    = ['/opt/stack/heat/contrib/docker/docker']04:18
asalkeldthat's what I did04:18
sloweasalkeld: DevStack, right?04:19
asalkeldgrep plugin /etc/heat/heat.conf04:19
asalkeldplugin_dirs=/opt/stack/heat/contrib/docker/docker04:19
asalkeldslowe, yip04:19
sloweasalkeld: So, not using DevStack here. I have the py_docker library installed. When i set plugin_dirs to where the plugin is installed, I get nothing.04:20
*** alexheneveld has joined #heat04:20
sloweasalkeld: Let me try one more time. In the meantime, here's the paste of the heat-engine startup - http://paste.openstack.org/show/89087/04:21
asalkeldslowe, you need to point plugin_dirs=<location of the heat/contirb/docker/docker>04:21
asalkeldnot the docker library04:21
asalkeldif you are using a packaged heat, you need to git clone heat04:21
sloweasalkeld: Right, not pointing to the Docker library, just wanted to state that it is installed.04:22
asalkeldslowe, your plugin setting is: plugin_dirs                    = ['/usr/lib64/heat', '/var/lib/heat']04:22
sloweasalkeld: Right. Plugin is in /var/lib/heat/docker/docker04:23
sloweasalkeld: When I set plugin_dirs to /var/lib/heat/docker/docker, then heat-engine won't run.04:23
asalkeldwhy?04:23
asalkeldwhat's the error04:23
asalkeldtry moving it out of /var/lib04:24
slowe2014-07-29 22:22:15.819 17419 CRITICAL heat [-] AttributeError: 'module' object has no attribute 'Schema' (this is right after trying to load Docker)04:24
*** alexheneveld has quit IRC04:24
asalkeldslowe, that's odd04:25
sloweasalkeld: Exactly :-)04:25
asalkeldI'd try moving docker out of /var/lib04:25
asalkeldjust to test04:26
sloweasalkeld: Let me give that a try. Suggestions on where to put it?04:26
asalkeldhome/heat/docker ?04:26
sloweasalkeld: OK, we'll try it04:26
stevebakerslowe: does your heat server installation version match what your getting your docker resource from?04:27
slowestevebaker: Sorry, not following you. Using packaged Heat, but getting Docker plugin from GitHub (don't know any other way to get it).04:27
*** zackf has joined #heat04:28
asalkeldreminder to stevebaker to add functional test for multi versioned plugins04:28
asalkeld:-O04:28
stevebakerslowe: then you need to checkout the git tag which matches the packaged heat you're using. We've had quite a few internal API changes04:28
stevebakerhey, they're in contrib for a reason ;)04:28
slowestevebaker: Ah. Best way to determine which tag to checkout?04:28
stevebakerslowe: the same as the release version04:29
asalkeldhttps://github.com/openstack/heat/tree/stable/icehouse/contrib/docker/docker04:29
asalkeldguessing icehouse04:29
sloweGot it--will give that a try. Thanks asalkeld stevebaker04:29
asalkeldnp04:29
* asalkeld off to do school run04:29
*** susaant has joined #heat04:30
*** zackf has quit IRC04:35
*** susaant has quit IRC04:36
*** rushiagr has joined #heat04:37
*** bvivek has quit IRC04:47
sloweOK, got the Docker plugin to load. 3 things required: 1. had to use the stable/icehouse version of the plugin. 2. had to remove the tests subdirectory; the plugin was failing to load on a test found there. 3. had to specify <path>/docker/docker in heat.conf (I was specifying parent directory & not going down far enough in the path)04:48
*** tbuckholz has joined #heat04:50
*** morganfainberg is now known as morganfainberg_Z04:59
*** nanjj has joined #heat05:07
*** ckmvishnu has joined #heat05:10
*** kopparam has joined #heat05:14
*** tiantian has quit IRC05:18
*** jcoufal has joined #heat05:28
*** ramishra has joined #heat05:29
*** slowe has quit IRC05:30
openstackgerritAngus Salkeld proposed a change to openstack/heat: Improve the help in docker/README  https://review.openstack.org/11054105:31
openstackgerritVisnusaran Murugan proposed a change to openstack/heat: Added UUID to stack table and int id as primary  https://review.openstack.org/10605405:36
*** sarob_ has joined #heat05:36
*** sarob__ has joined #heat05:38
*** bvivek has joined #heat05:40
*** jyoti-ranjan has joined #heat05:40
*** sarob_ has quit IRC05:41
*** nanjj` has joined #heat05:41
*** kopparam_ has joined #heat05:42
*** nanjj has quit IRC05:42
*** sarob__ has quit IRC05:42
*** rakesh_hs has joined #heat05:44
*** chandankumar has joined #heat05:44
*** kopparam has quit IRC05:44
openstackgerritunmesh-gurjar proposed a change to openstack/heat: Database model and apis for convergence  https://review.openstack.org/10901205:50
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Imported Translations from Transifex  https://review.openstack.org/10497506:00
openstackgerritunmesh-gurjar proposed a change to openstack/heat: Fixed wait skipped after 1st step of task  https://review.openstack.org/10447106:01
*** bmahalakshmi has joined #heat06:08
*** tiantian has joined #heat06:17
*** nanjj` has quit IRC06:19
*** nanjj` has joined #heat06:19
*** ramishra has quit IRC06:21
*** ramishra has joined #heat06:22
openstackgerrithuangtianhua proposed a change to openstack/heat: Match tenant_id when name ambiguity in get_secgroup_uuids()  https://review.openstack.org/10922206:22
*** arbylee has quit IRC06:26
*** ramishra has quit IRC06:26
*** arbylee has joined #heat06:27
*** nanjj` has quit IRC06:31
*** rushiagr has quit IRC06:35
*** nanjj` has joined #heat06:35
skraynevGood morning06:35
*** rushiagr has joined #heat06:36
*** rushiagr has quit IRC06:36
*** rushiagr has joined #heat06:36
*** sarob_ has joined #heat06:36
*** rushiagr_ has joined #heat06:37
*** nikunj2512 has joined #heat06:38
*** bvandenh has joined #heat06:38
*** rushiagr has quit IRC06:40
*** sarob_ has quit IRC06:41
*** jprovazn has joined #heat06:41
therveGood morning!06:46
cmystermorning06:47
*** ifarkas has joined #heat06:56
*** pasquier-s has joined #heat07:04
*** jstrachan has joined #heat07:07
openstackgerritKanagaraj Manickam proposed a change to openstack/heat: resource sql table column 'nova_instance' is misleading  https://review.openstack.org/11055707:08
*** sarob_ has joined #heat07:12
*** zns has joined #heat07:15
*** sarob_ has quit IRC07:17
openstackgerrithuangtianhua proposed a change to openstack/heat: Implement GroupSet updatable for AWS::EC2::NetworkInterface  https://review.openstack.org/10980907:17
*** nanjj` has quit IRC07:19
*** ramishra has joined #heat07:19
*** KanagarajM has joined #heat07:20
*** nanjj` has joined #heat07:20
*** nanjj` has quit IRC07:23
*** ramishra_ has joined #heat07:24
*** ramishra has quit IRC07:24
*** ckmvishnu has quit IRC07:26
*** ckmvishnu has joined #heat07:27
*** jistr has joined #heat07:35
*** sarob_ has joined #heat07:36
*** sarob_ has quit IRC07:41
*** liu_hang has quit IRC07:43
*** arbylee has quit IRC07:44
*** tomek_adamczewsk has joined #heat07:45
*** tomek_adamczewsk has quit IRC07:49
*** ramishra_ has quit IRC07:54
*** ramishra has joined #heat07:54
*** ramishra has quit IRC07:59
*** TonyBurn has joined #heat08:04
*** rushiagr_ has quit IRC08:08
*** rushiagr_ has joined #heat08:08
*** ramishra has joined #heat08:08
*** derekh_ has joined #heat08:09
*** ramishra has quit IRC08:11
*** ramishra has joined #heat08:12
*** mkollaro has joined #heat08:16
*** ramishra has quit IRC08:16
*** tyson_ has joined #heat08:18
*** akuznetsov has quit IRC08:18
*** akuznetsov has joined #heat08:19
*** erkules_ is now known as erkules08:24
*** tomek_adamczewsk has joined #heat08:25
*** sergmelikyan has quit IRC08:26
*** sergmelikyan has joined #heat08:26
*** tomek_adamczewsk has quit IRC08:26
*** tomek_adamczewsk has joined #heat08:29
*** akuznetsov has quit IRC08:31
*** sorantis has joined #heat08:31
*** sarob_ has joined #heat08:36
*** akuznetsov has joined #heat08:36
*** julienvey has joined #heat08:40
*** sarob_ has quit IRC08:41
*** jyoti-ranjan has quit IRC08:47
*** nosnos has quit IRC08:49
*** nikunj2513 has joined #heat09:07
*** bmahalakshmi2 has joined #heat09:07
*** KanagarajM2 has joined #heat09:07
*** nikunj2512 has quit IRC09:08
*** bmahalakshmi has quit IRC09:08
*** KanagarajM has quit IRC09:08
*** ramishra has joined #heat09:09
*** ramishra_ has joined #heat09:12
*** ramishra has quit IRC09:13
*** fayablazer has joined #heat09:13
*** jprovazn has quit IRC09:14
*** denis_makogon has joined #heat09:14
*** tnurlygayanov has quit IRC09:14
*** tnurlygayanov has joined #heat09:15
*** jprovazn has joined #heat09:16
*** openstackgerrit has quit IRC09:16
*** sergmelikyan has quit IRC09:17
*** openstackgerrit has joined #heat09:18
*** Qiming has quit IRC09:22
*** sergmelikyan has joined #heat09:22
*** jyoti-ranjan has joined #heat09:25
*** ramishra_ has quit IRC09:26
*** ramishra has joined #heat09:27
*** KanagarajM2 has quit IRC09:30
*** nosnos has joined #heat09:30
*** ramishra has quit IRC09:31
*** KanagarajM has joined #heat09:32
*** sarob_ has joined #heat09:36
*** sarob_ has quit IRC09:41
*** xmltok_ has joined #heat09:42
*** SpamapS_ has joined #heat09:43
*** mikal_ has joined #heat09:44
*** KanagarajM has quit IRC09:44
*** bmahalakshmi2 has quit IRC09:44
*** akuznetsov has quit IRC09:44
*** derekh_ has quit IRC09:44
*** tyson_ has quit IRC09:44
*** ifarkas has quit IRC09:44
*** tspatzier__ has quit IRC09:44
*** mikal has quit IRC09:44
*** john-n-s| has quit IRC09:44
*** xmltok has quit IRC09:44
*** sbadia has quit IRC09:44
*** SpamapS has quit IRC09:44
*** tspatzier__ has joined #heat09:44
*** ifarkas has joined #heat09:45
*** derekh_ has joined #heat09:45
*** tyson_ has joined #heat09:45
*** akuznetsov has joined #heat09:45
*** bmahalakshmi has joined #heat09:45
*** john-n-seattle has joined #heat09:45
*** KanagarajM has joined #heat09:45
openstackgerritJun Jie Nan proposed a change to openstack/heat-templates: Hello world sample enhancement  https://review.openstack.org/11031809:46
*** sbadia has joined #heat09:46
*** ramishra has joined #heat09:51
*** saju_m has joined #heat09:52
*** Qiming has joined #heat10:00
*** ramishra has quit IRC10:03
*** ramishra has joined #heat10:04
*** Yanyanhu has quit IRC10:08
*** ramishra has quit IRC10:09
*** IgorYozhikov is now known as igoryozhikov10:21
*** nosnos has quit IRC10:22
*** zns has quit IRC10:23
*** sorantis_ has joined #heat10:25
openstackgerrithuangtianhua proposed a change to openstack/heat: Add constraints to check whether image/keypair exists  https://review.openstack.org/9030410:25
*** sorantis has quit IRC10:27
*** sorantis_ is now known as sorantis10:27
*** igoryozhikov is now known as IgorYozhikov10:28
*** zns has joined #heat10:31
*** blinky_ghost has joined #heat10:35
*** sarob_ has joined #heat10:36
*** mohits has joined #heat10:36
*** ckmvishnu has left #heat10:37
*** ckmvishnu has joined #heat10:37
*** ramishra has joined #heat10:38
*** unmeshg has joined #heat10:40
*** sarob_ has quit IRC10:41
*** jyoti-ranjan has quit IRC10:43
*** jyoti-ranjan has joined #heat10:43
*** zz_gondoi has quit IRC10:44
*** mkollaro has quit IRC10:48
*** che-arne|2 has joined #heat10:48
*** che-arne has joined #heat10:48
*** che-arne has quit IRC10:48
*** saju_m has quit IRC10:53
*** che-arne|2 is now known as che-arne10:54
*** gondoi has joined #heat10:55
*** bmahalakshmi has quit IRC10:56
*** bmahalakshmi has joined #heat10:57
*** KanagarajM has quit IRC10:59
*** asalkeld has quit IRC11:01
*** mkollaro has joined #heat11:07
*** KanagarajM has joined #heat11:08
*** ckmvishnu has left #heat11:09
*** ramishra has quit IRC11:11
*** ramishra has joined #heat11:12
*** nikunj2513 has quit IRC11:12
*** Qiming has quit IRC11:15
*** ramishra has quit IRC11:17
*** zns has quit IRC11:23
*** zns has joined #heat11:24
*** mohits has quit IRC11:30
*** mohits has joined #heat11:33
*** kopparam has joined #heat11:34
blinky_ghostzaneb: Hi Zane, are you there? Can I ask a question? I'm looking for a way to replace puppet with heat for orchestration/configuration. I read in your blog that softwareconfig has a feature " cleaner interface at which to inject parameters obtained from infrastructure components (e.g. the IP address of the database server you need to talk to)." Any hint how to do this? I'm a little bit lost :) thanks11:36
*** sarob_ has joined #heat11:36
*** kopparam_ has quit IRC11:36
*** mohits has quit IRC11:39
*** sarob_ has quit IRC11:41
*** tiantian has quit IRC11:43
*** KanagarajM has quit IRC11:43
*** ramishra has joined #heat11:43
*** bmahalakshmi has quit IRC11:44
*** andersonvom has joined #heat11:45
*** Qiming has joined #heat11:50
*** andersonvom has quit IRC11:53
*** nkhare has joined #heat11:55
*** unmeshg has quit IRC11:57
ryansbmorning folks11:58
*** tomek_adamczewsk has quit IRC11:58
*** asalkeld has joined #heat11:59
*** cmyster has quit IRC12:03
*** tomek_adamczewsk has joined #heat12:04
*** viktors has joined #heat12:04
*** tomek_adamczewsk has quit IRC12:14
*** jdob has joined #heat12:16
*** tomek_adamczewsk has joined #heat12:17
*** ramishra has quit IRC12:19
*** zslot has joined #heat12:25
*** liuhang has joined #heat12:28
*** tonisbones has joined #heat12:29
*** tbuckholz has quit IRC12:31
*** sarob_ has joined #heat12:36
openstackgerritSerg Melikyan proposed a change to openstack/heat: Prevent excessive validation for maxPersonality limit  https://review.openstack.org/10192612:37
*** Sventek has joined #heat12:37
sergmelikyanjasond, I have updated my patch by the link above ^^12:38
sergmelikyanand would like to discuss your comments12:38
sergmelikyanThis particular test is written using mox, so fact that no one calls limit is checked by fact that this call is mocked.12:39
sergmelikyanpositive scenario is checked by few tests above12:39
sergmelikyando you think we need to rewrite specifically this one test from mox to mock?12:40
*** sarob_ has quit IRC12:41
sergmelikyantherve, do you agree with jasond that we need to rewrite one test from bunch of tests in test_server.py to mock?12:43
*** achampion has quit IRC12:44
thervesergmelikyan, That was not the problem AFAICT12:44
therveThe test just didn't assert anything12:44
sergmelikyantherve, mox asserts fact that something is not called by declaring mock and not specifing number of calls. There is no explicit way to tell that something is not called in mox12:45
sergmelikyanAFAIK, at least12:45
sergmelikyanTo use way suggested by jasond we need to rewrite test using mock'12:46
therveThat sounds reasonable12:47
therveI'm pretty sure you can do that with mox though12:47
asalkeldyou could mock a fuction and replace it with assert?12:49
asalkeld(or raise)12:49
sergmelikyanwhen you are use mox, in arrange stage you mock calls that you need to verify, specify calls details (returns, number of calls), than you set mox to reply mode, in assert stage you call verifyall to compare actuall call with ones that you specified.12:50
*** Sventek has quit IRC12:50
sergmelikyanasalkeld, didn't get you suggestion :(12:53
sergmelikyanhttp://stylishtoupee.blogspot.ru/2013/06/assert-method-is-not-called-using-mox.html12:53
therveIt's fine if there is "asserts" as long as you check something12:55
*** Sventek has joined #heat12:56
*** kopparam has quit IRC12:57
asalkeldsergmelikyan, that looks good - I was just suggesting m.do_not_want.AndRaise(ValueError())12:57
asalkeld(or something like that, but looks like you don't need to do that)12:57
*** rbuilta has joined #heat12:58
viktorstherve: Hello! When you'll have a time, could you please look and tell your opinion about patch https://review.openstack.org/#/c/109658 , which refactored migration tests due to compatibility with oslo.db 0.4.0 ? Thanks!13:00
*** nkhare has quit IRC13:00
therveviktors, You'll have to explain to me what opportunistic approach means one day13:01
*** bvandenh has quit IRC13:02
*** rbuilta has quit IRC13:02
*** asalkeld has quit IRC13:03
*** Sventek_ has joined #heat13:03
*** Sventek has quit IRC13:07
viktorstherve: sure, give me please a few minutes13:07
*** zackf has joined #heat13:08
*** jasondotstar has joined #heat13:09
*** bvivek has quit IRC13:13
*** alexpilotti has joined #heat13:13
*** Sventek_ has quit IRC13:16
*** Sventek has joined #heat13:17
*** bvandenh has joined #heat13:17
*** alexpilotti_ has joined #heat13:19
*** alexpilotti has quit IRC13:19
*** alexpilotti_ is now known as alexpilotti13:19
*** rbuilta has joined #heat13:20
*** rushiagr_ is now known as rushiagr13:27
*** sarob_ has joined #heat13:36
*** arbylee has joined #heat13:37
openstackgerritSerg Melikyan proposed a change to openstack/heat: Prevent excessive validation for maxPersonality limit  https://review.openstack.org/10192613:38
*** jasond` has joined #heat13:40
*** sarob_ has quit IRC13:41
*** rushiagr has quit IRC13:43
*** alexheneveld has joined #heat13:44
zanebblinky_ghost: use e.g. the get_attr built in function to get an attribute from another resource (db server in this example) and pass it as an input value to your software deployment13:47
*** rbuilta has quit IRC13:49
*** rbuilta has joined #heat13:49
blinky_ghostzaneb: does that function work with different stacks? Imagine that I have database stack and a webserver stack13:50
*** achampion has joined #heat13:51
zanebblinky_ghost: use it in the outputs section of the template to export the information you want from the stack13:51
*** Sventek has quit IRC13:52
*** kopparam has joined #heat13:53
*** jistr has quit IRC13:54
*** blomquisg has joined #heat13:55
*** jistr has joined #heat13:55
*** kopparam has quit IRC13:58
blinky_ghostzaneb: does this information is save anywhere? Let's say I have 2 different autoscaling stacks, one for database and another to webservers. When I update my webserver stack to launch a new instance, how does it know what's the database ip that's running on a different stack?13:58
*** kopparam has joined #heat13:58
blinky_ghostsaved*13:58
zanebblinky_ghost: normally you would create a parent stack that includes the other two as Stack resources. You then pass the outputs of the db stack (which are exposed as attributes) as parameters to the webserver stack using get_attr14:00
blinky_ghostzaneb: hummm, do you have some example to look?14:01
zanebhttps://git.openstack.org/cgit/openstack/heat-templates/tree/cfn/F17/WordPress_Composed_Instances.template14:02
*** kopparam has quit IRC14:03
*** rakesh_hs has quit IRC14:03
zanebblinky_ghost: ^ not quite the same thing, but there's an example where the database is in a nested stack14:03
blinky_ghostzaneb: thanks I'll take a look14:04
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Updated from global requirements  https://review.openstack.org/10516614:07
*** vijendar has joined #heat14:11
*** sabeen has quit IRC14:14
*** gondoi is now known as zz_gondoi14:14
*** Qiming has quit IRC14:15
*** jistr has quit IRC14:18
*** jistr has joined #heat14:19
viktorstherve: sorry for delay. Are you around?14:24
*** piyush has joined #heat14:26
*** jasond` has quit IRC14:26
*** kebray has joined #heat14:30
*** rbuilta has quit IRC14:31
*** aweiteka has joined #heat14:32
*** Qiming has joined #heat14:33
*** rbuilta has joined #heat14:34
*** kebray has quit IRC14:35
*** pbelanyi has joined #heat14:35
*** sarob_ has joined #heat14:36
*** edmund has joined #heat14:37
*** tbuckholz has joined #heat14:38
*** kebray has joined #heat14:41
*** sarob_ has quit IRC14:41
*** tyson_ has quit IRC14:42
*** tyson_ has joined #heat14:43
*** bvandenh has quit IRC14:43
*** tomek_adamczewsk has quit IRC14:43
*** chandankumar_ has joined #heat14:51
*** chandankumar has quit IRC14:53
*** daneyon has joined #heat14:53
*** tyson__ has joined #heat14:54
pbelanyiI noticed that heatclient accepts only 1 environment file14:55
*** tyson_ has quit IRC14:56
*** sjmc7 has joined #heat14:56
pbelanyiin tripleo we would like to pass in several enviroment files (1 containing parameters, 1 for resource mapping)14:56
*** tyson__ has quit IRC14:56
pbelanyiI've checked and the heatclint loads the env file, and passes its contents to the api as a dictionary14:57
*** arbylee has quit IRC14:57
pbelanyiso it seems possible to process several files, merge the resulting dicts and send it to the api14:57
*** tyson_ has joined #heat14:58
*** rwsu has joined #heat14:58
pbelanyianyone has any opinion about it?14:58
pbelanyishadower? ^14:58
*** jprovazn has quit IRC14:58
shadowerthe same thing heatclient does for -P14:59
*** shakamunyi has joined #heat15:00
*** shakamunyi has quit IRC15:00
*** Qiming has quit IRC15:00
shadowerthat's how I thought --enviorment-file argument worked today15:01
ryansbI didn't know we were limited to 1 env file. I don't see a good reason not to accept multiple.15:02
shadoweryea same here15:02
*** sorantis has quit IRC15:03
shadowerzaneb: any thoughts on passing more than one environment file to heat cli?15:04
ryansbthis sounds small enough to put in a bug rather than needing a blueprint15:04
ryansbpbelanyi: is there an outstanding bug for this?15:04
*** alexheneveld has quit IRC15:04
pbelanyiryansb: I'll check, and if there isn't, I'll create one and probably start working on it15:05
ryansbpbelanyi: excellent. Let me know when you need review on it.15:06
*** rushiagr has joined #heat15:06
*** sabeen1 has joined #heat15:09
*** zz_gondoi is now known as gondoi15:10
*** stannie has quit IRC15:11
*** david-lyle has joined #heat15:14
*** sballe_ has joined #heat15:19
*** alexheneveld has joined #heat15:20
*** gokrokve has joined #heat15:20
pscheieI updated heat last week, but now when I run 'heat stack-update', it says the template version is invalid.15:21
*** sballe has joined #heat15:21
viktorstherve: ping15:22
*** nkhare has joined #heat15:22
*** david-lyle has quit IRC15:22
pscheieThe first line in my template is "HeatTemplateFormatVersion: '2013-05-23'".15:22
*** arbylee has joined #heat15:22
pscheieIs that syntax no longer valid in icehouse?  (We were previously running havana).15:22
therveviktors, Yep15:22
thervepscheie, Yes15:23
*** david-lyle has joined #heat15:23
viktorstherve: sorry for the big delay. Can we discuss the migration test changes?15:23
pscheietherve, so I need to convert my template to HOT?15:24
thervepscheie, 2013-05-23 is hot15:24
therveviktors, Sure15:24
viktorstherve: ok, so the first one - see at the moment migration tests in Heat run only for SQLite.  afaik, there are no deployments with sqlite, so there is a sense to use real backents for the such testing15:25
viktorssame as test_sqlalchemy_api, by the way15:25
therveWell15:26
therveThere is no deployment, but it's used by devstack everywhere15:26
therveSo we shouldn't break it15:26
viktorstherve: the old version of the oslo.db migration tests (with BaseMigrationTestCase class) can use `openstack_citest` database to run migration tests on backends. Also it requires db connection strings to the test databases in .conf file. It works fine, but it we should ensure, that we do not use this database for another testing and we have clear database before each test. See bug https://launchpad.net/bugs/1328997 for example.15:26
uvirtbotLaunchpad bug 1328997 in nova "Unit test failure: openstack_citest" is being accessed by other users\nDETAIL:  There are 1 other session(s) using the database." [Critical,In progress]15:27
*** jdob has quit IRC15:27
*** jdob has joined #heat15:27
*** arbylee1 has joined #heat15:27
viktorstherve: hm... Well, sure we can leave tests for migrations on SQLite15:27
therveviktors, It doesn't seem to be supported by oslo.db anymore though15:28
*** ifarkas has quit IRC15:28
viktorstherve: the main goal of my patches is -  add possibility to run migration unittests on real backends15:28
*** sballe has quit IRC15:29
viktorstherve: we implement testing migration on sqlite for heat easily15:29
viktorstherve: also the latest approach for database testing (not only migration tests) is - to create temporary database with a random name for the each test, use it for testing and drop it in cleanUp().15:29
*** arbylee has quit IRC15:30
viktorsso we will be sure, that each DB test totally isolated from anothers15:30
pscheietherve, what syntax is 2012-12-12?15:30
thervepscheie, That's custom Heat CFN15:32
therveviktors, Sounds good15:32
therveviktors, FWIW, splitting the requirements change was pretty useless15:32
therveIt's better to do it in the same patch IMO15:32
viktorstherve: ok, I'll merge these two patches, and add SQLiteMigrationTestCase15:33
therveviktors, Awesome thanks15:34
viktorstherve: np, I'll do it tomorrow and ping you after15:34
*** rushiagr has quit IRC15:36
*** rushiagr has joined #heat15:36
*** dsneddon has quit IRC15:38
*** dsneddon has joined #heat15:39
*** dsneddon has quit IRC15:39
*** shakamunyi has joined #heat15:42
*** shakamunyi has quit IRC15:42
*** shakamunyi has joined #heat15:43
*** shakamunyi has quit IRC15:43
*** shakamunyi has joined #heat15:44
*** shakamunyi has quit IRC15:44
*** tomek_adamczewsk has joined #heat15:44
*** chandankumar_ has quit IRC15:45
*** tomek_adamczewsk has quit IRC15:46
*** tomek_adamczewsk has joined #heat15:47
*** nkhare has quit IRC15:49
*** gokrokve_ has joined #heat15:51
*** shakamunyi has joined #heat15:53
*** shakamunyi has quit IRC15:53
*** shakamunyi has joined #heat15:54
*** shakamunyi has quit IRC15:54
*** gokrokve has quit IRC15:55
*** gokrokve_ has quit IRC15:55
*** tyson__ has joined #heat15:55
*** arbylee1 has quit IRC15:56
*** arbylee has joined #heat15:57
*** tomek_adamczewsk has quit IRC15:58
*** nkubota_ has joined #heat15:58
*** tyson_ has quit IRC15:59
*** tomek_adamczewsk has joined #heat16:01
*** alexheneveld has quit IRC16:03
*** alexheneveld has joined #heat16:05
*** sabeen2 has joined #heat16:05
zanebshadower: never thought about it, but I don't see any reason not to. You'd combine them in python-heatclient I assume?16:07
*** sabeen1 has quit IRC16:07
shadowerzaneb: yeah16:07
zaneb+1 then16:08
shadowercool, thanks!16:08
*** jistr has quit IRC16:10
*** viktors is now known as viktors|afk16:15
*** ckmvishnu has joined #heat16:17
ckmvishnuwhois ckmvishnu16:18
*** ckmvishnu has quit IRC16:18
*** tomek_adamczewsk has quit IRC16:20
*** jasondotstar has quit IRC16:22
*** julienvey has quit IRC16:23
*** tomek_adamczewsk has joined #heat16:23
*** pasquier-s has quit IRC16:24
*** xmltok_ is now known as xmltok16:27
*** derekh_ has quit IRC16:28
*** rakesh_hs has joined #heat16:29
*** rbuilta has quit IRC16:33
*** tyson__ has quit IRC16:34
*** jyoti-ranjan has quit IRC16:34
*** SpamapS_ is now known as SpamapS16:34
*** SpamapS has quit IRC16:34
*** SpamapS has joined #heat16:34
*** andersonvom has joined #heat16:40
*** jasondotstar has joined #heat16:40
*** jasondotstar has quit IRC16:40
*** gokrokve has joined #heat16:40
*** jasondotstar has joined #heat16:41
*** jasondotstar has quit IRC16:41
*** jasondotstar has joined #heat16:43
openstackgerritVijendar Komalla proposed a change to openstack/heat: Include project ID in stack abandon data  https://review.openstack.org/11071316:44
openstackgerritVijendar Komalla proposed a change to openstack/heat: Check project ID on stack adopt  https://review.openstack.org/11071416:44
*** tomek_adamczewsk has quit IRC16:50
*** fayablazer has quit IRC16:56
*** TonyBurn has quit IRC16:58
*** jcoufal has quit IRC16:58
*** nkubota has joined #heat16:59
*** andersonvom has quit IRC17:02
*** andersonvom has joined #heat17:02
*** tomek_adamczewsk has joined #heat17:03
*** nkubota has quit IRC17:04
*** tyson_ has joined #heat17:08
*** susaant has joined #heat17:08
*** morganfainberg_Z is now known as morganfainberg17:09
*** tyson_ has quit IRC17:09
*** tyson_ has joined #heat17:09
*** vaibhav has joined #heat17:12
*** vaibhav has quit IRC17:13
*** vaibhav has joined #heat17:14
*** piyush has quit IRC17:14
*** bvandenh has joined #heat17:14
*** tomek_adamczewsk has quit IRC17:15
*** tyson_ has quit IRC17:16
*** randallburt has joined #heat17:16
*** tyson_ has joined #heat17:17
*** tomek_adamczewsk has joined #heat17:18
*** sarob_ has joined #heat17:19
*** tyson_ has quit IRC17:20
*** vaibhav has quit IRC17:20
*** sarob_ has quit IRC17:21
*** tyson_ has joined #heat17:22
*** mkollaro has quit IRC17:22
*** nkubota has joined #heat17:24
*** jstrachan has quit IRC17:25
*** jasondotstar is now known as jasondotstar|afk17:26
*** david-lyle has quit IRC17:30
*** david-lyle has joined #heat17:30
*** gondoi is now known as zz_gondoi17:31
*** tomek_adamczewsk has quit IRC17:33
*** tomek_adamczewsk has joined #heat17:34
*** david-lyle has quit IRC17:35
*** david-lyle has joined #heat17:36
*** tomek_adamczewsk has quit IRC17:36
*** tomek_adamczewsk has joined #heat17:36
*** rbuilta has joined #heat17:39
*** nkubota has quit IRC17:39
*** chandankumar_ has joined #heat17:39
*** harlowja_away is now known as harlowja17:40
*** EricGonczer_ has joined #heat17:43
*** packet has joined #heat17:44
*** arbylee has quit IRC17:46
*** tomek_adamczewsk has quit IRC17:46
*** tango has joined #heat17:46
*** tomek_adamczewsk has joined #heat17:48
*** tomek_adamczewsk has quit IRC17:50
*** tomek_adamczewsk has joined #heat17:51
*** morganfainberg is now known as morganfainberg_Z17:51
*** piyush has joined #heat17:52
*** piyush1 has joined #heat17:54
*** bvivek has joined #heat17:56
*** piyush has quit IRC17:57
*** tomek_adamczewsk has quit IRC17:57
*** tomek_adamczewsk has joined #heat17:59
*** packet has quit IRC18:01
*** dsneddon has joined #heat18:05
*** packet has joined #heat18:06
*** mspreitz has joined #heat18:08
*** rakesh_hs has quit IRC18:08
mspreitzIf I proposed something that includes adding an index to Heat's DB schema in Juno-3, would I be laughed out of the room?18:09
*** tomek_adamczewsk has quit IRC18:10
*** liu_hang has joined #heat18:11
*** crose has joined #heat18:12
*** arbylee has joined #heat18:13
*** arbylee has quit IRC18:13
*** bvandenh has quit IRC18:13
*** arbylee has joined #heat18:13
*** elynn has quit IRC18:14
*** wpf has quit IRC18:14
*** liuhang has quit IRC18:14
*** elynn has joined #heat18:15
*** wpf has joined #heat18:19
*** jcoufal has joined #heat18:20
*** zns has quit IRC18:22
*** zslot has quit IRC18:23
*** bvandenh has joined #heat18:28
*** blinky_ghost has quit IRC18:29
*** rushiagr has quit IRC18:31
*** jasondotstar|afk is now known as jasondotstar18:33
*** chandankumar_ has quit IRC18:33
*** flyemsafe has joined #heat18:40
*** tomek_adamczewsk has joined #heat18:41
openstackgerritDavid J Hu proposed a change to openstack/python-heatclient: Re-add keystone v3 auth with fixes  https://review.openstack.org/11075018:42
*** randallburt has quit IRC18:42
*** swygue has quit IRC18:43
*** zns has joined #heat18:47
*** akuznetsov has quit IRC18:47
*** tyson_ has quit IRC18:49
*** tyson_ has joined #heat18:52
*** BillArnold has joined #heat18:56
*** flyemsafe has quit IRC18:57
*** tyson_ has quit IRC19:01
*** tyson_ has joined #heat19:02
*** tyson_ has quit IRC19:07
*** tomek_adamczewsk has quit IRC19:11
*** tomek_adamczewsk has joined #heat19:13
*** flyemsafe has joined #heat19:13
*** randallburt has joined #heat19:13
*** zackf has quit IRC19:17
*** zackf has joined #heat19:17
randallburtstevebaker:  ping19:20
*** kebray has quit IRC19:21
*** kebray has joined #heat19:25
*** zz_gondoi is now known as gondoi19:25
*** tyson_ has joined #heat19:27
*** alexheneveld has quit IRC19:30
*** tspatzier__ has quit IRC19:32
*** tyson_ has quit IRC19:32
*** bvandenh has quit IRC19:32
*** tyson_ has joined #heat19:32
*** packet has quit IRC19:37
*** tspatzier has joined #heat19:40
*** tyson_ has quit IRC19:40
*** tomek_adamczewsk has quit IRC19:41
*** tomek_adamczewsk has joined #heat19:43
*** bvivek has quit IRC19:44
*** tyson_ has joined #heat19:45
*** tomek_adamczewsk has quit IRC19:49
*** tyson_ has quit IRC19:50
*** tyson_ has joined #heat19:50
*** tomek_adamczewsk has joined #heat19:51
*** zns has quit IRC19:52
*** piyush1 has quit IRC19:52
*** elynn_ has joined #heat19:52
*** tomek_adamczewsk has quit IRC19:53
*** tomek_adamczewsk has joined #heat19:53
*** tyson_ has quit IRC19:54
*** tyson_ has joined #heat19:54
*** piyush has joined #heat19:56
*** piyush1 has joined #heat19:57
*** piyush has quit IRC20:00
mspreitzmeeting time?20:00
zanebmeeting time, y'all20:00
skraynev:)20:00
*** tyson_ has quit IRC20:03
*** zns has joined #heat20:03
*** tomek_adamczewsk has quit IRC20:06
*** tomek_adamczewsk has joined #heat20:07
*** alexpilotti has quit IRC20:09
*** crose has quit IRC20:09
*** tonisbones has quit IRC20:17
openstackgerritJason Dunsmore proposed a change to openstack/heat: Add OS::Swift::Signal resource  https://review.openstack.org/9694720:18
boris-42zaneb shadower mspreitz guuuys20:20
boris-42around?20:20
boris-42where is the meeting?20:20
zanebboris-42: #openstack-meeting20:20
mspreitzit's in #openstack-meeting20:20
boris-42zaneb ah ok20:20
boris-42zaneb mspreitz  are you going to have open discussion today?20:20
mspreitznot sure if we'll get to it20:21
mspreitzagenda is pretty full20:21
zanebboris-42: if we get time, but I think skraynev put you on the agenda already20:21
boris-42mspreitz zaneb  thank could you just take a look at spec for Cross service project proifiler20:21
boris-42zaneb it's rally but not profiler20:21
skraynevzaneb: +120:21
mspreitzIs that in heat-specs?20:21
boris-42mspreitz nope I put it in oslo, cause the change is similar in all projects20:22
boris-42mspreitz zaneb  https://review.openstack.org/#/c/103825/20:22
mspreitzboris-42: OK, I'll look at it20:22
boris-42mspreitz zaneb  so now all core teams are able to discuss this in one place20:22
*** crose has joined #heat20:25
*** jcoufal has quit IRC20:26
*** zns has quit IRC20:29
*** daneyon has quit IRC20:31
openstackgerritJason Dunsmore proposed a change to openstack/heat: Add OS::Swift::Signal resource  https://review.openstack.org/9694720:31
openstackgerritJason Dunsmore proposed a change to openstack/heat: Add utility functions for Swift TempURLs  https://review.openstack.org/10430220:31
*** daneyon has joined #heat20:31
*** daneyon_ has joined #heat20:35
*** daneyon has quit IRC20:37
*** zns has joined #heat20:38
*** rbuilta has quit IRC20:48
*** derekh_ has joined #heat20:49
*** tomek_adamczewsk has quit IRC20:49
*** tomek_adamczewsk has joined #heat20:51
*** asalkeld has joined #heat20:55
*** jdob1 has joined #heat20:56
*** jdob has quit IRC20:59
*** jasondotstar has quit IRC20:59
*** tomek_adamczewsk has quit IRC21:00
tspatzierSpamapS: you wanted to discuss the action-aware-swconfig spec?21:00
mspreitzWhy put health maint in heat scaling groups now?  Because until we have automatic convergence, they will accumulate junk --- and bump up against max size21:01
skraynevzaneb: I uploaded one patch for test benchmark and if you look in results you may see problem for test21:01
zanebskraynev: link?21:01
mspreitzand maybe you want to remove sick members even if the group performs well enough21:01
skraynevzaneb: http://logs.openstack.org/45/98045/21:01
mspreitzsick members can cause problems in their peers, in some systems21:02
skraynevhttp://logs.openstack.org/45/98045/2/check/check-rally-dsvm-rally/f2d4c29/rally-plot/results.html.gz - it's results21:02
SpamapStspatzier: I do, but I have to take a break for a few minutes. Be here in 15?21:02
*** tomek_adamczewsk has joined #heat21:02
jdandreaIs it possible to drop into pdb in a *nested* template resource during stack-create? (Trying to do that now but to no avail.)21:02
skraynevif you choose scenario create and list stacks you will  see awful graphic..21:02
tspatzierSpamapS: ok, I'll be online some more21:02
SpamapSmspreitz: I agree, and have always felt that autoscaling groups doesn't work well for these reasons.21:03
skraynevwith limit equal 100 stacks.21:03
SpamapSmspreitz: there are simpler ways of working around this problem though. Just having a property that is a list of server ids to ignore would be enough to achieve the cruft-cleanup.21:03
mspreitzSpamapS: what would set that property?21:04
SpamapSanyway... break.. back in 1521:04
SpamapSmspreitz: the user21:04
skraynevzaneb, SpamapS: results above are causes for getting quota patches in heat.21:04
zanebskraynev: is this what I'm looking at? http://logs.openstack.org/45/98045/2/check/check-rally-dsvm-rally/f2d4c29/rally-plot/results.html.gz21:04
*** tomek_adamczewsk has quit IRC21:05
*** tomek_adamczewsk has joined #heat21:05
skraynevzaneb: yes, just choose  in section: "Select benchmark scenario:" second scenario21:05
zanebah21:06
skraynevzaneb: found?21:06
zanebfound it21:06
skraynevzaneb: ok.21:06
zanebnot sure what I'm supposed to be concluding from it21:06
*** elynn_ has quit IRC21:07
*** zns has quit IRC21:08
skraynevthat this https://review.openstack.org/#/c/96696/ is really need for benchmark21:08
*** elynn_ has joined #heat21:08
zanebjdandrea: never used pdb, but in principle the resource being nested should make no difference21:08
skraynevit will allow rally change limits for stack in tenant21:08
zanebbecause rally can only use a single tenant?21:09
zanebthat seems like an unrealistic test21:09
skraynevno, it's just one of common scenarios21:10
jdandreazaneb: Ok. If I don't nest, it works. I can just go direct. (Followup: How do folks debug plugins w/o pdb? Is there a better/different way?)21:11
susaanthave a question regarding patch submission: I want to submit patch for neutron group policy resources. Since the neutron resources are under review and not yet pulled into neutron repo, how do I handle unit tests?21:11
*** tomek_adamczewsk has quit IRC21:11
boris-42zaneb hi there21:11
boris-42zaneb we can use as much as required tenants21:11
boris-42zaneb but in some cases when we would like to test scalability (in case of resources)21:11
boris-42zaneb e.g. what will happen if we run list when we have 1000 VMs21:12
boris-42zaneb we should do all operations using one tenant21:12
boris-42zaneb I hope that makes it cleaner*21:12
*** elynn_ has quit IRC21:12
BillArnoldjdandrea I am pretty sure (95%)  I've set a pdb breakpoint in a nested stack (using devstack).21:12
jdandreaBillArnold: I figured it should work, thanks. I'm at a loss. If I don't nest, the breakpoint hits. If I nest, it's like it isn't even there. *scratches head*21:13
zanebboris-42: ok, but if the configuration says that each tenant can only have 100 VMs, why do we need to test listing 1000 VMs when that is something a user can never do?21:13
*** tomek_adamczewsk has joined #heat21:13
BillArnoldjdandrea I think I was looking at the nested stacks created by scaling groups, not sure that matters21:13
zanebboris-42: we need to test listing 100 VMs when there are 1000 VMs in total across all tenants21:13
jdandreaBillArnold: Oh, I wonder? Perhaps ...21:13
zanebbut not listing 100021:13
boris-42zaneb heh actually 1000 VMs for sample from real deployment...21:14
boris-42zaneb our customer fu*** us for request that works for 20 seconds..21:14
boris-42zaneb in proudction =(21:14
*** jdob1 has quit IRC21:14
boris-42zaneb what is the great thing about rally is that you are doing one benchmark21:15
zanebok, so forgetting about VMs, the question AIUI is about stacks21:15
boris-42zaneb and then you can specify amount of users, tenants, load that you would like to generate and so on21:15
zanebso s/VMs/stacks/ in what I said before21:15
boris-42zaneb okay maybe that one benchmark is not super intersting21:15
boris-42zaneb for heat21:15
boris-42zaneb but I think there is a lot of different stuff that is21:15
*** tomek_adamczewsk has quit IRC21:15
*** tomek_adamczewsk has joined #heat21:16
boris-42zaneb goal of Rally is to present simple way (framework) for writing benchmarks, that can be run with different load and in different enviroment21:16
zanebboris-42: so skraynev is telling us that we need an API for configuring quotas in order to increase the quotas beyond the limits21:16
boris-42zaneb so you are able to create fast load that you need21:16
stevebakerwe need a scale test which launches a stack with 1000 servers using the nova fake driver, and also mimicing 1000 servers polling heat for metadata21:16
*** jcoufal has joined #heat21:16
zaneband it's not clear to me that that is the case21:16
boris-42skraynev that is possible to do in gates even21:17
boris-42stevebaker ^*21:17
boris-42zaneb so about quotas, for list* operations it may have sense21:17
*** tomek_adamczewsk has quit IRC21:18
zanebbasically our quotas are very large and fixed, because nobody actually charges for using Heat. they're only to prevent extreme abuse21:18
*** tomek_adamczewsk has joined #heat21:18
boris-42zaneb I mean if you are not able to create from 1 user more then 100 resources21:19
boris-42zaneb then you don't need to benchmark cases when you have more then 100)21:19
zanebexactly21:19
boris-42zaneb so for example21:20
boris-42zaneb if you use the same benchmark21:20
boris-42zaneb but put 100 tenants21:20
boris-42zaneb you can test a list on such kind of scale21:20
tspatzierSpamapS: you're back?21:21
boris-42zaneb stevebaker guys do you want performance rally job in heat?21:22
zanebso 1 tenant x 100 resources performs differently to 100 tenants x 100 resources which performs differently to 1 tenant x 10000 resources. but only the first two need to be tested21:22
boris-42zaneb yep21:22
boris-42zaneb and you can test both21:22
zanebgreat :)21:22
boris-42zaneb with rally and single simple benchmark21:23
zanebwithout adding a quota API :)21:23
boris-42zaneb yep21:23
skraynevok21:23
jdandreaGiven { get_resource: my_resource } as a property (UUID), how does a plugin turn that into a resource object that it can query? (Trying to look for examples ...)21:23
skraynevzaneb: let's forgot about quotas :)21:23
zanebskraynev: +1 :)21:23
*** jcoufal has quit IRC21:23
mspreitzjdandrea: presumably HARestarter does that21:23
boris-42zaneb so what about performance job21:24
mspreitzas would the scaling policy typtes21:24
jdandreamspreitz: Thank you! *goes to look*21:24
skraynevzaneb: this awesome feature (tenant with 1000 stacks) is not here yet :)21:24
jdandreaBoom (_find_resource) - thanks.21:24
zanebjdandrea: self.stack.resource_by_refid()21:24
asalkeldboris-42, I think we do really want a performance test21:24
*** tomek_adamczewsk has quit IRC21:24
zanebjdandrea: here be dragons21:25
jdandreazaneb: Ahh, thank you.21:25
jdandreaOh?21:25
jdandreaDo tell.21:25
jdandrea"What I really want to do ..." is verify the resource types.21:25
jdandreaPerhaps that isn't a good way to do it.21:25
asalkeldzaneb, I think boris-42 is still wanting confirmation that we actually want a perf test21:25
boris-42asalkeld +121:26
skraynevzaneb: how this job will be look is described in second part of doc.21:26
zanebjdandrea: if it's only for debugging, no problem21:26
zanebboris-42: yes, absolutely :)21:26
boris-42zaneb one more question with fake or real driver?21:26
jdandreaNo, it's not only for debugging. We only want certain resource types.21:26
boris-42zaneb or both?21:26
mspreitzjdandrea has a point for validation21:26
zanebjdandrea: go ahead then :)21:26
asalkeldboris-42, as stevebaker said , kinda fake21:26
tspatzierSpamapS: it's pretty late here and I have to get up early tomorrow. Can you post your concerns as comments to the spec? And maybe we can discuss tomorrow in IRC.21:26
* jdandrea grins21:26
*** tspatzier has quit IRC21:27
susaantquestion regarding patch submission: I want to submit patch for neutron group policy resources which are under review and not yet pulled into neutron repo. How do I handle submitting unit tests?21:27
boris-42asalkeld okay it will take a bit longer21:27
asalkeldwe need to also simulate the metadata queries21:27
jdandreaWhy dragons though? If there's a faster/better way to verify the type, I'd be happy to try it.21:27
*** tomek_adamczewsk has joined #heat21:27
asalkeldwe could start with a simple fake test tho'21:27
* jdandrea goes looking for something that takes a UUID and a resource type.21:27
susaantI was able to run unit tests by pulling neutronclient patches. But these tests will fail when I submit them into heat repo (until neutronclient pulls in group-policy patches). Is that acceptable?21:28
zanebjdandrea: resources that dig into other resources are basically always a mistake. but for debugging, it will work fine21:28
jdandreaHmm.21:29
* SpamapS returns21:29
SpamapSdoh21:29
mspreitzzaneb: scaling policies are basically a mistake?21:29
zanebsusaant: you can submit them, but nothing can merge until the tests are passing21:29
zanebmspreitz: the way they're implemented, yes.21:29
*** tomek_adamczewsk has quit IRC21:30
*** tomek_adamczewsk has joined #heat21:30
boris-42asalkeld zaneb guys pls take a look at OSProfiler spec21:30
boris-42asalkeld zaneb  I am going to publish some patches to heat soon21:30
jdandreaThis isn't just for debugging though, but I'm also trying to understand how it's a mistake to want to verify the resources are of a certain type.21:30
SpamapSzaneb: you've never used.. pdb?21:30
boris-42https://review.openstack.org/#/c/103825/21:30
susaantzaneb: got it. They will be merged only after neutronclient patches are merged. thanks.21:30
boris-42this ^ one21:30
asalkeldboris-42, ok21:30
*** rwsu has quit IRC21:31
mspreitzzaneb: scaling policy impl is the problem?  I think their definition makes them applicable to only some types of things (scaling groups)21:32
zanebSpamapS: I've only been a Python programmer since around 2006. one day I might find a use for it21:33
mspreitzNow if we had a suitable type system, that could be expressed21:33
asalkeldboris-42, one obvious remark is can't you just use stacktack21:34
*** peoplemerge has joined #heat21:34
boris-42asalkeld nope21:34
boris-42asalkeld it's not for production21:34
boris-42asalkeld you are not able to put any amount of any types of points in your code and get nested points21:34
asalkeldfrom videos i have watched it was good at getting this timing info21:35
boris-42asalkeld http://boris-42.github.io/profiler/21:35
boris-42asalkeld nope is quite far from this21:35
boris-42asalkeld and as I said it's not well integrateble in openstack21:35
boris-42asalkeld and it is not for proudciton21:35
boris-42and it doesn't support nested stuff21:35
boris-42and it's not so cross project..21:35
boris-42so many many issues that makes it hard to use in real life21:36
boris-42when you have broken production cloud=)21:36
boris-42and need to fix it asap=)21:36
asalkeldI like the output21:36
*** tomek_adamczewsk has quit IRC21:36
boris-42asalkeld yep this time I spend 1.5 day21:36
boris-42asalkeld not 1=)21:36
SpamapSzaneb: Ok, but the real question is, how long have you been a masochist? ;)21:37
boris-42asalkeld so after we get this in21:37
boris-42asalkeld in rally performance jobs you will get ability to profile21:37
boris-42asalkeld and get this graphs for different iterations21:37
asalkeldneat21:37
boris-42asalkeld so you can use stress runner, put any amounts of trace points in heat, do plugin benchmark for rally(in heat code), specify benchmark to run in gate (in heat code) and get as a result of jenkins job21:38
*** tomek_adamczewsk has joined #heat21:38
openstackgerritDavid J Hu proposed a change to openstack/python-heatclient: Re-add keystone v3 auth with fixes  https://review.openstack.org/11075021:38
boris-42asalkeld not only performance data but as well profiling21:38
boris-42asalkeld and compare iterations without load and with big load21:38
skraynevSpamapS: you want to say, that not using pbr is one of the form of masochism?21:38
boris-42asalkeld and find the reason of bottlneck21:38
asalkeldboris-42, that would be powerful21:39
boris-42asalkeld so that was my ultimate goal and we are almost ready=)21:39
*** sgordon has quit IRC21:39
*** rwsu has joined #heat21:39
skraynevSpamapS: In this case I am similar with zaneb. live without pbr is some kind of challenge :)21:40
jdandreaSpamapS: It has certainly felt like that to me when not using it. "YMMV."21:41
*** susaant has quit IRC21:42
*** piyush1 has quit IRC21:42
mspreitzare we talking about pdb or pbr?21:42
SpamapSpbr?21:42
SpamapSI thought we were talking about pdb21:43
*** ccrouch1 has joined #heat21:43
skraynevsorry - spell s/pbr/pdb21:43
zanebSpamapS: embedded engineer. printf ftw.21:43
*** ccrouch has quit IRC21:43
mspreitzCan we talk about scaling group member health now?21:43
SpamapSzaneb: you sai embedded engineer, I say masochist...21:43
skraynevzaneb: is it old behavior? I got it after using C...21:44
mspreitzSpamapS: how would you handle the following.  Scaling group scales on 95 %ile of response time.  One member is sluggist, takes 10x to respond.  Scaling group blows up to 20x needed size.21:44
*** tomek_adamczewsk has quit IRC21:45
*** daneyon_ has quit IRC21:45
SpamapSmspreitz: Here's my thoughts. This will be a very natural feature when continuous convergence is completed. If you have an immediate need, I suggest you fill that need, perhaps in contrib, but not in the core product. Otherwise, if you can wait a bit, then add your effort to convergence, rather than diverging from it.21:45
mspreitzHow does that example get solved with convergence?21:46
*** daneyon has joined #heat21:46
skraynevAnyway time to sleep. Good day for all and good night for me ;)21:46
zanebskraynev: these days even C programmers use gdb. but not the embedded C programmers21:46
zanebat least, not as much21:46
asalkeldzaneb, I did setup gdbserver for you guys21:47
asalkeld:)21:47
asalkeldbut timing...21:47
mspreitzSpamapS: I do want to work with convergence as much as possible.  I am trying to work out what that is.21:47
SpamapSmspreitz: what you describe is a complicated rules engine. Knowing how to identify a slug is hard. Knowing it is o-k to kill it is hard.21:47
skraynevzaneb: :) ok, I will be to call me embedded programmer.21:47
*** EricGonczer_ has quit IRC21:48
mspreitzSpamapS: suppose the load balancer is configured to identify a slug by response time being very high21:48
*** blomquisg has quit IRC21:48
mspreitz(a reasonable thing, I think)21:48
SpamapSmspreitz: indeed, and thus it would express to Heat that the slug should be gone.21:48
SpamapSIn convergence, that is easy. Kill the slug.21:49
SpamapSWith the current code, you need to tell Heat that a particular node needs killing.21:49
SpamapSwhich you cannot do.21:49
SpamapSscaling groups, btw, is going to be one of the things that does actually have quite a bit of change in its code, rather than its structure, as a part of convergence. Because it is one of the things that is the most rigid, I think.21:50
mspreitzAn OS::Neutron::Pool knows the members as PoolMember...21:51
openstackgerritRandall Burt proposed a change to openstack/heat: Implement barbican client plugin  https://review.openstack.org/9868421:51
openstackgerritRandall Burt proposed a change to openstack/heat: Use setuptools to install contrib plugins  https://review.openstack.org/10344121:51
mspreitzToday there is no operation on a PoolMember that will delete the corresponding scaling group member21:51
openstackgerritRandall Burt proposed a change to openstack/heat: Only support client plugins  https://review.openstack.org/9868821:51
openstackgerritRandall Burt proposed a change to openstack/heat: Port rackspace clients to client plugins  https://review.openstack.org/9868721:51
openstackgerritRandall Burt proposed a change to openstack/heat: Remove function get_software_config  https://review.openstack.org/10139621:51
openstackgerritRandall Burt proposed a change to openstack/heat: Cinder, trove, ceilo use ignore_not_found etc  https://review.openstack.org/10139721:51
openstackgerritRandall Burt proposed a change to openstack/heat: Glance, swift use ClientPlugin.ignore_not_found  https://review.openstack.org/10042421:51
openstackgerritRandall Burt proposed a change to openstack/heat: Implement marconi client plugin  https://review.openstack.org/9868321:51
openstackgerritRandall Burt proposed a change to openstack/heat: Client plugin exception handling methods  https://review.openstack.org/10042121:51
openstackgerritRandall Burt proposed a change to openstack/heat: Neutron use ClientPlugin.ignore_not_found etc  https://review.openstack.org/10042321:52
openstackgerritRandall Burt proposed a change to openstack/heat: Nova use ClientPlugin.ignore_not_found  https://review.openstack.org/10042221:52
openstackgerritRandall Burt proposed a change to openstack/heat: Move nova_utils functions to nova client plugin  https://review.openstack.org/10178221:52
SpamapSmspreitz: I don't really know what that means at all.21:52
mspreitzToday a load balancer has no way to kill a scaling group member21:52
SpamapSRight, because that is a complicated policy decision.21:52
mspreitzNo, I mean once the decision has been made to terminate, there is no way to terminate21:53
SpamapSIt decides to terminate, or it decides something is out of tolerance?21:53
SpamapSand if it is out of tolerance, what happens? it stops sending traffic? calls a webhook? Sends a notification?21:53
mspreitzToday a load balancer can decide whether some member looks bad.  You suggest the member shoul be killed in that case.  The load balancer has no way to do the kill.21:53
stevebakerhey, https://review.openstack.org/#/c/102394/ was approved but needed rebasing21:54
SpamapSI asked _what does it do_?21:54
mspreitzToday the load balancer takes no action in response to its detection of problems.  It responds to queries about health, that is all.21:54
mspreitzoops21:54
mspreitzit does modify where it sends load21:54
mspreitzit does no more21:55
SpamapSHonestly, I'm so far from this use case.. as I think it is heavy handed and specific, that I think I'll step back.21:56
SpamapSI think Heat is too heavy already.21:56
SpamapSAdding complex policy to Heat directly, is going to make it heavier.21:56
SpamapSWe talked about this _a long time ago_ that there would be a separate autoscaling policy service, and Ceilometer ended up being that service.21:57
boris-42asalkeld btw we are trying to get incubated=)21:57
SpamapSThat Heat would just enact what you told it to.21:57
SpamapSSo I say, let that other policy service express to Heat which members should be, or not be.21:57
boris-42asalkeld so https://review.openstack.org/#/c/108502/ =)21:57
boris-42asalkeld any opinion about this will be great=)21:57
asalkeldSpamapS,  also that's why we wanted to get autoscaling out into is's own project21:57
asalkeldboris-42, I'll look21:57
mspreitzSpamapS: OK, let's work with that a bit...21:58
boris-42asalkeld thanks, and thanks for reviewing osprofiler spec21:58
SpamapSasalkeld: right, but with Heat doing the control so that we don't get bad interactions between Heat and another thing.21:58
mspreitzToday Ceilometer can be configured with some specific alarms...21:58
mspreitzwho configures an alarm for each current scaling group member?21:58
openstackgerritRandall Burt proposed a change to openstack/heat: Port rackspace clients to client plugins  https://review.openstack.org/9868721:58
SpamapSmspreitz: I've stepped back. I don't want to work with it. I applaud you for bringing use cases, but I can't think about this right now.21:59
* SpamapS has a call anyway21:59
asalkeldboris-42, one very minor think was you could have a more controllable way of enabling trace besides msql on/off21:59
randallburtstevebaker:  can you do me a favor?21:59
stevebakerrandallburt: sure21:59
mspreitzSpamapS: Thanks for your time21:59
boris-42asalkeld e.g. putting to headers infro trace db22:00
boris-42asalkeld I was thinking about that22:00
* mspreitz not sure where that leaves those of us who *do* want to think about health22:00
randallburtcan you see if the "Rebase" button is available on the dependencies after  https://review.openstack.org/98687? Alternatively, how can I "own" those patches so I can see that button too?22:00
randallburtstevebaker:  ^^22:00
*** aweiteka has quit IRC22:00
asalkeldboris-42, tho' that comes with using it a bit more - can't plan *everything* upfront22:01
mspreitzzaneb: one way to do what Clint wants is to let the scaling group member be a nested stack whose template prescribes detection...22:01
boris-42asalkeld so actually it will require some magic with sqlalchemy =)22:01
boris-42asalkeld I mean adding support to osprofiler is not so hard22:02
mspreitzzaneb: but it needs to be able to refer to itself qua scaling group member when calling for reaction...22:02
asalkeldok22:02
stevebakerrandallburt: no rebase button for me. I think you own it as much as me just by being heat-core. Do you have an abandon button?22:02
boris-42asalkeld and it can be done even without changing to 0.3. version22:02
boris-42asalkeld so I left this task for future22:02
boris-42asalkeld the idea was to be able to disable messages with some type22:02
mspreitzzaneb: if we had effective linkage from member stack back to scaling group member, that could work22:02
randallburtstevebaker:  yeah. Was hoping Gerrit would help me today. looks like yet another manual rebase.22:03
mspreitzzaneb: i.e., index Heat's Resources table on the so-called nova_instance column22:03
boris-42asalkeld so I think it will be next step after integration of osprofiler=)22:03
*** vijendar has quit IRC22:03
asalkeldboris-42, totally - that's why i didn't even bother adding that to the review22:03
randallburtstevebaker:  thanks for checking.22:04
*** blomquisg has joined #heat22:04
stevebakerrandallburt: ug. maybe we should ask reviewers to stop reviewing other things until up to https://review.openstack.org/#/c/101782/ lands22:04
randallburtstevebaker:  that would be nice. Nicer would be https://review.openstack.org/#/c/98688/22:04
stevebakerrandallburt: well yes, but that may need coordination with https://review.openstack.org/#/q/topic:bp/stevedore-plugins,n,z22:06
randallburtstevebaker:  hrm. well, my life would be easy with the former and I would jump on asalkeld's patches and help sort them after if that works.22:08
randallburtits a race either way and I'm voting on 98688 to merge first.22:08
*** crose has quit IRC22:10
openstackgerritRandall Burt proposed a change to openstack/heat: Implement marconi client plugin  https://review.openstack.org/9868322:11
openstackgerritRandall Burt proposed a change to openstack/heat: Implement barbican client plugin  https://review.openstack.org/9868422:12
openstackgerritRandall Burt proposed a change to openstack/heat: Only support client plugins  https://review.openstack.org/9868822:13
*** achampion has quit IRC22:13
*** arbylee1 has joined #heat22:19
*** arbylee has quit IRC22:19
*** andersonvom has quit IRC22:20
*** derekh__ has joined #heat22:20
*** derekh_ has quit IRC22:21
*** derekh__ has quit IRC22:22
zanebstevebaker: you didn't change to six.text_type in the rebase, even though elynn's patch already merged?22:22
stevebakerzaneb: correct, I had a tantrum and elynn agreed to fix it up later22:22
stevebakerbecause, damn that patch landed fast, and caused rebase pain22:23
* zaneb backs away slowly22:23
stevebakerlol22:23
zaneb+A22:24
*** tbuckholz has quit IRC22:26
*** mspreitz has left #heat22:29
zanebstevebaker: +2 on the retry one as well22:30
stevebaker\o/22:30
*** blomquisg has quit IRC22:33
*** BillArnold has quit IRC22:35
*** tango has quit IRC22:35
*** david-lyle has quit IRC22:42
*** david-lyle has joined #heat22:42
*** gondoi is now known as zz_gondoi22:46
zanebwow. 1113 talks proposed for the next summit22:46
*** david-lyle has quit IRC22:47
zanebvs. 680 for Atlanta22:47
zanebI wonder if they screwed it up again22:47
*** AndrewMichalik has joined #heat22:47
*** zns has joined #heat22:48
*** zackf has quit IRC22:50
*** blomquisg has joined #heat22:50
*** randallburt has quit IRC22:50
*** randallburt has joined #heat22:51
zanebI wanna attend this talk http://www.openstack.org/vote-paris/Presentation/abc-222:52
randallburtlol22:52
stevebakerefg22:52
stevebaker*** from me22:53
sjmc7turn up dressed as sesame street's Count22:53
randallburtstevebaker, zaneb: I thought I caught all the six changes in my rebases, but if not, let me know where and I'll sort it.22:54
stevebakerrandallburt: we should start a support group ;)22:54
randallburtstevebaker:  indeed22:54
randallburtmaybe elynn should buy *us* beers.22:55
randallburtanyway, gotta run back to the house, but I'll be back online later. Just −1 any of the stuff I missed a texttype issue and I'll fix.22:55
*** blomquisg has quit IRC22:56
*** randallburt has quit IRC23:00
*** sjmc7 has quit IRC23:05
*** edmund has quit IRC23:12
*** kebray has quit IRC23:14
*** AndrewMichalik has quit IRC23:21
*** arbylee has joined #heat23:27
*** f13o has joined #heat23:27
*** arbylee1 has quit IRC23:31
openstackgerritIgor Milovanovic proposed a change to openstack/heat: Correct syntax in example on the Heat Plug-in Development Guide  https://review.openstack.org/11081123:32
*** AndrewMichalik has joined #heat23:37
*** che-arne|2 has joined #heat23:51
*** che-arne has quit IRC23:52
*** morganfainberg_Z is now known as morganfainberg23:55
*** Qiming has joined #heat23:57
*** achampion has joined #heat23:58

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