*** kopparam has quit IRC | 00:03 | |
openstackgerrit | Angus Salkeld proposed openstack/heat-specs: Add support for external resources https://review.openstack.org/134848 | 00:04 |
---|---|---|
*** serg_melikyan has joined #heat | 00:06 | |
*** EricGonczer_ has quit IRC | 00:06 | |
*** alexpilotti has quit IRC | 00:08 | |
asalkeld | bbl | 00:11 |
*** pm90_ has joined #heat | 00:11 | |
*** EricGonczer_ has joined #heat | 00:11 | |
*** dsneddon has quit IRC | 00:11 | |
*** dsneddon has joined #heat | 00:13 | |
*** randallburt has quit IRC | 00:21 | |
*** serg_melikyan has quit IRC | 00:27 | |
*** serg_melikyan has joined #heat | 00:28 | |
*** serg_melikyan has quit IRC | 00:32 | |
*** EricGonczer_ has quit IRC | 00:35 | |
*** serg_melikyan has joined #heat | 00:48 | |
*** boris-42 has quit IRC | 00:52 | |
*** dsneddon has quit IRC | 00:53 | |
*** mc__ has joined #heat | 00:54 | |
openstackgerrit | Merged openstack/heat: Expose resource attributes in the engine https://review.openstack.org/135110 | 00:55 |
*** dsneddon has joined #heat | 00:55 | |
*** EricGonczer_ has joined #heat | 00:56 | |
*** EricGonczer_ has quit IRC | 00:57 | |
*** kopparam has joined #heat | 01:02 | |
*** serg_melikyan has quit IRC | 01:12 | |
*** dsneddon has quit IRC | 01:14 | |
*** dsneddon has joined #heat | 01:16 | |
openstackgerrit | Qiming Teng proposed openstack/heat: Add type validation for LaunchConfigurationName https://review.openstack.org/137740 | 01:22 |
*** kopparam has quit IRC | 01:33 | |
*** dsneddon has quit IRC | 01:36 | |
*** dsneddon has joined #heat | 01:36 | |
*** mc__ has quit IRC | 01:42 | |
*** EricGonczer_ has joined #heat | 01:56 | |
elynn | morning :) | 02:05 |
*** erkules_ has joined #heat | 02:17 | |
*** dsneddon has quit IRC | 02:18 | |
openstackgerrit | ChangBo Guo(gcb) proposed openstack/heat: Sync policy from oslo-incubator https://review.openstack.org/133894 | 02:19 |
*** dsneddon has joined #heat | 02:19 | |
*** erkules has quit IRC | 02:19 | |
*** serg_melikyan has joined #heat | 02:28 | |
*** kopparam has joined #heat | 02:29 | |
*** kopparam has quit IRC | 02:34 | |
openstackgerrit | Merged openstack/heat: Use template directly instead of stack.tmpl https://review.openstack.org/139548 | 02:35 |
*** dsneddon has quit IRC | 02:38 | |
*** dsneddon has joined #heat | 02:40 | |
*** nanjj` has joined #heat | 02:41 | |
*** serg_melikyan has quit IRC | 02:54 | |
*** serg_melikyan has joined #heat | 02:55 | |
*** serg_melikyan has quit IRC | 02:59 | |
*** achanda has joined #heat | 03:00 | |
*** achanda has quit IRC | 03:02 | |
*** elynn has quit IRC | 03:08 | |
*** nanjj` has quit IRC | 03:10 | |
*** serg_melikyan has joined #heat | 03:12 | |
*** fandi has joined #heat | 03:23 | |
*** EricGonczer_ has quit IRC | 03:24 | |
*** tiantian has joined #heat | 03:25 | |
*** serg_melikyan has quit IRC | 03:27 | |
*** serg_melikyan has joined #heat | 03:28 | |
*** elynn has joined #heat | 03:29 | |
*** serg_melikyan has quit IRC | 03:32 | |
*** tiantian has quit IRC | 03:33 | |
*** serg_melikyan has joined #heat | 03:36 | |
*** serg_melikyan has quit IRC | 03:37 | |
*** serg_melikyan has joined #heat | 03:37 | |
*** elynn has quit IRC | 03:39 | |
*** elynn has joined #heat | 03:42 | |
*** Tross has quit IRC | 03:43 | |
*** david-lyle_afk has joined #heat | 03:43 | |
*** EricGonczer_ has joined #heat | 03:49 | |
*** serg_melikyan has quit IRC | 03:49 | |
*** david-lyle_afk has quit IRC | 03:50 | |
*** tiantian has joined #heat | 03:51 | |
openstackgerrit | huangtianhua proposed openstack/heat: Make 'admin_pass' updatable for nova server https://review.openstack.org/137730 | 03:52 |
*** tiantian has quit IRC | 03:58 | |
*** EricGonczer_ has quit IRC | 03:59 | |
*** tiantian has joined #heat | 03:59 | |
*** david-lyle_afk has joined #heat | 04:02 | |
*** david-lyle_afk has quit IRC | 04:02 | |
*** pm90_ has quit IRC | 04:03 | |
*** tiantian has quit IRC | 04:04 | |
*** tiantian has joined #heat | 04:05 | |
*** lazy_prince has quit IRC | 04:08 | |
*** lazy_prince has joined #heat | 04:09 | |
*** dimsum__ has quit IRC | 04:11 | |
*** serg_melikyan has joined #heat | 04:12 | |
*** serg_melikyan has quit IRC | 04:12 | |
*** serg_melikyan has joined #heat | 04:13 | |
*** Tross has joined #heat | 04:13 | |
*** serg_melikyan has joined #heat | 04:13 | |
*** tiantian has quit IRC | 04:15 | |
*** tiantian has joined #heat | 04:16 | |
*** kopparam has joined #heat | 04:17 | |
*** kopparam has quit IRC | 04:21 | |
*** ygoto has quit IRC | 04:25 | |
*** tiantian is now known as huangtianhua | 04:27 | |
*** ygoto has joined #heat | 04:28 | |
*** ishant has joined #heat | 04:28 | |
*** ishant has quit IRC | 04:28 | |
openstackgerrit | huangtianhua proposed openstack/heat: Abstract rpc 'create_stack' call mock method https://review.openstack.org/139902 | 04:28 |
openstackgerrit | huangtianhua proposed openstack/heat: Abstract rpc 'create_stack' call mock method https://review.openstack.org/139902 | 04:30 |
*** ckmvishnu has joined #heat | 04:30 | |
*** sarob has joined #heat | 04:32 | |
*** Marga_ has joined #heat | 04:35 | |
*** sarob has quit IRC | 04:38 | |
*** dsneddon has quit IRC | 04:39 | |
*** asalkeld_ has joined #heat | 04:41 | |
*** dsneddon has joined #heat | 04:41 | |
*** sanjayu has joined #heat | 04:42 | |
*** asalkeld has quit IRC | 04:44 | |
openstackgerrit | huangtianhua proposed openstack/heat: Apply neutron network constraint https://review.openstack.org/135823 | 04:44 |
openstackgerrit | huangtianhua proposed openstack/heat: Apply neutron port constraint https://review.openstack.org/135835 | 04:45 |
*** sabeen has joined #heat | 04:48 | |
openstackgerrit | huangtianhua proposed openstack/heat: Split wait condition into separate files https://review.openstack.org/138993 | 04:52 |
openstackgerrit | huangtianhua proposed openstack/heat: Split wait condition handle into separate files https://review.openstack.org/139303 | 04:54 |
openstackgerrit | huangtianhua proposed openstack/heat: Apply neutron subnet constraint https://review.openstack.org/135875 | 04:55 |
openstackgerrit | huangtianhua proposed openstack/heat: Apply neutron router constraint https://review.openstack.org/135880 | 04:55 |
*** hdd has joined #heat | 04:56 | |
*** serg_melikyan has quit IRC | 04:56 | |
*** serg_melikyan has joined #heat | 04:57 | |
*** serg_mel_ has joined #heat | 04:58 | |
*** serg_melikyan has quit IRC | 04:58 | |
*** serg_melikyan has joined #heat | 04:58 | |
*** dsneddon has quit IRC | 05:00 | |
*** GonZo2K has quit IRC | 05:01 | |
*** david-lyle_afk has joined #heat | 05:01 | |
*** huangtianhua has quit IRC | 05:01 | |
openstackgerrit | huangtianhua proposed openstack/heat: Support cinder volume retype https://review.openstack.org/137509 | 05:02 |
*** dsneddon has joined #heat | 05:02 | |
openstackgerrit | Jun Jie Nan proposed openstack/heat: Added pseudo param OS::tenant_id https://review.openstack.org/139646 | 05:03 |
openstackgerrit | Jun Jie Nan proposed openstack/heat: Added tests for pseudo params https://review.openstack.org/139907 | 05:03 |
*** kebray has joined #heat | 05:05 | |
*** kebray has quit IRC | 05:05 | |
*** rushiagr_away is now known as rushiagr | 05:07 | |
*** kebray has joined #heat | 05:09 | |
*** ipolyzos has quit IRC | 05:09 | |
*** ipolyzos has joined #heat | 05:11 | |
*** dimsum__ has joined #heat | 05:11 | |
*** serg_melikyan has quit IRC | 05:14 | |
*** dimsum__ has quit IRC | 05:17 | |
*** kopparam has joined #heat | 05:24 | |
*** jtomasek has joined #heat | 05:25 | |
*** hdd has quit IRC | 05:28 | |
*** Marga_ has quit IRC | 05:33 | |
*** sarob has joined #heat | 05:34 | |
*** serg_melikyan has joined #heat | 05:34 | |
*** kopparam has quit IRC | 05:35 | |
*** Marga_ has joined #heat | 05:35 | |
*** serverascode___ has quit IRC | 05:37 | |
*** kopparam has joined #heat | 05:37 | |
*** serverascode___ has joined #heat | 05:39 | |
*** sarob has quit IRC | 05:39 | |
*** serg_melikyan has quit IRC | 05:41 | |
*** serg_melikyan has joined #heat | 05:41 | |
*** ipolyzos has quit IRC | 05:45 | |
*** ipolyzos has joined #heat | 05:46 | |
*** sabeen has quit IRC | 05:46 | |
*** Qiming has joined #heat | 05:47 | |
Qiming | hi, asalkeld_ | 05:51 |
*** kebray has quit IRC | 05:54 | |
*** enterprisedc has quit IRC | 05:54 | |
*** unmeshg has joined #heat | 05:55 | |
asalkeld_ | hi Qiming | 05:56 |
Qiming | asalkeld_, I just noticed your recent change 132190 | 05:57 |
Qiming | https://review.openstack.org/#/c/132190/ | 05:57 |
asalkeld_ | yip | 05:57 |
Qiming | I'm wondering if you would like to give it a second thought | 05:57 |
asalkeld_ | what do you mean ? | 05:58 |
Qiming | this new output with hard-coded name is not flexible, in my view | 05:58 |
Qiming | I was wondering if we need to revise the HOT get_resource function so that it can take advantage of the 'path' parameter | 05:59 |
asalkeld_ | Qiming, well "os::stack_id" is what we use for stack id | 05:59 |
Qiming | another limitation is that you can only have one output per stack | 05:59 |
asalkeld_ | Qiming, the point of this is that the template writer does not have to be aware of the implementation details | 05:59 |
Qiming | right, that is my point too | 06:00 |
asalkeld_ | so you path suggestion would not work | 06:00 |
asalkeld_ | as the author would have to know that it is not normal | 06:00 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/heat: Imported Translations from Transifex https://review.openstack.org/138958 | 06:00 |
*** nkhare has joined #heat | 06:01 | |
asalkeld_ | Qiming, i am of coure open to better ideas | 06:01 |
asalkeld_ | i just need a better idea | 06:01 |
asalkeld_ | that works | 06:01 |
Qiming | I'm trying to propose one because I know you are open to ideas | 06:01 |
asalkeld_ | ok | 06:01 |
*** k4n0 has joined #heat | 06:01 | |
asalkeld_ | maybe post to that review? | 06:02 |
Qiming | just like get_attr, which can do more than just from the surface | 06:02 |
Qiming | okay, will do that | 06:02 |
asalkeld_ | Qiming, ping me when you are done, and i'll have a read | 06:03 |
Qiming | okay, thanks. | 06:03 |
*** unmeshg_ has joined #heat | 06:13 | |
*** unmeshg has quit IRC | 06:14 | |
*** ckmvishnu has quit IRC | 06:15 | |
*** Marga_ has quit IRC | 06:20 | |
*** sarob has joined #heat | 06:23 | |
*** sarob has quit IRC | 06:27 | |
*** kopparam has quit IRC | 06:30 | |
*** ccrouch has left #heat | 06:31 | |
*** tylerdurden has joined #heat | 06:32 | |
Qiming | asalkeld_, done posting my comments ... forgive my craziness if needed, :) | 06:33 |
*** shakamunyi has quit IRC | 06:34 | |
*** ygoto has quit IRC | 06:35 | |
*** rakesh_hs has joined #heat | 06:37 | |
*** kopparam has joined #heat | 06:38 | |
*** liusheng has joined #heat | 06:39 | |
*** ygoto has joined #heat | 06:39 | |
*** Dragomir has quit IRC | 06:40 | |
*** ramishra has quit IRC | 06:41 | |
*** ramishra has joined #heat | 06:43 | |
*** liusheng has quit IRC | 06:51 | |
*** Dragomir has joined #heat | 06:51 | |
*** liusheng has joined #heat | 06:52 | |
*** unmeshg_ has quit IRC | 06:55 | |
*** jtomasek has quit IRC | 06:59 | |
*** tomek_adamczewsk has joined #heat | 07:02 | |
asalkeld_ | Qiming, did you see this: https://review.openstack.org/#/c/136230/ | 07:04 |
asalkeld_ | that allows you to do a very similar thing | 07:04 |
asalkeld_ | get_attr: [my_server, resource.inner_resource] == get_resource on the inner resource | 07:05 |
asalkeld_ | and | 07:05 |
asalkeld_ | get_attr: [my_server, resource.inner_resource, first_address] == get_attr on the inner resource | 07:05 |
*** Yanyanhu has joined #heat | 07:07 | |
Qiming | asalkeld_, oh, that one is cool, though the grammar is weird, :) | 07:08 |
asalkeld_ | Qiming, it is disigned to match the resoruce group | 07:08 |
Qiming | asalkeld_, I see. | 07:09 |
asalkeld_ | resource group has: get_attr: [my_server, resource.<number>, first_address] | 07:09 |
*** Dragomir has quit IRC | 07:09 | |
Qiming | can I reference some resources from outer template from a nested template? | 07:09 |
asalkeld_ | not yet | 07:10 |
asalkeld_ | tho' that would be a bit of a layering issue | 07:10 |
asalkeld_ | (it's nice to have template resources that are independant) | 07:11 |
Qiming | would decoupling nested-stack work help on this? | 07:11 |
asalkeld_ | not really, it just makes it more distrubted | 07:11 |
Qiming | got it | 07:11 |
asalkeld_ | (working on unraveling the test now) | 07:11 |
openstackgerrit | huangtianhua proposed openstack/heat: Split volume into separate files https://review.openstack.org/139925 | 07:15 |
*** tiantian has joined #heat | 07:17 | |
*** tspatzier has joined #heat | 07:21 | |
*** tomek_adamczewsk has quit IRC | 07:28 | |
*** Michalik has quit IRC | 07:29 | |
*** Michalik has joined #heat | 07:30 | |
*** pas-ha has joined #heat | 07:36 | |
*** Yanyan has joined #heat | 07:37 | |
*** Yanyanhu has quit IRC | 07:37 | |
pas-ha | morning all | 07:37 |
tiantian | pas-ha: hi:) | 07:38 |
asalkeld_ | hi | 07:39 |
*** erkules_ is now known as erkules | 07:40 | |
openstackgerrit | huangtianhua proposed openstack/heat: Split volume attachment into separate files https://review.openstack.org/139931 | 07:40 |
*** ishant has joined #heat | 07:49 | |
cmyster | morning | 07:51 |
*** jprovazn has joined #heat | 07:54 | |
openstackgerrit | Ethan Lynn proposed openstack/heat: Set resource id for OS::Neutron::LoadBalancer https://review.openstack.org/139934 | 07:57 |
*** cmyster has quit IRC | 07:58 | |
*** tsufiev has quit IRC | 07:58 | |
*** IgorYozhikov has quit IRC | 07:59 | |
*** dteselkin has quit IRC | 07:59 | |
*** liusheng has quit IRC | 08:02 | |
*** liusheng has joined #heat | 08:03 | |
*** bdossant has joined #heat | 08:06 | |
*** cmyster has joined #heat | 08:07 | |
*** cmyster has quit IRC | 08:07 | |
*** cmyster has joined #heat | 08:07 | |
*** dteselkin has joined #heat | 08:10 | |
*** IgorYozhikov has joined #heat | 08:11 | |
*** sarob has joined #heat | 08:11 | |
*** jamielennox is now known as jamielennox|away | 08:12 | |
*** tsufiev has joined #heat | 08:14 | |
*** tomek_adamczewsk has joined #heat | 08:15 | |
*** jistr has joined #heat | 08:16 | |
*** sarob has quit IRC | 08:16 | |
openstackgerrit | huangtianhua proposed openstack/heat: Split volume into separate files https://review.openstack.org/139925 | 08:20 |
*** jstrachan has joined #heat | 08:24 | |
*** sadf has joined #heat | 08:25 | |
*** serg_melikyan has quit IRC | 08:26 | |
*** fandi has quit IRC | 08:31 | |
*** sadf has left #heat | 08:35 | |
*** serg_melikyan has joined #heat | 08:36 | |
*** mzbik has joined #heat | 08:39 | |
mzbik | Hi guys | 08:39 |
pas-ha | mzbik, hi | 08:39 |
mzbik | my heat needs X-Auth-user and X-Auth-Key even if I have not set standalone mode | 08:40 |
mzbik | [paste_deploy] #flavor=<None> | 08:40 |
openstackgerrit | huangtianhua proposed openstack/heat: Split volume attachment into separate files https://review.openstack.org/139931 | 08:40 |
*** serg_melikyan has quit IRC | 08:48 | |
shardy | mzbik: To avoid that requirement, set deferred_auth_method=trusts | 08:52 |
mzbik | ok, thanks :) | 08:53 |
shardy | http://hardysteven.blogspot.co.uk/2014/04/heat-auth-model-updates-part-1-trusts.html | 08:53 |
mzbik | just realized that | 08:53 |
shardy | We really should make it the default, it's something I've been meaning to do for a while | 08:53 |
*** jcoufal has joined #heat | 08:54 | |
cmyster | +1 | 08:56 |
mzbik | +1 | 08:57 |
mzbik | if my vote counts ;) | 08:58 |
shardy | asalkeld_: Hey, had you spotted that https://review.openstack.org/#/c/131337/ needs a rebase? | 08:58 |
openstackgerrit | huangtianhua proposed openstack/heat-specs: Reorganize the code structure of resources https://review.openstack.org/129777 | 08:58 |
*** ifarkas has joined #heat | 08:59 | |
shardy | mzbik, cmyster: Yeah, let me see if I can revive https://review.openstack.org/#/c/122177/ this week | 08:59 |
asalkeld_ | shardy, yip - i am working on it | 08:59 |
*** mzbik has left #heat | 08:59 | |
shardy | asalkeld_: Ah, cool, just wanted to check :) | 08:59 |
shardy | asalkeld_: I'm interested in using that feature in TripleO soon :) | 09:00 |
asalkeld_ | ok, getting there | 09:00 |
cmyster | shardy: care to give it a recheck just to see if it even passes gates ? | 09:00 |
shardy | cmyster: It won't, which is why I've been putting it off | 09:00 |
*** tiantian has quit IRC | 09:01 | |
shardy | nearly every test breaks | 09:01 |
cmyster | buh | 09:01 |
shardy | I'll have to come up with a test base-class way to avoid fixing every.single.one | 09:01 |
cmyster | nothing a nice sed can do here ? | 09:02 |
shardy | not really, the problem is every test now needs to stub the call to keystone creating the trust | 09:02 |
openstackgerrit | huangtianhua proposed openstack/heat: Move volume tasks to heat/common/volume_tasks.py https://review.openstack.org/139947 | 09:02 |
shardy | Or every test which creates a stack object at least, which is $most of them | 09:02 |
cmyster | ah I see, | 09:02 |
shardy | There's a common helper for creating the fixture, so maybe I can use that | 09:03 |
cmyster | oh 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 test | 09:04 |
shardy | I think the main thing is to avoid requiring a full fedora image wherever possible (e.g use cirros) | 09:05 |
shardy | nearly all of our gate test timout issues are because it sometimes takes way too long to boot a Fedora image | 09:06 |
shardy | (on gate infra) | 09:06 |
cmyster | I see, and what is the current timeout ? | 09:06 |
*** fandi has joined #heat | 09:06 | |
*** bhi has joined #heat | 09:09 | |
shardy | cmyster: In tempest, it's 1200s, not sure if that default is overridden for gate tests tbh | 09:09 |
*** mzbik has joined #heat | 09:15 | |
mzbik | ee.... {"message": "Missing required credential: roles ['heat_stack_owner']", "traceback": null, "type": "MissingCredentialError"}, "title": "Bad Request"} | 09:15 |
*** dimsum__ has joined #heat | 09:15 | |
mzbik | there is such role in keystone oO | 09:15 |
*** derekh has joined #heat | 09:17 | |
*** dimsum__ has quit IRC | 09:20 | |
*** jtomasek has joined #heat | 09:21 | |
*** inc0 has joined #heat | 09:23 | |
inc0 | gmorning | 09:23 |
cmyster | morning | 09:23 |
shardy | mzbik: The user creating the stack needs that role | 09:30 |
shardy | mzbik: unless you're on recent master, where we removed that requirement and now delegate all roles instead: | 09:31 |
shardy | https://review.openstack.org/#/c/130104/ | 09:31 |
shardy | You can opt-in to that behavior on latest stable/juno too | 09:32 |
mzbik | shardy, oh... tnx | 09:32 |
*** kopparam has quit IRC | 09:37 | |
openstackgerrit | huangtianhua proposed openstack/heat: Split instance code into seperate file https://review.openstack.org/139955 | 09:38 |
openstackgerrit | huangtianhua proposed openstack/heat: Reorganize instance code https://review.openstack.org/139955 | 09:39 |
openstackgerrit | Merged openstack/heat: Imported Translations from Transifex https://review.openstack.org/138958 | 09:41 |
cmyster | mzbik: 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 |
mzbik | cmyster, nope its not devstack :) | 09:44 |
cmyster | gotcha | 09:44 |
mzbik | :P | 09:44 |
cmyster | what is it then ? | 09:44 |
mzbik | custom install | 09:44 |
cmyster | may I know what are you using to install it with ? | 09:45 |
mzbik | rpms only | 09:46 |
mzbik | and my experience in configuring whole openstack | 09:46 |
mzbik | oh you mean with | 09:46 |
mzbik | hmm... Im doing some prototyping and I was not using heat very often previously | 09:47 |
cmyster | mzbik: I was just wondering of were using an installation tool, like packstack or something like that | 09:47 |
mzbik | nope | 09:47 |
mzbik | just, in this case, yum | 09:48 |
cmyster | mzbik: you could always try installing with a tool of sorts and see how it configures things and try to do something similar. | 09:49 |
openstackgerrit | Pavlo Shchelokovskyy proposed openstack/heat: Fix formatting in integration tests README https://review.openstack.org/139957 | 09:49 |
*** nkhare has quit IRC | 09:52 | |
*** nkhare has joined #heat | 09:52 | |
mzbik | cmyster, one more question, I would like to understand it well | 09:53 |
openstackgerrit | huangtianhua proposed openstack/heat: Reorganize user and access code https://review.openstack.org/139959 | 09:54 |
mzbik | cmyster, I set deferred_auth_method=trusts, and trusts_delegated_roles=heat_stack_owner | 09:55 |
mzbik | Every user which wants to create stack in heat must have heat_stack_owner role? oO | 09:55 |
mzbik | I also set stack_domain_admin=heat and stack_domain_admin_password=heat | 09:56 |
mzbik | maybe this user must have heat_stack_owner role? | 09:56 |
*** Qiming has quit IRC | 09:56 | |
*** Tross has quit IRC | 09:57 | |
shardy | mzbik: Like I just said, on recent heat and optionally recent Juno, you don't need heat_stack_owner anymore | 09:59 |
shardy | but if you're on an older version, then yes all users require heat_stack_owner | 09:59 |
mzbik | ok ok, but I dont have latest code, yet ;) | 09:59 |
mzbik | shardy, oh, ok :) thank you very much :) | 09:59 |
shardy | http://hardysteven.blogspot.co.uk/2014/04/heat-auth-model-updates-part-2-stack.html | 10:00 |
shardy | That explains the domain user configuration | 10:00 |
shardy | setting it to the heat service user is *not* what you want to do :) | 10:00 |
*** sarob has joined #heat | 10:00 | |
*** fandi has quit IRC | 10:02 | |
*** sarob has quit IRC | 10:05 | |
*** kopparam has joined #heat | 10:05 | |
shardy | therve: Hey, any chance you could attend the oslo meeting this afternoon at 16.00 UTC? | 10:06 |
shardy | https://wiki.openstack.org/wiki/Meetings/Oslo | 10:06 |
shardy | I've got a conflict with another meeting | 10:06 |
therve | shardy, Hi! Not ideal, but I should able to yeah | 10:07 |
*** sorantis has joined #heat | 10:07 | |
shardy | therve: If it's inconvenient we can ask one of the US based guys to do it? | 10:07 |
therve | shardy, I'll pass the torch if necessary | 10:08 |
shardy | therve: Ok, great thanks - I'll be out of the office all afternoon so that's much appreciated | 10:08 |
therve | No problem :) | 10:08 |
*** fandi has joined #heat | 10:09 | |
*** cdent has joined #heat | 10:17 | |
openstackgerrit | huangtianhua proposed openstack/heat: Make 'admin_pass' updatable for nova server https://review.openstack.org/137730 | 10:17 |
openstackgerrit | huangtianhua proposed openstack/heat: Take admin password for server rebuild https://review.openstack.org/137746 | 10:18 |
*** Yanyan has quit IRC | 10:20 | |
mzbik | shardy, thanks! | 10:22 |
*** tiantian has joined #heat | 10:25 | |
openstackgerrit | huangtianhua proposed openstack/heat: Split instance code into seperate file https://review.openstack.org/139955 | 10:28 |
*** serg_melikyan has joined #heat | 10:33 | |
*** serg_melikyan has quit IRC | 10:38 | |
*** ckmvishnu has joined #heat | 10:39 | |
*** tomek_adamczews1 has joined #heat | 10:40 | |
*** unmeshg has joined #heat | 10:41 | |
*** alexheneveld has joined #heat | 10:41 | |
*** tomek_adamczewsk has quit IRC | 10:41 | |
*** sdake has quit IRC | 10:44 | |
*** tomek_adamczewsk has joined #heat | 10:46 | |
*** tomek_adamczews1 has quit IRC | 10:47 | |
*** jistr has quit IRC | 10:51 | |
*** maishsk has joined #heat | 10:52 | |
maishsk | good afternoon | 10:52 |
*** tochi has quit IRC | 10:53 | |
maishsk | I am seeing a number of users being created in my environment - when using Wait Handles in templates | 10:53 |
maishsk | for example - Mongo-wait_handle_mongoDB03-aefjbc2jqhd2 | 10:53 |
sgran | that is correct | 10:53 |
sgran | temporary user identities to use for the signed callback url | 10:54 |
maishsk | why are these users being created? | 10:54 |
sgran | the signing of the callback url could probably be implemented differently, but that's my understanding for how it currently works | 10:54 |
maishsk | sgran: are these users supposed to be removed after a stack is deleted? | 10:55 |
maishsk | and is this only for AWS::CloudFormation::WaitCondition ? or also for the Heat implementation of waitcondition as well? | 10:56 |
sgran | maishk - yeah, they get cleaned up when the stack is removed. I don't know about the second question specifically, but I would imagine yes | 10:57 |
*** asalkeld_ has quit IRC | 10:57 | |
sgran | both waitconditions callback needs a signed url, I'd imagine they're implemented the same way | 10:57 |
*** ygoto has quit IRC | 10:57 | |
maishsk | and in order to create these users - does the user running the stack need to have any specific permissions? | 10:58 |
*** cmyster has quit IRC | 11:00 | |
inc0 | guys I'm playing with an idea. Regarding versioned objects, or where to put them to enable versioning with least amount of changes to logic | 11:01 |
inc0 | I was thinking of adding middleware to db.api | 11:01 |
inc0 | so instead of IMPL.do_whatever_whith_db() call version_it(IMPL.do_whatever_whith_db(), version="1.1") | 11:02 |
*** kopparam_ has joined #heat | 11:02 | |
*** kopparam has quit IRC | 11:03 | |
*** unmeshg has quit IRC | 11:06 | |
therve | elynn, Can you explain what's the problem in https://bugs.launchpad.net/bugs/1400227 ? | 11:07 |
uvirtbot | Launchpad bug 1400227 in heat "OS::Neutron::LoadBalancer resource doesn't have resource id" [Undecided,In progress] | 11:07 |
*** jistr has joined #heat | 11:09 | |
*** nkhare has quit IRC | 11:11 | |
*** asalkeld_ has joined #heat | 11:13 | |
inc0 | asalkeld_, got a secont? | 11:16 |
inc0 | second even | 11:16 |
asalkeld_ | hi inc0 sure | 11:16 |
inc0 | I was thinking about implementing versioned objects | 11:17 |
*** asalkeld_ is now known as asalkeld | 11:17 | |
asalkeld | ok, neat | 11:17 |
inc0 | on level of db/api.py | 11:17 |
asalkeld | inc0, i think it should be a level above | 11:17 |
inc0 | so we have list of functions where we could apply versioning | 11:17 |
*** sorantis has quit IRC | 11:17 | |
inc0 | above, so in logic of everything? | 11:17 |
asalkeld | so we have a stack, resource, event, etc | 11:18 |
asalkeld | and these have a .save() etc.. | 11:18 |
asalkeld | i'd suggest having a look at the ironic and nova projects | 11:19 |
asalkeld | to see how they do it | 11:19 |
*** andreaf has joined #heat | 11:19 | |
asalkeld | ironic is probably the simplist case | 11:19 |
inc0 | yeah, but we don't have this ORM-like approach everywhere | 11:19 |
inc0 | I did look at nova | 11:19 |
inc0 | will check ironic as well | 11:19 |
asalkeld | so we need change our usage of the db to using the objects | 11:20 |
asalkeld | (from method calls to db_api) | 11:20 |
inc0 | but 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 everywhere | 11:20 |
asalkeld | exactly | 11:20 |
asalkeld | honestly there is not that many places | 11:21 |
inc0 | now, how about adding a nifty decorator to db_api.get_stack | 11:21 |
asalkeld | no thanks | 11:21 |
inc0 | :D | 11:21 |
inc0 | ok;) | 11:21 |
asalkeld | lets do it right | 11:21 |
asalkeld | but you can do it bit by bit | 11:21 |
asalkeld | so one object at a time | 11:21 |
inc0 | well, we only have few objects, thats good | 11:22 |
inc0 | but we work on these few objects virtually everywhere, so we'll need to be careful not to miss anything | 11:22 |
inc0 | thats why I was thinking of db_api - thats the common denominator | 11:23 |
asalkeld | inc0, most of the access that i can see is in the tests | 11:24 |
asalkeld | that could remain - it's for stubbing | 11:25 |
inc0 | ok, I guess thats better idea to just keep standard across openstack | 11:25 |
asalkeld | git grep db_api.stack | grep -v tests | wc -l | 11:26 |
asalkeld | 23 | 11:26 |
*** Qiming has joined #heat | 11:26 | |
*** nkhare has joined #heat | 11:27 | |
inc0 | so here what I'll do | 11:29 |
inc0 | 1 patch will be adding objects/stack.py with CRUD methods | 11:29 |
inc0 | pretty much implementing equivalend for every db_api.stack* functions | 11:29 |
inc0 | and replacing every occurence inside rest of heat | 11:30 |
inc0 | and we'll go from there | 11:30 |
inc0 | sounds right? | 11:30 |
*** andreaf has quit IRC | 11:32 | |
asalkeld | inc0, let me look | 11:33 |
*** tiantian has quit IRC | 11:34 | |
asalkeld | inc0, yeah seems right | 11:34 |
asalkeld | was looking here: https://github.com/openstack/ironic/blob/master/ironic/objects/port.py | 11:34 |
asalkeld | shardy, you about? | 11:36 |
asalkeld | shardy, instance group is a bit irrigating as it doesn't seem to return the stack arn | 11:36 |
asalkeld | so you can't get at the nested stack | 11:37 |
asalkeld | thinking of adding a new attribute to get at it | 11:37 |
*** sorantis has joined #heat | 11:38 | |
*** unmeshg has joined #heat | 11:38 | |
*** fandi has quit IRC | 11:41 | |
asalkeld | ga s/irrigating/irritating | 11:42 |
*** jstrachan has quit IRC | 11:42 | |
*** andreaf has joined #heat | 11:47 | |
*** dimsum__ has joined #heat | 11:47 | |
*** serg_melikyan has joined #heat | 11:49 | |
*** cmyster has joined #heat | 11:49 | |
*** serg_melikyan has quit IRC | 11:53 | |
*** cmyster has quit IRC | 11:59 | |
*** cmyster has joined #heat | 12:02 | |
*** cmyster has quit IRC | 12:02 | |
*** cmyster has joined #heat | 12:02 | |
*** ckmvishnu has quit IRC | 12:02 | |
*** dimsum__ is now known as dims | 12:05 | |
*** jstrachan has joined #heat | 12:05 | |
*** jstrachan has quit IRC | 12:07 | |
*** jstrachan has joined #heat | 12:09 | |
*** lazy_prince is now known as killer_prince | 12:09 | |
*** unmeshg has quit IRC | 12:18 | |
*** jistr has quit IRC | 12:27 | |
*** jistr has joined #heat | 12:28 | |
*** EricGonczer_ has joined #heat | 12:29 | |
*** tellesnobrega has joined #heat | 12:29 | |
*** jamielennox|away is now known as jamielennox | 12:31 | |
*** EricGonczer_ has quit IRC | 12:36 | |
*** kopparam_ has quit IRC | 12:40 | |
*** dyasny has quit IRC | 12:40 | |
*** kopparam has joined #heat | 12:40 | |
*** kopparam has quit IRC | 12:41 | |
*** jamielennox is now known as jamielennox|away | 12:41 | |
*** tomek_adamczewsk has quit IRC | 12:42 | |
*** tomek_adamczewsk has joined #heat | 12:43 | |
asalkeld | g'night all | 12:43 |
*** asalkeld has quit IRC | 12:43 | |
*** jdob has joined #heat | 12:46 | |
*** serg_melikyan has joined #heat | 12:49 | |
*** tellesnobrega has quit IRC | 12:53 | |
*** serg_melikyan has quit IRC | 12:54 | |
therve | shardy, I don't know if you noticed but https://review.openstack.org/#/c/116336/ and the serie have tests failing | 12:54 |
openstackgerrit | Sergey Kraynev proposed openstack/heat: Using image property insted of default_image_id https://review.openstack.org/139989 | 13:03 |
openstackgerrit | Sergey Kraynev proposed openstack/heat: Remove deprecated property of router_interface https://review.openstack.org/139990 | 13:03 |
*** alexpilotti has joined #heat | 13:08 | |
shardy | therve: Yeah, thanks, fixing it is really hard unfortunately :( | 13:09 |
therve | Ah damn | 13:09 |
shardy | therve: asalkeld has kindly offered to help and is working on fixes | 13:09 |
*** ccrouch has joined #heat | 13:13 | |
pas-ha | hi all, what's our policy on deprecating resource properties? announce in one release, remove in next? | 13:15 |
*** tspatzier has quit IRC | 13:16 | |
cmyster | depends | 13:16 |
cmyster | heat list is there for a long time | 13:16 |
pas-ha | nah, that's a cli command, I'm interested in resources | 13:17 |
cmyster | right, sorry | 13:17 |
cmyster | my tired eyes stopped at the word deprecating | 13:18 |
pas-ha | np :) | 13:18 |
*** fayablazer has joined #heat | 13:19 | |
*** tspatzier has joined #heat | 13:20 | |
*** cmyster has quit IRC | 13:21 | |
*** aweiteka has joined #heat | 13:21 | |
*** tspatzier has quit IRC | 13:21 | |
*** cmyster has joined #heat | 13:21 | |
*** tspatzier has joined #heat | 13:21 | |
*** tspatzier has quit IRC | 13:22 | |
*** blomquisg has joined #heat | 13:23 | |
*** prazumovsky has joined #heat | 13:25 | |
*** Drago1 has joined #heat | 13:26 | |
*** aweiteka has joined #heat | 13:26 | |
*** rpothier has joined #heat | 13:29 | |
zaneb | pas-ha: to date I don't think we've ever removed one | 13:30 |
pas-ha | https://review.openstack.org/#/c/139990/1/heat/engine/resources/neutron/router.py,cm | 13:31 |
pas-ha | zaneb, ^ | 13:31 |
pas-ha | that's why I ask | 13:31 |
*** Tross has joined #heat | 13:31 | |
openstackgerrit | Peter Razumovsky proposed openstack/heat: Change Neutron::FloatingIPAssociation res's name https://review.openstack.org/137799 | 13:35 |
openstackgerrit | Peter Razumovsky proposed openstack/heat: Add attributes to Neutron::FloatingIPAssociation https://review.openstack.org/138376 | 13:35 |
*** radez_g0n3 is now known as radez | 13:39 | |
*** EricGonczer_ has joined #heat | 13:40 | |
*** kopparam has joined #heat | 13:41 | |
*** kopparam has quit IRC | 13:48 | |
openstackgerrit | Qiming Teng proposed openstack/heat: Avoid unnecessary passing of child_params in asg https://review.openstack.org/140003 | 13:48 |
*** EricGonczer_ has quit IRC | 13:50 | |
openstackgerrit | Merged openstack/heat: Fill test database from models description https://review.openstack.org/130776 | 13:51 |
*** kopparam has joined #heat | 13:53 | |
*** cmyster has quit IRC | 13:55 | |
*** sabeen1 has joined #heat | 13:55 | |
openstackgerrit | Peter Razumovsky proposed openstack/heat: Convert unicode to six.text_type in heat/tests https://review.openstack.org/139651 | 13:55 |
openstackgerrit | Peter Razumovsky proposed openstack/heat: Convert unicode to six in heat/common https://review.openstack.org/139655 | 13:56 |
openstackgerrit | Peter Razumovsky proposed openstack/heat: Convert unicode to six in heat/engine https://review.openstack.org/139654 | 13:56 |
openstackgerrit | Peter Razumovsky proposed openstack/heat: Convert unicode to six in heat/engine/resources https://review.openstack.org/139653 | 13:56 |
openstackgerrit | Peter Razumovsky proposed openstack/heat: Convert unicode to six.text_type in heat/api https://review.openstack.org/139652 | 13:56 |
openstackgerrit | Peter Razumovsky proposed openstack/heat: Convert unicode to six in heat/common https://review.openstack.org/139655 | 14:00 |
openstackgerrit | Peter Razumovsky proposed openstack/heat: Convert unicode to six in heat/engine https://review.openstack.org/139654 | 14:00 |
*** kopparam has quit IRC | 14:01 | |
openstackgerrit | Merged openstack/heat: Populate _template_classes global on first use https://review.openstack.org/137867 | 14:03 |
openstackgerrit | Merged openstack/heat: Create common stack_create functional test helper https://review.openstack.org/136008 | 14:03 |
openstackgerrit | Peter Razumovsky proposed openstack/heat: Convert unicode to six in heat/common https://review.openstack.org/139655 | 14:09 |
openstackgerrit | Peter Razumovsky proposed openstack/heat: Convert unicode to six in heat/engine https://review.openstack.org/139654 | 14:09 |
*** dulek has joined #heat | 14:12 | |
*** pm90_ has joined #heat | 14:13 | |
*** rakesh_hs has quit IRC | 14:15 | |
*** ishant has quit IRC | 14:23 | |
*** cmyster has joined #heat | 14:31 | |
*** sorantis has quit IRC | 14:32 | |
*** mzbik has quit IRC | 14:32 | |
*** bdossant has quit IRC | 14:34 | |
*** bdossant has joined #heat | 14:35 | |
*** bdossant has quit IRC | 14:36 | |
*** jasond has joined #heat | 14:41 | |
*** sanjayu has quit IRC | 14:45 | |
*** jprovazn has quit IRC | 14:54 | |
*** fayablazer has quit IRC | 15:03 | |
*** serg_melikyan has joined #heat | 15:05 | |
*** rushiagr is now known as rushiagr_away | 15:06 | |
*** tomek_adamczewsk has quit IRC | 15:10 | |
*** tellesnobrega has joined #heat | 15:12 | |
*** alextricity has quit IRC | 15:12 | |
*** killer_prince is now known as lazy_prince | 15:13 | |
*** EricGonczer_ has joined #heat | 15:15 | |
*** prazumovsky has quit IRC | 15:15 | |
*** hdd has joined #heat | 15:17 | |
*** fayablazer has joined #heat | 15:22 | |
*** charlesr has joined #heat | 15:23 | |
*** EricGonc_ has joined #heat | 15:24 | |
*** EricGonczer_ has quit IRC | 15:27 | |
*** tellesnobrega has quit IRC | 15:28 | |
*** sarob has joined #heat | 15:29 | |
*** andreaf has quit IRC | 15:32 | |
*** andreaf has joined #heat | 15:33 | |
*** sarob has quit IRC | 15:35 | |
*** sdake has joined #heat | 15:36 | |
*** GonZo2K has joined #heat | 15:36 | |
*** _shaps_ has joined #heat | 15:38 | |
*** k4n0 has quit IRC | 15:40 | |
*** tshtilma has joined #heat | 15:46 | |
Qiming | pas-ha, there? | 15:47 |
*** sdake has quit IRC | 15:47 | |
*** sdake has joined #heat | 15:48 | |
*** sdake has quit IRC | 15:48 | |
*** sdake has joined #heat | 15:48 | |
pas-ha | yep | 15:48 |
*** GonZo2K has quit IRC | 15:48 | |
Qiming | pas-ha, regarding https://review.openstack.org/#/c/137931/, I have reponded to your comments | 15:48 |
*** tellesnobrega has joined #heat | 15:49 | |
Qiming | however, when I tried assign server unconditionally, quite some test cases broke | 15:49 |
Qiming | those test cases are making assumptions of call sequences | 15:49 |
*** nkhare has quit IRC | 15:50 | |
sdake | shardy i see your playing with ironic | 15:50 |
sdake | i am as well | 15:50 |
Qiming | for example, I am seeing assertion errors like this: AssertionError: Called unknown API method: GET /servers/None, expected fakes method name: get_servers_None | 15:50 |
sdake | did you manage to boot a non-cirros image in ironic? | 15:50 |
pas-ha | Qiming, 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 #heat | 15:51 | |
Qiming | yes, a lot of mocks in test_server.py | 15:51 |
Qiming | making servers.get() call wasn't part of their designed behavior | 15:52 |
pas-ha | ok then, I will lift my objection for some later bright day when we reduce the complexity of mocking :) | 15:52 |
Qiming | thanks, this is not the ideal case, need to revisit this later on | 15:53 |
*** maishsk has quit IRC | 15:53 | |
*** jasond has quit IRC | 15:53 | |
*** kbyrne has quit IRC | 15:55 | |
pas-ha | Qiming, done | 15:55 |
Qiming | thanks! | 15:55 |
*** rushiagr_away is now known as rushiagr | 15:55 | |
pas-ha | no +A though, if nobody chimes in with any suggestion, will +A tomorrow | 15:55 |
*** dmueller has joined #heat | 15:56 | |
*** randallburt has joined #heat | 15:56 | |
*** randallburt has joined #heat | 15:56 | |
*** shadower has quit IRC | 15:56 | |
*** inc0 has quit IRC | 15:57 | |
*** GonZo2K has quit IRC | 15:57 | |
*** sorantis has joined #heat | 15:59 | |
*** kbyrne has joined #heat | 16:00 | |
*** Qiming has quit IRC | 16:02 | |
*** harlowja_at_home has joined #heat | 16:03 | |
*** dmueller has quit IRC | 16:03 | |
*** EricGonczer_ has joined #heat | 16:03 | |
*** EricGonc_ has quit IRC | 16:04 | |
*** pm90_ has quit IRC | 16:04 | |
*** sarob has joined #heat | 16:05 | |
*** cmyster has quit IRC | 16:05 | |
*** david-lyle_afk is now known as david-lyle | 16:06 | |
*** vijendar has joined #heat | 16:08 | |
*** sorantis has quit IRC | 16:10 | |
*** rushiagr is now known as rushiagr_away | 16:12 | |
*** GonZo2K has joined #heat | 16:12 | |
*** serg_melikyan has quit IRC | 16:13 | |
*** serg_melikyan has joined #heat | 16:15 | |
*** serg_melikyan has joined #heat | 16:16 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/heat: Updated from global requirements https://review.openstack.org/140052 | 16:17 |
*** dulek has quit IRC | 16:21 | |
*** Marga_ has joined #heat | 16:21 | |
*** andersonvom has joined #heat | 16:21 | |
*** Marga_ has quit IRC | 16:21 | |
*** Marga_ has joined #heat | 16:22 | |
*** achanda has joined #heat | 16:22 | |
*** tiantian has joined #heat | 16:23 | |
*** tshtilma has quit IRC | 16:28 | |
*** GonZo2K has quit IRC | 16:28 | |
*** tiantian has quit IRC | 16:30 | |
*** GonZo2K has joined #heat | 16:30 | |
*** Drago has joined #heat | 16:31 | |
*** pm90_ has joined #heat | 16:35 | |
*** pm90_ has quit IRC | 16:35 | |
*** GonZo2K has quit IRC | 16:35 | |
*** pm90_ has joined #heat | 16:36 | |
*** GonZo2K has joined #heat | 16:36 | |
*** achanda has quit IRC | 16:37 | |
*** achanda has joined #heat | 16:38 | |
*** ParsectiX has joined #heat | 16:38 | |
*** GonZo2K has quit IRC | 16:39 | |
*** GonZo2K has joined #heat | 16:39 | |
*** Drago has quit IRC | 16:40 | |
*** packet has joined #heat | 16:40 | |
*** achanda has quit IRC | 16:42 | |
*** hdd has quit IRC | 16:44 | |
*** achanda has joined #heat | 16:46 | |
ekarlso- | isn't %replace_me% a valid pattern for a variable in st_Replace? | 16:46 |
*** GonZo2K has quit IRC | 16:46 | |
*** GonZo2K has joined #heat | 16:48 | |
*** fayablazer has quit IRC | 16:51 | |
*** Marga_ has quit IRC | 16:51 | |
*** ParsectiX has quit IRC | 16:51 | |
*** GonZo2K has quit IRC | 16:54 | |
*** ParsectiX has joined #heat | 16:56 | |
*** rushiagr_away is now known as rushiagr | 16:57 | |
*** GonZo2K has joined #heat | 16:58 | |
*** tomek_adamczewsk has joined #heat | 17:00 | |
*** GonZo2K has quit IRC | 17:00 | |
*** harlowja_at_home has quit IRC | 17:02 | |
*** tspatzier has joined #heat | 17:03 | |
*** ParsectiX has quit IRC | 17:03 | |
*** ParsectiX has joined #heat | 17:05 | |
*** cmyster has joined #heat | 17:08 | |
*** cmyster has quit IRC | 17:08 | |
*** cmyster has joined #heat | 17:08 | |
*** charlesr has quit IRC | 17:10 | |
*** serg_melikyan has quit IRC | 17:10 | |
*** ParsectiX has quit IRC | 17:12 | |
*** tellesnobrega has quit IRC | 17:13 | |
*** sdf_ has joined #heat | 17:18 | |
*** Drago1 has quit IRC | 17:18 | |
*** openstackgerrit has quit IRC | 17:19 | |
*** openstackgerrit has joined #heat | 17:20 | |
*** tylerdurden has quit IRC | 17:20 | |
pas-ha | bye all | 17:20 |
*** pas-ha has quit IRC | 17:20 | |
*** jtomasek has quit IRC | 17:21 | |
*** tomek_adamczewsk has quit IRC | 17:27 | |
*** EricGonc_ has joined #heat | 17:30 | |
*** EricGonczer_ has quit IRC | 17:30 | |
*** lazy_prince is now known as killer_prince | 17:34 | |
openstackgerrit | Thomas Herve proposed openstack/heat: Remove unused oslo modules https://review.openstack.org/140093 | 17:36 |
openstackgerrit | Thomas Herve proposed openstack/heat: Sync oslo modules https://review.openstack.org/140094 | 17:36 |
*** Marga_ has joined #heat | 17:36 | |
*** kebray has joined #heat | 17:37 | |
*** Marga_ has quit IRC | 17:37 | |
*** Marga_ has joined #heat | 17:38 | |
*** Marga_ has quit IRC | 17:47 | |
*** jstrachan has quit IRC | 17:47 | |
*** alexheneveld_ has joined #heat | 17:53 | |
*** alexheneveld has quit IRC | 17:55 | |
*** alexheneveld_ has quit IRC | 17:58 | |
*** alexheneveld has joined #heat | 17:58 | |
*** tspatzier has quit IRC | 17:59 | |
*** Marga_ has joined #heat | 17:59 | |
*** tspatzier has joined #heat | 17:59 | |
*** tspatzier has quit IRC | 17:59 | |
*** Marga_ has quit IRC | 17:59 | |
*** achanda has quit IRC | 18:01 | |
*** derekh has quit IRC | 18:02 | |
*** ParsectiX has joined #heat | 18:02 | |
*** achanda has joined #heat | 18:02 | |
*** mzbik has joined #heat | 18:04 | |
*** alexheneveld_ has joined #heat | 18:05 | |
*** achanda has quit IRC | 18:06 | |
*** alexheneveld has quit IRC | 18:08 | |
*** sdf_ has quit IRC | 18:08 | |
*** alexheneveld_ is now known as alexheneveld | 18:08 | |
*** Parsecti_ has joined #heat | 18:10 | |
*** ParsectiX has quit IRC | 18:10 | |
*** Marga_ has joined #heat | 18:10 | |
*** serg_melikyan has joined #heat | 18:11 | |
*** jistr has quit IRC | 18:11 | |
*** Marga_ has quit IRC | 18:12 | |
*** kebray has quit IRC | 18:12 | |
*** Marga_ has joined #heat | 18:13 | |
*** serg_melikyan has quit IRC | 18:15 | |
*** Marga_ has quit IRC | 18:16 | |
*** alexheneveld has quit IRC | 18:16 | |
*** serg_melikyan has joined #heat | 18:19 | |
*** harlowja_away is now known as harlowja | 18:20 | |
*** serg_melikyan has quit IRC | 18:23 | |
*** Parsecti_ has quit IRC | 18:23 | |
*** Marga_ has joined #heat | 18:24 | |
*** Marga_ has quit IRC | 18:26 | |
*** vijendar has quit IRC | 18:27 | |
*** pm90_ has quit IRC | 18:29 | |
*** alexheneveld has joined #heat | 18:31 | |
*** keithmorin has joined #heat | 18:36 | |
*** alexheneveld has quit IRC | 18:46 | |
*** sdake has quit IRC | 18:47 | |
keithmorin | Is 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 #heat | 18:47 | |
*** sdake has quit IRC | 18:47 | |
*** sdake has joined #heat | 18:47 | |
*** pm90_ has joined #heat | 18:48 | |
*** pm90_ has quit IRC | 18:48 | |
*** Marga_ has joined #heat | 18:48 | |
*** Marga_ has quit IRC | 18:48 | |
*** pm90_ has joined #heat | 18:49 | |
*** jprovazn has joined #heat | 18:51 | |
*** Marga_ has joined #heat | 18:57 | |
*** GonZo2K has joined #heat | 18:59 | |
*** kebray has joined #heat | 19:01 | |
*** vijendar has joined #heat | 19:03 | |
*** Marga_ has quit IRC | 19:09 | |
*** tomek_adamczewsk has joined #heat | 19:09 | |
openstackgerrit | Merged openstack/heat: Make 'admin_pass' updatable for nova server https://review.openstack.org/137730 | 19:12 |
*** Marga_ has joined #heat | 19:12 | |
*** Marga_ has quit IRC | 19:13 | |
*** Marga_ has joined #heat | 19:13 | |
*** kebray has quit IRC | 19:13 | |
*** Marga_ has quit IRC | 19:17 | |
randallburt | keithmorin: not to my knowlege. requires that you restart the engine AFAIK. | 19:18 |
*** serg_melikyan has joined #heat | 19:20 | |
keithmorin | randallburt 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 ordered | 19:20 |
openstackgerrit | Rob Pothier proposed openstack/heat: OS::Neutron::Subnet host_routes should allow updates. https://review.openstack.org/140123 | 19:21 |
keithmorin | part of this requires heat registering the resource plugin that are code generated | 19:21 |
*** tomek_adamczewsk has quit IRC | 19:21 | |
*** tomek_adamczewsk has joined #heat | 19:21 | |
keithmorin | Is there anyway to achieve this? I see there is register_class called from the heat.engine.environment.Environment | 19:22 |
*** aweiteka has quit IRC | 19:23 | |
keithmorin | Is there any way in heat to register a looping task? | 19:23 |
*** kebray has joined #heat | 19:23 | |
*** serg_melikyan has quit IRC | 19:24 | |
*** sarob has quit IRC | 19:25 | |
*** yjiang5_away has left #heat | 19:26 | |
*** jprovazn has quit IRC | 19:28 | |
*** tomek_adamczewsk has quit IRC | 19:30 | |
*** tomek_adamczewsk has joined #heat | 19:30 | |
*** liusheng has quit IRC | 19:32 | |
*** Marga_ has joined #heat | 19:32 | |
*** liusheng has joined #heat | 19:32 | |
*** Marga_ has quit IRC | 19:33 | |
*** fandi has joined #heat | 19:34 | |
*** hdd has joined #heat | 19:35 | |
*** tomek_adamczewsk has quit IRC | 19:36 | |
*** Marga_ has joined #heat | 19:37 | |
*** Marga_ has quit IRC | 19:38 | |
*** Marga_ has joined #heat | 19:38 | |
*** Marga_ has quit IRC | 19:38 | |
*** shakamunyi has joined #heat | 19:38 | |
*** tspatzier has joined #heat | 19:39 | |
*** bhi has quit IRC | 19:42 | |
*** jcoufal has quit IRC | 19:44 | |
*** cdent has quit IRC | 19:44 | |
randallburt | keithmorin: 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 #heat | 19:51 | |
*** kebray has quit IRC | 19:54 | |
*** radez is now known as radez_g0n3 | 19:54 | |
*** Marga_ has quit IRC | 19:54 | |
zaneb | keithmorin: You should be able to register them in the local (not global) environment to restrict their scope to the current stack | 19:56 |
*** radez_g0n3 is now known as radez | 19:57 | |
*** Marga_ has joined #heat | 19:59 | |
*** stannie1 has joined #heat | 20:01 | |
*** Marga_ has quit IRC | 20:06 | |
*** mzbik has quit IRC | 20:08 | |
keithmorin | thanks randallburt: zaneb:! | 20:11 |
*** rushiagr is now known as rushiagr_away | 20:11 | |
keithmorin | zaneb: 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 |
zaneb | inside the plugin? | 20:14 |
*** jtomasek has joined #heat | 20:14 | |
zaneb | keithmorin: ^ | 20:14 |
zaneb | I'm a little confused about what you're trying to do, to be honest | 20:15 |
zaneb | in general, at startup time we register every plugin in the global environment | 20:16 |
zaneb | each stack also has its own local environment that inherits from but can override the global one | 20:16 |
keithmorin | Can you expand a little more on the local vs global env? Yes I was referring inside the plugin | 20:16 |
zaneb | maybe you could explain a little more what you're trying to do? | 20:17 |
zaneb | normally the local environment is just used to remap resource type names to different plugins, but it | 20:18 |
keithmorin | Essentially 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 fly | 20:18 |
keithmorin | the challenge is then registering the resource in heat | 20:18 |
zaneb | ...it's the same code as for the global environment, so there's no reason you can't register plugins there too | 20:18 |
zaneb | ok | 20:19 |
zaneb | what triggers the plugin code to be generated? | 20:19 |
keithmorin | yeah but the issue is this is happening while other orders are ongoing so restarting heat is not an option | 20:19 |
zaneb | hmm | 20:19 |
keithmorin | Otherwise the user can come to the UI anytime they want and build their own resources | 20:19 |
*** hdd has quit IRC | 20:20 | |
keithmorin | this will not happen quite often | 20:20 |
zaneb | so you could register them in the global environment, but then they'd be available to everyone | 20:20 |
zaneb | there's no concept of a tenant-scoped environment | 20:20 |
* zaneb is curious what the components of these resources are, and whether they could be better expressed as template resources | 20:21 | |
*** radez is now known as radez_g0n3 | 20:24 | |
*** pm90_ has quit IRC | 20:25 | |
keithmorin | no 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 autoscaled | 20:26 |
*** alexpilotti has quit IRC | 20:27 | |
keithmorin | problem of doing that inside the plugin though is that the template validation will fail regardless | 20:27 |
keithmorin | because it will not find the resource type..I believe that validation step is before the actual resource plugin is invoked right? | 20:27 |
zaneb | yes | 20:27 |
*** radez_g0n3 is now known as radez | 20:28 | |
zaneb | I mean a plugin isn't just invoked | 20:28 |
zaneb | like plugin.invoke() | 20:28 |
zaneb | a plugin supplies various methods like handle_create(), handle_delete() &c. | 20:29 |
zaneb | when you create a stack it looks at the environment to see which resource types map to which plugins | 20:29 |
zaneb | then it creates the Resource objects in-memory with the right types | 20:29 |
keithmorin | yeah... the entire lifecycle which is tied to the stack CRUD ops right? | 20:30 |
zaneb | and as you're actually creating the stack it calls handle_create() from the plugin | 20:30 |
zaneb | yes, exactly | 20:30 |
*** kebray has joined #heat | 20:30 | |
zaneb | so it's not clear to me where the trigger is going to be to register this new plugin | 20:30 |
keithmorin | it 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 |
zaneb | correct | 20:32 |
keithmorin | so really I am back to square one :( | 20:32 |
zaneb | nothing 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 environment | 20:32 |
zaneb | keithmorin: so, two ideas | 20:33 |
zaneb | 1) 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 code | 20:35 |
zaneb | that's the way Heat is intended to be used, so it will have the lowest friction | 20:35 |
zaneb | failing that... | 20:35 |
zaneb | 2) 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 fly | 20:37 |
keithmorin | 1) 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 #heat | 20:42 | |
keithmorin | Do 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 IRC | 20:43 | |
*** jtomasek has quit IRC | 20:43 | |
keithmorin | Or is there a better way to achieve through a periodic task scheduling in heat of some sort? | 20:44 |
*** sgordon_ has quit IRC | 20:53 | |
zaneb | keithmorin: 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_create | 20:55 |
*** kebray has joined #heat | 21:04 | |
*** serg_melikyan has joined #heat | 21:08 | |
*** ifarkas has quit IRC | 21:12 | |
*** serg_melikyan has quit IRC | 21:13 | |
*** pm90_ has quit IRC | 21:15 | |
*** Marga_ has joined #heat | 21:16 | |
*** tspatzier has quit IRC | 21:21 | |
*** serg_melikyan has joined #heat | 21:26 | |
keithmorin | ok so I guess there will have to be only one resource with the handle_create routed to the proper generated code | 21:30 |
keithmorin | Any plan in fututre where you will provide may be an API extension to push artifacts on the global env? | 21:31 |
keithmorin | kinda like puppet does? | 21:31 |
*** serg_melikyan has quit IRC | 21:34 | |
*** radez is now known as radez_g0n3 | 21:37 | |
randallburt | keithmorin: sounds a bit risky to execute arbitrary untrusted code to me | 21:38 |
*** swygue has quit IRC | 21:39 | |
*** swygue has joined #heat | 21:41 | |
openstackgerrit | Merged openstack/heat: Fix formatting in integration tests README https://review.openstack.org/139957 | 21:41 |
*** serg_melikyan has joined #heat | 21:42 | |
*** serg_melikyan has joined #heat | 21:42 | |
*** tomek_adamczewsk has joined #heat | 21:44 | |
*** sarob has joined #heat | 21:46 | |
*** kebray has quit IRC | 21:51 | |
*** swygue has quit IRC | 21:54 | |
keithmorin | randallburt: But having no capabilities from outside heat engine to push external configuration other than having plugins seems like a major limitation | 21:56 |
randallburt | keithmorin: 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 #heat | 21:58 | |
*** serg_melikyan has quit IRC | 21:59 | |
*** EricGonc_ has quit IRC | 21:59 | |
*** serg_melikyan has joined #heat | 21:59 | |
*** serg_melikyan has joined #heat | 22:00 | |
*** boris-42 has joined #heat | 22:00 | |
*** Marga_ has quit IRC | 22:02 | |
*** Flcn has joined #heat | 22:05 | |
*** swygue has joined #heat | 22:11 | |
*** serg_melikyan has quit IRC | 22:15 | |
*** Marga_ has joined #heat | 22:15 | |
*** Marga_ has quit IRC | 22:15 | |
*** serg_melikyan has joined #heat | 22:15 | |
*** reed has joined #heat | 22:16 | |
*** serg_melikyan has quit IRC | 22:20 | |
*** Marga_ has joined #heat | 22:22 | |
zaneb | keithmorin: 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 resources | 22:22 |
*** serg_melikyan has joined #heat | 22:23 | |
*** asalkeld has joined #heat | 22:23 | |
*** Marga_ has quit IRC | 22:27 | |
*** Marga_ has joined #heat | 22:29 | |
asalkeld | morning | 22:30 |
*** rpothier has quit IRC | 22:32 | |
*** tellesnobrega has joined #heat | 22:33 | |
*** Marga_ has quit IRC | 22:39 | |
*** shadower has joined #heat | 22:39 | |
*** serg_melikyan has quit IRC | 22:42 | |
*** serg_melikyan has joined #heat | 22:42 | |
*** Marga_ has joined #heat | 22:44 | |
*** packet has quit IRC | 22:46 | |
*** alexpilotti has joined #heat | 22:47 | |
*** serg_melikyan has quit IRC | 22:47 | |
*** Marga_ has quit IRC | 22:48 | |
*** Flcn has quit IRC | 22:49 | |
*** tellesnobrega has quit IRC | 22:49 | |
*** keithmorin has quit IRC | 22:50 | |
*** keithmorin has joined #heat | 22:56 | |
*** blomquisg has quit IRC | 22:59 | |
*** Marga_ has joined #heat | 22:59 | |
*** Marga_ has quit IRC | 23:02 | |
keithmorin | zaneb: So just so that we are both talking about the same thing, template resource is exposig the template as a resource right? | 23:06 |
keithmorin | I don't see how this is going to help my case in mutli-tenant env | 23:06 |
*** Marga_ has joined #heat | 23:07 | |
*** julienvey has joined #heat | 23:10 | |
*** alexpilotti has quit IRC | 23:11 | |
*** jamielennox|away is now known as jamielennox | 23:15 | |
*** hdd has joined #heat | 23:16 | |
*** tomek_adamczewsk has quit IRC | 23:18 | |
randallburt | keithmorin: 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, though | 23:21 |
*** kebray has quit IRC | 23:22 | |
keithmorin | Any good resources on this one...so far all I have found is the blueprint and something on Steve Hardys blog | 23:22 |
*** EricGonczer_ has joined #heat | 23:23 | |
randallburt | keithmorin: http://docs.openstack.org/developer/heat/template_guide/composition.html | 23:25 |
*** alexheneveld has joined #heat | 23:26 | |
*** serg_melikyan has joined #heat | 23:29 | |
asalkeld | brb | 23:40 |
*** randallburt has quit IRC | 23:40 | |
*** ygoto has joined #heat | 23:40 | |
*** randallburt has joined #heat | 23:40 | |
*** alexheneveld has quit IRC | 23:44 | |
*** alexheneveld has joined #heat | 23:50 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!