Monday, 2014-07-07

*** IlyaE has quit IRC00:12
*** arbylee1 has quit IRC00:24
*** gokrokve_ has quit IRC01:13
*** Qiming has joined #heat01:31
*** nosnos has joined #heat01:37
*** flyemsafe has quit IRC01:52
openstackgerritSteve Baker proposed a change to openstack/heat: Implement barbican client plugin  https://review.openstack.org/9868401:53
openstackgerritSteve Baker proposed a change to openstack/heat: Only support client plugins  https://review.openstack.org/9868801:53
openstackgerritSteve Baker proposed a change to openstack/heat: Port rackspace clients to client plugins  https://review.openstack.org/9868701:53
openstackgerritSteve Baker proposed a change to openstack/heat: Implement marconi client plugin  https://review.openstack.org/9868301:53
openstackgerritTakashi NATSUME proposed a change to openstack/heat: Add log output about HTTP calls in cinderclient  https://review.openstack.org/10474502:12
*** dims has quit IRC02:18
*** gokrokve has joined #heat02:25
elynnmorning all :)02:26
*** robsparker has quit IRC02:28
*** ccrouch has quit IRC02:36
*** achampion has quit IRC02:37
*** gokrokve has quit IRC02:41
*** robsparker has joined #heat02:41
*** gokrokve has joined #heat02:41
*** dims has joined #heat02:44
*** ccrouch has joined #heat02:45
*** achampion has joined #heat02:46
*** gokrokve has quit IRC02:46
*** Qiming_ has joined #heat02:47
*** Qiming has quit IRC02:50
*** dims has quit IRC02:50
openstackgerritSteve Baker proposed a change to openstack/heat: Use setuptools to install contrib plugins  https://review.openstack.org/10344102:53
openstackgerritSteve Baker proposed a change to openstack/heat: Only support client plugins  https://review.openstack.org/9868802:53
openstackgerritSteve Baker proposed a change to openstack/heat: Glance, swift use ignore_not_found()  https://review.openstack.org/10042402:54
openstackgerritSteve Baker proposed a change to openstack/heat: Implement keystone client plugin  https://review.openstack.org/9798502:54
openstackgerritSteve Baker proposed a change to openstack/heat: Implement heat client plugin  https://review.openstack.org/9798402:54
openstackgerritSteve Baker proposed a change to openstack/heat: Client plugin exception handling methods  https://review.openstack.org/10042102:54
openstackgerritSteve Baker proposed a change to openstack/heat: Move network constraint to neutron plugin  https://review.openstack.org/10042002:54
openstackgerritSteve Baker proposed a change to openstack/heat: Neutron use ignore_not_found()  https://review.openstack.org/10042302:54
openstackgerritSteve Baker proposed a change to openstack/heat: Nova use ignore_not_found()  https://review.openstack.org/10042202:54
openstackgerritSteve Baker proposed a change to openstack/heat: Move nova_utils functions to nova client plugin  https://review.openstack.org/10178202:54
openstackgerritSteve Baker proposed a change to openstack/heat: Store clients in context  https://review.openstack.org/9893502:54
openstackgerritSteve Baker proposed a change to openstack/heat: Move glance_utils functions to glance client plugin  https://review.openstack.org/10041902:54
openstackgerritSteve Baker proposed a change to openstack/heat: Implement barbican client plugin  https://review.openstack.org/9868402:54
openstackgerritSteve Baker proposed a change to openstack/heat: Use config region_name_for_services for rackspace clients  https://review.openstack.org/9868602:54
openstackgerritSteve Baker proposed a change to openstack/heat: Port rackspace clients to client plugins  https://review.openstack.org/9868702:54
openstackgerritSteve Baker proposed a change to openstack/heat: Remove function get_software_config  https://review.openstack.org/10139602:54
openstackgerritSteve Baker proposed a change to openstack/heat: Cinder, trove, ceilo use ignore_not_found()  https://review.openstack.org/10139702:54
openstackgerritSteve Baker proposed a change to openstack/heat: Implement marconi client plugin  https://review.openstack.org/9868302:54
openstackgerritSteve Baker proposed a change to openstack/heat: Use stevedore to load client plugins  https://review.openstack.org/9797602:54
openstackgerritSteve Baker proposed a change to openstack/heat: Implement nova client plugin  https://review.openstack.org/9797702:54
openstackgerritSteve Baker proposed a change to openstack/heat: Implement swift client plugin  https://review.openstack.org/9797802:54
openstackgerritSteve Baker proposed a change to openstack/heat: Implement glance client plugin  https://review.openstack.org/9797902:54
openstackgerritSteve Baker proposed a change to openstack/heat: Implement neutron client plugin  https://review.openstack.org/9798002:54
openstackgerritSteve Baker proposed a change to openstack/heat: Implement cinder client plugin  https://review.openstack.org/9798102:54
openstackgerritSteve Baker proposed a change to openstack/heat: Implement trove client plugin  https://review.openstack.org/9798202:54
openstackgerritSteve Baker proposed a change to openstack/heat: Implement ceilometer client plugin  https://review.openstack.org/9798302:54
*** ramishra has joined #heat02:57
*** Qiming_ has quit IRC03:06
*** Qiming has joined #heat03:09
*** PragadeeswaranS has joined #heat03:10
*** tiantian has joined #heat03:11
*** kebray has joined #heat03:20
*** nosnos has quit IRC03:25
*** liusheng has quit IRC03:33
*** liusheng has joined #heat03:34
*** zhiyan_ is now known as zhiyan03:40
openstackgerritA change was merged to openstack/heat: HOT intrinisic function list_join like Fn::Join  https://review.openstack.org/10271803:41
*** dims_ has joined #heat03:46
*** dims_ has quit IRC03:51
*** flyemsafe has joined #heat03:58
*** nosnos has joined #heat04:02
*** kebray has quit IRC04:02
*** arbylee has joined #heat04:17
*** zhiyan is now known as zhiyan_04:20
*** Yanyan has joined #heat04:26
*** Yanyan has quit IRC04:32
*** ckmvishnu has joined #heat04:34
*** akuznetsov has quit IRC04:37
*** akuznetsov has joined #heat04:39
*** Yanyan has joined #heat04:46
*** dims_ has joined #heat04:47
*** dims_ has quit IRC04:52
*** ajc_ has joined #heat04:52
skraynevGood morning04:53
Qiminghi, a question about using git04:57
Qimingif I'm working on some patches still under review, and my devstack environment is gone, how can I recover my local git review environment on another machine?04:58
*** rushiagr has joined #heat05:09
openstackgerritA change was merged to openstack/heat: Sleep before stopping threads for delete  https://review.openstack.org/10371605:13
elynnqiming, git review -d <review_id>05:13
Qimingelynn, thanks, that will help recover the patch set information as well?05:14
elynnqiming, will get the latest patchset.05:15
Qimingelynn, and the change-id will be recovered?05:16
elynnYes, chang-id is set in commit message.05:17
Qimingelynn, okay, will try it. just don't want to confuse reviewers ..05:17
elynnyou can modify your patch, and review again by running command "git review"05:17
Qimingelynn, thx05:18
elynnQiming, np :)05:18
ckmvishnuwhile instantiating class HeatIdentifier with stack_id as None, its converted to strig "None". Since its a string it becomes part of arn() function's output.05:25
ckmvishnuSpamapS: any inputs?05:27
*** chandan_kumar has joined #heat05:34
*** Dev_Jin has joined #heat05:35
*** killer_prince is now known as lazy_prince05:35
*** IlyaE has joined #heat05:37
*** dims_ has joined #heat05:47
*** dims_ has quit IRC05:53
*** cmyster has joined #heat06:00
*** bvivek has joined #heat06:00
*** jprovazn has joined #heat06:01
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Imported Translations from Transifex  https://review.openstack.org/10497506:02
cmystermorning06:02
*** akuznetsov has quit IRC06:04
*** lazy_prince is now known as killer_prince06:06
*** nkhare has joined #heat06:06
*** Yanyan has quit IRC06:12
*** Yanyan has joined #heat06:13
*** akuznetsov has joined #heat06:16
*** saju_m has joined #heat06:20
*** ramishra has quit IRC06:23
*** flyemsafe has quit IRC06:26
*** ramishra_ has joined #heat06:28
*** bvivek has quit IRC06:39
*** bvivek has joined #heat06:40
*** IlyaE has quit IRC06:41
*** killer_prince is now known as lazy_prince06:43
openstackgerritYanyan Hu proposed a change to openstack/heat: Default to keystone V3 for software deployment  https://review.openstack.org/10475406:47
*** dims_ has joined #heat06:48
*** liusheng has quit IRC06:48
*** liusheng has joined #heat06:50
*** dims_ has quit IRC06:53
*** tspatzier has joined #heat06:54
shardy_afkmorning all06:56
*** shardy_afk is now known as shardy06:56
skraynevmorning shardy_afk06:56
skraynevoops, morning shardy ;)06:57
cmystermorning06:59
*** IlyaE has joined #heat07:02
*** Yanyan has quit IRC07:05
*** Yanyan has joined #heat07:11
*** jcoufal has joined #heat07:15
*** TonyBurn_ has joined #heat07:16
*** chandan_kumar is now known as chandankumar07:23
*** sorantis has joined #heat07:35
*** cmyster has quit IRC07:35
*** cmyster has joined #heat07:35
*** tspatzier has quit IRC07:40
*** mkerrin has quit IRC07:41
*** tspatzier has joined #heat07:43
*** pasquier-s has joined #heat07:43
*** mkerrin has joined #heat07:45
*** IlyaE has quit IRC07:46
*** rakesh_hs has joined #heat07:48
*** tomek_adamczewsk has joined #heat07:48
*** jyoti-ranjan has joined #heat07:49
openstackgerritRakesh H S proposed a change to openstack/heat: Fixed stack never changed from DELETE_IN_PROGRESS  https://review.openstack.org/10445407:50
*** arbylee has quit IRC07:51
elynnHi shardy07:56
elynnabout this patch https://review.openstack.org/#/c/98042/07:57
therveGood morning07:58
*** Qiming_ has joined #heat08:00
*** Yanyan has quit IRC08:02
*** Yanyan has joined #heat08:03
*** Qiming has quit IRC08:03
*** cmyster has quit IRC08:07
*** cmyster has joined #heat08:07
*** cmyster has joined #heat08:07
shardyelynn: hi08:07
shardyIMO we *can't* allow some slight difference with AWS docs, particularly if the existing behavior is correct wrt the docs08:08
shardyI've said the same thing on several reviews now, so I don't really understand why there are still patches coming making things updateable where they are not on AWS :(08:09
elynnshardy, so should we revert patch https://review.openstack.org/#/c/80209/?08:10
shardyUnfortunately we can't just revert that patch, as it's been released08:10
*** derekh_ has joined #heat08:11
shardythis is the problem, folks will rely on the behavior, or might do at least, then they move their template to AWS and get a really bad surprise on update08:11
shardyIf you need this behavior on update, you should be using the native resources IMO, not the AWS compatible ones08:11
shardyI'll start a ML thread so we can discuss the deprecation options for things already merged08:12
*** jstrachan has joined #heat08:12
elynnok, I will abandon this patch08:13
*** bvivek has quit IRC08:14
elynnNever notice that this property is not updatable in aws docs before...08:14
shardyIt's the first thing I check when reviewing update changes for AWS compatible resources ;)08:14
elynnYour comment should come earlier so that I will balance my time to other things T_T08:18
*** bvivek has joined #heat08:26
*** sorantis has quit IRC08:27
openstackgerritHaiyang DING proposed a change to openstack/heat: Change Volume metadata attribute to raw dict.  https://review.openstack.org/9570508:30
*** zhiyan_ is now known as zhiyan08:30
openstackgerritHaiyang DING proposed a change to openstack/heat: Change Volume metadata attribute to raw dict.  https://review.openstack.org/9570508:32
*** ramishra_ has quit IRC08:33
*** sorantis has joined #heat08:35
*** PragadeeswaranS has quit IRC08:36
shardyelynn: http://lists.openstack.org/pipermail/openstack-dev/2014-July/039429.html08:43
therveshardy, Thanks for sending it, +1 from me08:46
*** PragadeeswaranS has joined #heat08:48
therveshardy, BTW have you followed what happened with wait conditions? Need any help?08:49
*** ramishra has joined #heat08:52
shardytherve: hey, yeah I was out on Friday but I saw the reverts08:54
shardymy bad, apologies08:54
shardythere is a difference in the metadata refresh behavior between the metadata_update and resource_signal paths in service.py08:54
shardyI think I just need to replicate the metadata update loop in resource_signal, and add some more tests08:55
therveCool08:55
shardySpamapS correctly pointed out there is a performance penalty associated with that, but we're already paying that cost for WaitCondition signals, and other signals probably should have the same behavior08:56
*** andreaf_ has joined #heat08:56
therveshardy, The weird thing is that unit tests fails randomly without that part08:56
therveOr pass randomly I guess08:56
shardymaybe we can minimise that by only updating immediate dependencies or something, going to look into it08:56
shardytherve: odd08:56
therveshardy, See https://review.openstack.org/#/c/104941/ gates passed08:57
therveAnd I see that locally too08:57
shardytherve: I know there was some previous racy behavior related to the metadata update test, which was solved by that brute-force loop which forces refresh of all resources08:58
therveThat's probably that then08:58
shardymy plan is to copy that loop to resource_signal, to solve the immediate problem, then look at possible performance improvements after08:59
shardyafter that, we should be able to fully deprecate and eventually remove the metadata_update engine interface09:00
ckmvishnushardy: when altering id to integer in stack table, should i alter owner_id as well.09:03
ckmvishnuthere is a test "test_nested_stack_update" wich checks for that09:03
*** DaveJ__ has joined #heat09:03
openstackgerritA change was merged to openstack/heat: Use auth_token_info to initialize heat_keystoneclient sessions  https://review.openstack.org/9976909:07
ckmvishnuGot it. owner_id in stack table will point to stack.id in case of a nested stack.09:10
*** lazy_prince is now known as killer_prince09:12
*** Qiming__ has joined #heat09:13
*** trash has quit IRC09:14
*** Qiming_ has quit IRC09:16
*** alexheneveld has joined #heat09:17
openstackgerritEthan Lynn proposed a change to openstack/heat: Implement custom constraints for subnet/port/router  https://review.openstack.org/10510109:18
openstackgerrithuangtianhua proposed a change to openstack/heat: Implement events pagination, sorting and filtering  https://review.openstack.org/10443909:20
*** trash has joined #heat09:23
*** blues-man has joined #heat09:27
blues-manhello09:28
openstackgerritThomas Spatzier proposed a change to openstack/heat-specs: Action-aware software config specification  https://review.openstack.org/9874209:30
*** bgorski has joined #heat09:31
*** killer_prince is now known as lazy_prince09:32
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Implement OS::Sahara::NodeGroupTemplate resource  https://review.openstack.org/10028809:42
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Implement sahara client plugin  https://review.openstack.org/10058809:42
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Implement OS::Sahara::Cluster resource  https://review.openstack.org/7233609:42
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Implement OS::Sahara::ClusterTemplate resource  https://review.openstack.org/10150909:42
openstackgerritEthan Lynn proposed a change to openstack/heat: Implement PrivateIpAddress property for EC2::Instance  https://review.openstack.org/9858009:43
*** trash has quit IRC09:45
*** tspatzier has quit IRC09:49
*** julienvey has joined #heat09:50
*** lazy_prince has quit IRC09:52
*** bvandenh has joined #heat10:02
*** Qiming__ has quit IRC10:09
Dev_JinI am trying autoscaling feature.. I can perform the required action using scalling policy (add/delete instance).. I have a question on instance deletion using auto scaling policy. Out of the instances which are part of auto scaling group, which instance is chosen for deletion? is it random? or oldest first? or least loaded? can we control this logic?10:14
*** alexheneveld has quit IRC10:15
shardyDev_Jin: It's oldest first, we're working on adding interfaces which allow more control of what is removed10:16
shardyhttps://github.com/openstack/heat/blob/master/heat/engine/resources/autoscaling.py#L37610:16
shardyhttps://blueprints.launchpad.net/heat/+spec/autoscaling-parameters10:16
Dev_Jinshardy: thanks a lot the quick answer and those links… One more question that I am exploring is this… before deletion of that resource using scaling policy, is it possible to get some “callback” to the tenant application so that more graceful deletion logic can be written10:19
shardyDev_Jin: not right now, but we're working on that too10:21
*** alexheneveld has joined #heat10:21
*** PragadeeswaranS has quit IRC10:22
Dev_Jinshardy: any launchpad link for this feature? so that I can keep track of it?10:23
*** Yanyan has quit IRC10:26
openstackgerrithuangtianhua proposed a change to openstack/python-heatclient: Implement events pagination, sorting and filtering  https://review.openstack.org/10511010:26
shardyDev_Jin: https://blueprints.launchpad.net/heat/+spec/update-hooks10:26
*** flyemsafe has joined #heat10:28
*** sorantis_ has joined #heat10:31
*** sorantis has quit IRC10:34
*** sorantis_ is now known as sorantis10:34
*** tspatzier has joined #heat10:35
*** lazy_prince has joined #heat10:38
*** alexheneveld has quit IRC10:47
*** cdent has joined #heat10:48
skraynevshardy: about updating CFN compatible resources: I agree with you, but what about some cases like https://github.com/openstack/heat/blob/master/heat/engine/resources/volume.py#L18510:49
*** bvivek has quit IRC10:50
shardyskraynev: well that is my question, what do we do about stuff we have already (IMHO wrongly) merged10:51
skraynevshardy: AFAIK, according to AWS documentation all properties for volume are replacement, but we may implement custom handle update for them10:51
shardyskraynev: yes, we do, and that is wrong, IMO10:51
shardyI have -1'd patches for instance and volume resources recently which make update behavior (further) deviate from CFN10:52
shardybut we have already created a problem by merging stuff like you reference previously10:52
skraynevshardy: yeah, I have seen it.10:52
shardythe first thing is to stop merging more problems, then figure out what to do with the existing ones, IMO10:53
*** dims_ has joined #heat10:53
shardyI guess we'll have to deprecate updates for things which should not be updated, log loud warnings for a cycle, then remove the update support10:53
shardyIf folks are impacted by that, they will have to migrate to the native resources10:53
shardywhich in most cases should be pretty easy10:54
skraynevshardy: looks like hint, that native resources are better for using :)10:55
*** pasquier-s has quit IRC10:55
shardyskraynev: yup, and also it makes it very clear that the behavior is specific to OpenStack10:55
skraynevshardy: agree. I got your position about CFN resources in this case. So I will apply this for further reviews :)10:57
*** dims_ has quit IRC10:58
shardyskraynev: sounds good, thanks :)10:58
cmysterummm11:01
cmysterI hate it when I know something is wrong and I can'y put me finger on it...11:01
*** tomek_adamczewsk has quit IRC11:02
*** pasquier-s has joined #heat11:14
*** dims_ has joined #heat11:14
*** nkhare has quit IRC11:17
*** Qiming__ has joined #heat11:18
*** tiantian has quit IRC11:32
*** blues-man has quit IRC11:38
*** ramishra has quit IRC11:43
cmystershardy: got a sec?11:46
*** arbylee has joined #heat11:57
*** bvivek has joined #heat12:03
*** jcoufal has quit IRC12:12
shardycmyster: sure12:13
*** ccrouch has left #heat12:16
*** jcoufal has joined #heat12:17
cmystershardy: I am creating a software deployment and setting input_values = [] and output_values = [] (empty lists) but when the deployment is created the first is None and the second is a {} (empty dict)12:19
*** bvivek has quit IRC12:20
cmysterit used to work the same way for the last 3 or so months (my tempest configuration API patch) and now it is not12:20
cmysterummm working as in I am testing that its still an empty list but its not anymore12:21
*** rbuilta has joined #heat12:21
cmysterI'm guessing that something changed not too long ago12:21
shardycmyster: input_values is a map not a list in the schema..12:21
* shardy checks commits12:21
*** arbylee has quit IRC12:23
*** arbylee has joined #heat12:24
shardycmyster: AFAICS that is expected, on current trunk and stable/icehouse12:25
shardyIn fact the input_values list thing should probably fail validation, as the schema expects a map12:25
cmysterOK cool12:25
shardythe fact that it doesn't may be a bug12:25
cmysteroh12:25
shardyhttps://github.com/openstack/heat/blob/stable/icehouse/heat/engine/resources/software_config/software_deployment.py#L11712:25
shardyhttps://github.com/openstack/heat/blob/stable/icehouse/heat/engine/resources/software_config/software_deployment.py#L43412:26
shardyThe code is basically the same in trunk AFAICT12:26
cmysterI'm guessing there is nothing on gate to verify types in this case12:26
* cmyster makes a note of that12:27
cmystershould be simple enough test to write12:27
shardyIf you raise a bug we may be able to add a unit test to trigger it and fix whatever's wrong12:27
cmysteralso legit12:27
cmysterdoes validation in this case happen regardless if it is a rest request or using a template ?12:28
shardyThe validation only happens via a template12:28
*** jdag_ has quit IRC12:28
*** zz_gondoi has quit IRC12:28
shardySo maybe the bug is that validation is required when using the API directly12:29
cmysterwell12:29
cmysterumm is it ?12:29
*** wendar has quit IRC12:29
*** lekha has quit IRC12:29
*** wendar has joined #heat12:29
cmysteris it a valid way to do things ?12:30
*** baffle_ has joined #heat12:30
*** Adri2000 has quit IRC12:30
*** lekha has joined #heat12:30
shardywell we expect people to use the API via a template, but regardless the API should probably validate the input, if you're saying it doesn't12:30
*** Adri2000 has joined #heat12:30
*** jdag_ has joined #heat12:30
*** baffle has quit IRC12:31
*** gilliard has quit IRC12:31
*** gilliard has joined #heat12:31
*** lekha has quit IRC12:31
*** lekha has joined #heat12:31
*** Adri2000 is now known as Guest6718512:31
*** jdag_ has quit IRC12:31
*** jdag_ has joined #heat12:31
shardye.g what happens if you pass a non-empty list to the input_values directly via the API?12:31
cmysterright12:31
cmystermight be a security issue here as well12:31
*** ckmvishnu has quit IRC12:32
*** ajc_ has quit IRC12:33
*** gondoi has joined #heat12:33
*** radez_g0n3 is now known as radez12:34
*** ramishra has joined #heat12:36
*** dims_ has quit IRC12:37
*** rushiagr_ has joined #heat12:37
*** rushiagr has quit IRC12:37
*** dims_ has joined #heat12:37
*** gokrokve has joined #heat12:37
*** gokrokve has quit IRC12:38
*** gokrokve has joined #heat12:39
*** saju_m has quit IRC12:40
*** gokrokve has quit IRC12:43
*** blues-man has joined #heat12:51
*** saju_m has joined #heat12:52
cmysterbbl12:53
*** cmyster has quit IRC12:53
*** Yanyan has joined #heat12:55
*** rakesh_hs has quit IRC12:56
*** ccrouch has joined #heat12:57
*** sgordon has joined #heat13:02
*** sgordon has quit IRC13:02
*** sgordon has joined #heat13:02
*** nosnos has quit IRC13:02
*** aweiteka has joined #heat13:03
*** Guest67185 is now known as Adri2000_13:08
*** Adri2000_ has quit IRC13:08
*** Adri2000_ has joined #heat13:08
openstackgerritA change was merged to openstack/python-heatclient: Fix the section name in CONTRIBUTING.rst  https://review.openstack.org/10376813:10
*** chandan_kumar has joined #heat13:10
*** chandankumar has quit IRC13:15
*** chandan_kumar is now known as chandankumar13:15
therveshardy, FWIW, trusts misunderstandings in Eoghan email are certainly mine13:17
shardytherve: np, it's a shame I couldn't make it to the meetup to discuss it with you guys..13:19
therveshardy, Yeah sorry we ended up talking on friday13:20
shardytherve: Was the ceilometer-side architecture issue discussed?13:20
shardye.g why the trust can't be created as part of the request which creates the alarm?13:20
shardyIf we can do that then at least the name/id issue goes away13:21
shardythen if I can get the redelegation issue solved, we're set :)13:21
shardy(that's a big if based on spec feedback from keystone core..)13:21
*** Tross has quit IRC13:22
therveshardy, We talked about it yes13:22
therveIt's doable but a non-trivial issue13:22
therveEoghan was somewhat reluctant to go down that road considering the other limitations, especially regarding chained delegation13:23
shardywell the main use-cases would work without chained delegation13:23
shardyit's only autoscaling stacks containing alarms, and stacks updated via solum which won't work13:23
shardyI'd say it's less risky to get that basic use case working, then add the chained-delegation flag if/when I manage to get it into keystone13:24
shardyMaybe I'll have a chat with Eoghan about it, but I can understand if he has higher priorities13:25
therveIt'd be cool if you can sync up13:25
openstackgerritA change was merged to openstack/python-heatclient: Show physical_resource_id in resource-list  https://review.openstack.org/10112513:26
therveI don't think I was a good defender of that solution, I don't really feel it's worth the extra complexity13:26
*** ericgoncz has joined #heat13:27
openstackgerritOpenStack Proposal Bot proposed a change to openstack/heat: Updated from global requirements  https://review.openstack.org/10516613:28
*** cmyster has joined #heat13:30
*** cmyster has joined #heat13:30
shardytherve: well maybe you're right, I just feel it looks wrong architecturally, and it can never work in standalone mode13:30
cmysterback13:30
shardyIf we're OK saying autoscaling can't work in standalone mode then maybe we revisit your approach, but it just seems wrong that one service creates a trust for another service13:31
therveHum13:31
therveshardy, Would doing it ceilometer works in standalone?13:31
therveI thought we had other issues13:31
shardytherve: I'm not certain tbh, but it can never work with the ID, because the person running heat won't know the ID of the service provider's ceilometer service user13:33
shardywheras if they got a token and created the alarm, and ceilometer created whatever was needed to do the deferred notification, it might work13:33
therveSure13:33
shardywithout trying it I can't be sure if there are other issues I've not considered13:33
therveshardy, Would domain users workN13:34
therve?13:34
shardytherve: no, but in this case we'd no longer need to create the domain user associated with the ec2 keypair13:35
shardyas ceilometer would impersonate the stack owner directly13:35
shardyyou are right though, there's other stuff which wouldn't work without the user having admin roles13:35
shardytherve: tbh there's probably a discussion to be had around the future of standalone mode13:36
Qiming__shardy, therve, a naive question: why having ceilometer service user name in heat.conf a security risk?13:36
shardyI know some folks like it, but there's a high cost associated with maintaining it, as this proves13:36
*** jasond` has joined #heat13:36
shardybut *if* we are going to maintain it, I think core functionality like autoscaling really ought to work13:37
*** zhiyan is now known as zhiyan_13:37
shardyQiming__: It's not necessarily a security risk, it's just that in non-integrated (standalone) heat deployments, you won't know what it is13:37
therveQiming__, it's not the name too, it's the ID.13:38
Qiming__okay, but that will make at least auto-scaling works, right?13:38
Qiming__I see.13:38
*** tomek_adamczewsk has joined #heat13:45
*** vijendar has joined #heat13:48
*** piyush has joined #heat13:50
*** david-lyle has joined #heat13:53
*** jdandrea has joined #heat13:54
shardyHmm, is there something other than stevedore I need installed for the new constraint plugin mechanism?13:59
shardyAll the tests are failing, even on a clean clone of heat, so I guess I'm missing something in my environment..13:59
shardyseems related to glance.image stubbing not working for constraints14:00
therveshardy, How did you create your env?14:08
openstackgerritA change was merged to openstack/heat: Use stevedore to load client plugins  https://review.openstack.org/9797614:08
*** threebean has joined #heat14:08
*** cdent_ has joined #heat14:08
shardytherve: I'm running it locally, not in a venv14:08
therveshardy, You need to do setup.py develop or pip install -e .14:08
*** cmyster has quit IRC14:08
*** cdent has quit IRC14:10
*** cdent_ is now known as cdent14:10
*** sjmc7 has joined #heat14:10
*** tomek_adamczewsk has quit IRC14:10
skraynevshardy: therve is right. When I tested stevebaker's patches I used "python ./setup.py install" after that clients became available.14:11
shardytherve, skraynev: ok, thanks :)14:11
therveinstall is not the best thing to do though :)14:12
skraynevtherve: yeah... develop is more preferable. However for simple testing (when you do not debug) "install" is possible too :)14:17
*** piyush1 has joined #heat14:18
*** piyush has quit IRC14:19
*** tomek_adamczewsk has joined #heat14:22
openstackgerritA change was merged to openstack/heat: Change template loading to use stevedore extensions  https://review.openstack.org/10311314:25
*** gokrokve has joined #heat14:27
*** tomek_adamczewsk has quit IRC14:29
*** tomek_adamczewsk has joined #heat14:30
*** lazy_prince has quit IRC14:37
*** jogo has joined #heat14:37
jogoshadower: o/14:38
shadowerhey14:38
*** sorantis has quit IRC14:38
jogoso I am not sure how tempest/heat tests heat templates currently so thats a good question14:39
jogobut just building the basic dynamic template to boot n instances should help a lot either way14:39
shadowerjogo: https://github.com/openstack/tempest/blob/master/tempest/scenario/orchestration/test_autoscaling.py14:40
jogoshadower: sounds like it would be good to sync with cmyster either way14:40
shadowereach test seems to carry its own template next to the file14:40
shadoweryea14:40
shadowerdoesn't seem to be online atm, though14:41
jogoshadower: ahh perfect seperate template file14:41
shadoweryea14:42
jogoshadower: unfortunately I need to go AFK for the rest of today (will be working from a flight), but lets sync up tomorrow. I will be in UTC-814:43
*** Qiming__ has quit IRC14:43
*** kebray has joined #heat14:45
shadowerjogo: okay, see you tomorrow14:46
jogoshadower: thanks, o/14:46
*** rushiagr_ has quit IRC14:48
*** thomas_ustudio has joined #heat14:49
*** chandankumar has quit IRC14:51
*** TonyBurn_ has quit IRC14:52
*** tango has joined #heat14:55
*** gokrokve has quit IRC14:57
*** IlyaE has joined #heat14:58
*** gokrokve has joined #heat14:58
jdandreaI'm looking for info that explains how Heat works in conjunction with the Stack domain user (even if the upshot is "you don't have to do anything - it just works"). Is there a blueprint, wiki page, or other doc perchance?15:00
*** gokrokve_ has joined #heat15:00
*** samstav has joined #heat15:00
shardyjdandrea: I wrote a detailed blog post about it which may help:15:00
*** sabeen has joined #heat15:01
shardyhttp://hardysteven.blogspot.co.uk/2014/04/heat-auth-model-updates-part-2-stack.html15:01
*** piyush1 has quit IRC15:01
shardyjdandrea: depending on how you install, you either have to do nothing (devstack, recent packstack/puppet-heat), or manually configure as described in that post15:02
shardyjdandrea: getting similar info into a deployment guide doc is still todo15:02
*** ramishra has quit IRC15:02
*** gokrokve has quit IRC15:02
*** dmueller_ has joined #heat15:02
*** chandan_kumar has joined #heat15:06
*** gokrokve_ has quit IRC15:06
*** dmueller_ has quit IRC15:06
*** gokrokve has joined #heat15:07
*** jdandrea has quit IRC15:10
*** alexpilotti has quit IRC15:11
*** gokrokve has quit IRC15:11
*** alexpilotti has joined #heat15:13
*** killer_prince has joined #heat15:13
*** killer_prince is now known as lazy_prince15:14
*** sgordon has quit IRC15:17
*** Dev_Jin has quit IRC15:17
*** jdandrea has joined #heat15:18
*** ramishra has joined #heat15:18
jdandreashardy: Thanks! This helps a lot. :)15:18
*** jcoufal has quit IRC15:22
*** jcoufal has joined #heat15:24
*** tomek_adamczewsk has quit IRC15:26
*** DandyPandy has joined #heat15:28
openstackgerritJason Dunsmore proposed a change to openstack/heat: Fix OS::Trove::Instance restore_point property  https://review.openstack.org/10521015:28
*** DandyPandy has quit IRC15:28
*** DandyPandy has joined #heat15:29
*** Meeral has joined #heat15:32
*** cdent_ has joined #heat15:32
MeeralIf i want to launch a stack with multiple templates - how to make the REST request? /v1/​{tenant_id}​/stacks15:32
*** cdent has quit IRC15:33
*** cdent_ is now known as cdent15:33
*** saju_m has quit IRC15:33
MeeralI know the heat stack_create command will parse the template and recognize template dependencies15:33
Meeralbut I don't know how that maps to the rest api15:33
therveWhat do you mean by multiple templates?15:34
therveI *think* you want stack files, but I'm not sure15:34
*** jdandrea has quit IRC15:34
Meerali mean I have a main template that has an autoscaling group which has a resource15:35
Meeralthat's coming from another template15:35
Meeraltype: blah_.yaml15:35
therveSo yes stack files15:35
shardyMeeral: Do what you want via python-heatclient, with --debug, then you can see the format of the request15:35
Meeraloh alright15:36
shardyas therve says, blah.yaml goes in the files map in the body of the request15:36
Meeralok I'll try that thanks15:36
*** piyush has joined #heat15:42
*** daneyon has joined #heat15:42
*** piyush1 has joined #heat15:43
*** IlyaE has quit IRC15:44
*** daneyon has quit IRC15:44
*** daneyon has joined #heat15:45
*** kebray has quit IRC15:46
*** piyush has quit IRC15:46
*** rwsu has joined #heat15:47
*** jdandrea has joined #heat15:47
*** TravT has joined #heat15:49
*** IlyaE has joined #heat15:52
*** arbylee has quit IRC15:54
*** arbylee has joined #heat15:54
*** jdandrea has quit IRC15:57
*** sgordon has joined #heat15:59
tspatzierzaneb: https://etherpad.openstack.org/p/heat-observer-resource-pattern16:02
*** mdelder has joined #heat16:02
mdelderhttps://etherpad.openstack.org/p/heat-observer-resource-pattern16:02
*** IlyaE has quit IRC16:03
*** jcoufal has quit IRC16:05
openstackgerritSteven Hardy proposed a change to openstack/heat: Convert WaitConditionHandle to use handle_signal  https://review.openstack.org/10521916:05
*** jdandrea has joined #heat16:06
*** rushiagr_ has joined #heat16:09
*** blamar has joined #heat16:09
*** Tross has joined #heat16:10
*** alexheneveld has joined #heat16:12
*** gokrokve has joined #heat16:14
*** pasquier-s_ has joined #heat16:17
*** pasquier-s_ has quit IRC16:18
*** DandyPandy has quit IRC16:18
*** threebean has left #heat16:23
*** edmund has joined #heat16:23
*** Yanyan has quit IRC16:23
*** DandyPandy has joined #heat16:26
*** DandyPandy has quit IRC16:27
*** DandyPandy has joined #heat16:28
*** derekh_ has quit IRC16:28
*** julienvey has quit IRC16:28
*** mrutkows has joined #heat16:28
*** kebray has joined #heat16:31
*** Tross has quit IRC16:31
*** kebray has quit IRC16:31
*** funzo has quit IRC16:31
*** jcoufal has joined #heat16:32
*** kebray has joined #heat16:32
*** jdandrea has quit IRC16:32
SpamapSshardy: I do agree with your point btw: most of this only works by luck at the moment. ;-)16:33
shardySpamapS: Hey, I've just started digging into this, trying to figure out if os-collect-config is relying in the previous side-effect of setting the handle metadata where it's also returned16:34
shardymy new code does change that behavior, because handle_signal doesn't return the metadata16:34
*** Tross has joined #heat16:34
*** edmund has quit IRC16:35
SpamapSshardy: AFAIK, os-collect-config just does a describe stack resource.16:35
shardySpamapS: Hmm, yeah that's what I was expecting, but currently I can't reproduce the issue16:36
SpamapSshardy: signals are sent by whatever tooling receives the deployment and thus the deploy_signal_id.16:36
shardyIt seemed weird that we returned something we were just passed as an argument, so I assumed nobody would rely on the return value16:36
SpamapSshardy: we were very clearly seeing empty metadata on the next subsequent request after we sent a signal.16:36
SpamapSshardy: which caused.. havoc :(16:36
*** rushiagr_ has quit IRC16:37
shardySpamapS: Yup, I don't doubt it, I just can't cause havoc locally yet ;)16:37
SpamapSshardy: I'd think you can reproduce by throwing the tripleo overcloud.yaml at a devstackked heat.16:37
SpamapSshardy: Oh you'd probably need to build our images with 'vm' added and load them into the devstack as well.16:37
SpamapSI might have a one liner that will do this for you..16:38
shardyI've mostly been trying via the tests, where the metadata refresh test works fine, I'll try the overcloud template, or some minimal subset of it16:38
*** blues-man has quit IRC16:38
shardySpamapS: Ok, thanks, it's probably about time I played with tripleo a bit, no time like the present I guess :)16:38
SpamapSTRIPLEO_ROOT=~/src DIB_COMMON_ELEMENTS="stackuser vm" bash -c '. scripts/devtest_variables.sh ; scripts/devtest_overcloud.sh'16:40
shardySpamapS: thanks16:40
SpamapSshardy: that would assume you have tripleo-incubator checked out in ~/src/tripleo-incubator and that you have sourced openrc16:40
*** pafuent has joined #heat16:40
*** TravT has quit IRC16:41
SpamapSoh hm16:41
*** packet has joined #heat16:41
*** IlyaE has joined #heat16:41
SpamapSshardy: you also have to do "TRIPLEO_ROOT=~/src scripts/devtest_testenv.sh" once to create the testenv.json file16:41
*** jdandrea has joined #heat16:41
SpamapSshardy: that is less than ideal.. hrm16:42
SpamapSshardy: don't run testenv.sh yet.. that is the invasive bit.. maybe I can give you a minimal testenv.json16:42
shardySpamapS: no worries, I'm going to try a more minimal template first16:43
SpamapSshardy: ok cool, so all you need in that json file is actually this:  {"arch": "i386"}16:43
shardySpamapS: Ok, thanks for the info, I'll try the full tripleo reproduce if my minimal attempt fails16:44
SpamapSshardy: deityspeed16:45
*** pasquier-s has quit IRC16:47
shardySpamapS: what tool does the signalling out of interest?16:49
*** sabeen3 has joined #heat16:50
*** sabeen has quit IRC16:51
*** funzo has joined #heat16:56
*** IlyaE has quit IRC16:58
*** harlowja_away is now known as harlowja17:01
*** mdelder has quit IRC17:02
*** dsneddon has joined #heat17:02
*** dsneddon has quit IRC17:02
*** mdelder has joined #heat17:02
*** dsneddon has joined #heat17:02
*** shakamunyi has joined #heat17:03
SpamapSshardy: curl17:04
SpamapSshardy: https://git.openstack.org/cgit/openstack/tripleo-image-elements/tree/elements/os-refresh-config/os-refresh-config/post-configure.d/99-refresh-completed17:04
*** dsneddon has quit IRC17:05
*** Tross has quit IRC17:05
*** Tross1 has joined #heat17:05
SpamapSshardy: currently we only do one big "completion signal" per node for when it is done with everything. We may do more as we have to orchestrate upgrades.17:05
shardySpamapS: Ok, thanks for the info!17:07
*** metral_zzz is now known as metral17:09
*** IlyaE has joined #heat17:13
*** bandarji has joined #heat17:13
*** jdandrea has quit IRC17:14
*** jyoti-ranjan has quit IRC17:16
*** alexheneveld has quit IRC17:16
*** dsneddon has joined #heat17:16
*** lazy_prince is now known as killer_prince17:19
*** rushiagr_ has joined #heat17:19
*** tango has quit IRC17:22
*** tspatzier has quit IRC17:24
*** emfl has joined #heat17:26
emflHello, I'm sorry to ask such a question but I coudn't find the answer, what are the cloud providers supported by heat ?17:27
openstackgerritJason Dunsmore proposed a change to openstack/heat: Fix OS::Trove::Instance restore_point property  https://review.openstack.org/10521017:27
*** IlyaE has quit IRC17:27
*** flyemsafe has quit IRC17:28
*** ckmvishnu has joined #heat17:29
*** ramishra has quit IRC17:33
*** IlyaE has joined #heat17:37
*** mdelder has quit IRC17:38
*** mdelder has joined #heat17:39
*** sgordon has quit IRC17:39
*** asalkeld has joined #heat17:39
SpamapSemfl: Heat is meant to be "built in" to a cloud.17:39
SpamapSemfl: There's a standalone mode that works with at least HP's public cloud (disclaimer: my employer) and I believe Rackspace has a beta public Heat that you can use.17:40
*** mdelder has quit IRC17:43
*** mdelder has joined #heat17:44
openstackgerritJason Dunsmore proposed a change to openstack/heat: Add utility functions for Swift TempURLs  https://review.openstack.org/10430217:45
*** mdelder has quit IRC17:54
*** IlyaE has quit IRC17:56
*** sarob_ has joined #heat18:00
*** sarob_ is now known as sarob18:00
*** jdandrea has joined #heat18:01
*** Tross1 has quit IRC18:01
openstackgerritClint 'SpamapS' Byrum proposed a change to openstack/heat: Using default FnGetRefId behavior for LaunchConfig  https://review.openstack.org/9754318:04
*** saju_m has joined #heat18:05
openstackgerritClint 'SpamapS' Byrum proposed a change to openstack/heat: Using default FnGetRefId behavior for LaunchConfig  https://review.openstack.org/9754318:05
*** tango has joined #heat18:05
SpamapSugh that inline commit message editor is crap for formatting.18:05
*** sarob has quit IRC18:12
*** sarob has joined #heat18:12
*** rushiagr_ has quit IRC18:13
*** dims_ has quit IRC18:14
*** emfl has quit IRC18:15
*** sarob has quit IRC18:17
*** ckmvishnu has quit IRC18:17
*** andersonvom has joined #heat18:18
*** dims has joined #heat18:19
*** IlyaE has joined #heat18:20
*** sarob has joined #heat18:26
*** bgorski has quit IRC18:28
*** jprovazn has quit IRC18:33
*** mdelder has joined #heat18:37
*** radez is now known as radez_g0n318:39
*** jdandrea has quit IRC18:39
*** jstrachan has quit IRC18:47
*** DaveJ__ has quit IRC18:48
MeeralI am still trying to launch a stack with multiple stack files - I am using the example file : https://github.com/hardys/demo_templates/blob/master/juno_summit_intro_to_heat/example4_provider_environment/server_with_volume_env.yaml18:52
*** packet has quit IRC18:52
*** IlyaE has quit IRC18:52
MeeralI run stack_create and get the following error: atclient.exc.HTTPBadRequest: ERROR: Could not fetch remote template 'server_with_volume.yaml': Invalid URL scheme18:53
Meeralserver_with_volume is a local file in the same directory18:53
Meerali'm very confused at what i'm doing wrong18:55
jasond`Meeral: did you use -f or -u?18:58
Meeral-f18:58
Meeralheat --debug stack-create test1 -f mainTemplate.yaml18:58
jasond`Meeral: what is in mainTemplate.yaml?18:59
Meeralhttps://github.com/hardys/demo_templates/blob/master/juno_summit_intro_to_heat/example2_server_with_volume_nested/server_with_volume_nested.yaml18:59
Meeralcopied this18:59
Meeralthe first link is wrong i'm not using an environment file..19:00
*** radez_g0n3 is now known as radez19:00
*** tspatzier has joined #heat19:01
*** tspatzier has quit IRC19:03
jasond`Meeral: hm, works for me19:03
Meeralwhat..was there any recent bug for this? maybe I have an older version19:05
*** IlyaE has joined #heat19:05
*** andreaf has quit IRC19:05
*** andreaf has joined #heat19:05
openstackgerritDavid J Hu proposed a change to openstack/python-heatclient: Add keystone v3 auth support  https://review.openstack.org/9272819:06
*** chandan_kumar has quit IRC19:06
openstackgerritA change was merged to openstack/heat: Support using domain_name instead of domain_id  https://review.openstack.org/9922519:09
*** emfl has joined #heat19:09
emflSpamapS: ok thanks. I was under the impression from a stackoverflow question that heat could be used as an equivalent to cloudformation to any number of cloud providers. Which from your answer I'm guessing is wrong19:10
*** andreaf_ has quit IRC19:10
*** andreaf_ has joined #heat19:11
*** mdelder_ has joined #heat19:17
*** mdelder has quit IRC19:20
*** rbuilta has quit IRC19:21
*** Tross has joined #heat19:24
*** sgordon has joined #heat19:27
*** mkerrin1 has joined #heat19:28
*** mkerrin has quit IRC19:29
*** IlyaE has quit IRC19:31
*** asalkeld has quit IRC19:32
*** samstav_ has joined #heat19:33
*** denis_makogon has quit IRC19:33
*** dmakogon_ has joined #heat19:33
*** samstav_ has quit IRC19:33
*** samstav_ has joined #heat19:34
*** saju_m has quit IRC19:34
*** samstav has quit IRC19:36
*** samstav_ has quit IRC19:37
*** lindsayk1 has joined #heat19:37
*** samstav has joined #heat19:37
*** sarob has quit IRC19:40
*** sarob has joined #heat19:40
*** bvandenh has quit IRC19:41
*** sarob has quit IRC19:44
*** erecio has joined #heat19:49
*** erecio has quit IRC19:49
*** lindsayk1 has quit IRC19:51
*** aweiteka has quit IRC19:52
*** lindsayk1 has joined #heat19:54
*** sarob has joined #heat19:54
*** lindsayk1 has quit IRC19:56
*** saju_m has joined #heat19:57
*** sarob has quit IRC19:59
*** andreaf has quit IRC19:59
*** andreaf has joined #heat19:59
*** mrutkows has quit IRC20:04
*** sarob has joined #heat20:07
*** aweiteka has joined #heat20:08
*** lindsayk1 has joined #heat20:08
*** alexheneveld has joined #heat20:09
*** asalkeld has joined #heat20:10
*** asalkeld has quit IRC20:10
*** asalkeld_ has joined #heat20:10
*** asalkeld_ is now known as asalkeld20:11
*** lindsayk1 has quit IRC20:12
*** mdelder_ has quit IRC20:13
*** mdelder_ has joined #heat20:13
*** lindsayk1 has joined #heat20:16
*** shakamunyi has quit IRC20:16
*** shakamunyi has joined #heat20:17
*** emfl has quit IRC20:19
*** sgordon has quit IRC20:22
*** samstav has quit IRC20:23
*** piyush1 has quit IRC20:25
*** mdelder_ has quit IRC20:27
*** sballe__ has quit IRC20:28
*** samstav has joined #heat20:30
*** saju_m has quit IRC20:30
*** samstav_ has joined #heat20:32
*** samstav has quit IRC20:34
*** tspatzier has joined #heat20:41
*** tspatzier has quit IRC20:51
*** sballe has joined #heat20:52
*** kebray has quit IRC20:52
*** kebray has joined #heat20:53
*** piyush has joined #heat20:58
*** andrew_plunk has joined #heat20:58
*** piyush1 has joined #heat21:00
*** vijendar has quit IRC21:02
*** piyush has quit IRC21:02
*** vijendar has joined #heat21:02
*** harlowja is now known as harlowja_away21:02
*** pafuent has left #heat21:04
openstackgerritJason Dunsmore proposed a change to openstack/heat: Add OS::Swift::Signal resource  https://review.openstack.org/9694721:08
*** jdandrea has joined #heat21:10
*** sarob has quit IRC21:12
stevebakermorning21:14
*** IlyaE has joined #heat21:14
shardyHey stevebaker21:14
*** cdent has quit IRC21:15
stevebakershardy: hi! Should we plan on achieving something for our nano-heat meetup?21:15
*** kebray has quit IRC21:16
shardystevebaker: sure, I'm hoping to have the token expiry thing sorted by then, so hopefully it will be a question of getting a clearer view on the priority items for heat wrt tripleo21:18
*** jcoufal has quit IRC21:18
shardyalso I'm interested in what we can do re incremental improvements to autoscaling (choose victims, scale-down cleanup) for Juno, as I know that's important to Tuskar21:18
stevebakershardy: we could co-ordinate on moving heat_keystoneclient methods into the keystone client plugin, since you're mostly doing the changes there21:19
*** andrew_plunk has left #heat21:19
shardystevebaker: definitely, is that just a refactoring exercise, to move the heat_keystoneclient stuff into a new plugin?21:19
*** kebray has joined #heat21:20
*** samstav_ has quit IRC21:20
stevebakershardy: yes, acquiescing would be a good one. That is all software-config and Server resource21:20
stevebakershardy: yes, just refactoring, and figuring out where the v2 plugin fits in21:21
shardystevebaker: Is the scaledown cleanup thing already possible if you use SoftwareDeployments which trigger on DELETE?21:21
shardyI wasn't super-clear if we also needed the action-aware stuff tspatzier is working on21:21
stevebakershardy: we don't need it, acquiescing configs can just be their own config resource for now, and will eventually be able to be defined as part of a component resource21:22
shardystevebaker: Ok cool, well getting some examples together for that would be cool, I'll try to have a play at some point soon21:23
* shardy still trying to reproduce tripleo metadata issue atm21:24
stevebakershardy: aquiescing will mostly be triggered by a stack-update, when the server is rebuilt,rebooted or replaced. This means it can't be represented by a deployment resource in the template (but the implementation would probably use a deployment internally)21:24
asalkeldshardy, argubly your patch breaks the api21:24
asalkeldupdate_metadata had a return21:24
shardystevebaker: Re the client plugin, ideally I'd like to move to a model where there are three options, v2, v3 (legacy) and v3 (domain users)21:24
asalkeldsignal doesn't21:24
shardyasalkeld: Yeah I realized that earlier, does it matter though?  I'm not sure tbh21:25
shardywe return want was already passed in, so it could be fixed in the API21:25
asalkeldwell we *shouldn't* break api21:26
asalkeldother's might depend on it21:26
shardyapart from the new waitcondition handle which auto-populates some stuff if ommited21:26
*** radez is now known as radez_g0n321:26
shardyasalkeld: Yeah, point taken, I initially missed that we returned there21:26
asalkeldme too21:26
shardyI'd like to deprecate the entire metadata_update path and standardize on handle_signal21:27
shardybut yeah, I'll reinstate the return and add deprecation warnings for Juno21:27
asalkeldshardy, just call signal and pass the return val back21:27
asalkeld(shallow fix)21:28
shardyasalkeld: yup something like that should work21:29
*** alexheneveld has quit IRC21:31
*** ccrouch has quit IRC21:32
*** aweiteka has quit IRC21:34
*** sarob has joined #heat21:35
*** jdandrea has quit IRC21:36
*** jasond` has quit IRC21:36
SpamapSshardy: FYI this is probably the most important spec for Heat devs wishing to help TripleO. https://review.openstack.org/#/c/97939/21:38
stevebakerSpamapS: is shadower coming?21:39
*** sarob has quit IRC21:39
SpamapSstevebaker: no, he and I are kind of the reason we're having a separate Heat meetup later21:44
*** jdandrea has joined #heat21:45
*** ccrouch has joined #heat21:46
jdandreaReality check question: Can a resource (in the plugin space) traverse up and down the stack hierarchy, looking for sibling resources along the way?21:47
*** arbylee has quit IRC21:47
jdandreaContrived example: Stack A has nested stacks B and C. B and C each contain custom resource D. Resource D wants to find out if Resource D exists elsewhere in the stack hierarchy.21:47
jdandrea... and B and C could come from an Autoscaling Group too, incidentally. :)21:48
*** vijendar has quit IRC21:48
*** sgordon has joined #heat21:48
stevebakerSpamapS: I'm happy to spend some time on that, but it would need a little bit of co-ordination with you and shadower so I don't repeat stuff21:48
shardyjdandrea: it's probably possible, but please don't do that ;)21:48
jdandrea(Correction: Resource D wants to find out if other *instantiations* of D exist elsewhere.)21:48
jdandreashardy: Ah. So that's a no-no.21:48
SpamapSstevebaker: It's a big spec.. I think you can just take items where your expertise would be helpful and work on them.21:49
jdandreaNot to make changes, but to be "aware" as it were.21:49
stevebakerjdandrea: ideally no. If you can you should discover related resource info through actual API calls21:49
shardyjdandrea: the right way is to pass data in via properties which contain references to other resources, if you need that data inside the resource21:49
SpamapSjdandrea: We're going to be hunting any such violations down as we move Heat to be less stack-centric and more resource-centric with convergence.21:49
jdandreastevebaker: Ok. Not sure how I do that discovery then ...21:49
stevebakerSpamapS: I'd be tempted to do a big-hammer brute force HOT port ;)21:49
jdandreaSpamapS: Not intending for it to be a violation. That's why I asked. :)21:50
stevebakerjdandrea: it depends exactly on what you're trying to do.21:50
SpamapSstevebaker: that seems to be +1'd already. The spec discusses it, and I for one would be thrilled as it would reduce the ridiculousness of all the Fn::Select calls.21:50
SpamapSjdandrea: can you be more concrete?21:50
jdandreashardy: How do I do that where an Autoscaling Group is concerned though?21:50
jdandreaSpamapS: I can try.21:50
SpamapSjdandrea: seems like you'd want to be more explicit in relating things.21:51
*** nati_ueno has joined #heat21:51
shardyjdandrea: Use the native AutoScalingGroup resource and pass parameters in as Properties, which become parameters for nested stacks21:51
jdandreaSpamapS: I agree. Take the Autoscaling WordPress example. If I understand correctly, the pool (outside the AG) is sent in as a property.21:52
jdandreaWhat if I need to chain things between AG scale-outs?21:52
jdandreaSo a resource D is in the Autoscaling groups' nested template. As I scale out, I want that new resource D to somehow be aware of the previous one (or all of them).21:53
jdandreaBut I can't give a resource ID for something that doesn't exist yet.21:53
jdandreaMaybe I'm thinking about it incorrectly. :/21:53
stevebakerSpamapS, shadower, fun fact: all of the Fn:: functions are actually registered in the HOT parser, so functions can be switched after the initial HOT port21:54
*** andersonvom has quit IRC21:54
SpamapSstevebaker: doooo it21:55
jdandreahehee21:55
*** andrearo1 has joined #heat21:57
*** mkerrin1 has quit IRC21:57
*** andreaf_ has quit IRC21:57
*** andreaf has quit IRC21:57
*** samstav has joined #heat21:57
*** mkerrin has joined #heat21:57
*** andreaf has joined #heat21:58
*** andrearosa has quit IRC21:58
*** andreaf_ has joined #heat21:58
*** gondoi is now known as zz_gondoi21:59
*** lindsayk2 has joined #heat22:03
*** alexpilotti has quit IRC22:03
*** alexpilotti has joined #heat22:04
*** harlowja_away is now known as harlowja22:04
*** Meeral has quit IRC22:04
*** lindsayk1 has quit IRC22:05
*** alexpilotti has quit IRC22:09
*** sarob has joined #heat22:10
*** sarob_ has joined #heat22:11
*** piyush1 has quit IRC22:12
*** sarob has quit IRC22:14
*** lindsayk2 has quit IRC22:15
*** lindsayk1 has joined #heat22:15
*** sarob_ has quit IRC22:16
*** thomas_ustudio has quit IRC22:17
*** sarob has joined #heat22:18
*** sarob_ has joined #heat22:19
*** sarob__ has joined #heat22:20
*** sarob has quit IRC22:22
*** sarob_ has quit IRC22:24
*** andersonvom has joined #heat22:28
*** andersonvom has quit IRC22:31
*** IlyaE has quit IRC22:31
*** bandarji has quit IRC22:39
*** IlyaE has joined #heat22:52
*** DandyPandy has quit IRC22:53
*** ericgoncz has quit IRC22:54
*** bandarji has joined #heat22:57
*** sarob__ has quit IRC23:01
*** lindsayk1 has quit IRC23:01
*** sarob has joined #heat23:01
*** asalkeld has quit IRC23:03
*** david-lyle has quit IRC23:04
*** IlyaE has quit IRC23:05
*** daneyon has quit IRC23:05
*** sarob has quit IRC23:06
*** IlyaE has joined #heat23:11
*** arbylee has joined #heat23:12
stevebakerlifeless: are you going to want merge.py to be able to consume cfn and hot source templates?23:13
lifelessstevebaker: I think we have some backwards comapt obligations23:14
lifelessstevebaker: there's a draft spec up23:14
lifelessstevebaker: which discusses killing it in detail23:14
stevebakerlifeless: yeah, I'm looking into the **3. Port TripleO Heat templates to HOT** bit23:15
stevebakerlifeless: I think a merge.py flag to switch to HOT would be least disruptive23:17
lifelessthat seems reasonable23:17
*** IlyaE has quit IRC23:20
*** sarob has joined #heat23:20
*** bandarji has quit IRC23:27
*** dims has quit IRC23:37
*** jerryz has quit IRC23:39
*** kebray has quit IRC23:41
*** mohits has joined #heat23:43
*** tomek_adamczewsk has joined #heat23:49
*** samuelmz has quit IRC23:53
*** piyush has joined #heat23:55
*** IlyaE has joined #heat23:55
*** ccrouch has quit IRC23:57
*** dims has joined #heat23:57
*** tomek_adamczewsk has quit IRC23:58
*** samuelmz has joined #heat23:58
*** tomek_adamczewsk has joined #heat23:59

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