Monday, 2014-12-08

*** kopparam has quit IRC00:03
openstackgerritAngus Salkeld proposed openstack/heat-specs: Add support for external resources  https://review.openstack.org/13484800:04
*** serg_melikyan has joined #heat00:06
*** EricGonczer_ has quit IRC00:06
*** alexpilotti has quit IRC00:08
asalkeldbbl00:11
*** pm90_ has joined #heat00:11
*** EricGonczer_ has joined #heat00:11
*** dsneddon has quit IRC00:11
*** dsneddon has joined #heat00:13
*** randallburt has quit IRC00:21
*** serg_melikyan has quit IRC00:27
*** serg_melikyan has joined #heat00:28
*** serg_melikyan has quit IRC00:32
*** EricGonczer_ has quit IRC00:35
*** serg_melikyan has joined #heat00:48
*** boris-42 has quit IRC00:52
*** dsneddon has quit IRC00:53
*** mc__ has joined #heat00:54
openstackgerritMerged openstack/heat: Expose resource attributes in the engine  https://review.openstack.org/13511000:55
*** dsneddon has joined #heat00:55
*** EricGonczer_ has joined #heat00:56
*** EricGonczer_ has quit IRC00:57
*** kopparam has joined #heat01:02
*** serg_melikyan has quit IRC01:12
*** dsneddon has quit IRC01:14
*** dsneddon has joined #heat01:16
openstackgerritQiming Teng proposed openstack/heat: Add type validation for LaunchConfigurationName  https://review.openstack.org/13774001:22
*** kopparam has quit IRC01:33
*** dsneddon has quit IRC01:36
*** dsneddon has joined #heat01:36
*** mc__ has quit IRC01:42
*** EricGonczer_ has joined #heat01:56
elynnmorning :)02:05
*** erkules_ has joined #heat02:17
*** dsneddon has quit IRC02:18
openstackgerritChangBo Guo(gcb) proposed openstack/heat: Sync policy from oslo-incubator  https://review.openstack.org/13389402:19
*** dsneddon has joined #heat02:19
*** erkules has quit IRC02:19
*** serg_melikyan has joined #heat02:28
*** kopparam has joined #heat02:29
*** kopparam has quit IRC02:34
openstackgerritMerged openstack/heat: Use template directly instead of stack.tmpl  https://review.openstack.org/13954802:35
*** dsneddon has quit IRC02:38
*** dsneddon has joined #heat02:40
*** nanjj` has joined #heat02:41
*** serg_melikyan has quit IRC02:54
*** serg_melikyan has joined #heat02:55
*** serg_melikyan has quit IRC02:59
*** achanda has joined #heat03:00
*** achanda has quit IRC03:02
*** elynn has quit IRC03:08
*** nanjj` has quit IRC03:10
*** serg_melikyan has joined #heat03:12
*** fandi has joined #heat03:23
*** EricGonczer_ has quit IRC03:24
*** tiantian has joined #heat03:25
*** serg_melikyan has quit IRC03:27
*** serg_melikyan has joined #heat03:28
*** elynn has joined #heat03:29
*** serg_melikyan has quit IRC03:32
*** tiantian has quit IRC03:33
*** serg_melikyan has joined #heat03:36
*** serg_melikyan has quit IRC03:37
*** serg_melikyan has joined #heat03:37
*** elynn has quit IRC03:39
*** elynn has joined #heat03:42
*** Tross has quit IRC03:43
*** david-lyle_afk has joined #heat03:43
*** EricGonczer_ has joined #heat03:49
*** serg_melikyan has quit IRC03:49
*** david-lyle_afk has quit IRC03:50
*** tiantian has joined #heat03:51
openstackgerrithuangtianhua proposed openstack/heat: Make 'admin_pass' updatable for nova server  https://review.openstack.org/13773003:52
*** tiantian has quit IRC03:58
*** EricGonczer_ has quit IRC03:59
*** tiantian has joined #heat03:59
*** david-lyle_afk has joined #heat04:02
*** david-lyle_afk has quit IRC04:02
*** pm90_ has quit IRC04:03
*** tiantian has quit IRC04:04
*** tiantian has joined #heat04:05
*** lazy_prince has quit IRC04:08
*** lazy_prince has joined #heat04:09
*** dimsum__ has quit IRC04:11
*** serg_melikyan has joined #heat04:12
*** serg_melikyan has quit IRC04:12
*** serg_melikyan has joined #heat04:13
*** Tross has joined #heat04:13
*** serg_melikyan has joined #heat04:13
*** tiantian has quit IRC04:15
*** tiantian has joined #heat04:16
*** kopparam has joined #heat04:17
*** kopparam has quit IRC04:21
*** ygoto has quit IRC04:25
*** tiantian is now known as huangtianhua04:27
*** ygoto has joined #heat04:28
*** ishant has joined #heat04:28
*** ishant has quit IRC04:28
openstackgerrithuangtianhua proposed openstack/heat: Abstract rpc 'create_stack' call mock method  https://review.openstack.org/13990204:28
openstackgerrithuangtianhua proposed openstack/heat: Abstract rpc 'create_stack' call mock method  https://review.openstack.org/13990204:30
*** ckmvishnu has joined #heat04:30
*** sarob has joined #heat04:32
*** Marga_ has joined #heat04:35
*** sarob has quit IRC04:38
*** dsneddon has quit IRC04:39
*** asalkeld_ has joined #heat04:41
*** dsneddon has joined #heat04:41
*** sanjayu has joined #heat04:42
*** asalkeld has quit IRC04:44
openstackgerrithuangtianhua proposed openstack/heat: Apply neutron network constraint  https://review.openstack.org/13582304:44
openstackgerrithuangtianhua proposed openstack/heat: Apply neutron port constraint  https://review.openstack.org/13583504:45
*** sabeen has joined #heat04:48
openstackgerrithuangtianhua proposed openstack/heat: Split wait condition into separate files  https://review.openstack.org/13899304:52
openstackgerrithuangtianhua proposed openstack/heat: Split wait condition handle into separate files  https://review.openstack.org/13930304:54
openstackgerrithuangtianhua proposed openstack/heat: Apply neutron subnet constraint  https://review.openstack.org/13587504:55
openstackgerrithuangtianhua proposed openstack/heat: Apply neutron router constraint  https://review.openstack.org/13588004:55
*** hdd has joined #heat04:56
*** serg_melikyan has quit IRC04:56
*** serg_melikyan has joined #heat04:57
*** serg_mel_ has joined #heat04:58
*** serg_melikyan has quit IRC04:58
*** serg_melikyan has joined #heat04:58
*** dsneddon has quit IRC05:00
*** GonZo2K has quit IRC05:01
*** david-lyle_afk has joined #heat05:01
*** huangtianhua has quit IRC05:01
openstackgerrithuangtianhua proposed openstack/heat: Support cinder volume retype  https://review.openstack.org/13750905:02
*** dsneddon has joined #heat05:02
openstackgerritJun Jie Nan proposed openstack/heat: Added pseudo param OS::tenant_id  https://review.openstack.org/13964605:03
openstackgerritJun Jie Nan proposed openstack/heat: Added tests for pseudo params  https://review.openstack.org/13990705:03
*** kebray has joined #heat05:05
*** kebray has quit IRC05:05
*** rushiagr_away is now known as rushiagr05:07
*** kebray has joined #heat05:09
*** ipolyzos has quit IRC05:09
*** ipolyzos has joined #heat05:11
*** dimsum__ has joined #heat05:11
*** serg_melikyan has quit IRC05:14
*** dimsum__ has quit IRC05:17
*** kopparam has joined #heat05:24
*** jtomasek has joined #heat05:25
*** hdd has quit IRC05:28
*** Marga_ has quit IRC05:33
*** sarob has joined #heat05:34
*** serg_melikyan has joined #heat05:34
*** kopparam has quit IRC05:35
*** Marga_ has joined #heat05:35
*** serverascode___ has quit IRC05:37
*** kopparam has joined #heat05:37
*** serverascode___ has joined #heat05:39
*** sarob has quit IRC05:39
*** serg_melikyan has quit IRC05:41
*** serg_melikyan has joined #heat05:41
*** ipolyzos has quit IRC05:45
*** ipolyzos has joined #heat05:46
*** sabeen has quit IRC05:46
*** Qiming has joined #heat05:47
Qiminghi, asalkeld_05:51
*** kebray has quit IRC05:54
*** enterprisedc has quit IRC05:54
*** unmeshg has joined #heat05:55
asalkeld_hi Qiming05:56
Qimingasalkeld_, I just noticed your recent change 13219005:57
Qiminghttps://review.openstack.org/#/c/132190/05:57
asalkeld_yip05:57
QimingI'm wondering if you would like to give it a second thought05:57
asalkeld_what do you mean ?05:58
Qimingthis new output with hard-coded name is not flexible, in my view05:58
QimingI was wondering if we need to revise the HOT get_resource function so that it can take advantage of the 'path' parameter05:59
asalkeld_Qiming, well "os::stack_id" is what we use for stack id05:59
Qiminganother limitation is that you can only have one output per stack05:59
asalkeld_Qiming, the point of this is that the template writer does not have to be aware of the implementation details05:59
Qimingright, that is my point too06:00
asalkeld_so you path suggestion would not work06:00
asalkeld_as the author would have to know that it is not normal06:00
openstackgerritOpenStack Proposal Bot proposed openstack/heat: Imported Translations from Transifex  https://review.openstack.org/13895806:00
*** nkhare has joined #heat06:01
asalkeld_Qiming, i am of coure open to better ideas06:01
asalkeld_i just need a better idea06:01
asalkeld_that works06:01
QimingI'm trying to propose one because I know you are open to ideas06:01
asalkeld_ok06:01
*** k4n0 has joined #heat06:01
asalkeld_maybe post to that review?06:02
Qimingjust like get_attr, which can do more than just from the surface06:02
Qimingokay, will do that06:02
asalkeld_Qiming, ping me when you are done, and i'll have a read06:03
Qimingokay, thanks.06:03
*** unmeshg_ has joined #heat06:13
*** unmeshg has quit IRC06:14
*** ckmvishnu has quit IRC06:15
*** Marga_ has quit IRC06:20
*** sarob has joined #heat06:23
*** sarob has quit IRC06:27
*** kopparam has quit IRC06:30
*** ccrouch has left #heat06:31
*** tylerdurden has joined #heat06:32
Qimingasalkeld_, done posting my comments ... forgive my craziness if needed, :)06:33
*** shakamunyi has quit IRC06:34
*** ygoto has quit IRC06:35
*** rakesh_hs has joined #heat06:37
*** kopparam has joined #heat06:38
*** liusheng has joined #heat06:39
*** ygoto has joined #heat06:39
*** Dragomir has quit IRC06:40
*** ramishra has quit IRC06:41
*** ramishra has joined #heat06:43
*** liusheng has quit IRC06:51
*** Dragomir has joined #heat06:51
*** liusheng has joined #heat06:52
*** unmeshg_ has quit IRC06:55
*** jtomasek has quit IRC06:59
*** tomek_adamczewsk has joined #heat07:02
asalkeld_Qiming, did you see this: https://review.openstack.org/#/c/136230/07:04
asalkeld_that allows you to do a very similar thing07:04
asalkeld_get_attr: [my_server, resource.inner_resource] == get_resource on the inner resource07:05
asalkeld_and07:05
asalkeld_get_attr: [my_server, resource.inner_resource, first_address] == get_attr on the inner resource07:05
*** Yanyanhu has joined #heat07:07
Qimingasalkeld_, oh, that one is cool, though the grammar is weird, :)07:08
asalkeld_Qiming, it is disigned to match the resoruce group07:08
Qimingasalkeld_, I see.07:09
asalkeld_resource group has: get_attr: [my_server, resource.<number>, first_address]07:09
*** Dragomir has quit IRC07:09
Qimingcan I reference some resources from outer template from a nested template?07:09
asalkeld_not yet07:10
asalkeld_tho' that would be a bit of a layering issue07:10
asalkeld_(it's nice to have template resources that are independant)07:11
Qimingwould decoupling nested-stack work help on this?07:11
asalkeld_not really, it just makes it more distrubted07:11
Qiminggot it07:11
asalkeld_(working on unraveling the test now)07:11
openstackgerrithuangtianhua proposed openstack/heat: Split volume into separate files  https://review.openstack.org/13992507:15
*** tiantian has joined #heat07:17
*** tspatzier has joined #heat07:21
*** tomek_adamczewsk has quit IRC07:28
*** Michalik has quit IRC07:29
*** Michalik has joined #heat07:30
*** pas-ha has joined #heat07:36
*** Yanyan has joined #heat07:37
*** Yanyanhu has quit IRC07:37
pas-hamorning all07:37
tiantianpas-ha: hi:)07:38
asalkeld_hi07:39
*** erkules_ is now known as erkules07:40
openstackgerrithuangtianhua proposed openstack/heat: Split volume attachment into separate files  https://review.openstack.org/13993107:40
*** ishant has joined #heat07:49
cmystermorning07:51
*** jprovazn has joined #heat07:54
openstackgerritEthan Lynn proposed openstack/heat: Set resource id for OS::Neutron::LoadBalancer  https://review.openstack.org/13993407:57
*** cmyster has quit IRC07:58
*** tsufiev has quit IRC07:58
*** IgorYozhikov has quit IRC07:59
*** dteselkin has quit IRC07:59
*** liusheng has quit IRC08:02
*** liusheng has joined #heat08:03
*** bdossant has joined #heat08:06
*** cmyster has joined #heat08:07
*** cmyster has quit IRC08:07
*** cmyster has joined #heat08:07
*** dteselkin has joined #heat08:10
*** IgorYozhikov has joined #heat08:11
*** sarob has joined #heat08:11
*** jamielennox is now known as jamielennox|away08:12
*** tsufiev has joined #heat08:14
*** tomek_adamczewsk has joined #heat08:15
*** jistr has joined #heat08:16
*** sarob has quit IRC08:16
openstackgerrithuangtianhua proposed openstack/heat: Split volume into separate files  https://review.openstack.org/13992508:20
*** jstrachan has joined #heat08:24
*** sadf has joined #heat08:25
*** serg_melikyan has quit IRC08:26
*** fandi has quit IRC08:31
*** sadf has left #heat08:35
*** serg_melikyan has joined #heat08:36
*** mzbik has joined #heat08:39
mzbikHi guys08:39
pas-hamzbik, hi08:39
mzbikmy heat needs X-Auth-user and X-Auth-Key even if I have not set standalone mode08:40
mzbik[paste_deploy] #flavor=<None>08:40
openstackgerrithuangtianhua proposed openstack/heat: Split volume attachment into separate files  https://review.openstack.org/13993108:40
*** serg_melikyan has quit IRC08:48
shardymzbik: To avoid that requirement, set deferred_auth_method=trusts08:52
mzbikok, thanks :)08:53
shardyhttp://hardysteven.blogspot.co.uk/2014/04/heat-auth-model-updates-part-1-trusts.html08:53
mzbikjust realized that08:53
shardyWe really should make it the default, it's something I've been meaning to do for a while08:53
*** jcoufal has joined #heat08:54
cmyster+108:56
mzbik+108:57
mzbikif my vote counts ;)08:58
shardyasalkeld_: Hey, had you spotted that https://review.openstack.org/#/c/131337/ needs a rebase?08:58
openstackgerrithuangtianhua proposed openstack/heat-specs: Reorganize the code structure of resources  https://review.openstack.org/12977708:58
*** ifarkas has joined #heat08:59
shardymzbik, cmyster: Yeah, let me see if I can revive https://review.openstack.org/#/c/122177/ this week08:59
asalkeld_shardy, yip - i am working on it08:59
*** mzbik has left #heat08:59
shardyasalkeld_: Ah, cool, just wanted to check :)08:59
shardyasalkeld_: I'm interested in using that feature in TripleO soon :)09:00
asalkeld_ok, getting there09:00
cmystershardy: care to give it a recheck just to see if it even passes gates ?09:00
shardycmyster: It won't, which is why I've been putting it off09:00
*** tiantian has quit IRC09:01
shardynearly every test breaks09:01
cmysterbuh09:01
shardyI'll have to come up with a test base-class way to avoid fixing every.single.one09:01
cmysternothing a nice sed can do here ?09:02
shardynot really, the problem is every test now needs to stub the call to keystone creating the trust09:02
openstackgerrithuangtianhua proposed openstack/heat: Move volume tasks to heat/common/volume_tasks.py  https://review.openstack.org/13994709:02
shardyOr every test which creates a stack object at least, which is $most of them09:02
cmysterah I see,09:02
shardyThere's a common helper for creating the fixture, so maybe I can use that09:03
cmysteroh speaking of tests, what do you thinkshould be the upper limit of time consumption by a test ? I am working on a scenario that should take a few minutes to test09:04
shardyI think the main thing is to avoid requiring a full fedora image wherever possible (e.g use cirros)09:05
shardynearly all of our gate test timout issues are because it sometimes takes way too long to boot a Fedora image09:06
shardy(on gate infra)09:06
cmysterI see, and what is the current timeout ?09:06
*** fandi has joined #heat09:06
*** bhi has joined #heat09:09
shardycmyster: In tempest, it's 1200s, not sure if that default is overridden for gate tests tbh09:09
*** mzbik has joined #heat09:15
mzbikee.... {"message": "Missing required credential: roles ['heat_stack_owner']", "traceback": null, "type": "MissingCredentialError"}, "title": "Bad Request"}09:15
*** dimsum__ has joined #heat09:15
mzbikthere is such role in keystone oO09:15
*** derekh has joined #heat09:17
*** dimsum__ has quit IRC09:20
*** jtomasek has joined #heat09:21
*** inc0 has joined #heat09:23
inc0gmorning09:23
cmystermorning09:23
shardymzbik: The user creating the stack needs that role09:30
shardymzbik: unless you're on recent master, where we removed that requirement and now delegate all roles instead:09:31
shardyhttps://review.openstack.org/#/c/130104/09:31
shardyYou can opt-in to that behavior on latest stable/juno too09:32
mzbikshardy, oh... tnx09:32
*** kopparam has quit IRC09:37
openstackgerrithuangtianhua proposed openstack/heat: Split instance code into seperate file  https://review.openstack.org/13995509:38
openstackgerrithuangtianhua proposed openstack/heat: Reorganize instance code  https://review.openstack.org/13995509:39
openstackgerritMerged openstack/heat: Imported Translations from Transifex  https://review.openstack.org/13895809:41
cmystermzbik: usually devstack (I assume that thats what you are using here) should take care of everything from a configuration POV and give you the exact source files to use...09:44
mzbikcmyster, nope its not devstack :)09:44
cmystergotcha09:44
mzbik:P09:44
cmysterwhat is it then ?09:44
mzbikcustom install09:44
cmystermay I know what are you using to install it with ?09:45
mzbikrpms only09:46
mzbikand my experience in configuring whole openstack09:46
mzbikoh you mean with09:46
mzbikhmm... Im doing some prototyping and I was not using heat very often previously09:47
cmystermzbik: I was just wondering of were using an installation tool, like packstack or something like that09:47
mzbiknope09:47
mzbikjust, in this case, yum09:48
cmystermzbik: you could always try installing with a tool of sorts and see how it configures things and try to do something similar.09:49
openstackgerritPavlo Shchelokovskyy proposed openstack/heat: Fix formatting in integration tests README  https://review.openstack.org/13995709:49
*** nkhare has quit IRC09:52
*** nkhare has joined #heat09:52
mzbikcmyster, one more question, I would like to understand it well09:53
openstackgerrithuangtianhua proposed openstack/heat: Reorganize user and access code  https://review.openstack.org/13995909:54
mzbikcmyster, I set deferred_auth_method=trusts, and trusts_delegated_roles=heat_stack_owner09:55
mzbikEvery user which wants to create stack in heat must have heat_stack_owner role? oO09:55
mzbikI also set stack_domain_admin=heat and stack_domain_admin_password=heat09:56
mzbikmaybe this user must have heat_stack_owner role?09:56
*** Qiming has quit IRC09:56
*** Tross has quit IRC09:57
shardymzbik: Like I just said, on recent heat and optionally recent Juno, you don't need heat_stack_owner anymore09:59
shardybut if you're on an older version, then yes all users require heat_stack_owner09:59
mzbikok ok, but I dont have latest code, yet ;)09:59
mzbikshardy, oh, ok :) thank you very much :)09:59
shardyhttp://hardysteven.blogspot.co.uk/2014/04/heat-auth-model-updates-part-2-stack.html10:00
shardyThat explains the domain user configuration10:00
shardysetting it to the heat service user is *not* what you want to do :)10:00
*** sarob has joined #heat10:00
*** fandi has quit IRC10:02
*** sarob has quit IRC10:05
*** kopparam has joined #heat10:05
shardytherve: Hey, any chance you could attend the oslo meeting this afternoon at 16.00 UTC?10:06
shardyhttps://wiki.openstack.org/wiki/Meetings/Oslo10:06
shardyI've got a conflict with another meeting10:06
therveshardy, Hi! Not ideal, but I should able to yeah10:07
*** sorantis has joined #heat10:07
shardytherve: If it's inconvenient we can ask one of the US based guys to do it?10:07
therveshardy, I'll pass the torch if necessary10:08
shardytherve: Ok, great thanks - I'll be out of the office all afternoon so that's much appreciated10:08
therveNo problem :)10:08
*** fandi has joined #heat10:09
*** cdent has joined #heat10:17
openstackgerrithuangtianhua proposed openstack/heat: Make 'admin_pass' updatable for nova server  https://review.openstack.org/13773010:17
openstackgerrithuangtianhua proposed openstack/heat: Take admin password for server rebuild  https://review.openstack.org/13774610:18
*** Yanyan has quit IRC10:20
mzbikshardy, thanks!10:22
*** tiantian has joined #heat10:25
openstackgerrithuangtianhua proposed openstack/heat: Split instance code into seperate file  https://review.openstack.org/13995510:28
*** serg_melikyan has joined #heat10:33
*** serg_melikyan has quit IRC10:38
*** ckmvishnu has joined #heat10:39
*** tomek_adamczews1 has joined #heat10:40
*** unmeshg has joined #heat10:41
*** alexheneveld has joined #heat10:41
*** tomek_adamczewsk has quit IRC10:41
*** sdake has quit IRC10:44
*** tomek_adamczewsk has joined #heat10:46
*** tomek_adamczews1 has quit IRC10:47
*** jistr has quit IRC10:51
*** maishsk has joined #heat10:52
maishskgood afternoon10:52
*** tochi has quit IRC10:53
maishskI am seeing a number of users being created in my environment - when using Wait Handles in templates10:53
maishskfor example - Mongo-wait_handle_mongoDB03-aefjbc2jqhd210:53
sgranthat is correct10:53
sgrantemporary user identities to use for the signed callback url10:54
maishskwhy are these users being created?10:54
sgranthe signing of the callback url could probably be implemented differently, but that's my understanding for how it currently works10:54
maishsksgran: are these users supposed to be removed after a stack is deleted?10:55
maishskand is this only for AWS::CloudFormation::WaitCondition ? or also for the Heat implementation of waitcondition as well?10:56
sgranmaishk - yeah, they get cleaned up when the stack is removed.  I don't know about the second question specifically, but I would imagine yes10:57
*** asalkeld_ has quit IRC10:57
sgranboth waitconditions callback needs a signed url, I'd imagine they're implemented the same way10:57
*** ygoto has quit IRC10:57
maishskand in order to create these users - does the user running the stack need to have any specific permissions?10:58
*** cmyster has quit IRC11:00
inc0guys I'm playing with an idea. Regarding versioned objects, or where to put them to enable versioning with least amount of changes to logic11:01
inc0I was thinking of adding middleware to db.api11:01
inc0so instead of IMPL.do_whatever_whith_db() call version_it(IMPL.do_whatever_whith_db(), version="1.1")11:02
*** kopparam_ has joined #heat11:02
*** kopparam has quit IRC11:03
*** unmeshg has quit IRC11:06
therveelynn, Can you explain what's the problem in https://bugs.launchpad.net/bugs/1400227 ?11:07
uvirtbotLaunchpad bug 1400227 in heat "OS::Neutron::LoadBalancer resource doesn't have resource id" [Undecided,In progress]11:07
*** jistr has joined #heat11:09
*** nkhare has quit IRC11:11
*** asalkeld_ has joined #heat11:13
inc0asalkeld_, got a secont?11:16
inc0second even11:16
asalkeld_hi inc0 sure11:16
inc0I was thinking about implementing versioned objects11:17
*** asalkeld_ is now known as asalkeld11:17
asalkeldok, neat11:17
inc0on level of db/api.py11:17
asalkeldinc0, i think it should be a level above11:17
inc0so we have list of functions where we could apply versioning11:17
*** sorantis has quit IRC11:17
inc0above, so in logic of everything?11:17
asalkeldso we have a stack, resource, event, etc11:18
asalkeldand these have a .save() etc..11:18
asalkeldi'd suggest having a look at the ironic and nova projects11:19
asalkeldto see how they do it11:19
*** andreaf has joined #heat11:19
asalkeldironic is probably the simplist case11:19
inc0yeah, but we don't have this ORM-like approach everywhere11:19
inc0I did look at nova11:19
inc0will check ironic as well11:19
asalkeldso we need change our usage of the db to using the objects11:20
asalkeld(from method calls to db_api)11:20
inc0but to apply nova approach, we'd need to change virtually every function, so insted of db_api.get_stack we'd need to change that to Stack.get everywhere11:20
asalkeldexactly11:20
asalkeldhonestly there is not that many places11:21
inc0now, how about adding a nifty decorator to db_api.get_stack11:21
asalkeldno thanks11:21
inc0:D11:21
inc0ok;)11:21
asalkeldlets do it right11:21
asalkeldbut you can do it bit by bit11:21
asalkeldso one object at a time11:21
inc0well, we only have few objects, thats good11:22
inc0but we work on these few objects virtually everywhere, so we'll need to be careful not to miss anything11:22
inc0thats why I was thinking of db_api - thats the common denominator11:23
asalkeldinc0, most of the access that i can see is in the tests11:24
asalkeldthat could remain - it's for stubbing11:25
inc0ok, I guess thats better idea to just keep standard across openstack11:25
asalkeldgit grep db_api.stack | grep -v tests | wc -l11:26
asalkeld2311:26
*** Qiming has joined #heat11:26
*** nkhare has joined #heat11:27
inc0so here what I'll do11:29
inc01 patch will be adding objects/stack.py with CRUD methods11:29
inc0pretty much implementing equivalend for every db_api.stack* functions11:29
inc0and replacing every occurence inside rest of heat11:30
inc0and we'll go from there11:30
inc0sounds right?11:30
*** andreaf has quit IRC11:32
asalkeldinc0, let me look11:33
*** tiantian has quit IRC11:34
asalkeldinc0, yeah seems right11:34
asalkeldwas looking here: https://github.com/openstack/ironic/blob/master/ironic/objects/port.py11:34
asalkeldshardy, you about?11:36
asalkeldshardy, instance group is a bit irrigating as it doesn't seem to return the stack arn11:36
asalkeldso you can't get at the nested stack11:37
asalkeldthinking of adding a new attribute to get at it11:37
*** sorantis has joined #heat11:38
*** unmeshg has joined #heat11:38
*** fandi has quit IRC11:41
asalkeldga s/irrigating/irritating11:42
*** jstrachan has quit IRC11:42
*** andreaf has joined #heat11:47
*** dimsum__ has joined #heat11:47
*** serg_melikyan has joined #heat11:49
*** cmyster has joined #heat11:49
*** serg_melikyan has quit IRC11:53
*** cmyster has quit IRC11:59
*** cmyster has joined #heat12:02
*** cmyster has quit IRC12:02
*** cmyster has joined #heat12:02
*** ckmvishnu has quit IRC12:02
*** dimsum__ is now known as dims12:05
*** jstrachan has joined #heat12:05
*** jstrachan has quit IRC12:07
*** jstrachan has joined #heat12:09
*** lazy_prince is now known as killer_prince12:09
*** unmeshg has quit IRC12:18
*** jistr has quit IRC12:27
*** jistr has joined #heat12:28
*** EricGonczer_ has joined #heat12:29
*** tellesnobrega has joined #heat12:29
*** jamielennox|away is now known as jamielennox12:31
*** EricGonczer_ has quit IRC12:36
*** kopparam_ has quit IRC12:40
*** dyasny has quit IRC12:40
*** kopparam has joined #heat12:40
*** kopparam has quit IRC12:41
*** jamielennox is now known as jamielennox|away12:41
*** tomek_adamczewsk has quit IRC12:42
*** tomek_adamczewsk has joined #heat12:43
asalkeldg'night all12:43
*** asalkeld has quit IRC12:43
*** jdob has joined #heat12:46
*** serg_melikyan has joined #heat12:49
*** tellesnobrega has quit IRC12:53
*** serg_melikyan has quit IRC12:54
therveshardy,  I don't know if you noticed but https://review.openstack.org/#/c/116336/ and the serie have tests failing12:54
openstackgerritSergey Kraynev proposed openstack/heat: Using image property insted of default_image_id  https://review.openstack.org/13998913:03
openstackgerritSergey Kraynev proposed openstack/heat: Remove deprecated property of router_interface  https://review.openstack.org/13999013:03
*** alexpilotti has joined #heat13:08
shardytherve: Yeah, thanks, fixing it is really hard unfortunately :(13:09
therveAh damn13:09
shardytherve: asalkeld has kindly offered to help and is working on fixes13:09
*** ccrouch has joined #heat13:13
pas-hahi all, what's our policy on deprecating resource properties? announce in one release, remove in next?13:15
*** tspatzier has quit IRC13:16
cmysterdepends13:16
cmysterheat list is there for a long time13:16
pas-hanah, that's a cli command, I'm interested in resources13:17
cmysterright, sorry13:17
cmystermy tired eyes stopped at the word deprecating13:18
pas-hanp :)13:18
*** fayablazer has joined #heat13:19
*** tspatzier has joined #heat13:20
*** cmyster has quit IRC13:21
*** aweiteka has joined #heat13:21
*** tspatzier has quit IRC13:21
*** cmyster has joined #heat13:21
*** tspatzier has joined #heat13:21
*** tspatzier has quit IRC13:22
*** blomquisg has joined #heat13:23
*** prazumovsky has joined #heat13:25
*** Drago1 has joined #heat13:26
*** aweiteka has joined #heat13:26
*** rpothier has joined #heat13:29
zanebpas-ha: to date I don't think we've ever removed one13:30
pas-hahttps://review.openstack.org/#/c/139990/1/heat/engine/resources/neutron/router.py,cm13:31
pas-hazaneb, ^13:31
pas-hathat's why I ask13:31
*** Tross has joined #heat13:31
openstackgerritPeter Razumovsky proposed openstack/heat: Change Neutron::FloatingIPAssociation res's name  https://review.openstack.org/13779913:35
openstackgerritPeter Razumovsky proposed openstack/heat: Add attributes to Neutron::FloatingIPAssociation  https://review.openstack.org/13837613:35
*** radez_g0n3 is now known as radez13:39
*** EricGonczer_ has joined #heat13:40
*** kopparam has joined #heat13:41
*** kopparam has quit IRC13:48
openstackgerritQiming Teng proposed openstack/heat: Avoid unnecessary passing of child_params in asg  https://review.openstack.org/14000313:48
*** EricGonczer_ has quit IRC13:50
openstackgerritMerged openstack/heat: Fill test database from models description  https://review.openstack.org/13077613:51
*** kopparam has joined #heat13:53
*** cmyster has quit IRC13:55
*** sabeen1 has joined #heat13:55
openstackgerritPeter Razumovsky proposed openstack/heat: Convert unicode to six.text_type in heat/tests  https://review.openstack.org/13965113:55
openstackgerritPeter Razumovsky proposed openstack/heat: Convert unicode to six in heat/common  https://review.openstack.org/13965513:56
openstackgerritPeter Razumovsky proposed openstack/heat: Convert unicode to six in heat/engine  https://review.openstack.org/13965413:56
openstackgerritPeter Razumovsky proposed openstack/heat: Convert unicode to six in heat/engine/resources  https://review.openstack.org/13965313:56
openstackgerritPeter Razumovsky proposed openstack/heat: Convert unicode to six.text_type in heat/api  https://review.openstack.org/13965213:56
openstackgerritPeter Razumovsky proposed openstack/heat: Convert unicode to six in heat/common  https://review.openstack.org/13965514:00
openstackgerritPeter Razumovsky proposed openstack/heat: Convert unicode to six in heat/engine  https://review.openstack.org/13965414:00
*** kopparam has quit IRC14:01
openstackgerritMerged openstack/heat: Populate _template_classes global on first use  https://review.openstack.org/13786714:03
openstackgerritMerged openstack/heat: Create common stack_create functional test helper  https://review.openstack.org/13600814:03
openstackgerritPeter Razumovsky proposed openstack/heat: Convert unicode to six in heat/common  https://review.openstack.org/13965514:09
openstackgerritPeter Razumovsky proposed openstack/heat: Convert unicode to six in heat/engine  https://review.openstack.org/13965414:09
*** dulek has joined #heat14:12
*** pm90_ has joined #heat14:13
*** rakesh_hs has quit IRC14:15
*** ishant has quit IRC14:23
*** cmyster has joined #heat14:31
*** sorantis has quit IRC14:32
*** mzbik has quit IRC14:32
*** bdossant has quit IRC14:34
*** bdossant has joined #heat14:35
*** bdossant has quit IRC14:36
*** jasond has joined #heat14:41
*** sanjayu has quit IRC14:45
*** jprovazn has quit IRC14:54
*** fayablazer has quit IRC15:03
*** serg_melikyan has joined #heat15:05
*** rushiagr is now known as rushiagr_away15:06
*** tomek_adamczewsk has quit IRC15:10
*** tellesnobrega has joined #heat15:12
*** alextricity has quit IRC15:12
*** killer_prince is now known as lazy_prince15:13
*** EricGonczer_ has joined #heat15:15
*** prazumovsky has quit IRC15:15
*** hdd has joined #heat15:17
*** fayablazer has joined #heat15:22
*** charlesr has joined #heat15:23
*** EricGonc_ has joined #heat15:24
*** EricGonczer_ has quit IRC15:27
*** tellesnobrega has quit IRC15:28
*** sarob has joined #heat15:29
*** andreaf has quit IRC15:32
*** andreaf has joined #heat15:33
*** sarob has quit IRC15:35
*** sdake has joined #heat15:36
*** GonZo2K has joined #heat15:36
*** _shaps_ has joined #heat15:38
*** k4n0 has quit IRC15:40
*** tshtilma has joined #heat15:46
Qimingpas-ha, there?15:47
*** sdake has quit IRC15:47
*** sdake has joined #heat15:48
*** sdake has quit IRC15:48
*** sdake has joined #heat15:48
pas-hayep15:48
*** GonZo2K has quit IRC15:48
Qimingpas-ha, regarding https://review.openstack.org/#/c/137931/, I have reponded to your comments15:48
*** tellesnobrega has joined #heat15:49
Qiminghowever, when I tried assign server unconditionally, quite some test cases broke15:49
Qimingthose test cases are making assumptions of call sequences15:49
*** nkhare has quit IRC15:50
sdakeshardy i see your playing with ironic15:50
sdakei am as well15:50
Qimingfor example, I am seeing assertion errors like this: AssertionError: Called unknown API method: GET /servers/None, expected fakes method name: get_servers_None15:50
sdakedid you manage to boot a non-cirros image in ironic?15:50
pas-haQiming, interesting.. they should not have, or there is some code execution path that goes through handle_update but does not do anything..15:50
*** GonZo2K has joined #heat15:51
Qimingyes, a lot of mocks in test_server.py15:51
Qimingmaking servers.get() call wasn't part of their designed behavior15:52
pas-haok then, I will lift my objection for some later bright day when we reduce the complexity of mocking :)15:52
Qimingthanks, this is not the ideal case, need to revisit this later on15:53
*** maishsk has quit IRC15:53
*** jasond has quit IRC15:53
*** kbyrne has quit IRC15:55
pas-haQiming, done15:55
Qimingthanks!15:55
*** rushiagr_away is now known as rushiagr15:55
pas-hano +A though, if nobody chimes in with any suggestion, will +A tomorrow15:55
*** dmueller has joined #heat15:56
*** randallburt has joined #heat15:56
*** randallburt has joined #heat15:56
*** shadower has quit IRC15:56
*** inc0 has quit IRC15:57
*** GonZo2K has quit IRC15:57
*** sorantis has joined #heat15:59
*** kbyrne has joined #heat16:00
*** Qiming has quit IRC16:02
*** harlowja_at_home has joined #heat16:03
*** dmueller has quit IRC16:03
*** EricGonczer_ has joined #heat16:03
*** EricGonc_ has quit IRC16:04
*** pm90_ has quit IRC16:04
*** sarob has joined #heat16:05
*** cmyster has quit IRC16:05
*** david-lyle_afk is now known as david-lyle16:06
*** vijendar has joined #heat16:08
*** sorantis has quit IRC16:10
*** rushiagr is now known as rushiagr_away16:12
*** GonZo2K has joined #heat16:12
*** serg_melikyan has quit IRC16:13
*** serg_melikyan has joined #heat16:15
*** serg_melikyan has joined #heat16:16
openstackgerritOpenStack Proposal Bot proposed openstack/heat: Updated from global requirements  https://review.openstack.org/14005216:17
*** dulek has quit IRC16:21
*** Marga_ has joined #heat16:21
*** andersonvom has joined #heat16:21
*** Marga_ has quit IRC16:21
*** Marga_ has joined #heat16:22
*** achanda has joined #heat16:22
*** tiantian has joined #heat16:23
*** tshtilma has quit IRC16:28
*** GonZo2K has quit IRC16:28
*** tiantian has quit IRC16:30
*** GonZo2K has joined #heat16:30
*** Drago has joined #heat16:31
*** pm90_ has joined #heat16:35
*** pm90_ has quit IRC16:35
*** GonZo2K has quit IRC16:35
*** pm90_ has joined #heat16:36
*** GonZo2K has joined #heat16:36
*** achanda has quit IRC16:37
*** achanda has joined #heat16:38
*** ParsectiX has joined #heat16:38
*** GonZo2K has quit IRC16:39
*** GonZo2K has joined #heat16:39
*** Drago has quit IRC16:40
*** packet has joined #heat16:40
*** achanda has quit IRC16:42
*** hdd has quit IRC16:44
*** achanda has joined #heat16:46
ekarlso-isn't %replace_me% a valid pattern for a variable in st_Replace?16:46
*** GonZo2K has quit IRC16:46
*** GonZo2K has joined #heat16:48
*** fayablazer has quit IRC16:51
*** Marga_ has quit IRC16:51
*** ParsectiX has quit IRC16:51
*** GonZo2K has quit IRC16:54
*** ParsectiX has joined #heat16:56
*** rushiagr_away is now known as rushiagr16:57
*** GonZo2K has joined #heat16:58
*** tomek_adamczewsk has joined #heat17:00
*** GonZo2K has quit IRC17:00
*** harlowja_at_home has quit IRC17:02
*** tspatzier has joined #heat17:03
*** ParsectiX has quit IRC17:03
*** ParsectiX has joined #heat17:05
*** cmyster has joined #heat17:08
*** cmyster has quit IRC17:08
*** cmyster has joined #heat17:08
*** charlesr has quit IRC17:10
*** serg_melikyan has quit IRC17:10
*** ParsectiX has quit IRC17:12
*** tellesnobrega has quit IRC17:13
*** sdf_ has joined #heat17:18
*** Drago1 has quit IRC17:18
*** openstackgerrit has quit IRC17:19
*** openstackgerrit has joined #heat17:20
*** tylerdurden has quit IRC17:20
pas-habye all17:20
*** pas-ha has quit IRC17:20
*** jtomasek has quit IRC17:21
*** tomek_adamczewsk has quit IRC17:27
*** EricGonc_ has joined #heat17:30
*** EricGonczer_ has quit IRC17:30
*** lazy_prince is now known as killer_prince17:34
openstackgerritThomas Herve proposed openstack/heat: Remove unused oslo modules  https://review.openstack.org/14009317:36
openstackgerritThomas Herve proposed openstack/heat: Sync oslo modules  https://review.openstack.org/14009417:36
*** Marga_ has joined #heat17:36
*** kebray has joined #heat17:37
*** Marga_ has quit IRC17:37
*** Marga_ has joined #heat17:38
*** Marga_ has quit IRC17:47
*** jstrachan has quit IRC17:47
*** alexheneveld_ has joined #heat17:53
*** alexheneveld has quit IRC17:55
*** alexheneveld_ has quit IRC17:58
*** alexheneveld has joined #heat17:58
*** tspatzier has quit IRC17:59
*** Marga_ has joined #heat17:59
*** tspatzier has joined #heat17:59
*** tspatzier has quit IRC17:59
*** Marga_ has quit IRC17:59
*** achanda has quit IRC18:01
*** derekh has quit IRC18:02
*** ParsectiX has joined #heat18:02
*** achanda has joined #heat18:02
*** mzbik has joined #heat18:04
*** alexheneveld_ has joined #heat18:05
*** achanda has quit IRC18:06
*** alexheneveld has quit IRC18:08
*** sdf_ has quit IRC18:08
*** alexheneveld_ is now known as alexheneveld18:08
*** Parsecti_ has joined #heat18:10
*** ParsectiX has quit IRC18:10
*** Marga_ has joined #heat18:10
*** serg_melikyan has joined #heat18:11
*** jistr has quit IRC18:11
*** Marga_ has quit IRC18:12
*** kebray has quit IRC18:12
*** Marga_ has joined #heat18:13
*** serg_melikyan has quit IRC18:15
*** Marga_ has quit IRC18:16
*** alexheneveld has quit IRC18:16
*** serg_melikyan has joined #heat18:19
*** harlowja_away is now known as harlowja18:20
*** serg_melikyan has quit IRC18:23
*** Parsecti_ has quit IRC18:23
*** Marga_ has joined #heat18:24
*** Marga_ has quit IRC18:26
*** vijendar has quit IRC18:27
*** pm90_ has quit IRC18:29
*** alexheneveld has joined #heat18:31
*** keithmorin has joined #heat18:36
*** alexheneveld has quit IRC18:46
*** sdake has quit IRC18:47
keithmorinIs there anyway to force heat to reload new plugins from the plugin directory set in the config file while the engine is running?18:47
*** sdake has joined #heat18:47
*** sdake has quit IRC18:47
*** sdake has joined #heat18:47
*** pm90_ has joined #heat18:48
*** pm90_ has quit IRC18:48
*** Marga_ has joined #heat18:48
*** Marga_ has quit IRC18:48
*** pm90_ has joined #heat18:49
*** jprovazn has joined #heat18:51
*** Marga_ has joined #heat18:57
*** GonZo2K has joined #heat18:59
*** kebray has joined #heat19:01
*** vijendar has joined #heat19:03
*** Marga_ has quit IRC19:09
*** tomek_adamczewsk has joined #heat19:09
openstackgerritMerged openstack/heat: Make 'admin_pass' updatable for nova server  https://review.openstack.org/13773019:12
*** Marga_ has joined #heat19:12
*** Marga_ has quit IRC19:13
*** Marga_ has joined #heat19:13
*** kebray has quit IRC19:13
*** Marga_ has quit IRC19:17
randallburtkeithmorin:  not to my knowlege. requires that you restart the engine AFAIK.19:18
*** serg_melikyan has joined #heat19:20
keithmorinrandallburt thanks! As part of the integration with heat that we are working on for our hybrid cloud platform, we map resource types created from the UI to those in the heat that can be ordered19:20
openstackgerritRob Pothier proposed openstack/heat: OS::Neutron::Subnet host_routes should allow updates.  https://review.openstack.org/14012319:21
keithmorinpart of this requires heat registering the resource plugin that are code generated19:21
*** tomek_adamczewsk has quit IRC19:21
*** tomek_adamczewsk has joined #heat19:21
keithmorinIs there anyway to achieve this? I see there is register_class called from the heat.engine.environment.Environment19:22
*** aweiteka has quit IRC19:23
keithmorinIs there any way in heat to register a looping task?19:23
*** kebray has joined #heat19:23
*** serg_melikyan has quit IRC19:24
*** sarob has quit IRC19:25
*** yjiang5_away has left #heat19:26
*** jprovazn has quit IRC19:28
*** tomek_adamczewsk has quit IRC19:30
*** tomek_adamczewsk has joined #heat19:30
*** liusheng has quit IRC19:32
*** Marga_ has joined #heat19:32
*** liusheng has joined #heat19:32
*** Marga_ has quit IRC19:33
*** fandi has joined #heat19:34
*** hdd has joined #heat19:35
*** tomek_adamczewsk has quit IRC19:36
*** Marga_ has joined #heat19:37
*** Marga_ has quit IRC19:38
*** Marga_ has joined #heat19:38
*** Marga_ has quit IRC19:38
*** shakamunyi has joined #heat19:38
*** tspatzier has joined #heat19:39
*** bhi has quit IRC19:42
*** jcoufal has quit IRC19:44
*** cdent has quit IRC19:44
randallburtkeithmorin:  not eaily. Its almost like you'd want a plugin plugin that registers these resources, but that would be global and I don't know if that's what you'd want to do as it sounds like these would be dynamic at runtime and not something that you'd want to stick around.19:47
*** Marga_ has joined #heat19:51
*** kebray has quit IRC19:54
*** radez is now known as radez_g0n319:54
*** Marga_ has quit IRC19:54
zanebkeithmorin: You should be able to register them in the local (not global) environment to restrict their scope to the current stack19:56
*** radez_g0n3 is now known as radez19:57
*** Marga_ has joined #heat19:59
*** stannie1 has joined #heat20:01
*** Marga_ has quit IRC20:06
*** mzbik has quit IRC20:08
keithmorinthanks randallburt: zaneb:!20:11
*** rushiagr is now known as rushiagr_away20:11
keithmorinzaneb: when you say restrict thei scope to current stack you mean inside every resource plugin I would have to run the register_class to have them part of environment right?20:12
zanebinside the plugin?20:14
*** jtomasek has joined #heat20:14
zanebkeithmorin: ^20:14
zanebI'm a little confused about what you're trying to do, to be honest20:15
zanebin general, at startup time we register every plugin in the global environment20:16
zanebeach stack also has its own local environment that inherits from but can override the global one20:16
keithmorinCan you expand a little more on the local vs global env? Yes I was referring inside the plugin20:16
zanebmaybe you could explain a little more what you're trying to do?20:17
zanebnormally the local environment is just used to remap resource type names to different plugins, but it20:18
keithmorinEssentially we have a UI built on top of horizon where we can create/update "structure" of the resources based on drag and drop components. The resource plugin code is then code generated on the fly20:18
keithmorinthe challenge is then registering the resource in heat20:18
zaneb...it's the same code as for the global environment, so there's no reason you can't register plugins there too20:18
zanebok20:19
zanebwhat triggers the plugin code to be generated?20:19
keithmorinyeah but the issue is this is happening while other orders are ongoing so restarting heat is not an option20:19
zanebhmm20:19
keithmorinOtherwise the user can come to the UI anytime they want and build their own resources20:19
*** hdd has quit IRC20:20
keithmorinthis will not happen quite often20:20
zanebso you could register them in the global environment, but then they'd be available to everyone20:20
zanebthere's no concept of a tenant-scoped environment20:20
* zaneb is curious what the components of these resources are, and whether they could be better expressed as template resources20:21
*** radez is now known as radez_g0n320:24
*** pm90_ has quit IRC20:25
keithmorinno the components are exposed on the UI as well...essentially at the end they would call out apis from differnet components of our different cloud infrastructure but these infrastrcutres can be autoscaled20:26
*** alexpilotti has quit IRC20:27
keithmorinproblem of doing that inside the plugin though is that the template validation will fail regardless20:27
keithmorinbecause it will not find the resource type..I believe that validation step is before the actual resource plugin is invoked right?20:27
zanebyes20:27
*** radez_g0n3 is now known as radez20:28
zanebI mean a plugin isn't just invoked20:28
zaneblike plugin.invoke()20:28
zaneba plugin supplies various methods like handle_create(), handle_delete() &c.20:29
zanebwhen you create a stack it looks at the environment to see which resource types map to which plugins20:29
zanebthen it creates the Resource objects in-memory with the right types20:29
keithmorinyeah... the entire lifecycle which is tied to the stack CRUD ops right?20:30
zaneband as you're actually creating the stack it calls handle_create() from the plugin20:30
zanebyes, exactly20:30
*** kebray has joined #heat20:30
zanebso it's not clear to me where the trigger is going to be to register this new plugin20:30
keithmorinit can be in handle_create() but to have heat invoke handle_create() for that resource the resource will have to be already registered right?20:32
zanebcorrect20:32
keithmorinso really I am back to square one :(20:32
zanebnothing in the plugin is called until we find a resource in a stack that maps to that plugin because it is registered by that name in the environment20:32
zanebkeithmorin: so, two ideas20:33
zaneb1) use TemplateResource: register permanent plugins for the constituent parts of these composite resources, and generate the code to combine them in user-defined ways as HOT templates instead of python code20:35
zanebthat's the way Heat is intended to be used, so it will have the lowest friction20:35
zanebfailing that...20:35
zaneb2) implement something _like_ TemplateResource. as randallburt suggested above, a plugins plugin. it would be permanently registered (some hackery required, I suspect), and would be responsible for connecting the resource definition to the right particular generated plugin on the fly20:37
keithmorin1) is not an option since that would require more than 1000+ plugins and types (with maintainibility issues and backward comatibility ) 2) sounds like something we can do but I have two questions on the best recommended  approach:20:41
*** pm90_ has joined #heat20:42
keithmorinDo we create a resource and then update through a stack  create/update action periodically? Or before right before every single stack create call?20:43
*** kebray has quit IRC20:43
*** jtomasek has quit IRC20:43
keithmorinOr is there a better way to achieve through a periodic task scheduling in heat of some sort?20:44
*** sgordon_ has quit IRC20:53
zanebkeithmorin: well, I'd suggest some sort of plugin system for your plugin. so when the Resource object is created it would find the correct generated code and when handle_create gets called it would proxy it on to the generated handle_create20:55
*** kebray has joined #heat21:04
*** serg_melikyan has joined #heat21:08
*** ifarkas has quit IRC21:12
*** serg_melikyan has quit IRC21:13
*** pm90_ has quit IRC21:15
*** Marga_ has joined #heat21:16
*** tspatzier has quit IRC21:21
*** serg_melikyan has joined #heat21:26
keithmorinok so I guess there will have to be only one resource with the handle_create routed to the proper generated code21:30
keithmorinAny plan in fututre where you will provide may be an API extension to push artifacts on the global env?21:31
keithmorinkinda like puppet does?21:31
*** serg_melikyan has quit IRC21:34
*** radez is now known as radez_g0n321:37
randallburtkeithmorin:  sounds a bit risky to execute arbitrary untrusted code to me21:38
*** swygue has quit IRC21:39
*** swygue has joined #heat21:41
openstackgerritMerged openstack/heat: Fix formatting in integration tests README  https://review.openstack.org/13995721:41
*** serg_melikyan has joined #heat21:42
*** serg_melikyan has joined #heat21:42
*** tomek_adamczewsk has joined #heat21:44
*** sarob has joined #heat21:46
*** kebray has quit IRC21:51
*** swygue has quit IRC21:54
keithmorinrandallburt: But having no capabilities from outside heat engine to push external configuration other than having plugins seems like a major limitation21:56
randallburtkeithmorin:  possibly. but there's no good solution for that outside template resources from a security standpoint that I can think of.21:57
*** kebray has joined #heat21:58
*** serg_melikyan has quit IRC21:59
*** EricGonc_ has quit IRC21:59
*** serg_melikyan has joined #heat21:59
*** serg_melikyan has joined #heat22:00
*** boris-42 has joined #heat22:00
*** Marga_ has quit IRC22:02
*** Flcn has joined #heat22:05
*** swygue has joined #heat22:11
*** serg_melikyan has quit IRC22:15
*** Marga_ has joined #heat22:15
*** Marga_ has quit IRC22:15
*** serg_melikyan has joined #heat22:15
*** reed has joined #heat22:16
*** serg_melikyan has quit IRC22:20
*** Marga_ has joined #heat22:22
zanebkeithmorin: yeah, agree with randallburt. Heat is a multi-tenant service, so anything global has to be done by the operator. this is pretty much the whole reason we invented template resources22:22
*** serg_melikyan has joined #heat22:23
*** asalkeld has joined #heat22:23
*** Marga_ has quit IRC22:27
*** Marga_ has joined #heat22:29
asalkeldmorning22:30
*** rpothier has quit IRC22:32
*** tellesnobrega has joined #heat22:33
*** Marga_ has quit IRC22:39
*** shadower has joined #heat22:39
*** serg_melikyan has quit IRC22:42
*** serg_melikyan has joined #heat22:42
*** Marga_ has joined #heat22:44
*** packet has quit IRC22:46
*** alexpilotti has joined #heat22:47
*** serg_melikyan has quit IRC22:47
*** Marga_ has quit IRC22:48
*** Flcn has quit IRC22:49
*** tellesnobrega has quit IRC22:49
*** keithmorin has quit IRC22:50
*** keithmorin has joined #heat22:56
*** blomquisg has quit IRC22:59
*** Marga_ has joined #heat22:59
*** Marga_ has quit IRC23:02
keithmorinzaneb: So just so that we are both talking about the same thing, template resource is exposig the template as a resource right?23:06
keithmorinI don't see how this is going to help my case in mutli-tenant env23:06
*** Marga_ has joined #heat23:07
*** julienvey has joined #heat23:10
*** alexpilotti has quit IRC23:11
*** jamielennox|away is now known as jamielennox23:15
*** hdd has joined #heat23:16
*** tomek_adamczewsk has quit IRC23:18
randallburtkeithmorin:  yes, but it allows for creating/customizing new types based on existing ones; not nearly as flexible as a plugin written in python and won't let you use new services or non-openstack ones, though23:21
*** kebray has quit IRC23:22
keithmorinAny good resources on this one...so far all I have found is the blueprint and something on Steve Hardys blog23:22
*** EricGonczer_ has joined #heat23:23
randallburtkeithmorin:  http://docs.openstack.org/developer/heat/template_guide/composition.html23:25
*** alexheneveld has joined #heat23:26
*** serg_melikyan has joined #heat23:29
asalkeldbrb23:40
*** randallburt has quit IRC23:40
*** ygoto has joined #heat23:40
*** randallburt has joined #heat23:40
*** alexheneveld has quit IRC23:44
*** alexheneveld has joined #heat23:50

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