*** ttsiouts has quit IRC | 00:04 | |
*** neatherweb has joined #heat | 00:05 | |
*** ttsiouts has joined #heat | 00:05 | |
*** ttsiouts has quit IRC | 00:09 | |
*** sdake has joined #heat | 00:46 | |
*** _fragatina_ has quit IRC | 01:02 | |
*** _fragatina has joined #heat | 01:02 | |
*** sdake has quit IRC | 01:03 | |
*** sdake has joined #heat | 01:07 | |
*** sdake has quit IRC | 01:19 | |
*** gmoro has quit IRC | 01:40 | |
*** hongbin has joined #heat | 02:52 | |
*** sdake has joined #heat | 03:02 | |
*** ramishra has joined #heat | 03:21 | |
*** hongbin has quit IRC | 03:30 | |
*** sdake has quit IRC | 03:36 | |
*** sdake has joined #heat | 03:42 | |
*** sdake has quit IRC | 03:56 | |
*** neatherweb_ has joined #heat | 04:04 | |
*** neatherweb has quit IRC | 04:06 | |
*** sdake has joined #heat | 04:21 | |
*** neatherweb_ has quit IRC | 04:22 | |
*** NafH has joined #heat | 04:24 | |
*** spsurya has joined #heat | 04:24 | |
*** sdake has quit IRC | 04:25 | |
*** sdake has joined #heat | 04:27 | |
*** sdake has quit IRC | 04:30 | |
*** sdake has joined #heat | 04:32 | |
*** sdake has quit IRC | 04:35 | |
*** sdake has joined #heat | 04:36 | |
*** sdake has quit IRC | 04:40 | |
*** neatherweb has joined #heat | 04:43 | |
*** sdake has joined #heat | 04:46 | |
*** sdake has quit IRC | 04:48 | |
*** sdake has joined #heat | 04:51 | |
*** NafH has quit IRC | 04:51 | |
*** sdake has quit IRC | 04:55 | |
*** sdake has joined #heat | 04:56 | |
*** sdake has quit IRC | 05:00 | |
*** sdake has joined #heat | 05:01 | |
*** sdake has quit IRC | 05:10 | |
*** sdake_ has joined #heat | 05:10 | |
*** sdake_ has quit IRC | 05:15 | |
*** sdake has joined #heat | 05:16 | |
*** skramaja has joined #heat | 05:20 | |
*** sdake has quit IRC | 05:21 | |
*** sdake has joined #heat | 05:22 | |
*** sdake has quit IRC | 05:26 | |
*** neatherweb has quit IRC | 05:27 | |
*** sdake has joined #heat | 05:28 | |
*** sdake has quit IRC | 05:30 | |
*** sdake_ has joined #heat | 05:31 | |
*** sdake_ has quit IRC | 05:35 | |
*** sdake has joined #heat | 05:37 | |
*** sdake has quit IRC | 05:45 | |
*** neatherweb has joined #heat | 05:46 | |
*** sdake has joined #heat | 05:46 | |
*** sdake has quit IRC | 05:51 | |
*** sdake has joined #heat | 05:51 | |
*** sdake has quit IRC | 05:55 | |
*** sdake has joined #heat | 05:59 | |
*** sdake has quit IRC | 06:00 | |
*** sdake has joined #heat | 06:01 | |
*** sdake has quit IRC | 06:06 | |
*** sdake_ has joined #heat | 06:07 | |
*** sdake_ has quit IRC | 06:10 | |
*** jtomasek has joined #heat | 06:16 | |
*** ttsiouts has joined #heat | 07:29 | |
*** ttsiouts has quit IRC | 07:52 | |
*** ttsiouts has joined #heat | 07:52 | |
*** ttsiouts has quit IRC | 07:57 | |
*** neatherweb has quit IRC | 08:19 | |
*** flwang1 has joined #heat | 08:34 | |
flwang1 | ramishra: Hi Rabi, are you around? | 08:34 |
---|---|---|
flwang1 | i'm stuck by an issue about removal_policies, when i try to delete an instance in a resource group, i can see the instance A's ID is passed in, but unfortunately, the instance B is deleted. can anybody give me some ideas where should i debug? | 08:36 |
flwang1 | e.g. where should I add breakpoint for details, thanks | 08:36 |
*** mikecmpbll has joined #heat | 08:50 | |
*** e0ne has joined #heat | 08:51 | |
*** rcernin has quit IRC | 09:00 | |
*** ttsiouts has joined #heat | 09:00 | |
ramishra | flwang1: Hi, that's weird. What version of heat are you using? Is it deleting a wrong resource or deleting an additional resource? | 09:01 |
flwang1 | master | 09:01 |
flwang1 | deleting a wrong resource | 09:01 |
ramishra | flwang1: can you share your template? | 09:02 |
flwang1 | sure, wait a sec | 09:02 |
flwang1 | http://paste.openstack.org/show/746007/ | 09:03 |
ramishra | flwang1: what's your passing for minions_to_remove parameter? | 09:06 |
flwang1 | ramishra: the instance id in nova | 09:06 |
flwang1 | i can see correct id passed in, but finally, wrong instance was deleted | 09:07 |
*** shardy has joined #heat | 09:08 | |
ramishra | I don't know if passing nova instances would work, you should pass the indexes which would be the resource names for the resources in the group, how does your kubeminion.yaml look like? | 09:12 |
*** k_mouza has joined #heat | 09:15 | |
flwang1 | ramishra: wait a sec | 09:15 |
flwang1 | http://paste.openstack.org/show/746008/ | 09:16 |
ramishra | Hmm, you're setting OS::stack_id to the nova instance_id, so it should have worked | 09:18 |
flwang1 | yep, that's the thing i figured out, but it still doesn't work | 09:20 |
*** shardy has quit IRC | 09:23 | |
*** shardy has joined #heat | 09:23 | |
flwang1 | ramishra: anything else i should check? | 09:33 |
ramishra | flwang1: I tested on master, it seems to work as expected | 09:33 |
flwang1 | ramishra: as for the kube_minion i'm returning with OS::stack_id, could i add a new output to expose the 'kube_minion'? | 09:34 |
flwang1 | instead of using OS::stack_id | 09:35 |
ramishra | I used a simple reproducer with nova server resources and OS::stack_id | 09:35 |
flwang1 | could i take a look your template? | 09:36 |
flwang1 | so that i can test it as well | 09:36 |
*** k_mouza has quit IRC | 09:37 | |
ramishra | flwang1: http://paste.openstack.org/show/746011/ | 09:37 |
*** k_mouza has joined #heat | 09:37 | |
flwang1 | ramishra: if i want to do the test with openstack command line, how should i issue the command like 'openstack stack update ...'? | 09:40 |
*** a-pugachev has joined #heat | 09:40 | |
ramishra | yep, just update the template to add the changed the blacklist and then do #openstack stack update <stack_name> -t rsg.yaml | 09:41 |
flwang1 | ramishra: ok, thanks, i will dig and probably come back to bug you | 09:44 |
flwang1 | ramishra: thank you very much | 09:44 |
ramishra | flwang1: yeah, if you see any issue with the simple reproducer, go ahead and file a bug with the details | 09:44 |
flwang1 | ramishra: sure, cheers | 09:45 |
flwang1 | ramishra: btw, when we send the heat update api call | 09:49 |
flwang1 | we're also sending this param number_of_minions | 09:50 |
flwang1 | will it take any action to delete node? | 09:50 |
flwang1 | for example, initially, the number_of_minions=3, then magnum send api call to heat to update with number_of_minions=2, minions_to_remove=['ID'] | 09:51 |
*** gfidente has joined #heat | 09:52 | |
flwang1 | ramishra: i think the number_of_minions may also do resource delete? | 09:52 |
flwang1 | s/do/trigger | 09:52 |
ramishra | Ah, that's the issue. You are trying to scale-down and black-list at the same time. So it would removed 2 nodes and build 2 new ones | 09:53 |
ramishra | build one | 09:53 |
flwang1 | ramishra: it didn't actually | 09:53 |
ramishra | so if the blacklisted node is not the last node | 09:54 |
ramishra | then it would remove that too, else it would just remove the last node | 09:54 |
ramishra | last node means node with highest index in the group | 09:55 |
flwang1 | for example, i have 2 nodes, NODE-A and NODE-B, then cluster autoscaler sends request like number_of_minions=1, minions_to_remove=['NODE-A'], what should happen? | 09:55 |
flwang1 | NODE-B has the highest index | 09:55 |
ramishra | I guess both B and A both should go and a new node C sould be created | 09:57 |
ramishra | what's the behaviour you're noticing? | 09:57 |
flwang1 | i got NODE-B deleted | 09:57 |
ramishra | and nothing happens to NODE-A? | 09:58 |
flwang1 | seems there is a priority issue or race condition | 09:58 |
flwang1 | nothing happened to NODE-A, yes | 09:58 |
flwang1 | could you please confirm it's correct behaviour? | 09:59 |
flwang1 | because we need to depend on the correct behaviour to do auto healing | 09:59 |
ramishra | flwang1: I don't see that though. It keeps NODE-B, which seems like correct behaviour to me | 10:02 |
ramishra | I mean the blacklist is applied before the scaledown | 10:03 |
flwang1 | i will re run the test to double check. but FWIW, if i just use minions_to_remove=['NODE-A'], it shouldn't remove NODE-B anyway, right? | 10:04 |
*** sshnaidm|off is now known as sshnaidm | 10:05 | |
strigazi | flwang1: it depends on https://storyboard.openstack.org/#!/story/2005054#comment-116876 | 10:06 |
flwang1 | strigazi: yes, i know | 10:07 |
strigazi | flwang1: removal policies are controlled either by the RG index or the nested stack_id | 10:07 |
flwang1 | strigazi: what i discussed with ramishra is | 10:07 |
ramishra | flwang1: yep but if the count does not change it would add a new node, If you reduce the count it's applied after the blacklist is removed from the group, so the behaviour is the same | 10:07 |
strigazi | openstack stack resource show <stack> kube_miinions to see which ids you can use | 10:07 |
flwang1 | though i applied OS::stack_id = kube_minion, CA still deleted the wrong instance | 10:08 |
flwang1 | strigazi: ^ | 10:08 |
flwang1 | strigazi: did you test that? | 10:08 |
strigazi | no, but I can quickly | 10:09 |
strigazi | 5 ins | 10:09 |
strigazi | 5 mins | 10:09 |
flwang1 | cool, thanks | 10:10 |
*** jmlowe has quit IRC | 10:16 | |
*** jmlowe has joined #heat | 10:18 | |
flwang1 | strigazi: any luck? | 10:24 |
strigazi | flwang1: http://paste.openstack.org/raw/746021/ | 10:30 |
flwang1 | strigazi: ok, i will test it again tomorrow | 10:35 |
flwang1 | strigazi: btw, can't we just add a new item in the output for kube_minion? | 10:35 |
flwang1 | instead of using the OS::stack_id = kube_minion ? | 10:35 |
strigazi | can't we just add a new item in the output for kube_minion? I don't get this | 10:36 |
strigazi | flwang1: ^^ | 10:37 |
strigazi | I think we discussed this, we will delete nodes by nova server uuid | 10:38 |
*** gmoro has joined #heat | 11:14 | |
*** neatherweb has joined #heat | 11:17 | |
*** ttsiouts has quit IRC | 11:23 | |
*** ttsiouts has joined #heat | 11:36 | |
*** sdake has joined #heat | 11:46 | |
*** sdake has quit IRC | 11:50 | |
*** sdake has joined #heat | 11:51 | |
*** sdake has quit IRC | 11:55 | |
*** neatherweb has quit IRC | 11:58 | |
*** sdake has joined #heat | 11:58 | |
*** sm806 has quit IRC | 11:58 | |
*** sm806 has joined #heat | 11:59 | |
*** mikecmpbll has quit IRC | 12:00 | |
*** sdake has quit IRC | 12:00 | |
*** mikecmpbll has joined #heat | 12:05 | |
*** ttsiouts has quit IRC | 12:31 | |
*** ttsiouts has joined #heat | 12:32 | |
*** ttsiouts has quit IRC | 12:37 | |
*** e0ne has quit IRC | 12:47 | |
*** ttsiouts has joined #heat | 12:48 | |
*** k_mouza has quit IRC | 13:07 | |
*** jistr is now known as jistr|mtg | 13:07 | |
*** jistr|mtg is now known as jistr | 13:08 | |
*** e0ne has joined #heat | 13:35 | |
*** jmlowe has quit IRC | 13:44 | |
*** skramaja_ has joined #heat | 13:46 | |
*** skramaja has quit IRC | 13:46 | |
*** skramaja_ has quit IRC | 13:57 | |
*** jcoufal has joined #heat | 14:01 | |
*** ttsiouts has quit IRC | 14:04 | |
*** ttsiouts has joined #heat | 14:05 | |
*** ttsiouts has quit IRC | 14:06 | |
*** ttsiouts has joined #heat | 14:06 | |
*** k_mouza has joined #heat | 14:21 | |
*** k_mouza has quit IRC | 14:22 | |
*** k_mouza_ has joined #heat | 14:22 | |
openstackgerrit | Marek Lyčka proposed openstack/heat-dashboard master: Changes the data field used to populate the E.N. select https://review.openstack.org/639105 | 14:28 |
*** jmlowe has joined #heat | 14:30 | |
*** a-pugachev has quit IRC | 14:33 | |
*** k_mouza_ has quit IRC | 14:49 | |
*** ekultails has joined #heat | 14:51 | |
*** e0ne has quit IRC | 15:03 | |
*** e0ne has joined #heat | 15:05 | |
*** zaneb has joined #heat | 15:12 | |
*** beekneemech is now known as bnemec | 15:21 | |
*** jobewan has joined #heat | 15:23 | |
*** k_mouza has joined #heat | 15:32 | |
*** zaneb has quit IRC | 15:33 | |
*** a-pugachev has joined #heat | 15:46 | |
*** zaneb has joined #heat | 16:07 | |
*** gfidente has quit IRC | 16:10 | |
*** gfidente has joined #heat | 16:11 | |
*** ttsiouts has quit IRC | 16:11 | |
*** ttsiouts has joined #heat | 16:12 | |
*** ttsiouts has quit IRC | 16:16 | |
*** ivve has joined #heat | 16:21 | |
*** e0ne has quit IRC | 16:26 | |
*** e0ne has joined #heat | 16:31 | |
*** Chaserjim has joined #heat | 16:33 | |
pas-ha | hi all, how much advised is it to enable reauthentification with trusts? when enabling it seems AODH alarms fail to be created as they also seem to by trying creating a trust, but heat creates a trust w/o redelegation allowed.. | 16:39 |
*** ttsiouts has joined #heat | 16:51 | |
*** ttsiouts has quit IRC | 16:59 | |
*** ttsiouts has joined #heat | 16:59 | |
*** ramishra has quit IRC | 17:01 | |
*** ttsiouts has quit IRC | 17:04 | |
zaneb | pas-ha: I don't know that many folks are using it. (I believe TripleO is not, even though I assume that's what we added it for?) | 17:08 |
*** _fragatina_ has joined #heat | 17:08 | |
zaneb | creating a trust for reauthentication that doesn't allow redelegation seems like an obvious bug to me | 17:08 |
*** k_mouza has quit IRC | 17:09 | |
pas-ha | then plz review :-) https://review.openstack.org/#/c/638413/ | 17:09 |
*** _fragatina has quit IRC | 17:10 | |
* zaneb opens a 51st firefox window | 17:12 | |
* pas-ha is at ~20 chromium tabs so still good to go | 17:13 | |
zaneb | don't get me started on counting tabs | 17:13 |
*** e0ne has quit IRC | 17:18 | |
*** Chaserjim has quit IRC | 17:19 | |
*** k_mouza has joined #heat | 17:22 | |
*** sdake has joined #heat | 17:27 | |
*** a-pugachev has quit IRC | 17:29 | |
zaneb | pas-ha: commented on the review. let me know if I've understood the problem correctly | 17:31 |
pas-ha | yes, your comment makes total sense and it is indeed the 2nd use-case for trusts (stacks that take long to create) | 17:34 |
pas-ha | we'll re-work and remove the added config option | 17:35 |
pas-ha | in the long run IMO though heat should use service token auth just like nova and cinder and ironic capable to do already | 17:36 |
pas-ha | for stacks that take long to create that is | 17:36 |
pas-ha | (although I'm not sure if one can create a trust from token that already expired, as in the case of aodh alarms) | 17:37 |
zaneb | pas-ha: +1 totally agree. I think we were possibly waiting on something else (openstacksdk 1.0?) to be able to support that? | 17:37 |
pas-ha | not sure.. keystoneauth already supports that, so you can pass the ServiceTokenAuth auth plugin to session/adapter. what nova and cinder do is they have a method on context object that returns the proper ServiceTokenAuth plugin, and it is being passed into the constructor for the client | 17:39 |
*** k_mouza has quit IRC | 17:41 | |
zaneb | I (very) vaguely recall some issue about that not being available yet for every client | 17:42 |
zaneb | but equally I could be making that up :) | 17:42 |
pas-ha | yeah, that may be an issue still | 17:42 |
zaneb | ramishra might remember better | 17:42 |
*** mikecmpbll has quit IRC | 17:45 | |
*** mikecmpbll has joined #heat | 17:46 | |
*** mikecmpbll has quit IRC | 17:46 | |
*** _fragatina_ has quit IRC | 17:51 | |
*** flwang1 has quit IRC | 17:56 | |
*** sdake_ has joined #heat | 18:05 | |
*** sdake has quit IRC | 18:07 | |
*** sdake_ has quit IRC | 18:10 | |
*** sdake has joined #heat | 18:11 | |
*** sdake has quit IRC | 18:16 | |
*** sdake_ has joined #heat | 18:16 | |
*** shardy has quit IRC | 18:18 | |
*** sdake_ has quit IRC | 18:20 | |
*** sdake has joined #heat | 18:21 | |
*** sdake has quit IRC | 18:26 | |
*** sdake_ has joined #heat | 18:27 | |
*** gfidente has quit IRC | 18:29 | |
*** gfidente has joined #heat | 18:29 | |
*** sdake_ has quit IRC | 18:35 | |
*** sdake has joined #heat | 18:36 | |
*** bnemec has quit IRC | 18:40 | |
*** sdake has quit IRC | 18:41 | |
*** sdake_ has joined #heat | 18:41 | |
*** e0ne has joined #heat | 18:44 | |
*** bnemec has joined #heat | 18:45 | |
*** sdake_ has quit IRC | 18:45 | |
*** sdake has joined #heat | 18:46 | |
*** jmlowe has quit IRC | 18:49 | |
*** sdake has quit IRC | 18:50 | |
*** sdake has joined #heat | 18:51 | |
*** jmlowe has joined #heat | 18:53 | |
*** sdake has quit IRC | 18:55 | |
*** sdake has joined #heat | 18:57 | |
*** sdake has quit IRC | 19:01 | |
*** sdake has joined #heat | 19:01 | |
*** k_mouza has joined #heat | 19:04 | |
*** k_mouza has quit IRC | 19:04 | |
*** sdake has quit IRC | 19:05 | |
*** sdake has joined #heat | 19:07 | |
*** neatherweb has joined #heat | 19:08 | |
*** sdake has quit IRC | 19:11 | |
*** sshnaidm is now known as sshnaidm|afk | 19:11 | |
*** sdake has joined #heat | 19:13 | |
*** sdake has quit IRC | 19:15 | |
*** sdake_ has joined #heat | 19:16 | |
*** sdake_ has quit IRC | 19:20 | |
*** _fragatina has joined #heat | 19:22 | |
*** neatherweb has quit IRC | 19:24 | |
*** jmlowe has quit IRC | 20:21 | |
*** jtomasek has quit IRC | 20:39 | |
*** jtomasek has joined #heat | 20:40 | |
*** jtomasek has quit IRC | 20:42 | |
*** jtomasek has joined #heat | 20:43 | |
*** ivve has quit IRC | 20:50 | |
*** jobewan has quit IRC | 21:00 | |
*** jmlowe has joined #heat | 21:07 | |
*** jtomasek has quit IRC | 21:09 | |
*** jobewan has joined #heat | 21:11 | |
*** jcoufal has quit IRC | 21:16 | |
*** e0ne has quit IRC | 21:21 | |
*** sdake has joined #heat | 21:28 | |
*** rcernin has joined #heat | 21:46 | |
*** sdake has quit IRC | 21:48 | |
*** e0ne has joined #heat | 21:54 | |
*** e0ne has quit IRC | 21:55 | |
*** sdake has joined #heat | 21:59 | |
*** sdake has quit IRC | 22:01 | |
*** sdake has joined #heat | 22:03 | |
*** e0ne has joined #heat | 22:05 | |
*** sdake has quit IRC | 22:05 | |
*** sdake has joined #heat | 22:08 | |
*** e0ne has quit IRC | 22:08 | |
*** sdake has quit IRC | 22:10 | |
*** sdake has joined #heat | 22:12 | |
*** sdake has quit IRC | 22:13 | |
*** sshnaidm|afk has quit IRC | 22:24 | |
*** neatherweb has joined #heat | 22:30 | |
*** sshnaidm has joined #heat | 22:39 | |
*** k_mouza has joined #heat | 22:58 | |
*** k_mouza has quit IRC | 23:00 | |
*** k_mouza has joined #heat | 23:00 | |
*** gfidente has quit IRC | 23:44 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!