Friday, 2017-07-07

openstackgerritHarald Jensås proposed openstack/heat master: Exclude updated networks - match actual interface state  https://review.openstack.org/47196900:08
*** yangyapeng has quit IRC00:14
*** yangyapeng has joined #heat00:14
openstackgerritHarald Jensås proposed openstack/heat master: Exclude updated networks - match actual interface state  https://review.openstack.org/47196900:16
*** yangyapeng has quit IRC00:18
*** felipemonteiro has quit IRC00:28
*** kiennt has joined #heat00:32
*** kiennt has quit IRC00:39
*** kiennt has joined #heat00:51
*** Shunli has joined #heat00:52
*** dixiaoli has joined #heat00:53
*** dixiaoli has quit IRC00:55
*** fragatin_ has joined #heat01:05
*** fragati__ has joined #heat01:07
*** fragatina has quit IRC01:08
*** fragatin_ has quit IRC01:10
*** fragati__ has quit IRC01:12
*** ricolin has joined #heat01:14
*** elynn has joined #heat01:17
*** yangyapeng has joined #heat01:20
*** yangyapeng has quit IRC01:21
*** yangyapeng has joined #heat01:21
*** ramishra has joined #heat02:07
*** chlong_ has quit IRC03:08
*** chlong_ has joined #heat03:09
openstackgerrithuangtianhua proposed openstack/heat master: Rollback stack with correct tags  https://review.openstack.org/48015303:13
openstackgerritEthan Lynn proposed openstack/heat master: Set ssl options when initialize heat client()  https://review.openstack.org/48092303:16
*** chlong_ has quit IRC03:17
*** chlong_ has joined #heat03:19
*** dbecker has quit IRC03:22
*** felipemonteiro has joined #heat03:23
*** Shunli has quit IRC03:25
*** Shunli has joined #heat03:26
*** gkadam has joined #heat03:32
*** dbecker has joined #heat03:35
*** felipemonteiro has quit IRC03:43
*** Shunli has quit IRC03:54
*** Shunli has joined #heat03:55
openstackgerrithuangtianhua proposed openstack/heat master: Modify the example of networks attribute of server  https://review.openstack.org/48140804:12
*** links has joined #heat04:30
openstackgerrithuangtianhua proposed openstack/heat master: Deprecate 'accessIPv4'/'accessIPv6' attributes  https://review.openstack.org/48141304:34
*** faizy has joined #heat04:42
*** zzzeek has joined #heat04:55
*** dixiaoli has joined #heat04:56
openstackgerritRico Lin proposed openstack/heat master: Add converge flag in stack update for observing on reality  https://review.openstack.org/46130204:56
*** zzzeek has quit IRC04:56
ricolinramishra, could you review on https://review.openstack.org/461302 again04:57
ramishraricolin: sure, will have a look04:58
ricolinwould like to make sure that's what you prefered:)04:58
*** zzzeek has joined #heat05:02
*** zzzeek has quit IRC05:02
*** zzzeek has joined #heat05:04
*** zzzeek has quit IRC05:04
*** zzzeek has joined #heat05:08
*** zzzeek has quit IRC05:09
*** zzzeek has joined #heat05:10
*** flg_ has joined #heat05:12
*** zzzeek has quit IRC05:16
*** kiennt has quit IRC05:19
*** zzzeek has joined #heat05:22
*** zzzeek has quit IRC05:23
*** prateek has joined #heat05:25
openstackgerritRico Lin proposed openstack/heat master: Support tenacity exponential backoff retry on resource sync  https://review.openstack.org/32861305:26
openstackgerritRico Lin proposed openstack/heat master: Add RabbitMQ expiration policies  https://review.openstack.org/35704505:26
openstackgerritRico Lin proposed openstack/heat master: Add function descriptions for tempest plugin  https://review.openstack.org/44661405:30
openstackgerritRico Lin proposed openstack/heat master: Add test for basic resources as heat define test  https://review.openstack.org/45422205:31
openstackgerritRico Lin proposed openstack/heat-templates master: Add create magnum cluster resources example  https://review.openstack.org/45567305:31
openstackgerritRico Lin proposed openstack/heat-templates master: Fix undefined basestring and unicode in py35  https://review.openstack.org/45608005:32
openstackgerritRico Lin proposed openstack/heat master: Remove unrequired check None in bay resource  https://review.openstack.org/45786405:32
*** yangyape_ has joined #heat05:33
openstackgerritRico Lin proposed openstack/heat master: Add unit test for translate with no translate value  https://review.openstack.org/46040505:34
*** yangyapeng has quit IRC05:35
openstackgerritRabi Mishra proposed openstack/heat master: Add httpd documentation and sample configs  https://review.openstack.org/47834605:35
openstackgerritRabi Mishra proposed openstack/heat master: Use keystone session with heatclient in integration tests  https://review.openstack.org/43566705:35
openstackgerritRabi Mishra proposed openstack/heat master: Revert "Revert "Enable heat to use uwsgi with devstack""  https://review.openstack.org/47834505:35
*** mdnadeem has joined #heat05:37
*** zzzeek has joined #heat05:40
*** zzzeek has quit IRC05:40
*** rcernin has joined #heat05:46
*** skramaja has joined #heat05:47
openstackgerritEthan Lynn proposed openstack/heat master: Override ssl options for heatclient in RemoteStack  https://review.openstack.org/48092305:55
*** kiennt has joined #heat05:56
openstackgerritRico Lin proposed openstack/heat master: Add Heat review dashboard config files  https://review.openstack.org/45968505:57
*** jprovazn has joined #heat05:59
*** zzzeek has joined #heat06:02
*** yangyape_ has quit IRC06:10
*** yangyapeng has joined #heat06:11
*** yangyape_ has joined #heat06:13
*** SmearedBeard has joined #heat06:14
*** yangyapeng has quit IRC06:16
*** zzzeek has quit IRC06:17
*** yangyape_ has quit IRC06:30
*** yangyapeng has joined #heat06:30
*** yangyapeng has quit IRC06:32
*** yangyapeng has joined #heat06:33
*** yangyapeng has quit IRC06:33
*** yangyapeng has joined #heat06:34
*** beagles has quit IRC06:37
*** htruta has quit IRC06:38
*** partner has quit IRC06:39
*** partner has joined #heat06:40
*** htruta has joined #heat06:42
*** b3nt_pin has joined #heat06:43
*** b3nt_pin is now known as Guest964006:43
*** LanceHaig has joined #heat06:55
*** LanceHaig has joined #heat06:55
*** LanceHaig has quit IRC06:56
*** LanceHaig has joined #heat06:57
*** LanceHaig has joined #heat06:57
*** LanceHaig_ has joined #heat06:58
*** LanceHaig has quit IRC06:58
*** ramishra has quit IRC06:58
*** ramishra has joined #heat07:00
*** jtomasek has joined #heat07:04
*** shardy has joined #heat07:06
*** kiennt has quit IRC07:13
*** kiennt has joined #heat07:13
*** jtomasek has quit IRC07:18
*** SmearedBeard has quit IRC07:21
*** ioggstream has joined #heat07:30
*** gfidente has joined #heat07:41
*** ccamacho has joined #heat07:42
openstackgerritHarald Jensås proposed openstack/heat master: Exclude updated networks - match actual interface state  https://review.openstack.org/47196907:52
*** jtomasek has joined #heat07:55
*** zzzeek_ has quit IRC08:00
*** zzzeek has joined #heat08:00
*** jtomasek has quit IRC08:25
*** yangyap__ has joined #heat08:25
*** yangyapeng has quit IRC08:26
openstackgerritHarald Jensås proposed openstack/heat master: Exclude updated networks - match actual interface state  https://review.openstack.org/47196908:31
*** elynn has quit IRC08:34
*** dixiaoli has quit IRC08:45
*** dixiaoli has joined #heat08:45
*** faizy has quit IRC09:04
*** faizy has joined #heat09:05
ricolinramishra, about https://review.openstack.org/#/c/461302/7/heat/api/openstack/v1/stacks.py09:14
ricolinif we put it in engine/api.py#30 than it will not be a update only parameter:)09:14
*** yangyapeng has joined #heat09:19
*** yangyap__ has quit IRC09:22
*** gkadam_ has joined #heat09:25
*** gkadam is now known as Guest2449409:25
*** gkadam_ is now known as gkadam09:25
*** Shunli has quit IRC09:29
*** dixiaoli_ has joined #heat09:42
*** dixiaoli_ has quit IRC09:42
*** dixiaoli has quit IRC09:46
*** openstackgerrit has quit IRC09:48
*** gkadam_ has joined #heat10:03
*** gkadam has quit IRC10:05
*** gkadam__ has joined #heat10:10
*** jmlowe_ has joined #heat10:10
*** jmlowe has quit IRC10:11
*** gkadam_ has quit IRC10:12
ramishrasorry ricolin, was away. I've replied on the review. Hope that makes sense now;)10:30
ioggstreamhi @all10:31
*** kiennt has quit IRC10:38
ioggstreamI'm trying to replace a failed node in a stack, but heat doesn't do nothing11:09
*** ccamacho is now known as ccamacho|lunch11:34
*** zhurong has joined #heat11:40
*** yangyapeng has quit IRC11:44
*** zhurong has quit IRC11:46
*** openstackgerrit has joined #heat11:49
openstackgerritJames Slagle proposed openstack/heat master: Make deployment_swift_data updateable  https://review.openstack.org/48128811:49
*** rwsu has quit IRC12:05
*** rwsu has joined #heat12:12
openstackgerritHarald Jensås proposed openstack/heat master: Exclude updated networks - match actual interface state  https://review.openstack.org/47196912:13
*** ccamacho|lunch is now known as ccamacho12:14
*** shardy has quit IRC12:18
*** faizy has quit IRC12:28
*** skramaja has quit IRC12:29
*** catintheroof has joined #heat12:40
*** dprince has joined #heat12:42
*** chlong_ has quit IRC12:43
ioggstreamthis is the heat issue I got https://pastebin.com/ZLdPuuJE . now I'm try and check if markin the server as unhealthy helps heat to recreate it12:44
*** fragatina has joined #heat12:52
*** fragatina has quit IRC12:57
*** gkadam__ has quit IRC12:58
*** links has quit IRC13:06
*** mdnadeem has quit IRC13:14
*** mdnadeem has joined #heat13:14
*** zhurong has joined #heat13:23
ioggstreamI found this interview of zaneb https://www.rdoproject.org/blog/2017/03/zane-bitter-openstack-heat-openstack-ptg-atlanta/ and it worked13:28
ioggstreamthough there's no mention of "mark unhealthy" on RHOSP10 docs13:28
ioggstreamnow I'm checking if there are issues in the stack13:29
*** blomquisg_gone is now known as blomquisg13:38
openstackgerritHarald Jensås proposed openstack/heat master: Exclude updated networks - match actual interface state  https://review.openstack.org/47196913:54
*** ebarrera has joined #heat14:01
ebarreraping heat, is there any document explaining how resource-mark-unhealty works around ? can someone point it to me ? :)14:02
openstackgerritHarald Jensås proposed openstack/heat master: Exclude updated networks - match actual interface state  https://review.openstack.org/47196914:03
ebarreranot sure if when marked it triggers an update or the update should be triggered separatelly14:04
*** rubasov has quit IRC14:04
*** jcoufal has joined #heat14:07
zanebioggstream: could it be this? https://bugzilla.redhat.com/show_bug.cgi?id=143075314:07
openstackbugzilla.redhat.com bug 1430753 in openstack-heat "Heat not able to maintain loadbalancer minimum member count" [Medium,Assigned] - Assigned to zbitter14:07
zanebebarrera: trigger the update separately. all mark-unhealthy does is change the state of the resource to CHECK_FAILED14:08
*** hongbin has joined #heat14:08
*** chlong_ has joined #heat14:09
ebarrerazaneb, so the check_failed triggers the update or I should send the signal ?14:09
zanebCHECK_FAILED is just a state, like UPDATE_COMPLETE14:10
zanebif you want to update the stack, do a stack update14:10
zanebwhen you do the update, any resources in a FAILED state will get replaced14:11
zanebso mark-unhealthy puts things in a state where they will get replaced on the next update, and stack update actually does the update that replaces them14:12
*** prateek has quit IRC14:14
openstackgerritHarald Jensås proposed openstack/heat master: Exclude updated networks - match actual interface state  https://review.openstack.org/47196914:17
*** felipemonteiro_ has joined #heat14:19
*** askb has quit IRC14:21
*** felipemonteiro__ has joined #heat14:21
*** felipemonteiro_ has quit IRC14:24
*** zhurong has quit IRC14:26
*** zhurong has joined #heat14:27
*** mdnadeem has quit IRC14:31
*** zhurong has quit IRC14:31
*** mdnadeem has joined #heat14:32
*** mdnadeem has quit IRC14:32
*** dyasny has quit IRC14:33
ioggstreamebarrera: hi, that's me :D14:33
ebarreraioggstream, sorry ? :D14:34
ioggstreamebarrera: the bz ;)14:34
ioggstreamI filed it14:34
ebarreraioggstream, 01885869 ?14:34
ioggstreamebarrera: y14:34
ioggstreamebarrera: now I'm checking if everything is fine in the stack, it's a complex one14:36
ebarrera:D so you know :) An stack update will trigger a replacement on failed resources :)14:36
ioggstreamI expected stack update was able to replace it14:36
ioggstreamluckily I found zane.b interview ebarrera with the mark unhealthy stuff14:37
ioggstreamand tried it14:37
ioggstreamebarrera: I filed a tkt here too https://github.com/redhat-openstack/openshift-on-openstack/issues/369 as it still says that stack-update -x will suffice14:38
ebarrerazaneb, is one of ours :)14:38
ioggstreamzane.b is one that rocks :D14:38
ioggstreamOT: anybody at EuroPython next week?14:38
ioggstreammore clear: reading docs I thought that stack check + stack update works.14:40
*** dyasny has joined #heat14:51
*** catintheroof has quit IRC14:52
*** catintheroof has joined #heat14:53
*** catinthe_ has joined #heat14:56
*** catintheroof has quit IRC14:59
zanebioggstream: it does, but beware of this horrible bug https://bugs.launchpad.net/heat/+bug/167159215:00
openstackLaunchpad bug 1671592 in heat "Stack check causes entire ResourceGroup to be recreated" [Undecided,Fix released] - Assigned to Jason Dunsmore (jasondunsmore)15:00
zanebwhich hasn't been fixed in newton because the gate is broken15:01
ioggstreamhi zaneb, we've appliead the patch for that bug15:02
zanebok, good15:02
ioggstreamzaneb: it have been backported for us :D15:02
zanebdid I do that?15:02
ioggstreambut actually stack check + stack update didn't work15:02
ioggstreamon newton15:02
ioggstreamzaneb: I spoke with therve15:02
ioggstreamthat pointed me to the bug, then I filed a bz15:03
ioggstreamzaneb: running "mark unhealthy" is compulsory on our RHOSP10. If you need some test pls let me kno15:04
ioggstreamw and I'll do it15:04
zanebrecords show that I did indeed do that backport :D15:05
*** gfidente has quit IRC15:05
*** gfidente has joined #heat15:05
*** rcernin has quit IRC15:06
*** catintheroof has joined #heat15:06
ioggstreamzaneb: you mean the resourcegroup blasster backport one, right?15:06
zanebyeah15:06
zanebhttps://bugzilla.redhat.com/show_bug.cgi?id=145985415:06
openstackbugzilla.redhat.com bug 1459854 in openstack-heat "request backport of "Only recreate CHECK FAILED resources in ResourceGroup"" [High,Modified] - Assigned to zbitter15:06
ioggstreamso no backports for skipping mark unhealthy15:06
zanebioggstream: I'm not clear on which patch you're referring to there?15:08
ioggstreamzaneb: recap. to let stack update replace a dead node, I have to run mark unhealthy15:08
ioggstreamzaneb: is that the expected behavior or stack update should replace it without marking?15:09
zanebit's expected15:09
*** catinthe_ has quit IRC15:09
ioggstreamok, fine.15:09
zanebstack update only compares the new vs. old template, it doesn't know about what has really happened15:10
ioggstreameven stack check doesn't do the job, right?15:10
zanebstack check should do it15:11
ioggstreamnope15:11
zanebif the nova server has been deleted then stack check should put it into CHECK_FAILED15:11
ioggstreamyes15:11
ioggstreamstack-check + stack-update don't replaces15:12
ioggstreamI had to do: stack-check + mark unhealthy + stack-update15:12
zaneband the nova server was deleted already?15:13
ioggstreamyes15:13
ioggstreamfyi zaneb 0188586915:13
zanebthat's strange. stack-check + stack-update should have been sufficient15:13
ioggstreamzaneb: so the tkt still stands15:13
ioggstreamzaneb: ebarrera: is in charge of the ticket15:14
ioggstreamI'm going to do some more test on that15:14
ioggstream(eg. deleting node-0 instead of node-1 and check if the new node has the correct number15:15
*** zzzeek_ has joined #heat15:17
*** zzzeek_ has quit IRC15:17
*** jprovazn has quit IRC15:17
zanebioggstream, ebarrera: first step to debugging would be to know what state all of the resources were in after stack-check (from e.g. openstack stack resource list -n 5 or something)15:18
ebarreraioggstream, but dont delete the instance, If you delete it, it can't be in failed state15:22
ioggstreamebarrera: the issue is the following. It's an openshift node with a broken disk15:23
ioggstreamebarrera: the stack doesn't know it's in a failed state15:24
ioggstreamebarrera: I have to delete to let him know it's failed15:24
ioggstreamebarrera: attaching stack event list to the tkt15:28
ioggstreammaybe it's useful15:29
ebarrerathere is the resource-signal...15:29
ebarreraioggstream, let me see15:29
ioggstreamebarrera: 2 min, uploading in course15:29
ioggstreamebarrera: done. how can I mark a failed (but working) node with resource signal ?15:32
ebarreraioggstream, teorically ... but the syntax of the resource-signal is a bit obscure15:33
*** catinthe_ has joined #heat15:35
zanebso if something is broken at the application level like this (i.e. *you* know it is broken but openstack has no way of knowing that), the easiest course of action is to mark the node unhealthy and then do a stack update15:35
zanebyou can delete the server from nova, and then do a stack-check, and then do a stack update, but I wouldn't recommend that route15:36
*** catintheroof has quit IRC15:36
ioggstreamzaneb: I mark unhealthy and stack-update deletes the node?15:37
zanebcorrect15:37
ioggstreamI can just try it now  :D15:37
zanebwell, replaces15:38
*** ebarrera has quit IRC15:50
openstackgerritHarald Jensås proposed openstack/heat master: Exclude updated networks - match actual interface state  https://review.openstack.org/47196915:53
*** yangyapeng has joined #heat15:54
ioggstreamzaneb: mark + update almost works. I'm trying to understand why runs a DELETE after the CREATE. It could be the heat template though16:02
*** jmlowe_ has quit IRC16:05
zanebioggstream: when replacing a resource Heat creates the replacement before deleting the original16:09
*** ramishra has quit IRC16:19
*** catinthe_ has quit IRC16:19
*** catintheroof has joined #heat16:19
*** ramishra has joined #heat16:20
ioggstreamzaneb: so the issue is that the hostname is the same and that this triggers an rhel-unregister on the replaced node16:23
zaneband that's bad because the disk is borked and it can't run the unregister?16:25
ioggstreamzaneb: that's bad because unregisters the new node ;)16:25
ioggstreamzaneb: the unregister is done here https://github.com/redhat-openstack/openshift-on-openstack/blob/master/infra.yaml#L49816:27
zanebhmm, that's not how it's supposed to work (it should unregister the _old_ node)16:28
zaneboh, it's a deployment to a *different* server16:29
ioggstreamzaneb: yes, I have to find a way to detect if the server is replaced or actually dropped16:30
zanebyeah... that's an application-level problem ;)16:30
ioggstreamzaneb: is there a way to inject there the deleted node uuid?16:31
ioggstreamheat should know it, right?16:31
zanebsure, {get_resource: host}16:31
ioggstreamzaneb: so I could get the hostid from the heat metadata and check if matches or not16:32
zanebhmm, but that will change unless the SoftwareDeployment is replaced16:32
ioggstreamdoes it sound right?16:32
ioggstreamyes16:32
zanebwhich it normally is if the server it's being deployed on changes, but in this case you're deploying on a different server16:32
ioggstreamthe softwaredeployment is triggered with the old hostname, right?16:32
ioggstreamsorry, old hostid16:32
zanebthat's where this comes in https://docs.openstack.org/heat/latest/template_guide/openstack.html#OS::Heat::SoftwareConfig-prop-inputs-*-replace_on_change16:33
zanebif you use an input like ^ to ensure that the deployment is replaced when the server is replaced, then it will use the old hostid. otherwise... it shouldn't run at all actually (because the action is DELETE)16:36
*** ramishra has quit IRC16:36
zanebioggstream: are you marking just the server unhealthy, or the whole nested stack (infra.yaml)?16:36
ioggstreamonly the host16:36
ioggstreamotherwise the whole servergroup will be replaced, right?16:36
zanebyou can replace only one member of the servergroup, or only the 'host' resource within that member16:39
ioggstreamzaneb: right16:40
ioggstreamdo you have suggestions?16:40
zanebif you're only marking the 'host' resource unhealthy, then it seems to me that deployment_bastion_node_cleanup shouldn't be running during the update16:41
ioggstreamit's triggered by [host, wait_condition]16:41
ioggstreamwhy shouldn'?16:41
zanebdepends_on doesn't trigger anything, it only controls ordering16:42
zanebchanges to the properties trigger updates16:42
zanebchanges to the properties that require replacement (only16:43
zaneb(only 'server' property in this case) trigger CREATE of new resource followed by DELETE of old one16:43
zanebthis resource has actions: ['DELETE'], so it should only run in that latter case16:44
zanebyet the server isn't changing (because it's the bastion_node, not 'host')16:44
*** dyasny has quit IRC16:45
zanebso no reason afacit for deployment_bastion_node_cleanup to be replaced, and therefore no reason for the deployment to be deployed16:45
ioggstreamzaneb: I did't get it :(16:50
ioggstreamzaneb: let me try to get: I mark the node unhealthy, then stack-update creates a new node and deletes the old one, right?16:51
*** jmlowe has joined #heat16:52
zanebmore precisely, when stack-update reaches that node in the traversal of the dependency graph it will create a replacement, and then it will do a traversal of the dependency graph in reverse and when it reaches that node again it will delete the old one16:53
ioggstreamok,16:53
zanebhttps://github.com/zaneb/presentations/blob/heat-workflow/update.svg16:53
ioggstreamzaneb: on the old node deletion, how is the deployment_bastion_node_delete triggered?16:55
openstackgerritRico Lin proposed openstack/heat master: Add converge flag in stack update for observing on reality  https://review.openstack.org/46130216:55
zanebioggstream: afaict it isn't. it _would_ be triggered if the deployment_bastion_node_cleanup were also replaced16:56
zanebfor the same reason, on the reverse traversal it would find the old deployment_bastion_node_cleanup resource and delete it, which causes the software deployment to be deployed (since the action is DELETE)16:57
ioggstreamzaneb: ok, now it's clear :D17:00
ioggstreamsorry for being sloppy17:00
ioggstream:(17:00
zanebideally users should never have to think about this stuff17:00
ioggstreamso it's the same. I attach the nova uuid to the old delete resource17:01
ioggstreamand run it only if the server uuid is the same17:01
ioggstreamthe logic is symmetric to the one I proposed17:01
ioggstreambefore17:01
ioggstreamright?17:01
ioggstreamzaneb: ideally openstack would work without us. actually  there's somebody paying our wages17:02
ioggstream;)17:02
ioggstreamnow I'm updating the deployment_... resource17:02
zanebthe same as what?17:03
zaneb(the server uuid is the same) as what?17:04
ioggstreamzaneb: the server uuid is different.17:04
zanebright, but how can you compare it?17:05
ioggstreamzaneb: the logic is the same: if the server uuid attached to the deployment_delete is different from the current running host id17:05
ioggstreamin the script17:05
ioggstreamthe script will still be executed on bastion17:05
ioggstreambut will check if the target host is actually the same one17:05
zanebok, so the bastion knows what the currently running host id is already?17:05
ioggstreamor not17:05
ioggstreamyes, the script has the nova id attached17:06
ioggstreambetter, I'm trying to attach the nova id to the deployment_cleanup. it's done at creation17:06
ioggstreamright?17:06
zanebsort-of. but no software deployment happens at creation17:09
zanebbecause the only action is DELETE17:09
*** jmlowe has quit IRC17:10
ioggstreamzaneb: not the deployment, the SoftwareConfig17:10
ioggstreamthe uuid is stored there, right?17:10
ioggstreamone per node17:10
ioggstreamiiuc17:10
*** ccamacho has quit IRC17:11
*** ccamacho has joined #heat17:11
zanebhttps://github.com/redhat-openstack/openshift-on-openstack/blob/master/infra.yaml#L483 <- that's the Software Config there?17:12
zanebI don't see the host referenced in that at all17:12
ioggstreamzaneb: I added it17:12
ioggstream;)17:12
ioggstreamand stackupdate17:12
ioggstreamso now all nodes have it17:12
ioggstreamcan I preview that ?17:12
zanebok, I wouldn't have done that ;)17:12
ioggstreamzaneb: ???17:13
ioggstreamis that wrong?17:13
*** fragatina has joined #heat17:13
*** gmoro_ has joined #heat17:14
ioggstreamok, I can preview add ing in stack output17:14
zanebwell, any change to a SoftwareConfig causes it to be replaced. so it gets a new ID. which will cause the deployment to get replaced. which means the delete deployment really will run, when otherwise it shouldn't have17:14
zanebof course you are saying that it was running anyway, but I don't know why so it's hard to give good advice17:15
*** gmoro has quit IRC17:15
ioggstreamzaneb: no problem, I'm playing with anotehr stack17:17
zanebwhat I'm saying is that if you reference the nova ID in the sw *config*, then you'll end up running deployment_bastion_node_cleanup whenever the server is replaced17:19
openstackgerritRico Lin proposed openstack/python-heatclient master: Add `--converge` argument for osc stack update  https://review.openstack.org/46130517:19
ioggstreamzaneb: it's already that way17:19
zanebright, and I can't explain why17:19
ioggstreamzaneb: if you replace the server you should unregister from rhn17:20
ioggstreamand register the new one17:20
zanebagree, but does deployment_bastion_node_cleanup do that?17:20
ioggstreamyes17:20
ioggstreamunregister from rhn17:20
zanebthat's... surprising17:20
zanebI'd have expected a deployment on the node that is being deleted to do that, rather than one on the bastion node17:21
ioggstreamthe problem is, as the old and new server have the same hostname, the old cleanup connects to the new one17:21
ioggstreamand unregister17:21
ioggstreamand run ansible to remove it from openshfit17:21
ioggstreamcluster17:21
ioggstreamthere's ansible taking care of node removal17:22
zaneboh, ok, so you're running everything through ansible on the bastion node17:22
zanebthat makes sense17:22
ioggstreamzaneb: it's how the templates are made17:23
ioggstreamI didn't wrote it, but I think they are quite clever17:23
zanebyeah, I wasn't familiar with the architecture17:23
ioggstreamI'm just modifying them and filing fixing bugs17:23
zanebit makes sense given that there is an ansible installer, but there will be impedance mismatches like this17:24
ioggstreamyes, I'm fixing those corner cases17:24
zanebso yeah, hostnames are not a good way of uniquely identifying a server17:24
zanebIP address would be better17:24
ioggstreamopenstack/dhcp17:24
ioggstreamthat would be an issue with openshift17:25
ioggstreamkube idendifies resource via nova hostnames17:25
ioggstreamto be dhcp resilient17:25
*** jmlowe has joined #heat17:26
*** links has joined #heat17:26
zanebthen you should let heat choose the hostnames :)17:26
zanebkube isn't the issue here though, it's ansible right?17:27
*** LanceHaig has joined #heat17:28
*** LanceHaig_ has quit IRC17:28
ioggstreamzaneb: it's the script. It should only be run if the actual node uuid matches the resource one17:29
*** links has quit IRC17:29
zanebwell, I'd think that you'd still want to deregister the old node from RHN even if it has been replaced by a new one, no?17:30
zanebbut using the hostname will give you the wrong one17:30
ioggstreamzaneb: they have the same hostname17:30
ioggstreamiiuc rhn will just understand that and deregister17:31
ioggstreamon rhn I can see only one active node with the given hostname17:31
*** links has joined #heat17:31
zanebright, so use the IP address instead to find the one for ansible to deregister17:31
zanebah, ok. I'm not sure how RHN handles it tbh17:32
ioggstreamstill I have to attach the ipaddress to the softwareconfig17:32
ioggstreamzaneb: if I rhn two nodes with the same ip and one can't contact rhn it becomes "red"17:32
ioggstream:D17:32
ioggstreamcan't cheat on rhn :D you need a proxy17:33
*** links has quit IRC17:36
zanebyou'd add an input to the software config but pass the actual IP address value to the deployment17:38
*** fragatina has quit IRC17:42
*** fragatina has joined #heat17:43
ioggstreamzaneb: yes, that's fine too. replacing softwareconfig shouldn't trigger softwaredeployment replacement iiuc17:43
*** gfidente has quit IRC17:43
ioggstreamhttps://docs.openstack.org/heat/latest/template_guide/openstack.html#OS::Heat::SoftwareDeployment-prop-config17:44
*** bnemec is now known as beekneemech17:45
zaneboh, you're right17:45
zanebI totally misremembered that17:45
ioggstreamzaneb: np ;) you were great to let me understand all of that17:46
ioggstreamworking on that templates I learnt a lot thx to you, therve and all the great heat staff17:46
*** fragatina has quit IRC17:47
ioggstreamI'm going to EP next week, hope to meet some of you17:47
*** fragatina has joined #heat17:51
*** fragatina has quit IRC17:51
zanebif therve is going he didn't mention it17:51
zanebso you will probably be disappointed17:52
*** fragatina has joined #heat17:52
openstackgerritRico Lin proposed openstack/heat master: Allow only validate external resource template  https://review.openstack.org/48171318:01
openstackgerritRico Lin proposed openstack/heat-templates master: [WIP]Add example for using external resources  https://review.openstack.org/41759418:04
openstackgerritRico Lin proposed openstack/heat-templates master: Add example for using external resources  https://review.openstack.org/41759418:04
*** bit_lySLH2uSZHed has joined #heat18:07
*** bit_lySLH2uSZHed has left #heat18:08
ioggstreamzaneb: therve is not going ;)18:09
ioggstreamzaneb: gotta go now. for now thx1e+318:09
ioggstreamreally18:09
zanebnp18:09
*** anton has quit IRC18:10
*** dyasny has joined #heat18:11
*** anton has joined #heat18:12
*** ioggstream has quit IRC18:14
ricolinzaneb, I reply your comment in https://review.openstack.org/#/c/464032/2 :)18:16
openstackgerritZane Bitter proposed openstack/heat master: Add a functional test for nested get_attr functions  https://review.openstack.org/48082018:17
openstackgerritZane Bitter proposed openstack/heat master: Cache dep_attrs for all resources in definitions  https://review.openstack.org/47704618:17
openstackgerritZane Bitter proposed openstack/heat master: Implement all_dep_attrs() efficiently for get_attr  https://review.openstack.org/47704718:17
openstackgerritZane Bitter proposed openstack/heat master: Fix legacy updates with nested dep_attr functions  https://review.openstack.org/48081918:17
openstackgerritZane Bitter proposed openstack/heat master: Allow StackDefinition to calculate explicit dependencies  https://review.openstack.org/48171918:17
openstackgerritZane Bitter proposed openstack/heat master: Add a way to get the resources depended on by an output  https://review.openstack.org/48172018:17
zanebricolin: ok, +218:17
ricolinzaneb, thx18:19
ricolinzaneb, Also a very small fix https://review.openstack.org/#/c/481713/18:21
ricolinzaneb, see you tomorrow!18:22
*** ricolin has quit IRC18:22
*** chlong_ has quit IRC18:40
*** ayoung has quit IRC19:19
*** ioggstream has joined #heat19:37
*** anton has quit IRC19:44
*** ioggstream has quit IRC19:46
*** anton has joined #heat19:48
*** anton has quit IRC19:53
*** anton has joined #heat19:53
*** ayoung has joined #heat19:55
*** catinthe_ has joined #heat19:56
*** anton has quit IRC19:58
*** anton has joined #heat19:58
*** catintheroof has quit IRC19:59
*** jmlowe has quit IRC20:00
*** ioggstream has joined #heat20:15
*** catinthe_ has quit IRC20:39
*** dprince has quit IRC20:49
openstackgerritZane Bitter proposed openstack/heat master: Add a functional test for nested get_attr functions  https://review.openstack.org/48082020:57
openstackgerritZane Bitter proposed openstack/heat master: Log unhandled exceptions in worker  https://review.openstack.org/48175720:57
*** ioggstream has quit IRC21:10
*** catintheroof has joined #heat21:33
*** iurygregory has quit IRC21:41
*** iurygregory has joined #heat21:44
*** openstackgerrit has quit IRC21:47
*** openstackstatus has quit IRC21:56
*** openstack has joined #heat22:01
*** felipemonteiro__ has quit IRC22:07
*** openstackgerrit has joined #heat22:08
openstackgerritZane Bitter proposed openstack/heat master: Log unhandled exceptions in worker  https://review.openstack.org/48175722:08
*** zzzeek_ has joined #heat22:08
*** zzzeek_ has quit IRC22:09
*** zzzeek_ has joined #heat22:14
*** zzzeek_ has quit IRC22:14
*** zzzeek_ has joined #heat22:14
*** zzzeek_ has quit IRC22:15
*** zzzeek_ has joined #heat22:19
*** askb has joined #heat22:21
*** zzzeek_ has quit IRC22:24
*** zzzeek_ has joined #heat22:29
*** zzzeek_ has quit IRC22:30
*** zzzeek_ has joined #heat22:31
*** zzzeek- has joined #heat22:33
*** zzzeek_ has quit IRC22:35
*** zzzeek- has quit IRC22:41
*** catintheroof has quit IRC22:42
*** flg_ has quit IRC22:47
*** askb has quit IRC22:49
openstackgerritZane Bitter proposed openstack/heat master: Fix ResourceActionNotSupported errors in log  https://review.openstack.org/48177522:54
*** jcoufal has quit IRC22:57
*** jmlowe has joined #heat23:07
*** zzzeek_ has joined #heat23:17
*** zzzeek_ has quit IRC23:21
*** zzzeek_ has joined #heat23:21
*** dbecker has quit IRC23:28
*** jmlowe has quit IRC23:48
*** jmlowe has joined #heat23:51

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