Tuesday, 2014-03-18

*** tomek_adamczewsk has quit IRC00:11
*** arbylee has quit IRC00:12
*** IlyaE has joined #heat00:14
*** andersonvom has quit IRC00:15
*** scollier has quit IRC00:19
*** gokrokve has quit IRC00:20
*** kgriffs is now known as kgriffs_afk00:23
*** john-n-seattle1 has left #heat00:26
*** matsuhashi has joined #heat00:27
*** duncanjw has quit IRC00:29
sdakebrint apparently the rugrats want bukkit - so I installed that00:35
sdakeI guess maybe I'll make a fedora template for one00:35
sdakewatching my kids admin a minecraft server is fascinating00:36
*** duncanjw has joined #heat00:36
*** IlyaE has quit IRC00:37
*** stannie has left #heat00:44
*** gokrokve has joined #heat00:47
*** pablosan has quit IRC00:48
*** jdag has quit IRC00:54
*** tteggel has quit IRC00:54
*** alexpilotti has quit IRC00:55
*** tteggel has joined #heat00:56
*** jdag___ has joined #heat00:56
*** arbylee has joined #heat00:57
*** mkollaro has quit IRC00:58
*** blamar has joined #heat01:00
*** andersonvom has joined #heat01:05
openstackgerritLee Li proposed a change to openstack/python-heatclient: Remove dependent module py3kcompat  https://review.openstack.org/7355801:10
*** jdag___ has quit IRC01:12
*** tteggel has quit IRC01:13
*** jdag___ has joined #heat01:15
*** zns has joined #heat01:15
*** tteggel has joined #heat01:16
openstackgerritA change was merged to openstack/heat: KeyError generated when using a provider template  https://review.openstack.org/7851401:19
*** Linz_ has joined #heat01:25
*** lindsayk has quit IRC01:28
*** zns has quit IRC01:28
*** Linz has quit IRC01:28
*** nosnos has joined #heat01:31
*** jergerber has joined #heat01:37
*** nosnos has quit IRC01:38
*** nosnos has joined #heat01:38
*** scollier has joined #heat01:40
*** che-arne has quit IRC01:42
*** david-lyle has joined #heat01:42
*** achampio1 has joined #heat01:45
*** samstav has joined #heat01:46
*** achampion has quit IRC01:46
*** achampion has joined #heat01:50
*** achampio1 has quit IRC01:50
*** alexheneveld has quit IRC01:53
*** alexheneveld has joined #heat01:55
openstackgerritJun Jie Nan proposed a change to openstack/python-heatclient: get_file: encode non utf-8 encoding files via base64  https://review.openstack.org/7644301:55
*** nanjj has joined #heat01:55
*** IlyaE has joined #heat01:58
stevebakerSpamapS: latest binary get_file, what thinkith ye? https://review.openstack.org/#/c/76443/702:07
*** killer_prince has quit IRC02:10
*** blamar has quit IRC02:13
*** IlyaE has quit IRC02:13
*** ChenXiao has joined #heat02:15
*** harlowja is now known as harlowja_away02:21
openstackgerritLee Li proposed a change to openstack/python-heatclient: Remove dependent module py3kcompat  https://review.openstack.org/7355802:28
openstackgerritA change was merged to openstack/heat: Reimplement L3Agent as router's property  https://review.openstack.org/6930302:32
*** che-arne has joined #heat02:35
*** erkules_ has joined #heat02:37
*** duncanjw has quit IRC02:38
*** erkules has quit IRC02:40
*** liang has joined #heat02:45
*** samstav has quit IRC02:49
*** samstav has joined #heat02:51
*** varora- has left #heat02:53
*** samstav has quit IRC02:59
*** harlowja_away is now known as harlowja03:06
SpamapSstevebaker: I really dislike the !!binary thing, as it is just some weird convention that cloud-init came up with. Also we have very reliable methods of detecting "might be binary" versus "definitely isn't" .. so I'm not sure why there is such hesitance to use those methods. But I think I should probably just step away from the whole thing. :-P03:08
stevebakerSpamapS: !!binary is gone03:08
SpamapSstevebaker: but trusting that something that decodes as utf-8 is intended to be UTF-8 is a fail.03:09
SpamapSstevebaker: IMO get_file needs an optional content-type override parameter, and we should be using the server's content-type if it is set.. otherwise application/octet-stream03:11
stevebakerSpamapS: can you point nanjj at how he should be detecting binary? Or should we implement a variant of get_file which lets you explicitly specify the content type?03:11
stevebakersnap03:11
SpamapSstevebaker: I suggested using magic (HORRIBLE library name) to detect it if we are going to do detection. It is actually almost as unreliable as content.decode('utf-8') but at least it is an external library that is maintained and has a chance.03:12
SpamapSstevebaker: but really.. trust server content-type if set.. override param for times when it isn't reliable, and default to binary.. that should produce the best overall user experience and no surprises.03:14
stevebakerSpamapS: server content type? this is on the client03:14
*** matsuhashi has quit IRC03:14
stevebakerSpamapS: and it has to be transferred via json, so we need to know whether to base64 it03:15
SpamapSstevebaker: urlutils.urlopen() is fetching if it isn't file:///03:15
stevebakerSpamapS: ah, it will be file:// in many cases03:15
SpamapSstevebaker: this wouldn't even have probably been detected if urlopen() used a sane default.. but it defaults to text/plain .. which is.. _ridiculous_03:17
SpamapSas text/plain implies a very limited set of data.03:17
stevebakerSpamapS: and however we get the content-type, we probably need to get that url->content-type mapping all the way to heat engine, which would need API changes03:18
*** killer_prince has joined #heat03:19
SpamapSstevebaker: nah, this is just whether or not to base64 right?03:19
stevebakerSpamapS: yeah, might need the content-type later03:20
SpamapSyou know.. thinking about it.. hm03:20
* SpamapS putting it more in context now03:20
*** matsuhashi has joined #heat03:20
SpamapSWhy not try to json.encode it and if that fails, base64?03:20
stevebakerSpamapS: for example, the chef hook will need to know whether its a tar.gz or a zip. It doesn't even have the filename at that point03:20
*** jergerber has quit IRC03:21
SpamapSwell wait.. isn't that sort of on the template author / hook author ?03:21
stevebakeryeah03:21
SpamapSok so I may have been dead wrong here..03:25
SpamapSjust playing with json.dumps ..03:25
SpamapSI think nanjj may have just done a poor job of communicating here... if this is really just "whether or not to base64" .. and we don't actually need to transmit the content-type ...03:26
SpamapSthen the current approach _is_ valid>03:26
*** sdake_ has joined #heat03:26
SpamapSstevebaker: ok so this is interesting..03:28
SpamapS>>> json.dumps(base64.encodestring(b"\0\x99"))03:28
SpamapS'"AJk=\\n"'03:28
SpamapS>>> json.loads(json.dumps(base64.encodestring(b"\0\x99")))03:28
SpamapSu'AJk=\n'03:28
SpamapSb"\0\x99" is entirely _invalid_ utf-803:28
stevebakerhmm03:30
SpamapSmy point being, u'AJk=\n' probably isn't what you want...03:30
*** matsuhashi has quit IRC03:30
stevebakeryes03:30
SpamapSoh wait it is :)03:31
sdake_ugh had to reinstall laptop03:31
SpamapS>>> base64.decodestring(json.loads(json.dumps(base64.encodestring(b"\0\x99"))))03:31
SpamapS'\x00\x99'03:31
SpamapSstevebaker: forgot to decode the base64 duh :)03:31
SpamapSstevebaker: so I think this means that the hook script has to somehow magically know that it is base64 data that needs to be decoded?03:32
*** matsuhashi has joined #heat03:33
stevebakerlets solve that later, there will be ways03:33
SpamapSstevebaker: o-k, time to apologize to nanjj ;)03:34
*** duncanjw has joined #heat03:35
stevebakerheh03:35
*** jasond has joined #heat03:36
*** daneyon has quit IRC03:37
*** daneyon has joined #heat03:38
*** daneyon has quit IRC03:38
SpamapSstevebaker: Ok. I do think that we have now deferred the pain of detection to the server-side hooks, but I agree that is a separate issue and this is still better than just failing client side.03:38
stevebakeryes, sounds like progress03:39
*** Linz_ has quit IRC03:40
*** Linz has joined #heat03:41
*** matsuhashi has quit IRC03:42
nanjj:-)03:44
SpamapSstevebaker: I'd really like to see an immediate follow-up patch that adds a flag to let the other side know we had to base64 encode automatically.03:44
SpamapSstevebaker: since there will be corner cases where people want to send files that might actually cleanly base64 decode, but that they want to leave untouched03:45
nanjjI think no need to handle in hook03:45
*** duncanjw has quit IRC03:46
stevebakerSpamapS: that could be done as a software config resource input03:46
nanjjcloud init has a encoding tage which end users can specify03:46
stevebakernanjj: cloud-init is for boot only. Most uses will be specifying a zip archive containing config scripts for config/deployment resources03:47
SpamapSWell frankly, cloud-init does it right with multi-part mime instead of json.03:47
*** blamar has joined #heat03:47
SpamapSMakes sure all blocks have an explicit content-type03:48
stevebakertrue that03:48
nanjjyes, it's true03:54
*** sgordon has quit IRC03:57
stevebakerSpamapS: something for the v2 api ;)03:58
*** nosnos has quit IRC03:58
SpamapSOr just use that now in the current API.. because mime-multipart is _entirely_ reliably detectable.03:59
*** Akshik has joined #heat04:04
*** ramishra has joined #heat04:07
*** ramishra_ has joined #heat04:08
*** ramishra has quit IRC04:12
*** akuznetsov has joined #heat04:16
*** asalkeld has quit IRC04:17
*** andersonvom has quit IRC04:18
*** fandi has joined #heat04:21
*** killer_prince has quit IRC04:23
*** chandan_kumar has joined #heat04:31
*** asalkeld has joined #heat04:31
*** cmyster has joined #heat04:32
*** cmyster has joined #heat04:32
cmysterMorning04:39
*** nanjj has quit IRC04:40
openstackgerritA change was merged to openstack/heat: Removing unnecessary required=True options  https://review.openstack.org/7959204:46
*** Akshik has quit IRC04:50
openstackgerritA change was merged to openstack/heat: Fix InternalException raised on stack-show  https://review.openstack.org/7642904:50
openstackgerritA change was merged to openstack/heat: Default properties to the empty dict in ResourceGroup  https://review.openstack.org/7995904:50
*** Akshik has joined #heat04:55
*** matsuhashi has joined #heat04:55
*** nosnos has joined #heat04:59
*** yogesh has joined #heat05:05
*** achampion has quit IRC05:07
*** nanjj has joined #heat05:20
*** IlyaE has joined #heat05:22
*** nkhare has joined #heat05:25
*** gokrokve has quit IRC05:26
*** Akshik has quit IRC05:29
openstackgerritSteve Baker proposed a change to openstack/python-heatclient: Workaround failing pypy gate job  https://review.openstack.org/8117505:34
stevebakerCould ^ get some urgent reviewing attention if the pypy check passes? All of the python-heatclient reviews are failing currently05:37
*** Akshik has joined #heat05:37
*** arbylee has quit IRC05:37
cmysterevening stevebaker, got a few minutes for me ?05:38
*** akuznetsov has quit IRC05:39
*** asalkeld has quit IRC05:39
stevebakercmyster: a few, I may have drunk too much Yellow Snow to be useful though05:39
cmysterto each his own...05:40
stevebaker:)05:40
*** harlowja is now known as harlowja_away05:40
*** ramishra_ has quit IRC05:46
openstackgerritA change was merged to openstack/heat: Include environment resource in documentation  https://review.openstack.org/7937405:46
*** duncanjw has joined #heat05:47
*** duncanjw has quit IRC05:51
*** asalkeld has joined #heat05:52
*** Michalik- has quit IRC05:53
*** ramishra has joined #heat05:53
*** gokrokve has joined #heat05:57
*** gokrokve_ has joined #heat06:03
*** gokrokve has quit IRC06:06
*** akuznetsov has joined #heat06:06
*** gokrokve_ has quit IRC06:08
*** akuznetsov has quit IRC06:13
openstackgerritJenkins proposed a change to openstack/heat: Imported Translations from Transifex  https://review.openstack.org/7256606:13
lifelessstevebaker: how do you make yellow snow :P06:14
cmysterdon't go there dude06:16
*** yogesh has quit IRC06:25
*** gokrokve has joined #heat06:29
*** Akshik_ has joined #heat06:29
*** matsuhashi has quit IRC06:30
*** cfriesen_ has quit IRC06:31
*** Akshik has quit IRC06:33
*** gokrokve has quit IRC06:33
*** arbylee has joined #heat06:37
*** liang has quit IRC06:38
*** Michalik has joined #heat06:40
*** saju_m has joined #heat06:44
*** saju_m has quit IRC06:45
*** saju_m has joined #heat06:46
*** arbylee has quit IRC06:47
*** matsuhashi has joined #heat06:49
openstackgerritJun Jie Nan proposed a change to openstack/python-heatclient: get_file: encode non utf-8 encoding files via base64  https://review.openstack.org/7644306:50
openstackgerritJun Jie Nan proposed a change to openstack/python-heatclient: get_file: do not read same url once again  https://review.openstack.org/8088206:50
openstackgerritJun Jie Nan proposed a change to openstack/python-heatclient: Workaround failing pypy gate job  https://review.openstack.org/8117506:50
*** skraynev_afk is now known as skraynev06:51
skraynevMorning06:53
skraynevstevebaker, are you still here?06:53
*** ChenXiao has quit IRC06:53
cmystermornin skraynev06:58
skraynevhi, cmyster06:58
*** tspatzier has joined #heat06:59
*** ChenXiao has joined #heat07:14
*** Akshik_ has quit IRC07:18
*** ChenXiao has quit IRC07:29
*** gokrokve has joined #heat07:29
*** ChenXiao has joined #heat07:29
*** lazy_prince has joined #heat07:33
*** gokrokve has quit IRC07:34
openstackgerritA change was merged to openstack/heat: Set statuscode=404 in NotFoundException in tests  https://review.openstack.org/7756507:37
*** pas-ha has joined #heat07:44
*** duncanjw has joined #heat07:47
*** jprovazn has joined #heat07:48
*** duncanjw has quit IRC07:52
*** e0ne has joined #heat07:53
*** ramishra has quit IRC08:00
openstackgerritSergey Kraynev proposed a change to openstack/heat: Insertion port id in address attribute of server  https://review.openstack.org/7996908:01
*** ppetit has quit IRC08:04
*** ppetit has joined #heat08:06
*** alexheneveld has quit IRC08:09
*** lindsayk has joined #heat08:10
*** nati_ueno has joined #heat08:11
*** lindsayk has quit IRC08:13
*** ramishra has joined #heat08:13
*** lindsayk has joined #heat08:15
*** e0ne_ has joined #heat08:16
*** lindsayk has quit IRC08:17
*** jrist has joined #heat08:19
*** e0ne has quit IRC08:19
*** jprovazn has quit IRC08:21
*** akuznetsov has joined #heat08:22
*** ramishra has quit IRC08:23
*** jistr has joined #heat08:26
*** jistr is now known as jistr|mtg08:27
openstackgerritSergey Kraynev proposed a change to openstack/heat: Using resolving properties for update  https://review.openstack.org/8056908:28
*** alexheneveld has joined #heat08:30
*** gokrokve has joined #heat08:30
*** ramishra has joined #heat08:31
*** gokrokve has quit IRC08:35
*** TonyBurn has joined #heat08:35
*** alexheneveld has quit IRC08:37
*** arbylee has joined #heat08:42
*** mkerrin1 has quit IRC08:43
openstackgerritJenkins proposed a change to openstack/heat: Updated from global requirements  https://review.openstack.org/7668908:45
*** ramishra has quit IRC08:47
*** arbylee has quit IRC08:47
*** stannie has joined #heat08:47
*** derekh has joined #heat08:47
*** mkerrin has joined #heat08:49
*** saju_m has quit IRC08:50
openstackgerritJenkins proposed a change to openstack/python-heatclient: Updated from global requirements  https://review.openstack.org/7669808:51
openstackgerritSergey Kraynev proposed a change to openstack/heat: Make OS::Nova::Server networks property updatable  https://review.openstack.org/7429908:52
*** saju_m has joined #heat08:56
*** Akshik has joined #heat08:56
*** ramishra has joined #heat09:03
*** Akshik has quit IRC09:04
*** Akshik has joined #heat09:11
*** Akshik has quit IRC09:12
*** Akshik has joined #heat09:12
openstackgerritSergey Kraynev proposed a change to openstack/heat: Using resolving properties for update  https://review.openstack.org/8056909:13
*** nati_ueno has quit IRC09:13
*** Akshik_ has joined #heat09:14
*** Akshik has quit IRC09:18
*** alexheneveld has joined #heat09:24
*** renlt has joined #heat09:29
*** gokrokve has joined #heat09:31
*** DaveJ__ has joined #heat09:31
*** renlt has quit IRC09:35
*** gokrokve has quit IRC09:35
*** tomek_adamczewsk has joined #heat09:36
*** Akshik_ is now known as Akshik09:37
*** akuznetsov has quit IRC09:39
*** tspatzier has quit IRC09:41
*** Michalik has quit IRC09:43
*** akuznetsov has joined #heat09:43
*** bada has joined #heat09:44
*** Michalik has joined #heat09:46
*** ChenXiao has quit IRC09:47
*** akuznetsov has quit IRC09:47
*** jamieh has joined #heat09:48
*** jamieh is now known as Guest8345609:48
*** duncanjw has joined #heat09:48
*** erkules_ has quit IRC09:51
*** duncanjw has quit IRC09:52
*** lindsayk has joined #heat09:54
*** tspatzier has joined #heat09:57
*** nosnos_ has joined #heat10:02
*** akuznetsov has joined #heat10:05
*** nosnos has quit IRC10:05
*** tomek_adamczewsk has quit IRC10:06
*** nanjj has quit IRC10:09
*** lindsayk1 has joined #heat10:20
*** nati_ueno has joined #heat10:20
openstackgerritThomas Herve proposed a change to openstack/heat: Propagate files in nested stacks  https://review.openstack.org/7989910:21
*** lindsayk has quit IRC10:23
*** matsuhashi has quit IRC10:25
*** duncanjw has joined #heat10:28
*** tspatzier has quit IRC10:29
*** bvandenh has joined #heat10:31
*** gokrokve has joined #heat10:32
*** nati_ueno has quit IRC10:33
*** gokrokve has quit IRC10:36
*** arbylee has joined #heat10:43
*** mkollaro has joined #heat10:44
*** arbylee has quit IRC10:47
*** tomek_adamczewsk has joined #heat10:51
*** mkollaro has quit IRC10:57
*** nkhare has quit IRC10:58
*** lipinski has joined #heat11:00
*** nkhare has joined #heat11:00
lipinskiGot a question about Heat/HOT templates - How can I "parameterize" the networks for a server?11:00
*** jistr|mtg has quit IRC11:05
lipinskior, maybe a different question - is there a function (intrinsic) that returns a list such that I can pass teh result of that to the networks property of a Nova::Server resource?11:07
*** jrist has quit IRC11:10
*** sgordon has joined #heat11:10
*** rwsu has quit IRC11:13
*** rwsu has joined #heat11:14
*** tspatzier has joined #heat11:17
pas-haget_attr?11:17
pas-haif you need to get an attribute of a resource created by heat11:17
pas-haif the resource has said attribute defined11:18
*** jprovazn has joined #heat11:20
openstackgerritSergey Kraynev proposed a change to openstack/heat: Insertion port id in address attribute of server  https://review.openstack.org/7996911:20
*** jrist has joined #heat11:24
*** e0ne_ has quit IRC11:26
lipinskiis there a way to build a list dynamically?  Essentially what I'm trying to do is have a way where a template parameter can drive the population of the networks property11:28
lipinskie.g., user passes in a JSON of say 3 networks - that defines that VM_A will have 3 networks listed under networks:11:28
*** nosnos_ has quit IRC11:30
*** nosnos has joined #heat11:31
*** gokrokve has joined #heat11:32
*** rpothier_ has joined #heat11:33
*** rpothier has quit IRC11:34
*** fandi has quit IRC11:35
*** gokrokve has quit IRC11:37
*** tomek_adamczewsk has quit IRC11:39
*** david-lyle has quit IRC11:46
*** tspatzier has quit IRC11:46
openstackgerritA change was merged to openstack/heat: Fix start_with_acquired_lock - pass kwargs to func  https://review.openstack.org/7625111:51
pas-halipinski: get_file?11:51
*** e0ne has joined #heat11:51
*** rpothier_ has quit IRC11:52
*** arbylee has joined #heat11:54
*** radez_g0n3 is now known as radez11:56
*** tomek_adamczewsk has joined #heat11:58
*** ramishra has quit IRC12:01
*** lindsayk1 has quit IRC12:01
*** ramishra has joined #heat12:03
*** jcru has joined #heat12:06
*** Linz has quit IRC12:06
*** Linz has joined #heat12:07
*** jcru has quit IRC12:07
*** jcru has joined #heat12:07
*** arbylee has quit IRC12:08
*** arbylee has joined #heat12:08
*** sgordon has quit IRC12:08
*** bada has quit IRC12:10
*** jprovazn has quit IRC12:11
*** bada has joined #heat12:11
*** jcru has quit IRC12:12
*** e0ne has quit IRC12:13
*** aweiteka has joined #heat12:14
*** mkollaro has joined #heat12:17
*** tspatzier has joined #heat12:18
*** achampion has joined #heat12:20
*** faramir1 has joined #heat12:23
*** rpothier has joined #heat12:30
*** dims has quit IRC12:31
*** lindsayk has joined #heat12:32
*** gokrokve has joined #heat12:33
*** dims has joined #heat12:34
*** Akshik has quit IRC12:35
*** bada_ has joined #heat12:35
*** nkhare has quit IRC12:38
*** gokrokve has quit IRC12:38
*** bada has quit IRC12:39
*** arbylee has quit IRC12:40
*** lindsayk has quit IRC12:40
*** e0ne has joined #heat12:43
*** e0ne has quit IRC12:48
*** lazy_prince is now known as killer_prince12:51
*** achampion has quit IRC12:53
*** mwheckmann has joined #heat12:53
*** arbylee has joined #heat12:55
*** Linz has quit IRC12:55
*** cmyster has quit IRC12:57
*** Linz has joined #heat12:57
*** mkollaro has quit IRC13:01
*** mkollaro1 has joined #heat13:01
*** faramir1 has quit IRC13:11
*** alexheneveld has quit IRC13:11
*** e0ne has joined #heat13:13
*** e0ne has quit IRC13:13
*** e0ne has joined #heat13:13
*** ramishra has quit IRC13:14
*** sgordon has joined #heat13:17
*** ppetit has quit IRC13:23
*** ChenXiao has joined #heat13:27
*** arbylee has quit IRC13:32
*** jprovazn has joined #heat13:32
*** gokrokve has joined #heat13:34
*** ChenXiao has quit IRC13:35
*** ChenXiao has joined #heat13:35
*** gokrokve has quit IRC13:38
*** kgriffs_afk is now known as kgriffs13:39
*** achampion has joined #heat13:39
*** ChenXiao has quit IRC13:40
*** ChenXiao has joined #heat13:40
*** ChenXiao has left #heat13:41
*** sbadia has quit IRC13:42
*** blomquisg has joined #heat13:43
*** e0ne has quit IRC13:44
*** e0ne has joined #heat13:45
*** tspatzier has quit IRC13:48
*** jprovazn has quit IRC13:49
*** sbadia has joined #heat13:49
*** arbylee has joined #heat13:51
*** sabeen has joined #heat13:51
*** arbylee has quit IRC13:52
*** arbylee has joined #heat13:52
*** gokrokve has joined #heat13:52
*** samstav has joined #heat13:52
*** varora- has joined #heat13:54
*** vijendar has joined #heat13:54
*** vijendar has quit IRC13:55
*** vijendar has joined #heat13:55
sdakemorning13:56
*** sbadia has quit IRC13:56
*** nosnos has quit IRC13:56
*** mkollaro has joined #heat13:56
*** sbadia has joined #heat13:59
*** mkollaro1 has quit IRC13:59
*** jrist has quit IRC14:01
*** tomek_adamczewsk has quit IRC14:02
*** pafuent has joined #heat14:05
*** andersonvom has joined #heat14:06
lipinskido heat environment files support intrinsic functions, e.g., str_replace?14:07
sdakelipinski my initial guess would be yes14:07
lipinskiok - never seen any examples like that - they all seem like simple key:value type of things...14:07
lipinskiwas hoping to use a str_replace template to use a parameter as a path for resource_resigtry14:08
sdakei am not certain however14:08
lipinskiwould that be in the heatclient code?14:08
sdaketry it out and see what happens :)14:08
sdakeheatclient jsut sends the environment to heat api which sends to heat engine, the intrinsic execution occurs inside heat engine14:09
lipinskiok.14:09
*** che-arne has quit IRC14:09
*** varora- has left #heat14:09
lipinskiI can't because of my Openstack system is currently "under the weather" thanks to Mysql filling up a filesystem.  Waiting for it to be repaired.14:09
*** jrist has joined #heat14:15
*** swygue has joined #heat14:18
*** tspatzier has joined #heat14:19
*** alexheneveld has joined #heat14:21
sdakeya running the db out of disk will result in bad things happening14:21
*** wchrisj has joined #heat14:21
*** alexpilotti has joined #heat14:22
sdakeintrinsics may not work in environments, I am just not sure14:22
sdakeshardy would know,  but he is  traveling14:22
openstackgerritAnderson Mesquita proposed a change to openstack/python-heatclient: Add stack-preview support  https://review.openstack.org/7449814:25
*** jcru has joined #heat14:25
*** jergerber has joined #heat14:27
*** cfriesen_ has joined #heat14:31
*** sabeen has quit IRC14:31
*** sabeen has joined #heat14:31
*** alexheneveld has quit IRC14:34
*** david-lyle has joined #heat14:36
*** alexheneveld has joined #heat14:37
*** che-arne has joined #heat14:46
*** ryansb is now known as fakeryansb14:49
*** fakeryansb is now known as ryansb14:49
*** andrew_plunk has joined #heat14:52
*** akuznetsov has quit IRC14:56
*** rcleere has joined #heat14:59
Qiminghi, everyone15:00
Qimingjust posted to the openstack-dev mailinglist a question about VM failure detection15:01
*** skraynev is now known as skraynev_afk15:01
*** akuznetsov has joined #heat15:02
Qimingplease comment.  +100, -100, flowers, eggs, shoes are all welcomed, :)15:02
Qiminghttp://lists.openstack.org/pipermail/openstack-dev/2014-March/030305.html15:02
*** chandan_kumar has quit IRC15:02
*** blamar has quit IRC15:03
*** duncanjw has quit IRC15:03
*** chandan_kumar has joined #heat15:04
*** jprovazn has joined #heat15:06
*** duncanjw has joined #heat15:08
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Add handle_update to VolumeAttachment  https://review.openstack.org/7268115:09
*** duncanjw has quit IRC15:13
*** jprovazn has quit IRC15:13
*** blamar has joined #heat15:17
*** pablosan has joined #heat15:17
*** pablosan has quit IRC15:17
*** pablosan has joined #heat15:18
*** Guest83456 has quit IRC15:20
*** jamieh has joined #heat15:20
*** jamieh is now known as Guest6230815:21
*** saju_m has quit IRC15:23
*** akuznetsov has quit IRC15:31
*** akuznetsov has joined #heat15:32
*** gokrokve_ has joined #heat15:34
*** jrist has quit IRC15:37
*** gokrokve has quit IRC15:37
*** saju_m has joined #heat15:40
*** duncanjw has joined #heat15:42
*** lindsayk has joined #heat15:42
*** Qiming has left #heat15:48
*** che-arne has quit IRC15:50
*** jrist has joined #heat15:53
*** daneyon has joined #heat15:55
*** rupsky has joined #heat15:56
*** saju_m has quit IRC15:57
*** rupsky has quit IRC15:58
*** yidclare has joined #heat16:01
*** daneyon has quit IRC16:01
*** daneyon has joined #heat16:02
*** sbadia has quit IRC16:05
*** lindsayk has quit IRC16:06
*** alexheneveld has quit IRC16:06
openstackgerritRichard Lee proposed a change to openstack/heat: Add save_admin_pass property to CloudServer  https://review.openstack.org/7948116:09
openstackgerritRichard Lee proposed a change to openstack/heat: Add admin_pass as attribute to CloudServer  https://review.openstack.org/7274516:09
*** wchrisj has quit IRC16:11
*** alexheneveld has joined #heat16:12
*** pablosan is now known as ZZpablosan16:12
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Order imports in alphabetical order (7/9)  https://review.openstack.org/7151716:12
*** wchrisj_ has joined #heat16:13
*** ppetit has joined #heat16:18
*** metral has left #heat16:19
*** mkollaro has quit IRC16:22
*** tomek_adamczewsk has joined #heat16:22
*** radez is now known as radez_g0n316:24
*** radez_g0n3 is now known as radez16:24
*** duncanjw has quit IRC16:25
*** tspatzier has quit IRC16:27
*** duncanjw has joined #heat16:30
*** chandankumar_ has joined #heat16:34
*** blomquisg has quit IRC16:34
*** chandan_kumar has quit IRC16:37
*** jrist has quit IRC16:38
*** tspatzier has joined #heat16:40
*** arbylee has quit IRC16:44
*** e0ne_ has joined #heat16:45
*** bada__ has joined #heat16:45
*** arbylee has joined #heat16:48
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Order imports in alphabetical order (8/9)  https://review.openstack.org/7151816:48
*** bada_ has quit IRC16:48
*** e0ne has quit IRC16:49
*** Linz_ has joined #heat16:52
*** harlowja_away is now known as harlowja16:53
*** tomek_adamczewsk has quit IRC16:54
*** pvaneck has joined #heat16:55
*** Linz has quit IRC16:55
*** sergmelikyan has quit IRC16:57
*** sergmelikyan has joined #heat16:57
*** tspatzier has quit IRC17:00
SpamapSgreghaynes: https://review.openstack.org/#/c/80116/ <-- you going to pick that one back up?17:02
*** pas-ha has quit IRC17:04
*** arbylee has quit IRC17:10
jasond`SpamapS: what do you think the priority of this is? https://bugs.launchpad.net/heat/+bug/128956017:12
shardyjasond`: medium IMO17:16
*** TonyBurn has quit IRC17:17
jasond`shardy: thanks17:17
*** killer_prince is now known as lazy_prince17:26
SpamapSjasond`: agree with shardy. :)17:26
stevebakermorning17:27
jasond`SpamapS: cool, thanks17:28
jasond`stevebaker: morning17:28
*** lindsayk has joined #heat17:29
*** rpothier has quit IRC17:30
*** rpothier has joined #heat17:31
*** bada has joined #heat17:33
*** Guest62308 has quit IRC17:34
*** alexheneveld has quit IRC17:35
*** bada__ has quit IRC17:35
*** che-arne has joined #heat17:36
greghaynesSpamapS: Yes, hoping to17:37
*** jamieh has joined #heat17:37
*** jamieh is now known as Guest9931517:38
greghaynesMight need to ask for a little help with writing that test today, getting started with all that is a bit of a rabbit hole of code readin17:40
*** arbylee has joined #heat17:41
*** ppetit has quit IRC17:41
*** arbylee1 has joined #heat17:41
*** alexheneveld has joined #heat17:42
*** blomquisg has joined #heat17:43
*** arbylee has quit IRC17:45
stevebakershardy: can you confirm that this looks correct? https://review.openstack.org/#/c/80867/17:46
*** yogesh has joined #heat17:46
*** varora- has joined #heat17:47
*** duncanjw has quit IRC17:49
*** jcru has quit IRC17:50
*** gokrokve_ has quit IRC17:52
*** sbadia has joined #heat17:55
shardystevebaker: yup, lgtm!17:57
stevebakershardy: ok, thanks. There is this as well https://review.openstack.org/#/c/80868/117:58
*** ZZpablosan is now known as pablosan17:58
*** arbylee has joined #heat17:59
*** arbylee1 has quit IRC17:59
*** arbylee has quit IRC17:59
*** arbylee has joined #heat18:00
*** derekh has quit IRC18:00
*** pablosan is now known as ZZpablosan18:00
*** harlowja is now known as harlowja_away18:01
*** harlowja_away is now known as harlowja18:02
*** shakamunyi has joined #heat18:04
*** alexheneveld has quit IRC18:07
lipinskiIs there any Heat Template validators that provide information on what is wrong in the file?18:18
lipinskie.g., when the client is simply stating "Template not in valid format"18:18
*** shakamunyi has quit IRC18:18
*** ZZpablosan is now known as pablosan18:20
*** pablosan is now known as ZZpablosan18:21
*** ZZpablosan is now known as pablosan18:23
*** shakamunyi has joined #heat18:27
*** Guest99315 is now known as jamie_h18:29
lipinskiWhen is PRovider templates supported (resource_registry)?  Heat does not seem to recognize my new resource types in Havana.  Was this added to Havana or Icehouse?18:30
jasond`lipinski: you might want to run your template through a yaml validator18:34
lipinskijasond`: yep, did that.  narrowed my error down to one of my provider templates.  that passed yaml validation as well.18:38
lipinskinow getting 'ERROR: Type' from heat template-validate18:39
lipinski--debug shows "KeyError"18:39
*** e0ne_ has quit IRC18:39
*** shakamunyi has quit IRC18:49
*** e0ne has joined #heat18:52
*** e0ne has quit IRC18:53
*** gokrokve has joined #heat18:56
SpamapSoy18:56
*** jpeeler has quit IRC18:56
SpamapSlipinski: can you file a bug on this please? https://launchpad.net/heat/+filebug18:56
SpamapSlipinski: if you can share a template that exhibits such a poor error message that would be helpful.18:57
SpamapSWe need to do a LOT better job with validation.18:57
*** jpeeler has joined #heat18:58
*** jpeeler has quit IRC18:58
*** jpeeler has joined #heat18:58
openstackgerritA change was merged to openstack/heat-templates: Changes Neutron Security Group Ports to Integers  https://review.openstack.org/7870519:00
openstackgerritA change was merged to openstack/heat-templates: Fixes Neutron Security Rules for Mcollective Communication  https://review.openstack.org/7871219:00
lipinskiSpamapS: Found my problem.  I had a parameter without a type: defined.19:01
lipinskiI'm still having problems with resource_Registry/provider resources.  The validator is opening my provider template files, but still complaining about uinknown resource types.19:01
*** mkollaro has joined #heat19:02
lipinskiSpamapS: I can still open a bug as far as better validation and more helpful output, if you'd like.19:02
SpamapSlipinski: yes please!19:02
SpamapSlipinski: will give you a gold star and everything.19:02
openstackgerritA change was merged to openstack/heat-templates: Adds Hostnames for OSO Instances  https://review.openstack.org/7843819:02
lipinskiSpamapS: Any idea on "ERROR: Unknown resource Type :"?  Yet, my resource type is defined in resource_registry...19:12
lipinskiRunning 2013.2, that should work, I would think.19:12
lipinski2013.2.2-1.0.el6.noarch, to be specific19:13
*** saju_m has joined #heat19:18
*** alexheneveld has joined #heat19:26
openstackgerritSteve Baker proposed a change to openstack/heat: Never specify project_name in keystone v3 auth  https://review.openstack.org/8086719:31
openstackgerritSteve Baker proposed a change to openstack/heat: Provide the necessary inputs to enable HEAT_SIGNAL  https://review.openstack.org/8016919:31
openstackgerritSteve Baker proposed a change to openstack/heat: Implement an identifier stack_path()  https://review.openstack.org/8086919:31
openstackgerritSteve Baker proposed a change to openstack/heat: Allow stack domain credentials to be used for deployments  https://review.openstack.org/8086819:31
*** daneyon has quit IRC19:32
*** duncanjw has joined #heat19:33
*** nati_ueno has joined #heat19:43
openstackgerritA change was merged to openstack/heat-cfntools: Remove tox locale overrides  https://review.openstack.org/7221219:45
*** david-lyle has quit IRC19:46
*** Tross has quit IRC19:48
*** jamie_h has quit IRC19:51
*** Tross has joined #heat19:53
andersonvomshardy: you around?19:55
*** pablosan is now known as ZZpablosan20:09
*** david-lyle has joined #heat20:18
lipinskiIs there a way to join lists in a HOT template20:19
lipinskiequivalent to fn::join, I guess20:20
*** pas-ha has joined #heat20:21
*** duncanjw has quit IRC20:22
*** duncanjw has joined #heat20:22
pas-hastevebaker: around?20:23
stevebakerpas-ha: \o20:23
pas-hacould you restore your change to fix the pypy gate? it still fails constantly on heatclient20:24
stevebakerpas-ha: oh, I saw some passes and assumed it was fixed20:25
thervestevebaker, Put a comment on https://review.openstack.org/#/c/80528/ wondering if it makes sense20:26
pas-habug/1290562 still does not mention any fix / solution, only a workaround as you provided20:26
stevebakerpas-ha: I've approved it20:27
pas-hacool. thnx :)20:27
*** yogesh has quit IRC20:28
pas-haSpamapS: around?20:29
SpamapSpas-ha: About to go get some lunch. Whats up?20:29
pas-hapuzzled by our comment on race in one of my order imports patch.. looks like you gave a wrong link20:30
SpamapSpas-ha: probably :)20:30
pas-habut now I'm intrigued..20:30
SpamapSpas-ha: I was meaning to say that the py3kcompat patch is going to conflict with the import ordering patches20:31
pas-habut it in heatclient20:31
SpamapSyeah so silly me :)20:31
pas-haor there is another one in heat? o_O20:31
SpamapSI just had that one on my mind as I had reviewed it 30 seconds earlier20:31
SpamapSdetails details20:31
SpamapSpas-ha: I don't know.. might be attached to the same bug20:31
pas-haok, nevermind20:31
*** Michalik has quit IRC20:33
pas-haSpamapS: there is one, but auto-abandoned, so I hope I'll be the first :)20:35
*** daneyon has joined #heat20:36
SpamapSpas-ha: ok, good luck20:37
* SpamapS goes to find food20:37
stevebakertherve: I've replied20:37
thervestevebaker, Great thanks20:38
openstackgerritThomas Herve proposed a change to openstack/python-heatclient: Resolve files in resource types  https://review.openstack.org/8052820:44
*** ZZpablosan is now known as pablosan20:49
*** yogesh has joined #heat20:50
*** pas-ha has quit IRC20:52
radixman20:53
radixwe need some fake time up in here20:53
radixtherve: have you figured out a way to not dump log to stdout with trial?20:56
therveradix, Humm... I don't know?20:56
therveIt hasn't bothered me20:57
radixit's kind of annoying when you have multiple failures20:57
*** pafuent has left #heat20:58
therveOh you have failures. Yeah don't have those :p20:59
therveradix, More seriously trial -x20:59
radixhehe20:59
radixyeah ok20:59
zanebstevebaker: I'd be interested in your input on the MuranoPL thread20:59
stevebakerzaneb: yeah, I'll weigh in21:00
*** jamieh has joined #heat21:02
*** jamieh is now known as Guest274921:03
*** kfox1111 has joined #heat21:06
kfox1111Odd issue... I'm nesting this stack: https://raw.github.com/EMSL-MSC/heat-templates/master/hot/ElasticSearch/ElasticSearch_DataNode.yaml21:07
*** radez is now known as radez_g0n321:07
kfox1111Its failing because: UnknownUserParameter: The Parameter (AvailabilityZone) was not defined in template.21:07
*** Guest2749 has quit IRC21:07
*** Michalik has joined #heat21:08
kfox1111But I am defining it...21:08
kfox1111which side is it complaining about, the edge template, or the one doing the nesting?21:09
*** IlyaE has quit IRC21:09
zanebkfox1111: is this on create or update?21:10
kfox1111create.21:10
*** kgriffs is now known as kgriffs_afk21:11
zanebthat is very strange then21:11
kfox1111Here's something that looks like the template doing the nesting: https://raw.github.com/EMSL-MSC/heat-templates/master/hot/ElasticSearch/ElasticSearch_ScalableDataNode.yaml.in21:11
kfox1111It takes in an "InstanceZone", and passes it through as "AvailabilityZone"...21:12
kfox1111when that .in file is realized, the default is just "nova"21:12
kfox1111Its worked everywhere else. I'm kind of puzzled.21:12
*** dims has quit IRC21:12
openstackgerritGregory Haynes proposed a change to openstack/heat: Catch NotFound exception on user delete_key  https://review.openstack.org/8011621:12
* zaneb is also puzzled21:12
kfox1111hmm... does heat engine cache templates at all?21:13
openstackgerritGregory Haynes proposed a change to openstack/heat: Catch NotFound exception on user delete_key  https://review.openstack.org/8011621:13
kfox1111maybe its using an older version of the template before I fixed it?21:13
zanebwe don't do any caching21:14
kfox1111what about horizon -> heat?21:14
zanebbut it could be picking it up from a weird location maybe21:14
zanebnot at all sure about Horizon21:14
zanebcould TemplateBaseUrl be pointing to an old version?21:15
kfox1111ah... yeah. doing a template dump on it looks like it doesn't have AvailabilityZone defined....21:16
*** tango has joined #heat21:16
kfox1111I think horizon is caching things. :/21:16
kfox1111yup. it wouldn't work until I restarted apache. then its working. :/21:18
kfox1111no, I take that back.21:19
kfox1111it was just taking a bit longer to fail....21:19
kfox1111oh... no, its just me being dumb. :/21:22
kfox1111Its including the wrong nested template.21:22
* kfox1111 slaps his forehead21:22
kfox1111Sorry for the noise. :/21:22
*** dims has joined #heat21:26
mattoliveraukfox1111: No need to apologise, sometimes it takes talking it out to find the problem :)21:30
kfox1111yeah. thanks. :)21:31
*** IlyaE has joined #heat21:31
*** rpothier has quit IRC21:33
*** lipinski has quit IRC21:34
*** daneyon has quit IRC21:36
*** aweiteka has quit IRC21:41
*** saju_m has quit IRC21:42
*** achampion has quit IRC21:42
*** duncanjw has quit IRC21:42
greghaynesSpamapS: (or others) trying to write a test that fails without https://review.openstack.org/#/c/80116/ in similar style to https://launchpad.net/bugs/1291060 and having a hard time figuring out what is going on well enough to replicate it in a test21:45
*** e0ne has joined #heat21:45
greghaynesI was hoping that deleting the accesskey in a test would cause the error but doesnt seem to...21:46
greghayneswell, double deleting21:46
* greghaynes pushies WIP test for something more tangible to help with21:47
openstackgerritGregory Haynes proposed a change to openstack/heat: Catch NotFound exception on user delete_key  https://review.openstack.org/8011621:48
openstackgerritA change was merged to openstack/heat: Replacing NetworkGateway when devices updated  https://review.openstack.org/8024321:51
*** sgordon has quit IRC21:55
*** kgriffs_afk is now known as kgriffs21:55
*** stannie has quit IRC22:00
*** jasond has quit IRC22:01
*** pablosan is now known as ZZpablosan22:10
*** wchrisj_ has quit IRC22:14
*** wchrisj has joined #heat22:14
stevebakergreghaynes: I think you just need to delete the credentials_id resource data22:18
*** blomquisg has quit IRC22:19
stevebakerkfox1111: horizon shouldn't be caching anything btw22:19
*** ZZpablosan is now known as pablosan22:19
SpamapSgreghaynes: mock the keystoneclient call to return NotFound22:20
SpamapSs/return/raise/22:20
*** e0ne_ has joined #heat22:21
greghaynesIs that necessarially preferred over deleting the credential_id in test?22:21
SpamapSgreghaynes: yes, that is what you're trying to test22:21
SpamapS"how do I respond to NotFound at this point"22:21
*** lindsayk has quit IRC22:23
greghaynessounds good22:23
stevebakerSpamapS: I believe this is raising the NotFound, not keystone: http://git.openstack.org/cgit/openstack/heat/tree/heat/engine/stack_user.py#n13822:24
stevebakergreghaynes: ^22:24
*** e0ne has quit IRC22:24
*** lindsayk has joined #heat22:24
stevebakergreghaynes: and I posted a comment in the review that this should be fixed in StackUser._delete_keypair()22:25
openstackgerritZiad Sawalha proposed a change to openstack/heat: Update contrib docstrings to match guidelines  https://review.openstack.org/7307022:26
*** pablosan is now known as ZZpablosan22:27
*** ZZpablosan is now known as pablosan22:28
*** vijendar has quit IRC22:29
greghaynesah, so for dbapi things do we not mock?22:30
SpamapSstevebaker: oh hey whAT?22:30
SpamapSstevebaker: I totally did not understand the bug _at all_22:30
stevebakerSpamapS: I'm just reading the stack trace https://bugs.launchpad.net/tripleo/+bug/129106022:31
stevebakergreghaynes: you could mock, or just delete the resource data. whichever works22:31
*** lindsayk has quit IRC22:32
*** lindsayk has joined #heat22:32
SpamapSstevebaker: yeah I never read _THOSE_ .. those are for wusses.. ;)22:32
*** yogesh has quit IRC22:32
stevebakerlol22:32
openstackgerritZiad Sawalha proposed a change to openstack/heat: Update common docstrings to match guidelines  https://review.openstack.org/7351922:34
*** pablosan is now known as ZZpablosan22:34
radixanyone know if it's possible to get mock to call a function after the original function is invoked?22:34
*** ZZpablosan is now known as pablosan22:35
*** duncanjw has joined #heat22:37
zanebradix: sure is22:37
radixI'm struggling with wraps= and side_effect=. it seems side_effect is being called before the wrapped function22:38
openstackgerritZiad Sawalha proposed a change to openstack/heat: Update api docstrings to match guidelines  https://review.openstack.org/7351522:38
*** rcleere has quit IRC22:40
zanebradix: are we talking mox or mock here?22:41
radixmock22:41
radixI'm trying to do it "manually" now, just storing the orig and explicitly calling it22:43
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Stack identity reads tenant from stack not context  https://review.openstack.org/8139022:43
*** jcru has joined #heat22:44
andersonvompablosan: ^^22:44
pablosanThanks andersonvom !22:44
*** jcru has quit IRC22:45
andersonvomradix: do you want to explicitly call it in your test? or at runtime when the test gets run?22:46
*** samstav has quit IRC22:47
*** duncanjw has quit IRC22:47
radixyeah, I got it working with an explicit call to the original22:48
andersonvomradix: I guess, regardless, you can use "with mock.patch.object()" instead of decorating the test. then before the context manager, you can call the original22:48
radixyeah, that's what I was doing anyway22:49
radixoriginally because wraps= needs the instance method (not a class method) if you're mocking a method22:49
openstackgerritA change was merged to openstack/heat: Allow update of disable_rollback  https://review.openstack.org/7972122:58
*** achampion has joined #heat22:59
*** gokrokve has quit IRC23:01
*** IlyaE has quit IRC23:03
*** IlyaE has joined #heat23:04
*** IlyaE has quit IRC23:06
*** nati_ueno has quit IRC23:07
*** che-arne has quit IRC23:07
openstackgerritChristopher Armstrong proposed a change to openstack/heat: Rolling updates for OS::Heat::AutoScalingGroup  https://review.openstack.org/8139423:10
*** e0ne_ has quit IRC23:17
*** e0ne has joined #heat23:19
*** mwheckmann has quit IRC23:19
openstackgerritChristopher Armstrong proposed a change to openstack/heat: Rolling updates for OS::Heat::AutoScalingGroup  https://review.openstack.org/8139423:23
*** vijendar has joined #heat23:28
*** vijendar has quit IRC23:28
*** vijendar has joined #heat23:28
radixhm23:35
radixannoying that I have to mark as WIP after every patch I upload23:36
*** cfriesen_ has quit IRC23:39
*** e0ne has quit IRC23:40
mattoliverauradix: if you don't people will assume your updated patch is ready for reviewing/merging23:41
radixmattoliverau: right, of course23:41
radixI just didn't know that it would lose the status23:41
stevebakerradix: thats OK, I've whacked it with the ban-hammer23:43
*** rpothier has joined #heat23:43
radixyep, I saw that ;-)23:43
stevebakerTHOR23:43
radixhaha23:43
mattoliverauWell, WIP is a patch which has been added for our benefit, it's not or at least was not in upstream gerrit. But yeah I see your point. I guess what should be the expected behavour. Inherit from previous patch set and leave the dev to mark it and not WIP when ready.. that kind of makes sense. Maybe a new patch is in order ;)23:45
openstackgerritGregory Haynes proposed a change to openstack/heat: Catch NotFound exception on user delete_key  https://review.openstack.org/8011623:45
greghaynesstevebaker: SpamapS after a bit of tinkering the test ended up being pretty simple ^23:49
*** alexpilotti has quit IRC23:52
stevebakergreghaynes: looks good23:54
openstackgerritAnderson Mesquita proposed a change to openstack/heat: Add OS:Barbican:Secret resource  https://review.openstack.org/7935523:56
*** pvaneck has quit IRC23:58

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