Wednesday, 2015-08-26

*** achanda has quit IRC00:01
*** lpmulligan has joined #heat00:02
*** sergmelikyan has quit IRC00:06
*** dims_ has joined #heat00:06
*** dims has quit IRC00:07
*** Drago has quit IRC00:12
*** dims has joined #heat00:12
*** sdake_ has joined #heat00:13
*** dims_ has quit IRC00:15
*** sdake has quit IRC00:16
*** kebray has quit IRC00:17
*** shadower has quit IRC00:23
*** shadower has joined #heat00:23
*** kebray has joined #heat00:23
*** openstack has joined #heat00:34
*** pm90_ has quit IRC00:35
*** vahidh has quit IRC00:36
*** sergmelikyan has joined #heat00:38
*** kebray has quit IRC00:38
*** kebray has joined #heat00:41
*** sergmelikyan has quit IRC00:43
*** pm90_ has joined #heat00:50
openstackgerritYingzhe Zeng proposed openstack/python-heatclient: Improve the format hint of -Pf option  https://review.openstack.org/21651500:51
*** liusheng has quit IRC00:52
*** sdake has joined #heat00:56
*** sdake_ has quit IRC00:59
*** sergmelikyan has joined #heat01:00
*** huangtianhua has joined #heat01:01
openstackgerritAngus Salkeld proposed openstack/heat: Make the TestResource a bit smarter  https://review.openstack.org/21548901:02
*** sergmelikyan has quit IRC01:03
*** ricolin has joined #heat01:03
*** sergmelikyan has joined #heat01:08
*** Qiming has joined #heat01:10
*** pm90_ has quit IRC01:10
*** sergmelikyan has quit IRC01:10
*** zhenguo has joined #heat01:17
*** pm90_ has joined #heat01:19
*** bnemec has quit IRC01:26
*** erkules has joined #heat01:30
*** erkules_ has quit IRC01:33
openstackgerritRico Lin proposed openstack/heat: unify REST word  https://review.openstack.org/21691901:33
*** junhongl has joined #heat01:35
openstackgerritSteve Baker proposed openstack/heat: Don't metadata_update all resources for deployment signals  https://review.openstack.org/21692001:36
*** Yanyanhu has joined #heat01:45
*** neelashah has joined #heat01:58
*** elynn has joined #heat02:01
*** neelashah has quit IRC02:01
elynnmorning02:06
*** Marga_ has quit IRC02:09
*** vijayagurug has joined #heat02:10
ricolinmorning02:17
*** boris-42 has quit IRC02:20
*** hdd has quit IRC02:23
*** achanda has joined #heat02:23
jamespdI'm seeing a stack consistently get stuck in CREATE_IN_PROGRESS when referencing "{ get_attr: [ this_host_port, fixed_ips ] }" in user_data/str_replace/template/params of an OS::Nova::Server resource. (Juno)02:25
jamespdAm I introducing some cyclical dependency? by referencing the server's own port like this?02:26
jamespdheat engine logs just say 'creating Server "webserver" Stack "teststack" [523463ed-209b-4049-80d7-d9a4d106f7ca]'02:26
elynnuse heat resource-list teststack to see which resource this stack are stuck in.02:27
*** gberginc has quit IRC02:32
*** sabeen has joined #heat02:34
*** achanda has quit IRC02:38
jamespdelynn: I have a couple of servers and a floating ip association in INIT_COMPLETE.  http://paste.openstack.org/show/427677/02:38
jamespdresource-show keeps telling me stack or resource not found.02:40
elynnjamespd, seems your stack stuck in floating ip association02:40
jamespdI guess resource-show won't work until they are CREATE_COMPLETE?02:41
*** dims has quit IRC02:46
ramishrastevebaker: hi02:59
*** vijayagurug has quit IRC03:00
*** alex_xu has quit IRC03:00
ramishramorning all03:00
*** hdd has joined #heat03:17
openstackgerritQiming Teng proposed openstack/heat: Split engine service test cases (10)  https://review.openstack.org/21694003:17
*** alex_xu has joined #heat03:17
*** jdandrea has quit IRC03:23
openstackgerritSteve Baker proposed openstack/heat: Don't metadata_update all resources for deployment signals  https://review.openstack.org/21692003:24
*** tochi has quit IRC03:25
*** tochi has joined #heat03:29
*** achanda has joined #heat03:30
ramishrastevebaker: https://bugs.launchpad.net/heat/+bug/1488475 is probably not a duplicate, I still see the error on master.03:32
openstackLaunchpad bug 1486182 in heat "duplicate for #1488475 empty output validation bug" [High,Fix committed] - Assigned to Steve Baker (steve-stevebaker)03:32
*** alex_xu has quit IRC03:32
*** alex_xu has joined #heat03:33
stevebakerramishra: oh, ok03:33
stevebakerramishra: i've unduped03:33
*** achanda has quit IRC03:35
ramishrastevebaker: may be the way they are constructing the list in the template. But we may have to support the existing templates, I suppose;)03:35
openstackgerrithuangtianhua proposed openstack/heat: Set FAILED state if resource in *_IN_PROGRESS when updating  https://review.openstack.org/21548603:40
stevebakerramishra: ideally yes03:41
*** Marga_ has joined #heat03:41
*** links has joined #heat03:45
*** boris-42 has joined #heat03:46
*** Marga_ has quit IRC03:49
*** gberginc has joined #heat03:49
*** hdd has quit IRC03:55
*** hdd has joined #heat04:06
*** liusheng has joined #heat04:09
*** KanagarajM has joined #heat04:24
KanagarajMgood morning all !04:24
*** lpmulligan has quit IRC04:36
*** vijayagurug has joined #heat04:36
*** Marga_ has joined #heat04:45
openstackgerritAngus Salkeld proposed openstack/heat: Make the TestResource a bit smarter  https://review.openstack.org/21548904:46
*** Marga_ has quit IRC04:49
*** achanda has joined #heat05:01
*** sergmelikyan has joined #heat05:07
*** sergmelikyan has quit IRC05:09
openstackgerritOpenStack Proposal Bot proposed openstack/heat: Updated from global requirements  https://review.openstack.org/21656105:14
*** huangtianhua has quit IRC05:22
*** Yanyanhu has quit IRC05:26
*** Yanyanhu has joined #heat05:27
*** sabeen has quit IRC05:28
*** dims has joined #heat05:36
*** dims has quit IRC05:42
*** Marga_ has joined #heat05:46
*** hdd has quit IRC05:50
*** ameybhide has joined #heat05:50
*** Marga_ has quit IRC05:50
*** SamYaple has joined #heat06:02
sdakehey folks runnign heat in kolla get following results: http://paste.fedoraproject.org/259356/56852414/06:02
sdakeAttributeError: 'NoneType' object has no attribute 'isoformat'06:02
sdakeany bones to trhow my way ? :)06:02
sdakestevebaker asalkeld yo uaroudn at this hour? :)06:04
SamYaplethis only occurs when trying to do a delete (and the delete is not successful)06:05
asalkeldsdake: hi06:07
*** rakesh_hs has joined #heat06:07
asalkeldlooking06:07
sdakethanks asalkeld06:08
sdakeappreciate it alot :)06:08
sdakehave demoware in morning06:08
sdakeyou know how that goes :(06:08
*** gberginc has quit IRC06:08
*** jtomasek has joined #heat06:09
asalkeldsdake: a bit odd that, the stack object seems to have disapeared06:09
asalkeldit's at the end of a delete06:10
asalkeldbut still should exist06:10
sdakethis is using master06:10
sdakeit is possible we hae config wrong in some way06:10
*** ameybhide has quit IRC06:11
sdakeSamYaple can you paste the config file loaded in?06:11
SamYapleyea sure one moment06:11
SamYaplehttp://paste.fedoraproject.org/259359/14405695/06:12
SamYapleheat-engine conf ^^06:12
asalkeldnotification_driver = nova.openstack.common.notifier.rpc_notifier06:12
*** kebray has quit IRC06:12
asalkeldshould be06:13
asalkeldnotification_driver = messagingv206:13
sdakenice06:13
* sdake would kiss asalkeld if that fixes it :)06:13
SamYapleasalkeld: is that just for heat, or does that need to change for most services in liberty?06:13
asalkeldSamYaple: that's the new oslo.messaging setup for notifcations06:13
SamYaplecool06:14
asalkeldsee: https://github.com/openstack/heat/blob/master/heat_integrationtests/pre_test_hook.sh#L2906:14
SamYaplewe noop everywhere since we dont have ceilometer yet in kolla06:14
SamYaplewill test thanks asalkeld06:14
sdakerpc notifier is for more then just ceilomter afaik06:15
SamYaplesdake: im not so sure about that06:16
asalkeldsdake: SamYaple -> https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/notify/notifier.py#L30-L3406:16
asalkeld(just incase you don't believe me)06:17
SamYapleasalkeld: ill always believe you!06:17
asalkeld;)06:17
SamYapleit is not my who wrote this config06:17
* SamYaple eyes sdake06:17
sdakehehe :)06:17
sdakeso SamYaple  whats the verdict06:17
SamYapletesting06:18
SamYaplehey while i have people, what is 'heat_watch_server_url' for?06:18
SamYapleim a heat noob06:19
sdakethat is where watchpiont communication gets sent06:19
SamYaplewe arent setting that06:19
SamYapleshould we be?06:19
SamYapleit defaults to blank06:19
sdakeya our waitcidionts are busted06:19
sdakeit should be set yes06:19
SamYapleill set it?06:19
sdaketo where heat-api-cfn is running I think06:19
sdakeor maybe its heat-api now06:19
SamYaplei thought cfn was just the ec2 compatibility layer?06:20
asalkeldSamYaple: yeah to something that the vm can access heat-api-cfn06:20
sdakenah its cfn - dont ask me why we never put it in heat api :)06:20
asalkeldbefore software config06:20
sdakei think there are native waitcitions in heat now06:20
SamYaplealrighty06:20
sdakeas my keyboard fails to keyboard06:20
sdakethe vm being able to access heat-api-cfn is a painful requirement as well samyaple06:21
sdakei had to go through magic contortions to set my network up to get that to work in the compose days06:21
SamYaplewatch_server and waitcondition are two different options06:21
asalkeldthe new stuff should use https://github.com/openstack/heat/blob/master/heat/api/openstack/v1/resources.py#L14106:21
SamYapleim confused as to the difference06:21
asalkeld(signals)06:21
* SamYaple is in over his head06:22
SamYapleill just continue to test06:22
asalkeldwatch server is a very simplistic aws style Cloud Watch06:22
SamYaplei have 0 heat experince outside of setting this up for kolla06:22
sdakei dont care if wait conditions work ;)06:22
sdakesamyaple we dont have a container for the watch server iirc06:23
sdakesameyaple is create and  delete work i'm golden ;)06:25
sdakeis/if06:25
sdakesamyaple see private msgs plz06:25
sdakewhen you aren't swamped :)06:25
asalkeldso if you guys don't use the notifcations, you could just remove the notification_driver =..06:25
*** jpeeler has quit IRC06:26
sdakeasalkeld aren't notifications used besides ceilometer?06:26
SamYapleasalkeld: yea thats what i was saying, we noop it everywhere else06:26
asalkeldafaik only ceilometer06:26
SamYapleeither way, same stack trace06:26
sdakeok noop it06:26
SamYaplei tested it with and without06:26
asalkeldunless you have something special receiving the notifications06:26
sdakesamyaple with it totally removed still a backtrace?06:27
SamYaplesdake: correct06:27
SamYaplei doubt this is related to messaging06:27
sdakemaybe asalkeld could post his config06:27
sdakemaybe we need to set some timestamps or something06:28
sdakein the loggingconfig06:28
sdakesince it looks like a iso time function is missing06:28
asalkeldis seems stack.created_time is None06:28
asalkeldwhich is odd06:29
SamYapleasalkeld: maybe it was from a bad create06:29
SamYapleim dropping the database and rebootstraping06:29
sdakeoh you had old db?06:29
sdakeya that may do it06:29
*** Marga_ has joined #heat06:29
SamYapleive done a few iterations fo dropping database06:29
*** Marga_ has quit IRC06:29
sdakei cleanup-containers -fv every time i make a change ust to be sure ;)06:29
asalkeldaaa, I have never seen that bug before06:30
*** Marga_ has joined #heat06:30
sdakeasalkeld we aren't setting anything related to heat domains in heat-engine.conf either iiuc06:30
sdakei thought it was a heat domain issue06:30
SamYapleohh a new stack trace has been found (it was there before i just didnt catc hit)06:30
SamYaplehttp://paste.fedoraproject.org/259368/40570630/06:30
sdakeya you have to creat ean ssh key called mykey06:31
sdakethat demo script probably needs love06:31
asalkeldha steak_node06:31
SamYapleoh06:31
sdakehasn't been run since mykey was default in compose06:31
SamYaple well same isoformat stack trace on delete anyhow06:31
asalkeldSamYaple: can you raise a bug06:32
*** jprovazn has joined #heat06:32
sdakeasalkeld I dont think its a regressoin tis been like this for a month06:32
SamYapleagree with sdake there06:32
asalkeldsure, still should fix it tho'06:32
SamYapleI can raise a bug though06:32
asalkeldthanks06:32
sdakesamyaple try creating an ssh key with mykey and tyr a new stack ;)06:33
asalkeldthere is a regression06:33
SamYapleyea sdake thats why the stack wasn't creating, i did a fresh kick of opentack during this whole thing and forgot to create the key, either way, same issue06:34
sdakesamyaple got it06:34
sdakeasalkeld have you ideentified the offending commit - perhap we could revert it for the day until a fix is merged06:36
asalkeldgetting there, hang on - raise the bug in the mean time06:36
SamYapleasalkeld: https://bugs.launchpad.net/heat/+bug/148877906:36
openstackLaunchpad bug 1488779 in heat "stacktrace on heat stack-delete complaining about isotime()" [Undecided,New]06:36
sdakeasalkeld cool thanks for your help :)06:36
asalkeldnp06:37
asalkeldhttps://github.com/openstack/heat/commit/720c86549a05d044ecdf7d4ad3761db4dba1a88e06:38
asalkeld3 jun06:38
asalkeldtimeutils.isotime() checked for None, now we don't06:38
SamYapleasalkeld: yea06:39
SamYapleill try a patch06:39
SamYaplei wish sdake knew about heat06:39
* SamYaple runs and hides06:39
asalkeld:-)06:39
*** eprasad has joined #heat06:40
sdakehey thats my birthday ;-)06:40
*** achanda has quit IRC06:40
asalkeldthanks for report the issue guys06:40
asalkeldreporting06:40
SamYapleits funny because i told sdake this looks like a bug in heat and he said "its highly unlikely"06:41
SamYaplewhen will he trust me06:41
sdakei just have high degree of faith in the heat team :)06:41
sdakewhat do you want06:41
sdakesoftware is pretty mature at this point06:42
SamYaplethats well placed, i just didnt want to deal with the issue so i yelled "BUG"06:42
asalkeldtoo much reworking existing working code :-(06:42
sdakeasalkeld ya refacotirng not always a good thing :(06:42
SamYaplewe dont have that problem for Kolla at all!06:42
asalkeldjust wait...06:42
sdakeasalkeld but it keeps people busy ;-)06:42
SamYapleasalkeld: i was kidding, we keep reworking it06:42
sdakeasalkeld ya kolla is on about its 10-15th rewrite06:43
sdakefrom scratch ;)06:43
SamYapleasalkeld: would you like me to submit a heat patch?06:43
asalkeldSamYaple: sure, that would help06:44
SamYaplecaaaaaan do06:44
asalkeld(if you got time)06:44
* sdake submits a git revert patch06:44
sdakethose are the best ;)06:44
SamYaplesdake will just bug me about this until i do it06:44
sdakeone of you two ;)06:45
* sdake wtbs heat in t-8 hours06:45
asalkeldrevert is not so good in this case as timeutils.isotime is deprected06:46
openstackgerritKanagaraj Manickam proposed openstack/heat: Validate support_status while searching resource registry  https://review.openstack.org/21310706:46
SamYapleyea im pretty sure i can fix it without a revert ;)06:46
sdakesamyaple if you could make https://review.openstack.org/#/c/205528/19/docker/common/heat/heat-api/start.sh configurable while your at it that would be grand ;-)06:46
asalkeldjust need to check for none06:46
SamYaplesdake: already done06:46
sdakeoh its not in the queue06:46
sdakebut cool :)06:46
SamYaplesdake: yea ive got the heat.conf's merged again too06:48
asalkeldSamYaple: when you raised the bug can you mention it here?06:48
asalkeldmaybe i can add some info to it06:48
SamYapleI posted it already06:48
SamYaplelet me find it06:48
SamYaple06:37 < SamYaple> asalkeld: https://bugs.launchpad.net/heat/+bug/148877906:49
openstackLaunchpad bug 1488779 in heat "stacktrace on heat stack-delete complaining about isotime()" [Undecided,New] - Assigned to Sam Yaple (s8m)06:49
asalkelddoh06:49
*** e0ne has joined #heat06:52
*** jpeeler has joined #heat06:53
*** jpeeler has joined #heat06:53
*** inc0 has joined #heat06:56
*** cyli has quit IRC06:56
*** pbrooko has joined #heat07:00
*** asalkeld has quit IRC07:11
*** zaneb has quit IRC07:11
*** asalkeld has joined #heat07:11
*** dims has joined #heat07:24
*** zaneb has joined #heat07:25
*** dims has quit IRC07:29
*** ricolin_ has joined #heat07:44
*** ricolin has quit IRC07:45
*** e0ne has quit IRC07:45
*** tlashchova has joined #heat07:48
*** vijayagurug has quit IRC07:49
*** vijayagurug has joined #heat07:50
*** andrearo1 is now known as andrearosa07:50
*** shardy has joined #heat07:52
*** skraynev_ has joined #heat07:52
*** pas-ha has joined #heat07:55
*** Marga_ has quit IRC07:59
*** Marga_ has joined #heat08:04
*** Marga_ has quit IRC08:06
*** Marga_ has joined #heat08:07
SamYapleasalkeld: you still around?08:08
SamYaplei fixed the first stack trace almost immediately, but ive been banging my head against http://paste.fedoraproject.org/259404/40576508/08:08
SamYapleso i probably didnt fix it correctly ;)08:09
*** derekh has joined #heat08:09
*** pas-ha has quit IRC08:15
*** sorantis has joined #heat08:15
*** gberginc has joined #heat08:16
*** pas-ha has joined #heat08:18
*** Yanyanhu has quit IRC08:25
*** Yanyanhu has joined #heat08:25
sdakesamyaple asalkeld is in au he may be gone now08:26
SamYapleyea08:29
SamYapleim running down the code now08:29
therveSamYaple, What's the database that you use?08:36
SamYapletherve: mysql/mariadb08:37
therveOK08:37
*** zeih has joined #heat08:38
*** jistr has joined #heat08:39
*** huangtianhua has joined #heat08:45
openstackgerritRabi Mishra proposed openstack/heat: Provide signal_url for DELETE action when using other transports  https://review.openstack.org/21665108:49
*** junhongl has quit IRC08:52
*** junhongl has joined #heat08:52
SamYaplesdake: heat is unlikely to happen tonight. i cant figure out this latest stacktrace08:53
*** vijayagurug has quit IRC08:54
openstackgerritSteven Hardy proposed openstack/heat: Merge Server os-collect-config metadata  https://review.openstack.org/21704008:54
ramishratherve: hi08:55
therveramishra, Hi08:55
ramishratherve: a quick question on signaling with zaqar. now that it supports presigned urls, can we not change zaqar signaling to use that?08:56
therveramishra, We could yeah.08:57
therveMaybe next cycle08:57
ramishraok..not good enough this cycle?08:59
therveThere is no client support. v2 client needs to happen, and then signed url support needs to happen.09:00
ramishraoh yeah.. you're right.  thanks09:01
*** inc0 has quit IRC09:01
therveIt's also super hard to land anything in osc apparently: https://review.openstack.org/#/c/185882/ (3 months woo)09:02
*** junhongl has quit IRC09:02
SamYapletherve: regarding http://paste.fedoraproject.org/259404/40576508/ when i select from the database they all have timestamps, any guidance?09:02
therveI don't know if I should throw a birthday party tomorrow09:03
shardytherve: I thought that was why we (and other projects AIUI) are moving towards providing an oscplugin in their python-*client09:03
therveSamYaple, Nope. It feels there is something weird in your environment though.09:04
therveshardy, "we". As in without telling me? :)09:04
therveNo idea about that plan09:04
SamYapletherve: most probably this is the initial setup of heat with Kolla ;)09:04
SamYapleany ideas?09:04
SamYapleasalkeld seems to be gone now09:04
*** inc0 has joined #heat09:05
sdakeshardy if you could throw us a debug bone here i'd super apprecaite it09:05
sdakesamyaple can you post the config - shardy is super pro with heat09:05
sdakeso is therve :)09:05
SamYapleconfig: http://paste.fedoraproject.org/259436/40579973/09:06
shardytherve: stevebaker's got a patch up https://review.openstack.org/#/c/195867/09:06
SamYapleinitial stacktrace that ive fixed locally, but ive probably fixed wrong: https://bugs.launchpad.net/heat/+bug/148877909:06
openstackLaunchpad bug 1488779 in heat "stacktrace on heat stack-delete complaining about isotime()" [High,Triaged] - Assigned to Sam Yaple (s8m)09:06
shardyI thought I saw a wiki somewhere saying other folks were doing the same09:07
therveOH09:07
* shardy will try to find the link shortly09:07
therveshardy, I'm taling about os-collect-config09:07
shardytherve: isn't your patch os-collect-config?09:07
*** junhongl has joined #heat09:07
therveI guess I used the wrong acronym09:07
shardytherve: occ vs osc :)09:07
therveRight sorry :) I'm aware of that other plan indeed09:07
shardytherve: I'll review it now, sometimes stuff gets missed09:07
shardytherve: sorry it's been hanging around so long :(09:08
*** e0ne has joined #heat09:08
therveshardy, No worries. I was a bit light on the harassing.09:08
therveSamYaple, What's the template you're trying?09:10
openstackgerritMerged openstack/heat: Ensure traversal ID is updated  https://review.openstack.org/21668309:11
sdakeshardy can you look at that backtrace and config that samyaple posted09:11
sdakesamyaple can you post your git diff too09:11
sdakeof heat09:11
sdakeit is entirely possible our config is wrong09:11
openstackgerritPavlo Shchelokovskyy proposed openstack/heat: Fix some files permissions  https://review.openstack.org/21512509:12
SamYapletherve: https://github.com/stackforge/kolla/blob/master/demos/heat/steak-rg.yaml09:12
SamYaplethats teh template09:12
*** h00327910__ has joined #heat09:13
shardytherve: lgtm, I'd have approved it except the CI run is 2 months old, just rechecked09:14
sdakesamyaple there is another template as well09:14
*** pbrooko has quit IRC09:16
shardySamYaple: does just reverting the timeutils patch work for you?09:16
SamYapleshardy: reverting the patch will throw that stack trace http://paste.fedoraproject.org/259404/40576508/09:17
SamYapleshardy: fixing it correct without a revert also throw that stackttrace09:17
SamYaplemy question is why am i the only one seeing this anywhere?09:17
SamYaplemaybe i coud fix what im doing to workaround hte issue for now09:17
* shardy pulls latest master and tests09:17
*** e0ne has quit IRC09:18
*** pbrooko has joined #heat09:18
therveSamYaple, I suspect that timeutils patch is not the issue09:20
openstackgerritKanagaraj Manickam proposed openstack/heat: Search based on the resource type name  https://review.openstack.org/21310809:21
SamYapletherve: youre probably right because the code looks sound. created_time = resource.created_time or timeutils.utcnow()09:21
thervecreated_at should always be present09:21
SamYaplecreated_time = stack.created_time or timeutils.utcnow()09:22
SamYapletherve: it is present, but set to none09:22
therveThat's not the one that's failing for you initially though I believe09:22
SamYaplethe isotime() function check if None, and if it was none set it to utcnow()09:22
SamYapleno itially its the stacktrace in the bug https://bugs.launchpad.net/heat/+bug/148877909:22
openstackLaunchpad bug 1488779 in heat "stacktrace on heat stack-delete complaining about isotime()" [High,Triaged] - Assigned to Sam Yaple (s8m)09:22
therveI thought you checked the db and said the values are present09:22
SamYapletherve: correct09:23
therveSo there ought to be something else going on09:23
SamYapleagreed, but im no heat guy09:23
SamYaplei defer to your judgements09:23
*** e0ne has joined #heat09:23
therveSamYaple, What's your version of oslo.versionedobjects?09:23
SamYaplewill check09:24
SamYaple0.8.009:25
*** pfreund_ has joined #heat09:25
therveLooks like the latest09:26
therveAt that point I don't see any other way than pdb09:27
SamYapletherve: yea im all pdb'd up in it09:27
SamYaplenot familiar with the heat code at all09:27
SamYapleso its slow going09:27
SamYaplethe attibute exists, its just set to None :(09:28
*** pfreund has quit IRC09:28
*** pfreund_ is now known as pfreund09:28
therveSamYaple, Is stack.id set?09:29
openstackgerrithuangtianhua proposed openstack/heat: Format id instead name when making credentials from context  https://review.openstack.org/21705009:30
SamYapleverfied id is set correctly, yes therve09:34
SamYapleshardy: im assuming master worked for you just fine?09:34
openstackgerritSam Yaple proposed openstack/heat: WIP: created_time is not correctly checked if None  https://review.openstack.org/21705809:40
SamYapletherve: shardy: for what its worth that was the small change i made to get past the initial stacktrace i pasted in the bug report09:40
therveSamYaple, Did you try reverting the whole patch?09:41
SamYapleyea09:41
SamYaplereverting the patch gets me the versioned objects stacktrace09:42
SamYaplethis also gets me that09:42
openstackgerritSam Yaple proposed openstack/heat: WIP: created_time is not correctly checked if None  https://review.openstack.org/21705809:42
SamYapleactually here would be the correct code i suppose, since we would only want to set time to now if created_time was None09:42
therveThat's nowhere near correct, but whatever :)09:43
SamYaple:) i know my codebase, does that make you feel better?09:43
openstackgerritKanagaraj Manickam proposed openstack/heat: Search resource type based on version  https://review.openstack.org/21498309:43
SamYapletonight has been my first experince with heat in whole, so im not the best guy to be doing this. sdake just asked me to look into it09:44
shardySamYaple: Yes, my basic tests work fine09:47
shardythe question isn't the test for created_time, but why is it None on delete?09:47
shardyI suspect it's a regression elsewhere which wasn't previously visible09:48
SamYapleasking the entirely wrong guy here09:48
* shardy was just generally thinking aloud :)09:48
therveSamYaple, And you don't have any other traceback?09:48
SamYapletherve: just teh two i have pasted09:48
SamYapleI suspect if i fix the first one correct, the second one would go away09:48
*** dims has joined #heat09:48
therveshardy, It looks a bit like the secondary error tripleo got when sd attributes were broken09:49
therveshardy, Where stack.id was None09:49
therveSamYaple, Do you still have a hand on a pdb somewhere in the stack context?09:50
SamYapleno09:51
SamYapleim rebilding the containers now09:51
*** zengyingzhe has quit IRC10:03
*** zeih has quit IRC10:03
SamYapleok so according to the database all of the created_at fields are set correctly10:14
SamYaplebut on delete i get the stacktrace fro mthe bug10:14
*** Kennan2 has joined #heat10:16
*** Kennan has quit IRC10:16
*** sorantis has quit IRC10:17
*** Yanyanhu has quit IRC10:20
shardySamYaple: random question, you didn't update heat and forget to run heat-manage db_sync did you?10:21
shardywhat does heat-manage db_version say?10:21
*** ricolin_ has quit IRC10:21
shardyI'm assuming not if it's running in a container, but there's a recent change messing with the datetime dialect10:22
SamYapleno thats not possible, its all automated deploy stuff with Kolla10:22
SamYapleroot@server02:/# heat-manage db_version10:22
SamYaple2015-08-26 10:22:21.220 41 WARNING oslo_config.cfg [-] Option "verbose" from group "DEFAULT" is deprecated for removal.  Its value may be silently ignored in the future.10:22
SamYaple6510:22
shardySamYaple: Ok, cool10:23
SamYapleim kaing some headway i think10:23
SamYaplemaking*10:23
shardySamYaple: I'm not that familiar with kolla atm, how hard would it be to spin up a deployment identical to yours so we can attempt a reproduce?10:23
shardyI've failed to reproduce any issues on devstack10:23
SamYapleshardy: that depends on how familiar with docker and ansible you are (we do not have prebuilt images on master, those will only be on the stable branches)10:24
SamYapleI mean i could walk you through it without much trouble, but i think that might be more time than you want to invest at the moment, like 2-3 hours10:25
shardySamYaple: Ah, yeah I was hoping more like "run this script and grab some coffee" ;)10:26
SamYapleyea ive been asking for a heat template but that guy on our team that knows heat hasn't done it yet ;)10:26
*** Qiming has quit IRC10:26
shardySamYaple: I've been helping out a little bit with the kolla->TripleO integration rhallisey and Slow are doing, that should be a great way to spin up a multi-node containerized deployment when it lands :)10:27
SamYapleit shouldnt be too hard to do since it could automate the image building and deploying into virtualmachines10:28
SamYaplebut sdake is the heat guy, not i10:28
SamYapleim the ansible guy (apparently)10:29
SamYaplei should really learn this heat thing, its been around long enough ;)10:29
sdakesamyaple still blocked?10:32
SamYapleindeed10:32
SamYaplebut im learning heat as i go. its starting to make sense10:32
SamYaplethe code base that is10:32
openstackgerritOleksii Chuprykov proposed openstack/heat: Raise exception if asg in cooldown  https://review.openstack.org/21508010:41
*** huangtianhua has quit IRC10:43
*** pal has joined #heat10:44
sdakesamyaple this needs to merge if you have a moment https://review.openstack.org/#/c/215065/10:46
*** sorantis has joined #heat10:46
SamYaplek10:46
*** zeih has joined #heat11:06
openstackgerritSteven Hardy proposed openstack/heat: Merge Server os-collect-config metadata  https://review.openstack.org/21704011:07
SamYapletherve: im back in the debugger11:07
SamYaple(Pdb) print(stack.created_at)11:08
SamYapleNone11:08
SamYapleanything you want me to check?11:08
SamYapleshardy: you too11:08
SamYaple?11:08
therveSamYaple, Yeah11:08
therveIf you can do a up11:08
SamYapleok11:08
therveAnd then stack_object.Stack.get_by_id(self.context, self.id)11:09
SamYaplestack_object is not defined11:09
*** pbrooko has quit IRC11:10
SamYaplei probably wasnt broke where you though I was broken at11:10
SamYapleup one more gets me to where i think you want me11:10
thervestack.py yeah11:10
SamYapleyup11:10
SamYapleok what do you want from there?11:11
therveSo if you can paste the object returned11:11
therveMaybe its dict or something11:11
SamYapleim in rpdb due to container working, so its not returning the full values it seems11:13
SamYaplehttp://paste.fedoraproject.org/259490/05876071/11:13
therveIf you do print(stack_object.Stack.get_by_id(self.context, self.id).__dict__) it may be better11:17
therveChecking the corresponding database object would be good11:17
SamYapletoday i learned11:18
SamYaplehttp://paste.fedoraproject.org/259491/58790014/11:18
SamYapletherve: anymore suggeestion?11:21
*** pas-ha has quit IRC11:21
therveSamYaple, Yeah check the db object ?11:21
SamYapleah sorry i see you said that, many irc windows :)11:22
therveLike Select * from stack where id='5cb8ade6-6091-4194-943c-5b44f7cf9b5e' if I'm not mistaken11:22
*** pal has quit IRC11:27
SamYapletherve: http://paste.fedoraproject.org/259496/05884461/11:27
therveSpooky11:28
SamYapleindeed11:28
SamYaplei double check that result11:28
therveEverything is the same except created_at AFAICT11:31
SamYapletotally looks like that11:31
SamYaplemaybe someone placed an and instead of an or somewhere11:31
SamYaplebut that owuldn't explain why im the only one seeing this (or Kolla rather)11:32
*** elynn has quit IRC11:34
*** pbrooko has joined #heat11:34
therveSamYaple, Can we try yet another thing?11:35
SamYapleof course11:35
therveprint(stack_object.db_api.stack_get(self.context, self.id).__dict__)11:36
SamYaplehttp://paste.fedoraproject.org/259499/89049144/11:37
*** liusheng has quit IRC11:38
*** shardy_ has joined #heat11:38
*** shardy has quit IRC11:39
therveUrg11:40
therveSamYaple, stack_object.db_api.stack_get(self.context, self.id).refresh()11:40
therveAnd then do the print again?11:40
SamYaple 'created_at': None,11:41
therveOK, I'm at loss11:41
SamYaple=D11:41
SamYaplefantastic!11:41
SamYaplelet me dig some more11:42
SamYapleill be around11:42
SamYaplethanks for all your help so far11:42
therveNp, sorry for the bug11:43
*** shardy_ has quit IRC11:43
*** shardy has joined #heat11:44
openstackgerritPeter Razumovsky proposed openstack/heat: Add get_attr which returns all attributes  https://review.openstack.org/19944211:46
openstackgerritPeter Razumovsky proposed openstack/heat: Add information about new get_attr functionality  https://review.openstack.org/19944311:46
therveSamYaple, OK I have one last idea. Create the stack, shutdown heat, restart, and then delete the stack11:48
*** dims_ has joined #heat11:48
*** steveg_afk has joined #heat11:49
SamYaplehaha god one therve11:49
*** hdd has joined #heat11:49
SamYapleno its still broken11:49
SamYaplealso tried that long before pdb11:49
therveSo for some reason it doesn't manage to get the value from the db11:49
SamYapleyea im digging into that right now11:50
SamYaplegetting pdb into the database fetch atm11:50
*** dims has quit IRC11:52
*** h00327910__ has quit IRC11:53
*** Qiming has joined #heat11:53
*** dkusidlo has joined #heat11:55
*** KanagarajM has quit IRC12:00
*** MVenesio has joined #heat12:02
*** Qlawy has quit IRC12:09
*** zeih has quit IRC12:09
*** lpmulligan has joined #heat12:12
*** zeih has joined #heat12:13
*** hdd has quit IRC12:17
*** lpmulligan has quit IRC12:18
*** hdd has joined #heat12:19
*** hdd has quit IRC12:23
*** pbrooko has quit IRC12:28
*** sergmelikyan has joined #heat12:28
*** pbrooko has joined #heat12:32
*** pbrooko has quit IRC12:33
*** shardy_ has joined #heat12:34
*** shardy has quit IRC12:35
*** pal has joined #heat12:36
*** zeih has quit IRC12:36
*** pbrooko has joined #heat12:37
*** lkarm has joined #heat12:37
*** shardy_ has quit IRC12:39
*** shardy has joined #heat12:40
*** shardy has quit IRC12:44
*** shardy has joined #heat12:45
*** tochi has quit IRC12:50
*** pal has quit IRC12:58
*** pal has joined #heat13:01
*** pm90__ has joined #heat13:09
*** blomquisg has joined #heat13:10
*** pm90_ has quit IRC13:12
*** gberginc has quit IRC13:13
*** links has quit IRC13:15
*** rpothier has joined #heat13:16
*** jaime49 has joined #heat13:16
*** junhongl has quit IRC13:26
*** jasond has joined #heat13:27
*** inc0 has quit IRC13:28
*** jonesbr has joined #heat13:29
*** pbrooko has quit IRC13:33
*** Piet has quit IRC13:34
*** jprovazn has quit IRC13:34
*** neelashah has joined #heat13:34
openstackgerritZane Bitter proposed openstack/heat: Refactor InstanceGroup batch size check  https://review.openstack.org/21354913:35
openstackgerritZane Bitter proposed openstack/heat: Refactor InstanceGroup batch sizing logic  https://review.openstack.org/21354813:35
openstackgerritZane Bitter proposed openstack/heat: Invert logic of counting in InstanceGroup _get_batches()  https://review.openstack.org/21355113:35
openstackgerritZane Bitter proposed openstack/heat: Split out calculation of the next batch into a separate function  https://review.openstack.org/21713313:35
openstackgerritZane Bitter proposed openstack/heat: Respect rolling update params on the initial batch  https://review.openstack.org/21713413:35
*** jdandrea has joined #heat13:44
SamYapletherve: wierd13:45
SamYaplei maunally set updated at, same issue13:45
SamYaplei set deleted at and _that_ comes through13:45
*** jaime49 has quit IRC13:52
*** dyasny has joined #heat13:52
*** inc0 has joined #heat13:54
openstackgerritOpenStack Proposal Bot proposed openstack/heat: Updated from global requirements  https://review.openstack.org/21656113:55
*** blomquisg has quit IRC13:55
*** dkusidlo has quit IRC13:56
*** eprasad has quit IRC13:57
*** zeih has joined #heat13:59
openstackgerritPratik Mallya proposed openstack/heat: Make encryption script more robust in presence of malformed data  https://review.openstack.org/21653614:00
*** zeih has quit IRC14:01
*** Kennan2 has quit IRC14:01
*** Kennan has joined #heat14:02
pm90__hey folks, I was hoping to understand if the way I've used logger in this patch is idiomatic: https://review.openstack.org/#/c/216536/4/heat/cmd/manage.py14:04
pm90__basically, I'm trying to capture all the logs created by the script in a log file14:04
pm90__I was wondering if using logging.getLogger('heat') is the right idiom to get hold of the root logger, so all other modules' log may be recorded. Is this way the right way to use logger?14:05
*** links has joined #heat14:06
openstackgerritSteven Hardy proposed openstack/heat: SoftwareDeploymentGroup - make path based attributes work  https://review.openstack.org/21719114:08
openstackgerritSteven Hardy proposed openstack/heat: SoftwareDeploymentGroup allow arbitrary keys for attributes  https://review.openstack.org/21719214:08
*** eprasad has joined #heat14:09
openstackgerritOpenStack Proposal Bot proposed openstack/python-heatclient: Updated from global requirements  https://review.openstack.org/21720114:10
*** blomquisg has joined #heat14:10
*** sergmelikyan has quit IRC14:12
*** sergmelikyan has joined #heat14:16
*** vijendar has joined #heat14:18
*** thumpba has joined #heat14:19
*** thumpba has quit IRC14:20
*** thumpba has joined #heat14:20
*** inc0 has quit IRC14:21
*** hdd has joined #heat14:21
*** lifeless1 has joined #heat14:23
*** thedodd has joined #heat14:23
*** lifeless has quit IRC14:24
*** jprovazn has joined #heat14:26
*** jaime49 has joined #heat14:28
*** Piet has joined #heat14:29
*** jaime49 has quit IRC14:30
*** jcoufal has joined #heat14:30
*** jaime49 has joined #heat14:30
*** Raj1 has joined #heat14:31
*** eprasad has quit IRC14:34
openstackgerritPeter Razumovsky proposed openstack/heat: Add floating_ip property to Nova::Server nics  https://review.openstack.org/21724014:37
openstackgerritPeter Razumovsky proposed openstack/heat: Add subnet property to Nova::Server nic  https://review.openstack.org/21724114:37
*** Raj1 has quit IRC14:39
*** Raj1 has joined #heat14:39
*** jaime49 has quit IRC14:40
*** jaime49 has joined #heat14:41
openstackgerritPratik Mallya proposed openstack/heat: Make encryption script more robust in presence of malformed data  https://review.openstack.org/21653614:46
*** eprasad has joined #heat14:47
*** Qiming has quit IRC14:54
*** eprasad has quit IRC14:56
*** Drago has joined #heat14:58
*** sdake has quit IRC14:58
*** Drago has quit IRC14:58
*** links has quit IRC14:59
*** Drago has joined #heat14:59
*** daneyon has joined #heat15:01
*** Marga_ has quit IRC15:02
*** crose has joined #heat15:05
*** rakesh_hs has quit IRC15:06
*** blomquisg has quit IRC15:07
*** boris-42 has quit IRC15:10
*** jistr is now known as jistr|mtg15:12
openstackgerritJoe D'Andrea proposed openstack/heat: Adds resource uuid, volume support to lifecycle scheduler hints  https://review.openstack.org/20382315:15
*** bnemec has joined #heat15:17
*** sabeen has joined #heat15:19
*** Marga_ has joined #heat15:19
*** blomquisg has joined #heat15:20
*** jaime49 has quit IRC15:22
*** jistr|mtg is now known as jistr15:22
*** Marga_ has quit IRC15:25
*** Marga_ has joined #heat15:25
*** jaime49 has joined #heat15:26
*** MVenesio has quit IRC15:31
*** Marga_ has quit IRC15:33
*** jaime49 has quit IRC15:33
*** Marga_ has joined #heat15:34
*** jaime49 has joined #heat15:34
*** pal has quit IRC15:36
*** Raj1 has quit IRC15:38
*** ochuprykov has joined #heat15:40
*** Marga_ has quit IRC15:42
SamYapletherve: you still around15:42
*** Raj1 has joined #heat15:42
therveYeah15:43
-openstackstatus- NOTICE: restarting gerrit due to a slow memory leak15:43
SamYapletherve: https://github.com/openstack/heat/blob/master/heat/db/api.py#L133-L13515:44
SamYapleI have confirmed what is returned from that _is_ created_at = None15:44
SamYaplethat goes straight to sqlalchemy15:44
SamYaples/goes/comes15:44
*** ochuprykov has quit IRC15:47
therveOkay, That's super weird.15:48
*** blues-man has joined #heat15:48
*** blues-man has joined #heat15:48
SamYapletotally15:48
SamYaple| created_at            | datetime(6)  | YES  |     | NULL    |       |15:49
SamYaple| updated_at            | datetime(6)  | YES  |     | NULL    |       |15:49
SamYaple| deleted_at            | datetime     | YES  |     | NULL    |       |15:49
SamYaplethe Type is the only difference here15:49
SamYaplecould it be that is why its not returnign correctly...15:49
SamYaplebut why15:49
SamYaplecreated and updated do not return values15:50
SamYapledeleted_at does15:50
*** sorantis has quit IRC15:50
shardyhttps://github.com/openstack/heat/blob/master/heat/db/sqlalchemy/migrate_repo/versions/065_update_at_fsp.py15:51
shardySamYaple: I think that migration I mentioned earlier is the reason15:51
shardyit messes with the types of updated_at and created_at but not deleted_at15:52
SamYapleshardy: clearly this is the issue15:52
SamYapleim running mariadb10.2?15:52
SamYapleoops, 10.0.2115:53
SamYapleso that would evalutate to newer that 5 6 415:53
SamYaplelet me check that this is the issue15:53
*** Marga_ has joined #heat15:54
SamYaplegrrrr15:54
SamYaplemy eyes are bleeding15:54
SamYapleso much pdb stepping15:54
*** sabeen2 has joined #heat15:55
*** sabeen has quit IRC15:58
*** dims_ has quit IRC16:00
SamYapleugh thank god16:00
SamYapleshardy: therve thats it16:00
shardySamYaple: Ok, maybe we just revert that migration then?16:01
SamYaplemariadb 10.0.21 is newer than that server_version and gets it16:01
SamYapleshardy: yea16:01
SamYapleor we could filter > 1016:01
SamYaple?16:01
*** dims has joined #heat16:01
*** Nepoc has joined #heat16:01
SamYapleshardy: if we filter > 10 this would work and we could keep the migration intact16:01
SamYaplemy guess is you didn't see this because you arent running mariadb10 :)16:02
*** Marga_ has quit IRC16:02
SamYapleshardy: i need to sleep, do you think a patch to revert the migrate entirely, or filter unsupported mariabd versions?16:04
shardySamYaple: If we can filter in a way which works for both mysql and mariadb then +1 otherwise lets revert and work it out later16:05
SamYapleim almost positive i can filter it, testing now16:05
openstackgerritSergey Kraynev proposed openstack/heat: Refactor _get_network_matches method  https://review.openstack.org/20943716:06
openstackgerritSergey Kraynev proposed openstack/heat: Use _get_network_id in other methods of mixin class  https://review.openstack.org/21728416:06
SamYaplethe migrate wil lneed an update once mariadb10 pulls in that feature16:09
shardywe can't detect the minor version?16:10
SamYapleit isn't in any minor version yet16:10
SamYaplei cant _predict_ the minor version16:10
shardyhaha, yeah I see ;)16:10
SamYapleim just filtering all > 1016:10
*** jistr has quit IRC16:12
SamYaplehere goes nothing16:13
*** erkules has quit IRC16:13
*** erkules has joined #heat16:13
SamYaplea-ok16:15
SamYaplepatch incoming16:15
shardy\o/16:15
shardygood work tracking it down :)16:16
SamYaplemy eyes really are bleeding16:16
SamYaplei need ot go to sleep16:16
*** inc0_ has joined #heat16:17
*** inc0_ has quit IRC16:17
openstackgerritSam Yaple proposed openstack/heat: MariaDB10 breaks with migrate version 065  https://review.openstack.org/21705816:18
SamYapletherve: https://review.openstack.org/217058 if you could remove your -2 i would appreciate it16:19
*** sdake has joined #heat16:20
*** Piet has quit IRC16:20
SamYaplefor the record, everyone should be able to reproduce this at this very moment by using mariadb1016:21
shardySamYaple: I'm running 10.0.20-1 on F21 and for some reason I don't see it16:23
SamYaple:(16:23
SamYapledoes it apply dialects?16:23
SamYaplethe migration i mean16:23
openstackgerritKairat Kushaev proposed openstack/heat: Resolve attributes for Software Deployment Group  https://review.openstack.org/21030616:25
openstackgerritKairat Kushaev proposed openstack/heat: Resolve dynamic attributes for RG, ASG, template resource  https://review.openstack.org/20954416:25
openstackgerritKairat Kushaev proposed openstack/heat: Replace FnGetAttr from Stack resource with _resolve_attribute  https://review.openstack.org/20609816:25
SamYaplejeez im so tired16:30
SamYaplenot dialects16:30
*** endorphin has joined #heat16:31
SamYapleshardy: further looking shows that is clearly support his feature shardy16:31
SamYapleim seeting 6 places past the second16:31
SamYaplewhich is what that migration allows16:32
SamYaplei can set them as well16:32
SamYaplelet me try version 10.0.2016:32
*** skraynev_ has quit IRC16:32
*** derekh has quit IRC16:46
*** kencjohnston has joined #heat16:50
*** lkarm has quit IRC16:52
*** achanda has joined #heat16:52
*** lkarm has joined #heat16:53
*** Raj1 has quit IRC16:54
*** lkarm has quit IRC16:55
*** lkarm has joined #heat16:55
*** thedodd has quit IRC16:56
SamYapleshardy: well ive hit a wall17:07
*** boris-42 has joined #heat17:07
*** pm90_ has joined #heat17:09
*** pm90_ has quit IRC17:10
*** pm90__ has quit IRC17:11
*** blues-man has quit IRC17:12
*** e0ne has quit IRC17:15
openstackgerritMerged openstack/heat: Add tests for show_resource function  https://review.openstack.org/20109417:15
*** Piet has joined #heat17:26
*** daneyon has quit IRC17:27
*** kebray has joined #heat17:34
*** kebray has quit IRC17:35
*** kebray has joined #heat17:35
*** achanda_ has joined #heat17:39
*** achanda has quit IRC17:39
*** dims_ has joined #heat17:41
*** lkarm has quit IRC17:41
*** lkarm has joined #heat17:41
*** dims has quit IRC17:42
*** kebray has quit IRC17:42
*** cyli has joined #heat17:43
*** lkarm_ has joined #heat17:43
*** lkarm has quit IRC17:46
*** achanda_ has quit IRC17:48
*** achanda has joined #heat17:51
*** pm90_ has joined #heat17:55
*** Nepoc has quit IRC17:58
*** thedodd has joined #heat17:58
*** jasond has quit IRC18:01
*** Nepoc has joined #heat18:07
*** Raj1 has joined #heat18:09
SamYapleshardy: well its not working for 10.0.20 or any other versions ive tested18:15
SamYapleleaving me with only dependancies to think about18:15
*** Raj1 has quit IRC18:15
*** achanda has quit IRC18:16
*** openstackgerrit has quit IRC18:17
*** openstackgerrit has joined #heat18:17
*** neelashah has quit IRC18:18
*** ameybhide has joined #heat18:22
*** zhenguo has quit IRC18:23
*** neelashah has joined #heat18:24
*** e0ne has joined #heat18:25
*** lifeless1 is now known as lifeless18:39
*** vahidh has joined #heat18:47
*** jasond has joined #heat18:48
*** e0ne has quit IRC18:50
*** kencjohnston has quit IRC18:51
*** dims_ has quit IRC18:53
*** Raj1 has joined #heat18:54
*** dims has joined #heat18:54
*** jaime49 has quit IRC19:01
*** kencjohnston has joined #heat19:02
*** gberginc has joined #heat19:03
*** jaime49 has joined #heat19:06
openstackgerritBryan Jones proposed openstack/heat: Consolidate keystone v3 hacks  https://review.openstack.org/21735419:06
pm90_hello, is a template such as https://gist.github.com/pratikmallya/d1ce45257afe96b6ddb0 in valid HOT syntax?19:07
openstackgerritBryan Jones proposed openstack/heat: Consolidate keystone v3 hacks  https://review.openstack.org/21735419:07
pm90_I'm wondering if the default value of the flavor parameter can be 4353 or has to be specified as "4353"19:08
*** dsneddon is now known as dsneddon_bbiab19:12
*** tlashchova_ has joined #heat19:13
*** e0ne has joined #heat19:13
*** kebray has joined #heat19:13
*** rpothier has quit IRC19:16
*** Nepoc has quit IRC19:16
*** achanda has joined #heat19:16
*** kebray has quit IRC19:22
*** jprovazn has quit IRC19:23
*** achanda has quit IRC19:25
*** dsneddon_bbiab is now known as dsneddon19:29
*** daneyon has joined #heat19:29
*** tlashchova_ has quit IRC19:29
*** Raj1 has quit IRC19:33
*** daneyon has quit IRC19:33
*** Marga_ has joined #heat19:38
*** kraynevs has joined #heat19:42
*** Raj1 has joined #heat19:45
*** daneyon has joined #heat19:48
*** kraynevs is now known as skraynev_19:53
*** Raj1 has quit IRC19:54
*** Raj1 has joined #heat19:54
*** daneyon has quit IRC19:54
*** thumpba has quit IRC19:55
*** daneyon has joined #heat19:55
Dragopm90_: should be https://github.com/openstack/heat/blob/master/heat/engine/properties.py#L258-L25919:57
*** pas-ha has joined #heat19:59
stevebakermeeting time20:00
*** DandyPandy has joined #heat20:02
*** achanda has joined #heat20:02
*** jecarey has joined #heat20:05
*** kebray has joined #heat20:07
*** kencjohnston has quit IRC20:08
*** achanda has quit IRC20:08
*** daneyon has quit IRC20:09
*** dyasny has quit IRC20:16
*** Raj1 has quit IRC20:19
*** vahidh has quit IRC20:21
*** Marga_ has quit IRC20:21
*** daneyon has joined #heat20:24
openstackgerritPratik Mallya proposed openstack/heat: Don't encrypt default parameters  https://review.openstack.org/21737720:26
*** achanda has joined #heat20:26
*** Raj1 has joined #heat20:28
*** e0ne has quit IRC20:28
*** thumpba has joined #heat20:29
openstackgerritJason Dunsmore proposed openstack/heat: Add a preview endpoint for stack updates  https://review.openstack.org/12247320:31
openstackgerritPratik Mallya proposed openstack/heat: Don't encrypt default parameters  https://review.openstack.org/21737720:33
*** endorphin has quit IRC20:35
*** kebray has quit IRC20:36
openstackgerritDrago proposed openstack/heat: Add crypt algorithm to digest  https://review.openstack.org/21738420:38
*** kebray has joined #heat20:42
*** jaime49 has quit IRC20:42
openstackgerritPratik Mallya proposed openstack/heat: Don't encrypt default parameters  https://review.openstack.org/21737720:47
*** fesp has joined #heat20:52
*** vahidh has joined #heat20:53
*** vijendar has quit IRC20:53
*** vijendar has joined #heat20:53
*** ameybhide has quit IRC20:55
openstackgerritPratik Mallya proposed openstack/heat: Don't encrypt default parameters  https://review.openstack.org/21737720:58
*** kebray has quit IRC20:59
*** pas-ha has quit IRC21:00
stevebakershardy, zaneb: could you review this? I believe it fixes the tripleo deployment race https://review.openstack.org/#/c/216920/21:00
shardystevebaker: sure, will do21:00
zaneboh that's pure evil21:00
stevebakerzaneb: the fix or the bug?21:01
zanebthe bug21:01
*** ochuprykov has joined #heat21:01
stevebakeryeah, its been my nemesis21:01
zanebmaybe both. I'll let you know in a minute ;)21:01
*** openstackgerrit has quit IRC21:01
shardystevebaker: hey, if you get a moment, can you check out https://bugs.launchpad.net/heat/+bug/148902821:01
openstackLaunchpad bug 1489028 in heat "str_replace and list_join only accept strings" [Undecided,New] - Assigned to Steven Hardy (shardy)21:01
shardystevebaker: I can probably take on the implementation but wanted to discuss the approach21:02
*** hdd has quit IRC21:02
*** openstackgerrit has joined #heat21:02
shardyparticularly wrt SoftwareDeployment and input_values types21:02
shardyI've been having a hard time getting map/json parameters and attributes into nodes in a format that is easily consumable21:02
*** skraynev_ has quit IRC21:03
shardyall our current interfaces either refuse those formats or mangle them into __repr__ of dict21:03
shardywhich is nearly useless if you want to consume the data via jq etc21:03
stevebakershardy: I suppose an implicit conversion to json would be preferable to the current behaviour21:04
shardytl;dr we need a way to pass stuff as json (e.g actually json vs parameters called json which really arent)21:04
shardystevebaker: I was thinking with str_replace, it currently won't accept map/list params at all, so that would be an easy backwards compatible way to enable conversion21:05
shardye.g just document that list/map types are json encoded into the template21:06
*** achanda has quit IRC21:07
*** jecarey has quit IRC21:08
*** jcoufal has quit IRC21:10
*** ochuprykov has quit IRC21:11
*** crose has quit IRC21:11
*** MasterPiece has joined #heat21:13
*** daneyon_ has joined #heat21:16
*** jcoufal has joined #heat21:18
*** daneyon has quit IRC21:19
openstackgerritJay_Clark proposed openstack/heat: enabling the stevedore.sphinxext extension.  https://review.openstack.org/21740121:19
*** Piet has quit IRC21:19
*** jasondotstar has joined #heat21:20
*** lkarm_ has quit IRC21:22
*** thedodd has quit IRC21:23
stevebakershardy: that sounds like a good start anyway21:27
*** MasterPiece has quit IRC21:30
openstackgerritMerged openstack/heat-specs: Add nested-validation spec  https://review.openstack.org/19719921:31
*** alex_xu has quit IRC21:33
*** Raj1 has quit IRC21:34
*** alex_xu has joined #heat21:35
*** jamielennox has quit IRC21:36
*** Raj1 has joined #heat21:37
*** jonesbr has left #heat21:37
*** jamielennox has joined #heat21:38
*** thumpba has quit IRC21:40
*** thumpba has joined #heat21:40
*** Raj1 has quit IRC21:43
*** fesp has quit IRC21:45
*** neelashah has quit IRC21:46
*** shardy has quit IRC21:46
*** Raj1 has joined #heat21:47
*** thumpba has quit IRC21:47
*** hdd has joined #heat21:47
*** thumpba has joined #heat21:49
*** thumpba has quit IRC21:51
*** pm90__ has joined #heat21:51
*** pm90__ has quit IRC21:51
*** pm90__ has joined #heat21:52
*** pm90__ has quit IRC21:52
*** jasond has quit IRC21:53
openstackgerritDrago proposed openstack/heat: Add crypt algorithm to digest  https://review.openstack.org/21738421:55
*** pm90_ has quit IRC21:55
*** dims_ has joined #heat21:56
openstackgerritSteve Baker proposed openstack/heat: Use the official mission statement in index.rst  https://review.openstack.org/21648621:59
openstackgerritSteve Baker proposed openstack/heat: Use code-block:: yaml for all template snippets  https://review.openstack.org/21645521:59
openstackgerritSteve Baker proposed openstack/heat: Use latest stable template version in snippets  https://review.openstack.org/19816921:59
openstackgerritSteve Baker proposed openstack/heat: Use sections for individual properties and attributes  https://review.openstack.org/21645621:59
openstackgerritSteve Baker proposed openstack/heat: flake8 check doc/source  https://review.openstack.org/21645821:59
*** dims has quit IRC21:59
*** blomquisg has quit IRC22:00
*** achanda has joined #heat22:06
openstackgerritDrago proposed openstack/heat: Add crypt algorithm to digest  https://review.openstack.org/21738422:11
openstackgerritMerged openstack/heat: Fix some files permissions  https://review.openstack.org/21512522:12
*** sdake_ has joined #heat22:15
*** sdake has quit IRC22:18
*** vijendar has quit IRC22:22
*** dims_ has quit IRC22:24
*** dims has joined #heat22:24
*** Raj1 has quit IRC22:26
*** hdd has quit IRC22:27
*** achanda_ has joined #heat22:28
*** achanda has quit IRC22:29
*** hdd has joined #heat22:30
*** jcoufal has quit IRC22:31
*** Piet has joined #heat22:32
*** dims has quit IRC22:34
*** pm90_ has joined #heat22:39
*** pm90__ has joined #heat22:40
*** pm90_ has quit IRC22:41
*** sdake_ is now known as sdake22:41
openstackgerritPratik Mallya proposed openstack/heat: Don't encrypt default parameters  https://review.openstack.org/21737722:43
*** hdd has quit IRC22:44
*** pm90_ has joined #heat22:44
asalkeldmorning22:46
*** pm90__ has quit IRC22:47
*** sabeen2 has quit IRC22:50
*** Raj1 has joined #heat23:02
*** tyson has joined #heat23:03
*** tyson has quit IRC23:04
*** sergmelikyan has quit IRC23:09
pm90_hey stevebaker, if the default value has been specified in the template, it will be available in the raw_template form anyways23:11
pm90_which kinda defeats the purpose of encrypting23:11
pm90_ref: https://review.openstack.org/#/c/217377/423:12
stevebakerpm90_: I realise that. I just worry about conditional paths in what to encrypt will lead to incorrectly decrypting in some cases.23:12
stevebakerpm90_: what is the harm of encrypting a default value?23:13
pm90_stevebaker: there's no harm, except that it gives a sense of security when there is none23:13
stevebakerI'm fine with that23:14
jamespdAre there weird dependency issues in Juno Heat?  I can get my stack to not hang in CREATE_IN_PROGRESS state if I change "get_attr: [ HOST_port, fixed_ips ]" to "get_attr: [HOST, networks, NETWORK-NAME, 0]"23:16
stevebakerjamespd: either should work, but the latter is valid anyway.23:18
jamespdcool, ta.23:18
pm90_stevebaker: in fact, the patch actually reduces the code paths to encryption/decryption: we are only encrypting the user specified parameters and nothing else23:18
*** achanda has joined #heat23:18
stevebakerjamespd: so if you want to dig into the port case could you raise a bug?23:18
*** achanda_ has quit IRC23:18
*** arif-ali has quit IRC23:19
stevebakerpm90_: how about the case where the value goes to/from the default value on a stack-update?23:19
*** arif-ali has joined #heat23:19
stevebakerpm90_: actually, looking at the decrypt code that wouldn't be an issue23:21
pm90_stevebaker: won't it be more straightforward in that case? In fact, the way it stands now, we are storing default parameters as environment parameters, which seems illogical23:22
stevebakerpm90_: ok, I've withdrawn my -123:25
pm90_stevebaker: thanks! I've been facing an issue where the encryption script fails because the default value is an integer, even when the parameter type is string. Still investigating why it behaves that way23:26
openstackgerritZane Bitter proposed openstack/heat: Calculate ResourceGroup batch sizes using scaling library  https://review.openstack.org/21355223:31
openstackgerritZane Bitter proposed openstack/heat: Split out calculation of the next batch into a separate function  https://review.openstack.org/21713323:31
openstackgerritZane Bitter proposed openstack/heat: Respect rolling update params on the initial batch  https://review.openstack.org/21713423:31
openstackgerritZane Bitter proposed openstack/heat: Refactor InstanceGroup batch size check  https://review.openstack.org/21354923:31
openstackgerritZane Bitter proposed openstack/heat: Refactor InstanceGroup batch sizing logic  https://review.openstack.org/21354823:31
openstackgerritZane Bitter proposed openstack/heat: Invert logic of counting in InstanceGroup _get_batches()  https://review.openstack.org/21355123:31
openstackgerritZane Bitter proposed openstack/heat: Refactor ResourceGroup batched updates and add tests  https://review.openstack.org/21743023:31
openstackgerritZane Bitter proposed openstack/heat: Return the correct size for the ResourceGroup from _get_batches()  https://review.openstack.org/21743123:31
openstackgerritZane Bitter proposed openstack/heat: Don't do unnecessary updates in ResourceGroup rolling updates  https://review.openstack.org/21743223:31
openstackgerritZane Bitter proposed openstack/heat: Don't repeatedly overwrite definitions in RG rolling update  https://review.openstack.org/21743323:31
asalkeldstevebaker: if you had to give an indicator of server create/update/delete times what would be a reasonable guess?23:35
asalkeld(i am faking it in TestResource)23:36
asalkeldand running rally23:36
stevebakerasalkeld: between 1ms and 1year23:36
asalkeldI currently have create: 15, update: 5, delete: 823:36
asalkeld(seconds)23:36
asalkeldhah stevebaker , be useful ...23:36
stevebakerthat sounds reasonable23:36
asalkeldok23:36
stevebakercreate could sometimes be longer if the glance image has to be transferred to the compute, then shorter23:37
asalkeldand volume/attachement23:38
asalkeld1-3 secs23:38
*** Raj1 has quit IRC23:38
*** achanda has quit IRC23:38
*** tochi has joined #heat23:39
stevebakerasalkeld: does TestResource have a random variance option?23:39
*** Qiming has joined #heat23:39
stevebakerthat would be good for triggering races23:39
asalkeldhttps://review.openstack.org/#/c/215489/23:39
asalkeldsmarter ^23:39
asalkeldalso now actually can ping the server23:40
asalkeldservices23:40
stevebakercool23:40
asalkeldi am using a resource group with this in it: http://paste.openstack.org/show/428903/23:42
* asalkeld just happy to not have to worry about no-such-host23:42
jamespdstevebaker: I am happy to use the latter method to get the IP.  Would you rather have the bug report against juno, or I can wait and re-test it against Kilo in six-ish weeks after we upgrade.23:43
stevebakerjamespd: yes, wait for kilo I think23:43
jamespdrad; will do.23:43
openstackgerritZane Bitter proposed openstack/heat: Clarify name of scaling resource_templates() function  https://review.openstack.org/21355323:58
openstackgerritZane Bitter proposed openstack/heat: Allow a custom new ID function for member_definitions()  https://review.openstack.org/21355423:58
openstackgerritZane Bitter proposed openstack/heat: Allow member_definitions() to customise each member that it defines  https://review.openstack.org/21355523:58

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