Monday, 2014-11-24

*** Drago has joined #heat00:03
*** sgordon_ has quit IRC00:03
*** Marga_ has joined #heat00:09
*** Marga_ has quit IRC00:26
*** Drago has quit IRC00:26
*** Drago has joined #heat00:27
*** sarob has quit IRC00:28
*** Marga_ has joined #heat00:30
*** dimsum__ has joined #heat00:35
*** alexheneveld has quit IRC00:38
stevebakerasalkeld: the usual place00:59
asalkeldyou just think I am slacking;)00:59
stevebakertotes00:59
*** mc__ has joined #heat01:14
*** dimsum__ has quit IRC01:31
*** alexheneveld has joined #heat01:31
*** dimsum__ has joined #heat01:31
*** Qiming has joined #heat01:33
*** Marga_ has quit IRC01:33
*** Marga_ has joined #heat01:34
*** dimsum__ has quit IRC01:36
*** zhiwei has joined #heat01:36
*** zhiwei has left #heat01:37
*** Marga_ has quit IRC01:38
*** tiantian has joined #heat01:43
*** dimsum__ has joined #heat01:54
*** apporc has joined #heat02:03
*** edmund has joined #heat02:03
*** Marga_ has joined #heat02:05
*** Qiming_ has joined #heat02:08
*** Qiming has quit IRC02:10
*** Yanyanhu has joined #heat02:10
*** tellesnobrega_ has joined #heat02:20
*** liuhang has joined #heat02:22
*** Drago has quit IRC02:25
*** Drago has joined #heat02:26
*** erkules_ has joined #heat02:30
openstackgerritMerged openstack/python-heatclient: Implement snapshot operations  https://review.openstack.org/12441202:31
openstackgerritMerged openstack/heat: SoftwareDeployments make servers property updateable  https://review.openstack.org/13568902:31
*** erkules has quit IRC02:33
openstackgerritAngus Salkeld proposed openstack/heat: Add support for pass through references  https://review.openstack.org/13219002:39
openstackgerritAngus Salkeld proposed openstack/heat: Add "parameter_defaults" to the environment  https://review.openstack.org/13133702:39
openstackgerritAngus Salkeld proposed openstack/heat: Add logging fixture to integration tests  https://review.openstack.org/13616402:39
openstackgerritAngus Salkeld proposed openstack/heat: Support better access to nested attributes  https://review.openstack.org/13623002:39
openstackgerritAngus Salkeld proposed openstack/heat: Add support for running tests against standalone Heat  https://review.openstack.org/13616502:39
openstackgerritMerged openstack/heat: Move common functions into functional test base-class  https://review.openstack.org/13600702:42
openstackgerritMerged openstack/python-heatclient: Implement restore operation  https://review.openstack.org/12441302:46
*** alexheneveld has quit IRC02:46
*** Yanyanhu has quit IRC02:56
*** harlowja_at_home has joined #heat02:57
*** Yanyanhu has joined #heat02:57
*** Drago has quit IRC03:00
*** Drago has joined #heat03:01
*** KanagarajM has joined #heat03:04
*** LiJiansheng has joined #heat03:05
openstackgerrithuangtianhua proposed openstack/heat: Failed res no need UpdateReplace which has nested_stack  https://review.openstack.org/13010703:09
*** harlowja_at_home has quit IRC03:15
*** Qiming__ has joined #heat03:18
*** zhenzanz has joined #heat03:19
*** Qiming_ has quit IRC03:22
asalkeldyikes lots of unanswered questions here: https://ask.openstack.org/en/questions/scope:all/sort:answers-asc/tags:heat/page:1/03:24
*** dimsum__ has quit IRC03:27
*** sarob has joined #heat03:29
*** erkules_ is now known as erkules03:30
*** sarob has quit IRC03:33
asalkeldone for stevebaker https://ask.openstack.org/en/question/42657/how-to-debug-scripts-at-heats-softwareconfig-resource/03:38
ramishraMorning All03:39
*** Marga_ has quit IRC03:40
asalkeldhi ramishra03:42
ramishraasalkeld: Hi!!03:42
ramishrastevebaker: Hi!  you around?03:43
*** praveenkumar has joined #heat03:44
*** hdd has joined #heat03:45
ramishrareg. https://review.openstack.org/#/c/136144/, I thought the same thing after seeing your patch, container_info and container logs gives good information to the user on the containers deployed, however, they are not specific to what the hook has done.. Therefore I agree completely.03:47
ramishrastevebaker: reg. https://review.openstack.org/#/c/136144/, I thought the same thing after seeing your patch, container_info and container logs gives good information to the user on the containers deployed, however, they are not specific to what the hook has done.. Therefore I agree completely.03:48
*** Marga_ has joined #heat03:48
stevebakerramishra: hi, cool03:52
stevebakerasalkeld: I'll answer that. Can you think of a reason why stack outputs shouldn't display during IN_PROGRESS and FAILED? It would be very useful for debugging03:53
asalkeldstevebaker, i think it assumes that get_attr won't work03:54
asalkeld(failed resources == no get_attr)03:54
asalkeldbut that is quite heavy handed03:54
stevebakerasalkeld: but many attributes pass through to the underlying API (they didn't when this policy was established) so there are many cases where attributes on IN_PROGRESS and FAILED are readily available (and useful to know)03:56
asalkeldstevebaker, agree - but we need to still have a way of saying "sorry can't get this as the resource is broke"03:57
*** boris-42 has quit IRC03:57
asalkeldmaybe just "not available" is ok03:58
stevebakerasalkeld: there is error handling in the outputs now, so invalid outputs should be flagged03:59
asalkeldstevebaker, just google "funny not found pages"03:59
stevebakernice04:00
*** hdd has quit IRC04:00
asalkeldstevebaker, one issue is how we deal with nested templates (broken nested output gets converted to an attribute)04:02
asalkelddang, we have lots of reviews04:03
*** zhenzanz has quit IRC04:07
stevebakerasalkeld: there should be enough info to propagate those errors up04:10
asalkeldok, cool04:10
*** GonZo2K has quit IRC04:11
*** zhenzanz has joined #heat04:11
*** nkhare has joined #heat04:12
*** ckmvishnu has joined #heat04:12
*** Marga_ has quit IRC04:12
openstackgerritMerged openstack/heat-specs: Add requirement for APIImpact flag  https://review.openstack.org/13233804:16
*** tiantian has quit IRC04:23
*** Samos123 has left #heat04:23
openstackgerrithuangtianhua proposed openstack/heat: Do static template validation for nested stacks  https://review.openstack.org/13262504:24
*** mc__ has quit IRC04:26
*** dimsum__ has joined #heat04:27
cmystermorning04:28
openstackgerritMerged openstack/heat-specs: Using Barbican as secret backend  https://review.openstack.org/13350104:29
*** dimsum__ has quit IRC04:32
*** LiJiansheng has quit IRC04:33
*** liu_hang has joined #heat04:36
*** LiJiansheng has joined #heat04:39
*** liuhang has quit IRC04:39
*** boris-42 has joined #heat04:42
*** Marga_ has joined #heat04:43
cmysterstevebaker: there ?04:43
*** tiantian has joined #heat04:46
*** liu_hang has quit IRC04:49
*** Marga_ has quit IRC04:54
*** Qiming_ has joined #heat04:56
*** Qiming__ has quit IRC04:59
*** lazy_prince has quit IRC05:02
*** zhiwei has joined #heat05:08
openstackgerritMerged openstack/heat: Further split ASG code.  https://review.openstack.org/12962005:09
*** Qiming_ has quit IRC05:11
*** Qiming has joined #heat05:19
*** zhenzanz_ has joined #heat05:19
*** zhenzanz has quit IRC05:20
*** Marga_ has joined #heat05:20
*** zhenzanz_ is now known as zhenzanz05:20
*** Marga_ has quit IRC05:25
*** ananta has joined #heat05:43
*** rushiagr_away is now known as rushiagr05:45
*** mc__ has joined #heat05:47
*** liuhang has joined #heat05:55
*** k4n0 has joined #heat06:00
openstackgerritOpenStack Proposal Bot proposed openstack/heat: Imported Translations from Transifex  https://review.openstack.org/13668106:00
*** tiantian has quit IRC06:02
*** ishant has joined #heat06:02
*** nkhare_ has joined #heat06:08
*** lazy_prince has joined #heat06:08
*** sanjayu has joined #heat06:08
*** rakesh_hs has joined #heat06:08
*** nkhare has quit IRC06:09
*** Marga_ has joined #heat06:21
*** tiantian has joined #heat06:24
*** sanjayu has quit IRC06:24
*** sanjayu has joined #heat06:24
*** kopparam has joined #heat06:25
*** Marga_ has quit IRC06:26
*** Putns has joined #heat06:30
*** tomek_adamczewsk has quit IRC06:30
*** kopparam_ has joined #heat06:37
*** tellesnobrega_ has quit IRC06:37
*** zhenzanz_ has joined #heat06:38
*** tomek_adamczewsk has joined #heat06:40
*** kopparam has quit IRC06:40
*** zhenzanz has quit IRC06:40
*** zhenzanz_ is now known as zhenzanz06:40
*** boris-42 has quit IRC06:47
*** Drago has quit IRC06:52
*** sanjayu has quit IRC06:52
openstackgerritSridhar Gaddam proposed openstack/python-heatclient: Curl statements to include globoff for IPv6 URLs  https://review.openstack.org/13633206:52
*** justin-8_ has joined #heat06:53
*** justin-8 has quit IRC06:54
*** edmund has quit IRC06:54
*** sanjayu has joined #heat07:12
*** sgran_ has joined #heat07:14
*** tiantian has quit IRC07:14
*** sgran has quit IRC07:15
*** tomek_adamczewsk has quit IRC07:16
*** kopparam_ has quit IRC07:16
*** achanda has joined #heat07:17
*** sanjayu has quit IRC07:19
*** achanda has quit IRC07:20
*** achanda has joined #heat07:20
*** sanjayu has joined #heat07:21
*** kopparam has joined #heat07:21
*** Marga_ has joined #heat07:22
*** Marga_ has quit IRC07:26
kopparamHi heat ppl. I am not able to use OS::Heat::MultiPartMime resource type. I'm trying to combine a CloudConfig and a SofwareConfig resource. But I get NoneType has not sttribute len() error. Somehow, the config_id is None when olso sends the get request to the ORM.07:27
kopparamANy clues?07:27
*** jprovazn has joined #heat07:30
*** kopparam has quit IRC07:36
*** jtomasek has joined #heat07:42
openstackgerrithuangtianhua proposed openstack/heat: Do static template validation for nested stacks  https://review.openstack.org/13262507:50
*** achanda has quit IRC07:59
*** tspatzier has joined #heat08:11
*** kopparam has joined #heat08:17
*** KanagarajM has quit IRC08:19
*** tomek_adamczewsk has joined #heat08:19
*** Marga_ has joined #heat08:22
*** Marga_ has quit IRC08:27
*** liu_hang has joined #heat08:29
*** jcoufal has joined #heat08:31
*** ckmvishnu has quit IRC08:32
*** liuhang has quit IRC08:32
*** Marga_ has joined #heat08:37
*** kopparam has quit IRC08:40
*** Marga_ has quit IRC08:42
*** tspatzier__ has joined #heat08:42
*** kopparam has joined #heat08:44
*** tspatzier has quit IRC08:45
*** tspatzier__ is now known as tspatzier08:47
openstackgerrithuangtianhua proposed openstack/heat: Failed res no need UpdateReplace which has nested_stack  https://review.openstack.org/13010708:50
*** jistr has joined #heat08:55
*** kopparam has quit IRC09:02
*** tspatzier has quit IRC09:02
*** kopparam has joined #heat09:03
*** zhenzanz has quit IRC09:03
*** mc__ has quit IRC09:04
*** pas-ha has joined #heat09:06
*** tspatzier has joined #heat09:07
*** tiantian has joined #heat09:10
*** derekh has joined #heat09:11
pas-hamorning all09:11
cmystermorning09:12
*** rakesh_hs has quit IRC09:12
*** rakesh_hs2 has joined #heat09:12
*** bhi has joined #heat09:20
*** jstrachan has joined #heat09:21
*** liu_hang has quit IRC09:28
skraynevgood day09:30
skraynevhi pas-ha, cmyster09:30
skraynevhi asalkeld :)09:30
cmysterheya09:30
*** elynn has joined #heat09:33
*** Marga_ has joined #heat09:38
*** elynn has quit IRC09:40
*** enterprisedc has quit IRC09:41
*** Marga_ has quit IRC09:43
*** inc0 has joined #heat09:45
*** inc0 has joined #heat09:45
inc0good morning09:45
*** kopparam has quit IRC09:51
*** jcoufal has quit IRC09:51
*** kopparam has joined #heat09:52
cmystermorning inc009:52
inc0howdy cmyster?09:53
cmysterall is well, hot and rainy09:54
cmysteryou ?09:54
inc0cold and dry;)09:54
inc0well its still >0 centigrade, so its a bit wet09:54
inc0but no rain09:54
cmysterlooking at some nice inter-dependent templates to use as a base for testing updates09:54
*** dimsum__ has joined #heat09:54
cmysterbut I thounk I went too far :)09:54
inc0yeah, updates are bitch, I'm implementing resource versioning to my convergence PoC as we speak09:55
inc0only to enable resource to say "hey, I need an update"09:55
*** kopparam has quit IRC09:58
*** swygue has quit IRC09:58
openstackgerrithuangtianhua proposed openstack/heat: Correct group's updates from a failed state  https://review.openstack.org/13552409:58
*** dimsum__ has quit IRC09:59
openstackgerrithuangtianhua proposed openstack/heat: Record update_time for suspend/resume/snapshot actions  https://review.openstack.org/13622409:59
*** Qiming has quit IRC10:01
*** boris-42 has joined #heat10:01
*** kopparam has joined #heat10:02
*** ifarkas has joined #heat10:05
kopparamHi heat ppl. I am not able to use OS::Heat::MultiPartMime resource type. I'm trying to combine a CloudConfig and a SofwareConfig resource. But I get NoneType has not sttribute len() error. Somehow, the config_id is None when olso sends the get request to the ORM. Any clue what I'm messing up?10:16
*** sanjayu has quit IRC10:19
openstackgerrithuangtianhua proposed openstack/heat: Apply cinder snapshot custom constraint  https://review.openstack.org/13628510:20
openstackgerrithuangtianhua proposed openstack/heat: Add cinder volume custom constraint  https://review.openstack.org/13625410:20
openstackgerrithuangtianhua proposed openstack/heat: Apply cinder volume custom constraint  https://review.openstack.org/13626310:20
openstackgerrithuangtianhua proposed openstack/heat: Add cinder snapshot custom constraint  https://review.openstack.org/13627910:20
*** sanjayu has joined #heat10:21
*** f13o has quit IRC10:26
*** Yanyanhu has quit IRC10:26
*** sgran_ is now known as sgran10:31
*** f13o has joined #heat10:31
*** tspatzier has quit IRC10:32
kopparamI have asked a question on ask.openstack too https://ask.openstack.org/en/question/54171/not-able-to-use-osheatmultipartmime-resource-type-in-heat/10:32
openstackgerritMerged openstack/heat: Add logging fixture to integration tests  https://review.openstack.org/13616410:32
*** dulek has joined #heat10:34
*** hdd has joined #heat10:34
*** dulek has quit IRC10:38
*** Marga_ has joined #heat10:39
*** dulek has joined #heat10:41
*** kopparam has quit IRC10:42
*** GonZo2K has joined #heat10:43
*** kopparam has joined #heat10:43
*** zhiwei has quit IRC10:43
*** Marga_ has quit IRC10:44
*** jcoufal has joined #heat10:53
pas-haasalkeld, ping10:56
*** kopparam has quit IRC10:59
*** bdossant has joined #heat11:01
openstackgerritMerged openstack/heat: Add support for running tests against standalone Heat  https://review.openstack.org/13616511:01
*** kopparam has joined #heat11:03
openstackgerritQi Zhang proposed openstack/heat: Pickup the region name passed in from heatclient  https://review.openstack.org/13552111:05
openstackgerritQi Zhang proposed openstack/heat: Pickup the region name passed in from heatclient  https://review.openstack.org/13552111:06
*** viktors is now known as viktors|afk11:09
*** hdd has quit IRC11:15
*** kopparam has quit IRC11:16
*** kopparam has joined #heat11:16
*** kopparam has quit IRC11:20
*** GonZo2K has quit IRC11:21
*** hdd has joined #heat11:21
openstackgerritKanagaraj Manickam proposed openstack/heat: Resource sql table column 'nova_instance' is misleading  https://review.openstack.org/11055711:21
*** kopparam has joined #heat11:25
*** tspatzier has joined #heat11:31
*** hdd has quit IRC11:33
*** GonZo2K has joined #heat11:38
asalkeldhi pas-ha11:39
asalkeld(was at the brisbane openstack meetup)11:39
*** Marga_ has joined #heat11:40
*** GonZo2K has quit IRC11:41
openstackgerritPeter Razumovsky proposed openstack/heat: Fix [H302] errors in heat/engine  https://review.openstack.org/13418711:42
*** GonZo2K has joined #heat11:43
pas-haasalkeld, since CWLiteAlarm is deprecated, do we still fix it if bugs found?11:44
asalkeldpas-ha, sure11:44
pas-haok, will file some11:44
*** Marga_ has quit IRC11:45
asalkelddeprecated != unsupported11:45
pas-ha:) sure11:45
openstackgerritPeter Razumovsky proposed openstack/heat: Fix [H302] errors in heat/db  https://review.openstack.org/13417411:47
*** prazumovsky has joined #heat11:48
*** kopparam has quit IRC11:52
*** rdo has quit IRC11:52
*** apporc has quit IRC11:53
*** rdo has joined #heat11:54
asalkeldshardy, you want to talk a bit about: https://review.openstack.org/#/c/135492/11:59
*** LiJiansheng has quit IRC11:59
asalkeld(external_reference code)11:59
asalkeldI'll be around for a short bit - 10pm here12:00
*** kopparam has joined #heat12:01
openstackgerritPeter Razumovsky proposed openstack/heat: Fix [H302] errors in heat/db  https://review.openstack.org/13417412:02
*** dimsum__ has joined #heat12:03
*** asalkeld has quit IRC12:14
*** tiantian has quit IRC12:16
*** sanjayu has quit IRC12:17
*** GonZo2K has quit IRC12:17
*** kopparam has quit IRC12:18
*** kopparam has joined #heat12:21
cmystercan I get_attr an attribute of a resource in a nested template?12:23
cmysterso for instance I have a resource: foo: ;  type: bar.yaml and it has a recourse called lorem : that can return an attribute ipsum12:25
cmysterI rmeember we talked about it in the summit...12:25
cmysterand remember12:25
therveYou need to expose the attribute as an output of the nested template12:25
cmysterwhen I did but probably dine it wrong... OK I'll play with it further...12:26
cmysterwhich*12:26
cmysterwow I need more coffee12:26
*** kopparam has quit IRC12:29
*** ishant has quit IRC12:39
*** nkhare_ has quit IRC12:39
*** Marga_ has joined #heat12:41
*** sgordon_ has joined #heat12:43
*** Marga_ has quit IRC12:46
*** rdo has quit IRC12:49
*** rdo has joined #heat12:51
*** jcoufal_ has joined #heat12:51
*** jcoufal has quit IRC12:54
*** yassine has joined #heat12:54
*** rdo has quit IRC12:59
*** k4n0 has quit IRC13:00
*** rdo has joined #heat13:01
openstackgerritSergey Kraynev proposed openstack/heat: Handle error with non existing template file  https://review.openstack.org/13592413:05
*** rdo has quit IRC13:16
therveskraynev, I like it! Seems elegant13:16
*** rdo has joined #heat13:18
*** aweiteka has joined #heat13:18
skraynevtherve: Win. :) thx13:18
skraynevyour suggestion was perfect ;)13:19
therveIt helps to make many so that you end up with a good one :)13:19
*** elynn has joined #heat13:21
openstackgerritPeter Razumovsky proposed openstack/heat: Fix RouterGateway resource's name  https://review.openstack.org/13633913:22
*** ckmvishnu has joined #heat13:22
*** tspatzier has quit IRC13:22
openstackgerritPeter Razumovsky proposed openstack/heat: Change RouterGateway resource's name  https://review.openstack.org/13633913:23
ckmvishnuis it OK to create custom oslo.messaging topics on the fly13:23
*** Ng has quit IRC13:24
*** prazumovsky has quit IRC13:24
*** serverascode___ has quit IRC13:24
*** Ng has joined #heat13:24
*** zhiyan has quit IRC13:24
*** GonZo2K has joined #heat13:25
*** boris-42 has quit IRC13:25
*** serverascode___ has joined #heat13:25
*** Putns has quit IRC13:26
*** radix has quit IRC13:26
*** dkusidlo has quit IRC13:26
*** ramishra has quit IRC13:26
*** boris-42 has joined #heat13:26
*** dkusidlo has joined #heat13:26
*** Putns has joined #heat13:26
ckmvishnushardy: you there?13:27
*** zhiyan has joined #heat13:27
*** radix has joined #heat13:28
*** ramishra has joined #heat13:29
*** aweiteka has quit IRC13:30
*** tspatzier has joined #heat13:30
*** ckmvishnu has quit IRC13:31
*** che-arne has joined #heat13:34
*** jdob has joined #heat13:35
*** aweiteka has joined #heat13:36
*** tspatzier has quit IRC13:40
*** Marga_ has joined #heat13:41
*** GonZo2K has quit IRC13:42
*** alexpilotti has joined #heat13:43
*** Marga_ has quit IRC13:46
*** rpothier has joined #heat13:47
*** alexpilotti has quit IRC13:52
openstackgerritPavlo Shchelokovskyy proposed openstack/heat: Add console_urls atttribute to server resource  https://review.openstack.org/12446313:59
*** dimsum__ has quit IRC14:01
*** dimsum__ has joined #heat14:02
*** andersonvom has joined #heat14:02
*** tomek_adamczews1 has joined #heat14:03
*** sorantis has joined #heat14:03
*** mkollaro has joined #heat14:04
*** dqw has joined #heat14:04
*** ccrouch has quit IRC14:05
*** kopparam has joined #heat14:06
openstackgerritRyan Brown proposed openstack/heat-specs: Let users restrict stack-update scope  https://review.openstack.org/13544414:06
*** ccrouch has joined #heat14:06
*** tomek_adamczews1 has quit IRC14:07
*** tomek_adamczewsk has quit IRC14:07
*** alexheneveld has joined #heat14:08
*** tomek_adamczewsk has joined #heat14:09
openstackgerritEthan Lynn proposed openstack/heat: Fix package name when using heat-db-setup in rhel7  https://review.openstack.org/13676314:11
*** tiantian has joined #heat14:12
*** crose has joined #heat14:14
*** tellesnobrega has quit IRC14:19
*** tellesnobrega has joined #heat14:19
*** tomek_adamczews1 has joined #heat14:33
openstackgerritRabi Mishra proposed openstack/heat-templates: Fix docker hook README formatting  https://review.openstack.org/13677114:33
*** bdossant has quit IRC14:33
*** tomek_adamczewsk has quit IRC14:35
*** zaneb has joined #heat14:36
openstackgerritRabi Mishra proposed openstack/heat-templates: Fix docker hook README formatting  https://review.openstack.org/13677114:37
*** htruta has quit IRC14:40
*** edmund has joined #heat14:40
*** vijendar has quit IRC14:42
*** Marga_ has joined #heat14:42
*** tomek_adamczewsk has joined #heat14:47
*** Marga_ has quit IRC14:47
*** tomek_adamczews1 has quit IRC14:48
*** blues-man has joined #heat14:49
*** htruta has joined #heat14:49
*** pmallya has joined #heat14:49
*** tiantian has quit IRC14:50
*** pmallya has quit IRC14:50
*** tspatzier has joined #heat14:50
*** thedodd has joined #heat14:50
*** pmallya_ has joined #heat14:50
inc0good afternoon zaneb, care a code review of convergence PoC?14:56
zanebinc0: sure :)14:56
zanebinc0: did you see the branch I pushed on Friday?14:56
inc0took a look, I see you've incorporated few ideas from my approach;)14:57
inc0like separate reality datastore14:57
inc0now I'm implementing update with changing of requirements14:58
zanebinc0: I had been thinking about that for a while, but I definitely stole a lot of the test stuff from you :)14:58
inc0I'm not sure if thats even possible tho14:58
inc0I mean if we should make that possible, that would be dangerous in any implementation14:59
*** randallburt has joined #heat14:59
*** randallburt has quit IRC14:59
inc0(but on the other hand its requirement of update-replace)14:59
*** randallburt has joined #heat14:59
zanebnot sure what you mean by changing of requirements?15:00
inc0res A requires B and C -> res B requires A and C15:00
inc0we don't change resources themselves but we do change what they are dependant on15:01
zanebyeah, I think we pretty much have to support that15:02
inc0I haven't implement that, but I will, that should be pretty straightforward15:02
inc0still, its dangerous15:03
inc0from end user point of view15:03
zanebwhy?15:03
inc0it changes whole flow of an graph15:04
ryansbWould the case for that only be when a user changes the deps in their template?15:04
inc0ryansb, yuo15:05
inc0yup15:05
inc0and we might assume he/she knows what he/she is doing15:05
zanebGIGO15:05
inc0GIGO?15:05
ryansbgarbage in garbage out?15:06
inc0ah, sure15:06
inc0I wonder how HP guys would dodge this case15:06
inc0if update will be called before stack finishes creation15:07
ryansbI think the simplest (implementation) and most understandable (for users) would be to raise updatereplace on the resources with changed deps15:07
*** randallburt has quit IRC15:07
inc0this is all new space of problems btw...what happends if someone changes graph before we are finished with it;)15:07
inc0ryansb, not always...floating ip might change vm connected to it15:08
inc0we don't want to delete and recreate floating in this case15:08
zanebyeah, you want replacement to be a last resort15:08
*** jasond has joined #heat15:08
inc0(although I don't know if floatings, like volumes, has separate resource floatingattachment)15:09
*** Qiming has joined #heat15:09
inc0still, we must be ready for resources which don't15:09
zanebafaik this isn't an issue with my branch, but maybe I just haven't thought about it enough...15:09
inc0it shouldn't be issue with me...I just need to implement it;)15:10
*** lazy_prince is now known as killer_prince15:10
inc0my friend is writing test for that as we speak, so we may check that out later15:11
*** rushiagr is now known as rushiagr_away15:11
inc0also zaneb I think we can implement my approach without having to change every resource15:12
openstackgerritMerged openstack/heat: Fix [H302] errors in heat/db  https://review.openstack.org/13417415:12
*** swygue has joined #heat15:12
*** tomek_adamczews1 has joined #heat15:12
zanebok good, that is pretty much a requirement imo15:12
inc0I haven't seen a case in which changes in base resource wouldn't be enough (it might just be improved)15:13
inc0although I don't think I know heat enough to assure you that it never will...15:13
zanebyep, definitely there will be improvements in phase 215:13
inc0fun fact, there is no phase 2 for my algo;)15:14
*** tomek_adamczewsk has quit IRC15:14
inc0it is already phase215:14
inc0actually, its only phase 2;)15:14
zanebbut none of this code will ever land if it requires all of the plugins to be rewritten15:14
inc0sure, agreed, thats why I'd love if you guys could take an independant look and check if I have missed something15:15
zanebinc0: well, that makes me sceptical that it will work with existing plugins15:15
*** vijendar has joined #heat15:15
*** kitch_ has joined #heat15:15
inc0zaneb, not really, continous observer was supposed to check reality and fix what is wrong15:15
zanebbasically if you need anything more from the resource than is provided by the existing handle_create, handle_delete, handle_update &c. then it's not a viable approach imho15:15
inc0I just assume lack of resource is wrong, and when we create new stack there is lot of resources which are missing15:16
zanebinc0: how do you know where to find the resource?15:16
inc0if there is no resource in reality and there is one in template15:17
*** dulek_ has joined #heat15:17
zanebinc0: where in reality? Nova? Neutron? what is the type of the resource? the existing API doesn't tell you that15:18
inc0we might need to add new database table with "Reality" which will be kept as close to real stuff as possible15:19
*** dulek has quit IRC15:19
inc0so if there is no vm in nova, there is no record in "reality db" (or state is DELETED or whatever)15:19
inc0I was thinking of separate process which will have only one job- keep there 2 things aligned15:19
inc0nova and reality db15:20
inc0then you have point of reference15:20
*** beekneemech is now known as bnemec15:20
inc0(ofc it can be current resource table, therefore we'd need new table for "goal we want to achieve")15:20
inc0or just parse template all the time, but thats silly imho15:21
ryansbI'd be worried about that approach because a failed (or incorrect) reality syncronizing process would cause some spectacular failures15:21
inc0ryansb, not if you assume its wrong15:21
inc0all the time15:21
inc0you never know when it will become out of sync15:22
*** thedodd has quit IRC15:22
inc0all you can really do is to try your best and depend on it as little as possible15:22
inc0in my approach when you do create/update/delete, what you really do is update, and then converge tries to match updated-stack-resources (lets call it goal stack) with assumed-reality15:23
inc0if something will break assumed-reality, it will try to fix that15:24
inc0hopefully at finite time it will fix15:24
*** dqw has quit IRC15:24
inc0but thats a problem we'll face anyway...in real world we never know when our idea about state if real resources is out of date15:25
inc0thats why I'm a bit suspicious about making create atomic action15:25
*** funzo_ is now known as funzo15:26
inc0you don't really know if part of graph you've already tranversed is working...it was when you've checked last time..15:27
*** rdo has quit IRC15:27
kopparamHi heat ppl. I am not able to use OS::Heat::MultiPartMime resource type. I'm trying to combine a CloudConfig and a SofwareConfig resource. But I get NoneType has not sttribute len() error. Somehow, the config_id is None when olso sends the get request to the ORM.15:28
*** rdo has joined #heat15:28
zanebinc0: sorry, stepped away for a call15:30
inc0no provlem15:30
inc0problem with our case and classic graph approach is that graph may change during traversing it...15:31
zanebinc0: so given a resource plugin, possibly supplied by the user, and a UUID that does not appear in "nova list", what would you do?15:31
*** dimsum__ is now known as dims15:32
inc0zaneb, well you don't give uuid in template15:32
zanebno, I mean it's stored in the resource table in the DB15:33
zanebbecause we created it previously15:33
inc0goal of resource table is to keep reality aligned15:33
zanebright, so how would you make reality align15:34
inc0so no resource with given uuid in nova -> no resource in reality_db15:34
inc0process doing that all the time15:34
zanebI'm not talking about reality_db15:34
zanebI'm talking about the existing DB, where when we create a resource we store its UUID15:34
inc0in current approach that would be reality db15:35
*** Tross has quit IRC15:35
inc0and template will be stored separately15:35
zanebwe created a resource, we stored it's UUID, now it doesn't exist in "nova list", what do you do?15:35
inc0remove or mark it as deleted15:35
inc0depends if we want soft-delete15:35
inc0but, when client does create he doesn't use this table15:36
inc0he just supplies "goal"15:36
zanebwe don't want to delete it at all15:36
inc0soft-delete is an option, sure, I don't like to delete stuff15:37
zanebright, the goal is for this thing to exist, but it doesn't appear in "nova list", what do you do?15:37
inc0one process will delete (or soft-delete) it from resource table15:37
inc0and convergence checks, it is in goal, it isn't in reality15:37
inc0then create15:38
*** crose has quit IRC15:38
zanebso you'd call handle_create()?15:38
inc0yes15:38
zanebok15:38
*** kopparam has quit IRC15:38
inc0so if someone removes it manually15:39
*** tomek_adamczews1 has quit IRC15:39
zanebit was a trick question. the reason it didn't appear in Nova list is that it's actually a Cinder volume15:39
*** dulek_ has quit IRC15:39
zanebyou just created a second one15:39
*** tomek_adamczewsk has joined #heat15:39
*** dulek has joined #heat15:39
*** rushiagr_away is now known as rushiagr15:40
inc0there is no method currently to check if resource exists in heat?15:40
zanebno15:40
inc0allright, then we're screwed anyway, because worker in any convergence process would need to check if it can proceed with graph15:40
zanebright. it can all be done with new plugins. the point is to avoid that15:41
zaneb_for now_15:41
inc0but thats something we'll need to do even with most naive phase115:41
inc0even if we assume that we made a call == resource is ready15:43
zanebthat's why in my implementation (and also the HP guys') we explicitly keep track of where we are in the graph15:43
inc0which might be default15:43
*** Marga_ has joined #heat15:43
zanebwe do exactly what we do now15:43
zanebcall Resource.create(), if it doesn't raise an exception it's ready15:43
inc0sure....what of vms in progress?15:44
*** elynn has quit IRC15:44
zanebResource.create() doesn't exit until they're complete15:45
inc0...unless we kill engine process...what then?15:45
zanebthen we're hosed, same as now15:45
inc0thats wrong...15:45
zanebthat's why this is only phase 115:46
inc0but then its ok for me too15:46
inc0because worker will add it to reality after each creation with "created" status15:46
skraynevg'night all15:47
inc0gnite skraynev15:47
*** Marga_ has quit IRC15:48
*** randallburt has joined #heat15:48
inc0it can add reality record with status new (to avoid race conditions) -> handle_create -> update status to created15:48
inc0thats all15:48
zanebyou just said that you were implementing phase 215:48
inc0allright, unless we make it possible to check status and update it, we can't15:49
inc0so yeah, there will be phase 215:49
inc0still, we'll have all the mechanisms for that15:49
inc0all we need to do is to implement checker functions...slowly15:49
zanebok :)15:49
*** jasond has quit IRC15:49
inc0default would be "return True"15:50
inc0but that doesn't change approach;) moreover, we'll have everything ready for p215:52
inc0we then just need to fix "align reality" for resources15:52
zanebyep15:53
*** randallburt has quit IRC15:53
*** randallburt has joined #heat15:54
zanebbtw the 'reality record' is exactly how the Resource table works right now, just so you know15:54
zanebwe store the state (CREATE_COMPLETE or whatever), the uuid and the properties we used to create the resource15:54
inc0I assumed that, but I don't think there is process actually upgrading that right?15:55
zanebright, at the moment it only gets changed on update15:55
*** jprovazn has quit IRC15:55
zanebso it's open-loop15:55
inc0yeah, I'd love to see process with one and only one job- updating that15:56
inc0namely an observer15:56
inc0but I get it, phase215:56
zanebexactly :)15:57
inc0btw zaneb , I've just add descriptions to functions which will be separate processes in implementation15:59
inc0I don't think I can make endless loop with your framework;)15:59
zanebthat's what the @asynchronous decorator is for16:00
inc0hence engine.converge(iterations=10)16:00
inc0yeah, it will throw things to queue and schedule it for later16:00
inc0I just simulated 10 iterations of separate process;)16:01
zanebhttp://paste.openstack.org/show/137523/16:01
* zaneb has another call :/16:02
inc0allright, I did that in for loop:P16:02
*** randallburt1 has joined #heat16:02
inc0anyway, I'm going off for today16:02
inc0laters, take a look at my code zaneb plz in free moment16:02
*** randallburt1 has quit IRC16:03
*** randallburt1 has joined #heat16:03
*** kebray has joined #heat16:04
*** randallburt has quit IRC16:05
*** inc0 has quit IRC16:07
*** Tross has joined #heat16:10
*** tomek_adamczews1 has joined #heat16:11
*** ananta has quit IRC16:12
*** tomek_adamczewsk has quit IRC16:13
*** rakesh_hs2 has quit IRC16:14
*** achanda has joined #heat16:16
*** blues-man has quit IRC16:16
*** dulek has quit IRC16:16
*** dulek has joined #heat16:17
*** blues-man has joined #heat16:19
*** sdf_ has joined #heat16:24
*** achanda has quit IRC16:29
*** Drago has joined #heat16:32
*** Drago has quit IRC16:32
*** Drago has joined #heat16:32
*** tlashchova has joined #heat16:32
*** kopparam has joined #heat16:39
*** vryzhenkin has quit IRC16:40
*** mkollaro has quit IRC16:42
*** Marga_ has joined #heat16:44
*** kopparam has quit IRC16:44
openstackgerritPavlo Shchelokovskyy proposed openstack/heat-specs: Update spec to support spice and rdp console type  https://review.openstack.org/10990916:46
*** kopparam has joined #heat16:47
*** alexpilotti has joined #heat16:47
*** Marga_ has quit IRC16:48
*** Marga_ has joined #heat16:49
*** Qiming has quit IRC16:50
*** dulek has quit IRC16:50
*** tiantian has joined #heat16:50
*** Marga_ has quit IRC16:53
openstackgerritPavlo Shchelokovskyy proposed openstack/heat: Add console_urls atttribute to server resource  https://review.openstack.org/12446316:53
*** JayJ has joined #heat16:54
openstackgerritPavlo Shchelokovskyy proposed openstack/heat-templates: Sample to show how to get server console url  https://review.openstack.org/11029917:06
openstackgerritPavlo Shchelokovskyy proposed openstack/heat-templates: Sample to show how to get server console url  https://review.openstack.org/11029917:07
*** sdf_ has quit IRC17:08
*** alexheneveld has quit IRC17:08
*** sorantis has quit IRC17:09
*** tomek_adamczews1 has quit IRC17:09
openstackgerritPavlo Shchelokovskyy proposed openstack/heat-specs: Update spec to support spice and rdp console type  https://review.openstack.org/10990917:10
*** radez_g0n3 is now known as radez17:13
*** stannie has quit IRC17:16
*** kopparam has quit IRC17:17
*** alexpilotti has quit IRC17:20
*** Marga_ has joined #heat17:21
*** ifarkas has quit IRC17:21
*** Marga_ has quit IRC17:24
*** Marga_ has joined #heat17:25
openstackgerritJason Dunsmore proposed openstack/heat: Always import heat.rpc.api as rpc_api  https://review.openstack.org/13570417:26
*** Marga_ has quit IRC17:26
*** GonZo2K has joined #heat17:26
*** Marga_ has joined #heat17:27
*** Marga_ has quit IRC17:28
*** GonZo2K has quit IRC17:29
*** Marga_ has joined #heat17:30
*** Tross has quit IRC17:31
*** alexheneveld has joined #heat17:31
*** blues-man has quit IRC17:32
*** GonZo2K has joined #heat17:34
*** Marga_ has quit IRC17:35
*** Marga_ has joined #heat17:35
*** dims has quit IRC17:35
*** dims has joined #heat17:35
*** rushiagr is now known as rushiagr_away17:36
*** GonZo2K has quit IRC17:37
*** Drago has quit IRC17:37
*** swygue has quit IRC17:38
*** Marga_ has quit IRC17:39
*** Marga_ has joined #heat17:40
*** dims has quit IRC17:40
*** Marga_ has quit IRC17:40
*** Marga_ has joined #heat17:41
*** Marga_ has quit IRC17:41
*** Marga_ has joined #heat17:42
*** Marga_ has quit IRC17:43
*** Marga__ has joined #heat17:43
*** Marga__ has quit IRC17:46
*** Marga_ has joined #heat17:47
*** dims has joined #heat17:48
*** rushiagr_away is now known as rushiagr17:50
*** harlowja_away is now known as harlowja17:52
*** tlashchova has quit IRC17:55
*** Marga_ has quit IRC18:00
*** Marga_ has joined #heat18:02
*** derekh has quit IRC18:05
*** Tross has joined #heat18:07
openstackgerritMerged openstack/heat: Imported Translations from Transifex  https://review.openstack.org/13668118:12
*** Marga_ has quit IRC18:13
*** Marga_ has joined #heat18:14
*** Marga_ has quit IRC18:18
*** Marga_ has joined #heat18:19
*** Marga_ has quit IRC18:21
*** Marga_ has joined #heat18:22
*** ifarkas has joined #heat18:24
*** inc0 has joined #heat18:24
inc0hello again18:24
*** Marga_ has quit IRC18:24
*** Marga_ has joined #heat18:25
*** Marga_ has quit IRC18:26
*** Marga_ has joined #heat18:26
*** swygue has joined #heat18:31
*** Marga_ has quit IRC18:33
*** Marga_ has joined #heat18:34
*** Marga_ has quit IRC18:36
*** tlashchova has joined #heat18:37
*** Marga_ has joined #heat18:37
*** jstrachan has quit IRC18:38
*** Marga_ has quit IRC18:40
*** Marga_ has joined #heat18:41
*** achanda has joined #heat18:46
*** achanda has quit IRC18:53
*** achanda has joined #heat18:54
*** Tross has quit IRC18:54
*** jprovazn has joined #heat18:55
*** jprovazn has quit IRC18:59
*** jprovazn has joined #heat19:03
*** blomquisg has quit IRC19:04
*** packet has joined #heat19:12
*** sarob has joined #heat19:14
*** htruta has quit IRC19:15
*** jcoufal_ has quit IRC19:15
*** alexpilotti has joined #heat19:15
*** rushiagr is now known as rushiagr_away19:19
*** htruta has joined #heat19:20
*** andersonvom has quit IRC19:20
*** andersonvom has joined #heat19:22
*** inc0 has quit IRC19:22
*** alexpilotti has quit IRC19:27
*** alexpilotti has joined #heat19:27
*** Marga_ has quit IRC19:29
*** jistr has quit IRC19:31
*** alexheneveld has quit IRC19:33
*** alexheneveld has joined #heat19:34
*** GonZo2K has joined #heat19:34
*** ifarkas has quit IRC19:40
*** ifarkas has joined #heat19:43
*** Tross has joined #heat19:45
*** jjk_ has joined #heat19:49
*** ramishra has quit IRC19:53
*** tspatzier has quit IRC19:57
*** sarob has quit IRC19:59
*** htruta has quit IRC19:59
*** ifarkas has quit IRC20:00
*** sarob has joined #heat20:00
*** pas-ha has quit IRC20:08
*** thedodd has joined #heat20:16
*** ifarkas has joined #heat20:17
*** sarob has quit IRC20:17
*** htruta has joined #heat20:18
*** alexpilotti has quit IRC20:24
*** yassine has quit IRC20:29
*** blomquisg has joined #heat20:34
andersonvomhey folks, does anybody know why Base64 was removed from the list of intrinsic functions in Hot20141016 ?20:36
*** achanda has quit IRC20:38
*** achanda has joined #heat20:40
*** yassine has joined #heat20:44
*** jprovazn_ has joined #heat20:46
*** jprovazn has quit IRC20:50
*** achanda has quit IRC20:55
zanebandersonvom: we never implemented it21:00
zanebit was a waste of space21:00
andersonvomzaneb: yeah, I just noticed that it was just a passthough.21:00
andersonvomthanks, though!21:00
zanebcfn had it because the userdata of AWS::EC2::Instance was Base64-encoded21:01
*** aweiteka has quit IRC21:01
zanebbut we do our own weird stuff with cloud-init rather than passing it straight through anyway21:01
andersonvomcool.  on a related note, if I wanted to implement more intrinsic functions, do I have to write a spec for them? Or can I just have a bp and a patch?21:03
randallburt1andersonvom:  spec is the new bp21:05
*** randallburt1 is now known as randallburt21:05
andersonvomrandallburt: ok, thanks21:05
*** jprovazn_ has quit IRC21:05
*** ifarkas has quit IRC21:06
openstackgerritJason Dunsmore proposed openstack/heat: Always import heat.rpc.api as rpc_api  https://review.openstack.org/13570421:10
*** sarob has joined #heat21:12
openstackgerritAnderson Mesquita proposed openstack/heat-specs: Add digest intrinsic function  https://review.openstack.org/13690121:33
*** achanda has joined #heat21:37
*** yassine has quit IRC21:41
*** asalkeld has joined #heat21:41
*** jdob has quit IRC21:52
*** packet has quit IRC21:57
*** tspatzier has joined #heat21:57
*** tspatzier has quit IRC21:57
*** pmallya_ has quit IRC21:59
*** jtomasek has quit IRC22:00
*** kebray has quit IRC22:03
openstackgerritSteve Baker proposed openstack/heat: Use correct IDs when collecting multipart config parts  https://review.openstack.org/13690622:03
*** kebray_ has joined #heat22:04
*** harlowja is now known as harlowja_away22:05
*** jtomasek has joined #heat22:11
*** harlowja_away is now known as harlowja22:16
*** alexheneveld has quit IRC22:19
*** jtomasek has quit IRC22:24
*** dims has quit IRC22:25
*** dims has joined #heat22:26
*** dims has quit IRC22:26
*** dims_ has joined #heat22:27
*** dims_ has quit IRC22:28
*** tomek_adamczewsk has joined #heat22:29
*** rpothier has quit IRC22:30
*** achanda has quit IRC22:32
*** dims has joined #heat22:39
*** vijendar has quit IRC22:39
*** jjk_ has quit IRC22:46
*** JayJ has quit IRC22:47
*** JayJ has joined #heat22:48
openstackgerritAnderson Mesquita proposed openstack/heat-specs: Add digest intrinsic function  https://review.openstack.org/13690122:55
*** shakamunyi_ has joined #heat22:55
*** sarob has quit IRC23:01
*** alexheneveld has joined #heat23:04
*** shakamunyi_ has quit IRC23:04
*** pmallya has joined #heat23:06
*** pmallya has quit IRC23:06
*** pmallya has joined #heat23:06
*** achanda has joined #heat23:12
*** swygue has quit IRC23:13
*** kopparam has joined #heat23:13
*** tomek_adamczewsk has quit IRC23:15
*** kebray_ has quit IRC23:17
*** andersonvom has quit IRC23:18
*** kopparam has quit IRC23:19
*** rdo has quit IRC23:24
*** rdo has joined #heat23:31
*** thedodd has quit IRC23:31
*** ahonda has quit IRC23:35
*** ahonda has joined #heat23:38
*** JayJ has quit IRC23:54
*** randallburt has quit IRC23:54
*** rdo has quit IRC23:58
*** sarob has joined #heat23:58

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