*** gouthamr has quit IRC | 00:05 | |
*** armaan__ has quit IRC | 00:10 | |
*** yangyapeng has quit IRC | 00:23 | |
*** yangyapeng has joined #heat | 00:23 | |
*** yangyapeng has quit IRC | 00:28 | |
*** AlexeyAbashkin has joined #heat | 00:29 | |
*** AlexeyAbashkin has quit IRC | 00:33 | |
*** gmoro has quit IRC | 00:35 | |
*** omie888777 has joined #heat | 00:49 | |
*** liyi has joined #heat | 00:53 | |
*** ricolin has joined #heat | 00:56 | |
*** namnh has joined #heat | 01:00 | |
*** kiennt26 has joined #heat | 01:01 | |
*** yangyapeng has joined #heat | 01:19 | |
*** blomquisg_gone is now known as blomquisg | 01:19 | |
*** yangyape_ has joined #heat | 01:20 | |
*** yangyapeng has quit IRC | 01:20 | |
*** AlexeyAbashkin has joined #heat | 01:29 | |
*** AlexeyAbashkin has quit IRC | 01:33 | |
*** ricolin has quit IRC | 01:48 | |
*** fragatina has quit IRC | 02:01 | |
*** wangbo_ has joined #heat | 02:04 | |
*** rwsu has joined #heat | 02:21 | |
*** catintheroof has joined #heat | 02:24 | |
openstackgerrit | Keiichi Hikita proposed openstack/heat-dashboard master: Add initial files as devstack settings/documents/requirements. https://review.openstack.org/515591 | 02:30 |
---|---|---|
*** catintheroof has quit IRC | 02:43 | |
*** Shunli has joined #heat | 02:53 | |
*** hongbin_ has joined #heat | 02:56 | |
*** hongbin_ has quit IRC | 02:59 | |
*** hongbin has joined #heat | 03:00 | |
*** wangbo_ has quit IRC | 03:07 | |
*** ramishra has joined #heat | 03:19 | |
*** hongbin has quit IRC | 03:22 | |
*** gouthamr has joined #heat | 03:34 | |
*** ricolin has joined #heat | 03:37 | |
*** armaan has joined #heat | 03:39 | |
*** fragatina has joined #heat | 03:49 | |
*** fragatina has quit IRC | 03:49 | |
*** fragatina has joined #heat | 03:50 | |
*** fragatina has quit IRC | 03:50 | |
*** fragatina has joined #heat | 03:51 | |
*** Shunli has quit IRC | 03:59 | |
*** liyi has quit IRC | 04:01 | |
*** ricolin has quit IRC | 04:11 | |
*** liyi has joined #heat | 04:17 | |
*** huangtianhua has joined #heat | 04:21 | |
*** dyasny__ has joined #heat | 04:21 | |
*** jidar has quit IRC | 04:22 | |
*** jidar has joined #heat | 04:22 | |
*** fragatina has quit IRC | 04:22 | |
*** tiantian has quit IRC | 04:23 | |
*** dyasny_ has quit IRC | 04:25 | |
*** fragatina has joined #heat | 04:27 | |
*** gouthamr has quit IRC | 04:34 | |
*** skramaja has joined #heat | 04:45 | |
*** liyi has quit IRC | 05:05 | |
*** liusheng has quit IRC | 05:07 | |
*** liusheng has joined #heat | 05:07 | |
*** blomquisg is now known as blomquisg_gone | 05:15 | |
*** liyi has joined #heat | 05:34 | |
*** kiennt26 has quit IRC | 05:42 | |
*** fragatina has quit IRC | 05:47 | |
*** liyi has quit IRC | 05:57 | |
*** gkadam has joined #heat | 05:57 | |
*** liyi has joined #heat | 06:05 | |
*** kiennt26 has joined #heat | 06:05 | |
openstackgerrit | Merged openstack/heat master: Move FakeKeystoneClient to engine.clients https://review.openstack.org/512035 | 06:19 |
openstackgerrit | Rabi Mishra proposed openstack/heat master: Migrate grenade jobs to zuul v3 https://review.openstack.org/509140 | 06:20 |
*** maestropandy has joined #heat | 06:36 | |
*** maestropandy has left #heat | 06:37 | |
*** linkedinyou has joined #heat | 06:37 | |
*** hoonetorg has quit IRC | 06:37 | |
*** liyi has quit IRC | 06:38 | |
*** maestropandy1 has joined #heat | 06:41 | |
*** hoonetorg has joined #heat | 06:53 | |
*** liyi has joined #heat | 06:53 | |
openstackgerrit | Keiichi Hikita proposed openstack/heat-dashboard master: Add initial files as devstack settings/documents/requirements. https://review.openstack.org/515591 | 06:57 |
openstackgerrit | Kien Nguyen proposed openstack/heat master: [DNM] Testing Zuulv3 https://review.openstack.org/516530 | 06:57 |
*** jtomasek has joined #heat | 06:57 | |
openstackgerrit | Keiichi Hikita proposed openstack/heat-dashboard master: Add initial files as devstack settings/documents/requirements. https://review.openstack.org/515591 | 06:59 |
*** rcernin has quit IRC | 06:59 | |
*** jtomasek has quit IRC | 07:00 | |
*** gkadam has quit IRC | 07:01 | |
openstackgerrit | Rabi Mishra proposed openstack/heat master: Migrate functional jobs to Zuul v3 https://review.openstack.org/509098 | 07:13 |
*** maestropandy1 has quit IRC | 07:14 | |
*** SmearedBeard has joined #heat | 07:15 | |
*** jprovazn has joined #heat | 07:17 | |
*** kiennt26 has quit IRC | 07:17 | |
*** kiennt26 has joined #heat | 07:20 | |
*** SmearedBeard has quit IRC | 07:20 | |
*** jtomasek has joined #heat | 07:33 | |
*** linkedinyou has quit IRC | 07:39 | |
*** rcernin has joined #heat | 07:44 | |
*** shardy has joined #heat | 07:45 | |
*** shardy has quit IRC | 07:45 | |
*** shardy has joined #heat | 07:49 | |
*** AlexeyAbashkin has joined #heat | 07:58 | |
*** AlexeyAbashkin has quit IRC | 08:01 | |
*** AlexeyAbashkin has joined #heat | 08:01 | |
*** gkadam has joined #heat | 08:05 | |
*** SmearedBeard has joined #heat | 08:05 | |
*** ccamacho has joined #heat | 08:17 | |
*** kiennt26 has quit IRC | 08:17 | |
*** AlexeyAbashkin has quit IRC | 08:21 | |
*** AlexeyAbashkin has joined #heat | 08:23 | |
*** gfidente has joined #heat | 08:24 | |
*** gfidente has joined #heat | 08:24 | |
*** d0ugal has quit IRC | 08:29 | |
*** d0ugal has joined #heat | 08:29 | |
*** gfidente has quit IRC | 08:32 | |
*** gfidente has joined #heat | 08:34 | |
*** gfidente has quit IRC | 08:34 | |
*** gfidente has joined #heat | 08:34 | |
*** BoJin has joined #heat | 08:44 | |
*** amoralej|off is now known as amoralej | 08:44 | |
*** huangtianhua has quit IRC | 08:45 | |
*** huangtianhua has joined #heat | 08:46 | |
*** gfidente has quit IRC | 08:49 | |
*** BoJin has quit IRC | 08:59 | |
*** BoJin has joined #heat | 09:10 | |
*** gfidente has joined #heat | 09:13 | |
*** jistr|mtgs is now known as jistr | 09:29 | |
*** sgran has quit IRC | 09:37 | |
*** ioggstream has joined #heat | 09:38 | |
*** shardy has quit IRC | 09:42 | |
*** shardy has joined #heat | 09:42 | |
openstackgerrit | Merged openstack/heat-dashboard master: Add initial files as devstack settings/documents/requirements. https://review.openstack.org/515591 | 09:44 |
*** ioggstream has quit IRC | 09:59 | |
*** namnh has quit IRC | 10:00 | |
*** armaan_ has joined #heat | 10:00 | |
*** higgins` has joined #heat | 10:00 | |
*** jistr_ has joined #heat | 10:00 | |
*** higgins has quit IRC | 10:01 | |
*** jistr has quit IRC | 10:01 | |
*** armaan has quit IRC | 10:01 | |
*** rwsu has quit IRC | 10:01 | |
*** askb has quit IRC | 10:01 | |
shardy | therve: Hey, are you OK with me approving https://review.openstack.org/#/c/494592/ ? | 10:01 |
shardy | it's been around for a while and seems good to go I think | 10:01 |
*** askb has joined #heat | 10:02 | |
therve | shardy, Still don't have stable rights | 10:02 |
*** rwsu has joined #heat | 10:02 | |
shardy | therve: ugh - if you can +1 I guess I can +A it, since in theory single +2 is OK provided it's proposed by a stable- core? | 10:02 |
therve | Yep :) | 10:02 |
shardy | therve: thanks - one more thing, I'm about to rebase https://review.openstack.org/#/c/509760/ - was the consensus to remove the flag from the rpc API but leave it for the heat-api? | 10:04 |
shardy | just wanted to check that's agreed before I revert all the test changes ;) | 10:04 |
therve | shardy, I think it was to not have any flags | 10:05 |
*** liyi has quit IRC | 10:05 | |
*** gfidente has quit IRC | 10:05 | |
shardy | therve: Hmm, Ok that works too, I'll do that and include a release note - thanks! | 10:06 |
*** liyi has joined #heat | 10:06 | |
*** gfidente has joined #heat | 10:08 | |
*** gfidente has quit IRC | 10:08 | |
*** gfidente has joined #heat | 10:08 | |
*** liyi has quit IRC | 10:10 | |
*** yangyape_ has quit IRC | 10:12 | |
*** ioggstream has joined #heat | 10:12 | |
*** gfidente has quit IRC | 10:13 | |
*** gfidente has joined #heat | 10:16 | |
*** gfidente has quit IRC | 10:16 | |
*** gfidente has joined #heat | 10:16 | |
*** liyi has joined #heat | 10:21 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/heat-dashboard master: Updated from global requirements https://review.openstack.org/516580 | 10:25 |
*** liyi has quit IRC | 10:26 | |
*** gfidente has quit IRC | 10:29 | |
ramishra | therve, shardy: I think stable branches are all broken atm, I've submiited a fix https://review.openstack.org/#/c/516581/ | 10:30 |
*** gfidente has joined #heat | 10:32 | |
*** gfidente has quit IRC | 10:32 | |
*** gfidente has joined #heat | 10:32 | |
*** pbourke has quit IRC | 10:53 | |
ramishra | seems like jobs for stable running devstack plugins from master:/ | 10:54 |
*** ricolin has joined #heat | 10:54 | |
*** pbourke has joined #heat | 10:54 | |
*** liyi has joined #heat | 10:56 | |
*** armaan_ has quit IRC | 11:14 | |
*** armaan has joined #heat | 11:15 | |
*** rcernin has quit IRC | 11:18 | |
therve | ramishra, Isn't the issue devstack-gate is branchless? | 11:22 |
ramishra | therve: yeah, it's always been, no? | 11:22 |
openstackgerrit | Saravanan KR proposed openstack/heat master: Added 'tags' property to the template parameter https://review.openstack.org/506133 | 11:24 |
openstackgerrit | Saravanan KR proposed openstack/heat master: Refactor the format_validate_parameter fuction to reduce complexity https://review.openstack.org/516623 | 11:24 |
*** armaan has quit IRC | 11:25 | |
ramishra | I see ocata grenade jobs running master heat plugin, which is kind of weird | 11:26 |
*** armaan has joined #heat | 11:26 | |
ramishra | http://logs.openstack.org/92/494592/1/gate/legacy-grenade-dsvm-heat/a43be0d/logs/grenade.sh.txt.gz#_2017-10-31_10_22_12_911 | 11:26 |
openstackgerrit | Steven Hardy proposed openstack/heat master: Return Environment from validate_template https://review.openstack.org/509760 | 11:27 |
*** gfidente has quit IRC | 11:27 | |
*** gfidente has joined #heat | 11:30 | |
*** sgran has joined #heat | 11:31 | |
*** armaan has quit IRC | 11:37 | |
*** Roedy has quit IRC | 11:37 | |
*** armaan has joined #heat | 11:37 | |
*** gmoro has joined #heat | 11:42 | |
*** liyi has quit IRC | 11:42 | |
*** liyi_ has joined #heat | 11:42 | |
*** armaan has quit IRC | 11:42 | |
openstackgerrit | Saravanan KR proposed openstack/heat master: Refactor the format_validate_parameter fuction to reduce complexity https://review.openstack.org/516623 | 11:45 |
openstackgerrit | Saravanan KR proposed openstack/heat master: Added 'tags' property to the template parameter https://review.openstack.org/506133 | 11:45 |
*** jprovazn has quit IRC | 11:52 | |
openstackgerrit | Saravanan KR proposed openstack/heat master: Added 'tags' property to the template parameter https://review.openstack.org/506133 | 11:54 |
*** jprovazn has joined #heat | 11:55 | |
*** ricolin has quit IRC | 12:00 | |
*** ricolin has joined #heat | 12:02 | |
*** ricolin has quit IRC | 12:05 | |
*** shardy is now known as shardy_lunch | 12:07 | |
*** dprince has joined #heat | 12:13 | |
*** armaan has joined #heat | 12:17 | |
*** armaan has quit IRC | 12:20 | |
*** catintheroof has joined #heat | 12:31 | |
*** catintheroof has quit IRC | 12:32 | |
*** catintheroof has joined #heat | 12:32 | |
*** ioggstream has quit IRC | 12:33 | |
*** gkadam has quit IRC | 12:37 | |
*** jmlowe_ has joined #heat | 12:38 | |
*** jcoufal has joined #heat | 12:39 | |
*** jmlowe has quit IRC | 12:40 | |
*** yangyapeng has joined #heat | 12:48 | |
*** shardy_lunch is now known as shardy | 12:49 | |
*** zhurong has joined #heat | 12:50 | |
*** gfidente has quit IRC | 12:56 | |
*** liyi_ has quit IRC | 12:57 | |
*** liyi has joined #heat | 12:58 | |
*** liyi has quit IRC | 13:02 | |
*** felipemonteiro has joined #heat | 13:03 | |
*** gfidente has joined #heat | 13:04 | |
*** BoJin has quit IRC | 13:07 | |
*** AlexeyAbashkin has quit IRC | 13:10 | |
*** AlexeyAbashkin has joined #heat | 13:11 | |
*** jprovazn has quit IRC | 13:11 | |
*** jprovazn has joined #heat | 13:12 | |
*** jcoufal_ has joined #heat | 13:16 | |
*** jcoufal has quit IRC | 13:18 | |
*** Guest13420 is now known as yassine | 13:24 | |
*** yassine is now known as yassinee | 13:24 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/heat-dashboard master: Updated from global requirements https://review.openstack.org/516580 | 13:27 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/heat-dashboard master: Updated from global requirements https://review.openstack.org/516580 | 13:30 |
*** skramaja has quit IRC | 13:34 | |
openstackgerrit | Steven Hardy proposed openstack/heat master: Return Environment from validate_template https://review.openstack.org/509760 | 13:35 |
*** zhurong has quit IRC | 13:42 | |
*** hongbin has joined #heat | 13:43 | |
*** mchlumsky has joined #heat | 13:46 | |
*** felipemonteiro_ has joined #heat | 13:46 | |
*** BoJin has joined #heat | 13:47 | |
*** liyi has joined #heat | 13:47 | |
*** amoralej is now known as amoralej|lunch | 13:48 | |
*** kiennt26 has joined #heat | 13:49 | |
*** felipemonteiro has quit IRC | 13:49 | |
*** liyi has quit IRC | 13:51 | |
*** jdandrea has joined #heat | 13:57 | |
*** catintheroof has quit IRC | 14:12 | |
*** catintheroof has joined #heat | 14:14 | |
*** omie888777 has quit IRC | 14:17 | |
*** crose has joined #heat | 14:19 | |
*** amoralej|lunch is now known as amoralej | 14:27 | |
*** ioggstream has joined #heat | 14:29 | |
*** catintheroof has quit IRC | 14:30 | |
*** liyi has joined #heat | 14:33 | |
*** catintheroof has joined #heat | 14:35 | |
*** liyi has quit IRC | 14:37 | |
*** nicolasbock has joined #heat | 14:41 | |
*** omie888777 has joined #heat | 14:45 | |
*** omie888777 has quit IRC | 14:50 | |
zaneb | ramishra: seems like https://review.openstack.org/#/c/516581/ is still complaining about 'no module named redis' on python3 | 14:58 |
zaneb | didn't we run into that problem once before? | 14:58 |
zaneb | oh, was it https://review.openstack.org/#/c/509904/ | 15:00 |
zaneb | I thought devstack was branchless, do we have to backport that? | 15:01 |
therve | We might yeah | 15:07 |
therve | devstack has branches | 15:08 |
zaneb | apparently we do, I cherry-picked it and made ramishra's patch depend on it. we'll see how that goes | 15:08 |
zaneb | how did the default get changed in pike/ocata in the first place though? that seems like a problem for ceilometer | 15:09 |
*** kiennt26 has left #heat | 15:10 | |
therve | AFAIU the default was changed in devstack-gate | 15:10 |
therve | Which is branchless | 15:10 |
therve | But ramishra mentioned something about devstack plugins, so I don't know | 15:11 |
zaneb | ok | 15:13 |
zaneb | ocata appears to have bigger issues | 15:13 |
*** jprovazn has quit IRC | 15:14 | |
*** jcoufal_ has quit IRC | 15:19 | |
shardy | therve, zaneb: Hey, I updated https://review.openstack.org/#/c/509760/ FYI, now looking at the tripleo-common part to pass the unmerged environment files and hit another issue | 15:20 |
*** jcoufal has joined #heat | 15:20 | |
shardy | the files map is so huge we hit the maximum request limit | 15:20 |
shardy | thinking of ways around it - we already store everything in swift, so it'd be cool if heat could just read from there | 15:20 |
shardy | instead of needing every single file in the API request | 15:20 |
shardy | wondering what your thoughts were on that, e.g we could perhaps start with allowing TemplateResource to read from a URL including figuring out how to get a template from swift without a tempurl | 15:21 |
zaneb | shardy: release note in that patch would be great please :) | 15:21 |
shardy | zaneb: ah yeah sorry forgot to add it, will do | 15:21 |
*** AlexeyAbashkin has quit IRC | 15:23 | |
*** AlexeyAbashkin has joined #heat | 15:23 | |
zaneb | shardy: downloading a template from Swift, with a token, is the *one* safe way for Heat to download stuff. so +1 for implementing that | 15:23 |
shardy | zaneb: ack yeah was thinking the same, do you think comparing the path with the swift endpoint is enough, then we can split the path to figure out the container/object to download via swiftclient? | 15:25 |
zaneb | I can't think of a reason that wouldn't work | 15:26 |
shardy | zaneb: ack, Ok I'll give it a go | 15:26 |
shardy | thanks | 15:26 |
*** SmearedBeard has quit IRC | 15:26 | |
therve | So we already support some kind of URL no? | 15:26 |
zaneb | although it would be nicer if you could e.g. specify a Swift container and a template name when you create the stack and all relative paths were resolved within that container | 15:27 |
shardy | therve: yeah but only for template_resource: | 15:27 |
shardy | https://github.com/openstack/heat/blob/master/heat/engine/resources/template_resource.py#L87 | 15:27 |
zaneb | therve: correct, but we don't pass a token | 15:27 |
shardy | that would work but I'd be forced to create about 300 tempurls :) | 15:28 |
shardy | and also, the files map is used also for the unmerged environment files | 15:28 |
shardy | so I was thinking of a more general solution | 15:28 |
zaneb | shardy: clearly you have too many templates :) | 15:28 |
shardy | where heat could download things with the token from swift | 15:28 |
therve | shardy, I was thinking https://github.com/openstack/heat/blob/master/heat/api/openstack/v1/stacks.py#L114 | 15:29 |
therve | But yeah same thing | 15:29 |
shardy | therve: ah yeah I forgot about that | 15:29 |
shardy | what would be really nice would be to pass a container ID, then have all paths specified relative to the root of the container | 15:29 |
zaneb | therve: I wish I could think of a safe way to deprecate all that stuff. it's so unsafe :( | 15:30 |
shardy | I suspect that will take more work than mangling the URLs to match the swift endpoint tho | 15:30 |
zaneb | shardy: ++ yeah, that would be the ideal solution imho | 15:30 |
therve | zaneb, In what way? | 15:31 |
therve | I don't understand that thing about mangling URLs | 15:31 |
therve | Ideally you pass the switf URL, and heat reads relatively from that, right? | 15:32 |
shardy | therve: I'd make the resource_registry values match <swift_endpoint>/container/object | 15:32 |
shardy | therve: yeah I just need some way to detect it's a swift URL so that I can try dowloading via swiftclient | 15:32 |
therve | shardy, Ah you mean before sending it to Heat | 15:32 |
shardy | therve: yeah | 15:33 |
therve | swift://url/container/object ? | 15:33 |
shardy | therve: yeah, I wasn't quite sure on the naming convention tbh | 15:33 |
*** catintheroof has quit IRC | 15:34 | |
therve | sahara does that apparently | 15:34 |
shardy | to make the template resolution work on the client side I've already had to calculate relative paths for everything so reusing those would be ideal | 15:34 |
shardy | e.g pass a template_object swift://foo and environment_object etc | 15:35 |
shardy | or have a way to specify a container and the name of the template/environment | 15:35 |
*** SmearedBeard has joined #heat | 15:36 | |
zaneb | therve: we don't want to send the user's token to anything that isn't Swift, so Heat needs a way to determine whether a URL is swift (i.e. needs token authentication) or something else | 15:40 |
*** catintheroof has joined #heat | 15:40 | |
zaneb | one way to do that is to make sure the url starts with the swift endpoint | 15:40 |
zaneb | and that _should_ work, but it's easy to imagine it being brittle | 15:41 |
therve | zaneb, Yeah I was wondering about the "unsafe" in the current mechanism | 15:41 |
zaneb | it would be nicer if you just specify a container ID & heat can construct the url itself | 15:41 |
shardy | therve: I think the unsafe part is we have the server-side heat potentially try to download from arbitrary urls | 15:42 |
zaneb | therve: current mechanism is unsafe because you can use it to make requests to arbitrary things from the OpenStack controller's IP | 15:42 |
*** Roedy has joined #heat | 15:42 | |
therve | Oh yeah that :) | 15:42 |
*** catintheroof has quit IRC | 15:42 | |
zaneb | it'd be nice to kill it, but there's all kinds of backwards compat headaches | 15:43 |
therve | FTR, what we're describing sounds a bit what glare support is supposed to be | 15:46 |
shardy | Yeah, I never really understood why we needed that vs storing things in swift tbh, but it's perhaps worth taking another look at | 15:46 |
therve | I'm not advocating it, just mentioning :) | 15:47 |
therve | I think it mostly about the metadata | 15:47 |
therve | To store in swift, you still need at least a list env files for example | 15:47 |
shardy | therve: yup - I guess I'd be more keen if the heat integration already existed, but right now tripleo templates are already in swift, so that's probably the fastest way forward | 15:48 |
therve | Or a strict convention | 15:48 |
zaneb | tbh I think the main reason we never implemented swift support was that it looked like glare was going to solve the problem for us | 15:48 |
*** AlexeyAbashkin has quit IRC | 15:48 | |
therve | shardy, Would you still pass the env files explicitly? | 15:48 |
therve | zaneb, Glad we can blame someone for our laziness :D | 15:48 |
zaneb | lol | 15:49 |
shardy | therve: yes, that's exactly what I'm trying to do, so tripleo can benefit from parameter merge strategies | 15:49 |
shardy | I want to pass a list of environment files vs one merged one | 15:49 |
therve | Ah yeah I see | 15:49 |
zaneb | therve: I think yes, but you'd only have to pass the filenames instead of full urls if you knew which bucket to look in | 15:49 |
zaneb | s/bucket/container/ | 15:50 |
therve | shardy, But the amount of env files that you over the size limit? | 15:50 |
therve | zaneb, OK that was my question | 15:50 |
shardy | therve: yeah for server side merging to work you need to pass a list of files, and add all the unmerged environments to the files map | 15:50 |
shardy | that increases the request size over the limit | 15:50 |
shardy | I expect I could increase it, but it seemed like a good chance to discuss a better solution | 15:51 |
therve | It's not a small piece of work | 15:51 |
therve | We need to do it pre-validation too, that'll make a long request | 15:52 |
shardy | Yeah, that's kinda why I wondered about a stopgap solution where e.g TemplateResource can download from swift | 15:53 |
shardy | at least then you could switch the resource_registry values to swift URLs and save a ton of request size in the process | 15:53 |
shardy | it's not the ideal solution though | 15:53 |
therve | That's a nice incremental change I guess | 15:54 |
*** dyasny__ has quit IRC | 15:56 | |
*** sshnaidm has joined #heat | 15:56 | |
*** dyasny has joined #heat | 15:57 | |
shardy | It makes me wonder what to do about the TemplateFiles abstraction though, e.g should we still store the files in the DB, or just resolve them every time directly from swift | 15:57 |
*** bnemec has quit IRC | 16:00 | |
therve | You probably want to store them in the db, performance could be bad otherwise | 16:02 |
zaneb | shardy: I think we have to store them | 16:02 |
zaneb | can't risk them changing from under us at any time other than when the user explicitly does a stack update | 16:03 |
*** BoJin has quit IRC | 16:03 | |
sshnaidm | hi, where can I find an example with resource_group for servers with floating IPs? | 16:03 |
zaneb | shardy: hmm, I wonder how this interacts with the --existing flag? | 16:04 |
therve | zaneb, Yeah I was thinking about that as well :) | 16:05 |
shardy | sshnaidm: Hi, I don't think we have one specifically with floating IPs but there are some examples at https://github.com/openstack/heat-templates/tree/master/hot/resource_group | 16:07 |
shardy | zaneb: Hrm, yeah good point, I guess we'd have to continue storing, then the --existing flag would still work basically the same | 16:08 |
shardy | we'd just gather the data differently | 16:08 |
sshnaidm | shardy, yeah, saw this, but I don't understand how to handle floating IPs with that :( | 16:08 |
zaneb | sshnaidm: 1) write a template that has one server with a floating IP; 2) use that template as the scaled unit of the ResourceGroup | 16:09 |
shardy | sshnaidm: you'd add a port/floating IP similar to how I did for the server/volume example | 16:09 |
shardy | https://github.com/openstack/heat-templates/blob/master/hot/servers_in_existing_neutron_net.yaml#L49 | 16:09 |
shardy | but yeah the first step is to get one stack creating a single unit of the things you want to group | 16:10 |
openstackgerrit | Steven Hardy proposed openstack/heat master: Return Environment from validate_template https://review.openstack.org/509760 | 16:11 |
*** blomquisg_gone is now known as blomquisg | 16:11 | |
sshnaidm | shardy, I did like that: http://paste.openstack.org/show/625129/ and get new error: "ERROR: The Parameter (subnode_flavor) was not defined in template" - although it's defined | 16:14 |
sshnaidm | zaneb, ^^ | 16:14 |
zaneb | ooh, I know this one | 16:14 |
* zaneb searches for the bug | 16:14 | |
shardy | sshnaidm: it's not defined where it's used, e.g in /tmp/subnode2.yml? | 16:15 |
*** bnemec has joined #heat | 16:15 | |
shardy | Oh wait actually that one is, but e.g server_security_group and private_net resources aren't | 16:16 |
shardy | sshnaidm: so you'll need to pass those as parameters from the parent template | 16:16 |
sshnaidm | shardy, hmm.. just to pass them? | 16:16 |
sshnaidm | shardy, where is right way to define all params? | 16:17 |
shardy | sshnaidm: yeah, the scope of get_resource is a single stack, so you'll need to pass them from the parent template into the nested stack | 16:17 |
zaneb | sshnaidm: if you use 'parameter_defaults' instead of 'parameters' in your environment file then you don't have to pass them all explictly | 16:20 |
* zaneb prefers to pass them explicitly | 16:20 | |
*** fragatina has joined #heat | 16:20 | |
zaneb | also you have an 'index' property in your resource group but no index parameter in the template, so that is going to cause you problems | 16:21 |
*** fragatina has quit IRC | 16:21 | |
*** fragatina has joined #heat | 16:22 | |
sshnaidm | zaneb, should I create "index" in parameters in nested template? | 16:22 |
*** gkadam has joined #heat | 16:22 | |
shardy | http://paste.openstack.org/show/625131/ | 16:22 |
shardy | sshnaidm: ^^ shows some of the changes needed, if you diff against your paste you should see what I added | 16:23 |
shardy | you could pass index, but I instead passed the name | 16:23 |
sshnaidm | shardy, thanks! fixing.. | 16:23 |
shardy | not sure I got everything but it shows how to pass the resource references from the parent template | 16:23 |
zaneb | sshnaidm: properties in the ResourceGroup should match the parameters in the template | 16:24 |
*** shardy is now known as shardy_afk | 16:24 | |
sshnaidm | zaneb, ack | 16:24 |
*** liyi has joined #heat | 16:24 | |
*** liyi has quit IRC | 16:28 | |
*** felipemonteiro_ has quit IRC | 16:32 | |
*** ramishra has quit IRC | 16:33 | |
*** catintheroof has joined #heat | 16:40 | |
*** armaan has joined #heat | 16:41 | |
*** catintheroof has quit IRC | 16:45 | |
sshnaidm | shardy_afk, zaneb seems like fixed, but fails with "ERROR: The Resource Type (/tmp/subnode.yml) could not be found": http://paste.openstack.org/show/625135/ | 16:47 |
zaneb | sshnaidm: I suspect you have to call it .yaml for heatclient to recognise that it needs to upload it | 16:50 |
*** gkadam has quit IRC | 16:54 | |
*** bnemec has quit IRC | 16:57 | |
*** jcoufal has quit IRC | 17:01 | |
sshnaidm | zaneb, right, strange that it worked so without nested | 17:02 |
*** jcoufal has joined #heat | 17:03 | |
sshnaidm | now it fails with ERROR: Failed to validate: Failed to validate: resources[0]: The specified reference "private_subnet" (in subnode_port.Properties.fixed_ips[0].subnet) is incorrect. | 17:04 |
sshnaidm | I can't see why it's incorrect.. | 17:04 |
*** catintheroof has joined #heat | 17:12 | |
*** bnemec has joined #heat | 17:12 | |
*** jprovazn has joined #heat | 17:15 | |
*** gouthamr has joined #heat | 17:17 | |
*** AlexeyAbashkin has joined #heat | 17:20 | |
*** AlexeyAbashkin has quit IRC | 17:24 | |
*** fragatina has quit IRC | 17:24 | |
*** felipemonteiro has joined #heat | 17:24 | |
*** fragatina has joined #heat | 17:25 | |
*** felipemonteiro_ has joined #heat | 17:25 | |
*** felipemonteiro has quit IRC | 17:29 | |
*** fragatina has quit IRC | 17:29 | |
*** liyi has joined #heat | 17:34 | |
*** felipemonteiro_ has quit IRC | 17:36 | |
*** felipemonteiro_ has joined #heat | 17:36 | |
*** liyi has quit IRC | 17:38 | |
*** armaan has quit IRC | 17:42 | |
*** d0ugal has quit IRC | 17:43 | |
*** fragatina has joined #heat | 17:50 | |
*** ccamacho has quit IRC | 17:53 | |
*** felipemonteiro__ has joined #heat | 17:54 | |
*** gmoro has quit IRC | 17:55 | |
*** felipemonteiro_ has quit IRC | 17:57 | |
*** d0ugal has joined #heat | 18:03 | |
*** crose has quit IRC | 18:03 | |
sshnaidm | last question I hope:) how can I see outputs of resource group? I did like that http://paste.openstack.org/show/625148/ but see "null" in all outputs | 18:05 |
*** zzzeek has quit IRC | 18:10 | |
*** zzzeek has joined #heat | 18:12 | |
*** zzzeek has quit IRC | 18:17 | |
*** zzzeek has joined #heat | 18:18 | |
*** zzzeek has quit IRC | 18:20 | |
*** d0ugal_ has joined #heat | 18:21 | |
*** yassinee has quit IRC | 18:22 | |
*** d0ugal has quit IRC | 18:23 | |
openstackgerrit | Zane Bitter proposed openstack/heat master: Protect prepare_update_replace() with resource lock https://review.openstack.org/516459 | 18:25 |
openstackgerrit | Zane Bitter proposed openstack/heat master: Retrigger new traversals after resource cancellation https://review.openstack.org/516471 | 18:25 |
openstackgerrit | Zane Bitter proposed openstack/heat master: Test non-destructive upgrade for deprecated res types https://review.openstack.org/516759 | 18:25 |
*** zzzeek has joined #heat | 18:25 | |
*** zzzeek_ has joined #heat | 18:27 | |
*** AlexeyAbashkin has joined #heat | 18:29 | |
*** zzzeek has quit IRC | 18:30 | |
*** zzzeek_ has quit IRC | 18:31 | |
*** AlexeyAbashkin has quit IRC | 18:33 | |
*** liyi has joined #heat | 18:33 | |
*** bnemec has quit IRC | 18:38 | |
*** liyi has quit IRC | 18:38 | |
*** zzzeek has joined #heat | 18:39 | |
*** zzzeek has quit IRC | 18:42 | |
*** zzzeek has joined #heat | 18:44 | |
*** dprince has quit IRC | 18:49 | |
*** mwynne has quit IRC | 18:50 | |
*** catintheroof has quit IRC | 19:14 | |
*** dprince has joined #heat | 19:15 | |
*** ioggstream has quit IRC | 19:15 | |
jdandrea | Getting a ResourceClosedError from DB during a stack create in Newton. Unsure if it's related to 1483670? http://paste.openstack.org/show/625154/ | 19:30 |
*** myoung is now known as myoung|afk | 19:39 | |
*** amoralej is now known as amoralej|off | 19:48 | |
*** catintheroof has joined #heat | 19:55 | |
*** ccamacho has joined #heat | 20:10 | |
*** gfidente is now known as gfidente|afk | 20:12 | |
*** jtomasek has quit IRC | 20:17 | |
*** liyi has joined #heat | 20:23 | |
*** AlexeyAbashkin has joined #heat | 20:27 | |
*** liyi has quit IRC | 20:27 | |
*** AlexeyAbashkin has quit IRC | 20:31 | |
*** sshnaidm is now known as sshnaidm|afk | 20:39 | |
*** felipemonteiro__ has quit IRC | 20:51 | |
*** jcoufal_ has joined #heat | 21:02 | |
*** livelace-link has quit IRC | 21:03 | |
*** jcoufal has quit IRC | 21:05 | |
*** catintheroof has quit IRC | 21:09 | |
*** AlexeyAbashkin has joined #heat | 21:27 | |
*** AlexeyAbashkin has quit IRC | 21:31 | |
*** rcernin has joined #heat | 21:32 | |
*** amoralej|off is now known as amoralej | 21:34 | |
jdandrea | I have a Newton stack that never finished updating, and now I can't delete it (Stack is locked for update; deferring). Is there a way to manually unlock it? Thinking I may be affected by this: https://bugs.launchpad.net/heat/+bug/1675286 | 21:38 |
openstack | Launchpad bug 1675286 in OpenStack Heat "ScalingPolicy's handle_signal() causes race condition with stack deletes" [Medium,In progress] | 21:38 |
*** jprovazn has quit IRC | 21:45 | |
*** dprince has quit IRC | 21:46 | |
*** jcoufal has joined #heat | 21:48 | |
*** jcoufal_ has quit IRC | 21:50 | |
*** bnemec has joined #heat | 21:55 | |
*** jcoufal has quit IRC | 22:02 | |
*** amoralej is now known as amoralej|off | 22:05 | |
*** gfidente|afk has quit IRC | 22:19 | |
*** liyi has joined #heat | 22:32 | |
*** liyi has quit IRC | 22:36 | |
*** hongbin has quit IRC | 22:55 | |
*** mchlumsky has quit IRC | 23:14 | |
*** hieulq has quit IRC | 23:35 | |
*** hieulq has joined #heat | 23:36 | |
*** nicolasbock has quit IRC | 23:39 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!