Friday, 2020-11-20

*** tosky has quit IRC00:18
*** k_mouza has joined #heat02:05
*** k_mouza has quit IRC02:09
*** rcernin has quit IRC03:22
*** rcernin has joined #heat03:23
*** gmoro_ has quit IRC04:07
*** ayoung has quit IRC04:32
*** tkajinam has quit IRC04:40
*** tkajinam has joined #heat04:40
*** zzzeek has quit IRC05:01
*** zzzeek has joined #heat05:07
*** zzzeek has quit IRC05:37
*** zzzeek has joined #heat05:39
*** zzzeek has quit IRC05:47
*** zzzeek has joined #heat05:51
*** zzzeek has quit IRC05:55
*** zzzeek has joined #heat05:58
*** zzzeek has quit IRC06:12
*** zzzeek has joined #heat06:14
*** zzzeek has quit IRC06:35
*** k_mouza has joined #heat06:36
*** zzzeek has joined #heat06:38
*** k_mouza has quit IRC06:41
*** rcernin has quit IRC06:55
*** rcernin has joined #heat07:04
*** zzzeek has quit IRC07:51
*** rcernin has quit IRC07:53
*** zzzeek has joined #heat07:53
*** zzzeek has quit IRC08:17
*** zzzeek has joined #heat08:18
*** zzzeek has quit IRC09:02
*** zzzeek has joined #heat09:05
*** gfidente|afk is now known as gfidente09:14
*** rcernin has joined #heat09:33
*** k_mouza has joined #heat09:37
*** rcernin has quit IRC09:49
*** tosky has joined #heat09:57
*** openstackgerrit has quit IRC10:25
*** k_mouza has quit IRC10:43
*** k_mouza has joined #heat10:44
*** rcernin has joined #heat10:51
*** rcernin has quit IRC10:56
*** k_mouza has quit IRC11:41
*** gmoro_ has joined #heat11:42
*** k_mouza has joined #heat11:43
*** k_mouza has quit IRC11:45
*** k_mouza has joined #heat11:45
*** k_mouza has quit IRC12:11
*** zzzeek has quit IRC12:22
*** zzzeek has joined #heat12:24
*** k_mouza has joined #heat12:40
*** happyhemant has joined #heat12:47
-openstackstatus- NOTICE: The Gerrit service at review.opendev.org will be offline starting at 15:00 UTC (roughly two hours from now) for a weekend upgrade maintenance: http://lists.opendev.org/pipermail/service-announce/2020-October/000012.html13:01
*** zzzeek has quit IRC13:13
*** zzzeek has joined #heat13:17
*** zzzeek has quit IRC13:56
*** zzzeek has joined #heat13:57
-openstackstatus- NOTICE: The Gerrit service at review.opendev.org will be offline starting at 15:00 UTC (roughly one hour from now) for a weekend upgrade maintenance: http://lists.opendev.org/pipermail/service-announce/2020-October/000012.html13:59
*** k_mouza has quit IRC14:14
*** zzzeek has quit IRC14:17
*** zzzeek has joined #heat14:17
*** zzzeek has quit IRC14:40
*** zzzeek has joined #heat14:43
*** NafH has joined #heat14:44
-openstackstatus- NOTICE: The Gerrit service at review.opendev.org is offline for a weekend upgrade maintenance, updates will be provided once it's available again: http://lists.opendev.org/pipermail/service-announce/2020-October/000012.html15:02
*** k_mouza has joined #heat15:23
*** jobewan has quit IRC15:25
*** k_mouza has quit IRC15:27
*** k_mouza_ has joined #heat15:27
cloudnullzaneb you around today by chance?15:40
zanebcloudnull: o/15:40
cloudnullapetrich dpeacock and I were looking into https://bugzilla.redhat.com/show_bug.cgi?id=1802602 and think we could do with some historical context15:40
openstackbugzilla.redhat.com bug 1802602 in openstack-heat "[RFE] Add REBUILD option to user_data_update_policy property of OS::Nova::Server" [Unspecified,On_dev] - Assigned to apetrich15:40
cloudnullidk if you are up to it, or anyone here in the heat channel - but we're all chatting on meet - https://meet.google.com/ocp-fyyb-hdz - happy to have you (or anyone from the community) join us15:41
apetrichin short adding a REPLACE option here You16:1915:43
apetrichhttps://github.com/openstack/heat/blob/master/heat/engine/resources/openstack/nova/server.py#L54815:43
apetrichbut that is only used in this method https://meet.google.com/linkredirect?authuser=1&dest=https%3A%2F%2Fgithub.com%2Fopenstack%2Fheat%2Fblob%2Fmaster%2Fheat%2Fengine%2Fresources%2Fopenstack%2Fnova%2Fserver.py%23L134515:43
apetrichI mean here https://github.com/openstack/heat/blob/master/heat/engine/resources/openstack/nova/server.py#L134515:43
apetrichthat needs_replace_with_prop_diff I don't see it being used in anywhere in openstack https://codesearch.opendev.org/?q=needs_replace_with_prop_diff&i=nope&files=&excludeFiles=&repos=15:44
apetrichno idea on what does it do or that is some leftover code15:45
apetrichSo I don't see if adding REPLACE there does anything15:46
apetrichlast time that was modified was when it was added 5 years ago and that patch does the same that I plan to do https://github.com/openstack/heat/commit/d4188127a14686f6d9844180b977cf5fa05aa02415:47
*** ekultails has joined #heat16:01
*** happyhemant has quit IRC16:27
*** k_mouza_ has quit IRC16:40
*** k_mouza has joined #heat16:51
*** tosky has quit IRC16:56
*** gfidente has quit IRC17:11
NobodyCamGood Morning heat folks, I ran a stack cancel but forgot --no-roleback, is there a way to cancel the rollback?17:31
NobodyCams/role/roll/17:32
*** k_mouza has quit IRC17:32
*** k_mouza has joined #heat17:38
*** k_mouza has quit IRC17:39
*** k_mouza has joined #heat17:45
*** tosky has joined #heat18:10
*** k_mouza has quit IRC18:20
*** k_mouza has joined #heat18:23
*** zzzeek has quit IRC18:52
*** zzzeek has joined #heat18:53
*** zzzeek has quit IRC19:00
*** zzzeek has joined #heat19:03
*** k_mouza has quit IRC19:12
*** tosky has quit IRC19:13
*** ekultails has quit IRC19:53
*** ekultails has joined #heat20:09
*** ekultails has quit IRC20:26
*** ekultails has joined #heat20:41
zanebNobodyCam: no20:55
zanebcloudnull: sorry, got distracted and missed that whole conversation20:58
zanebapetrich: we do a rebuild e.g. when the image changes https://github.com/openstack/heat/blob/master/heat/engine/resources/openstack/nova/server.py#L1275-L1296 so you would need to do the same when the user data changes20:59
zanebcurrently the handle_update() code assumes that the user data update policy is always IGNORE (if it were REPLACE then handle_update() would never be called when the user data changes due to the code you linked in needs_replace_with_prop_diff())21:01
*** k_mouza has joined #heat21:13
*** k_mouza has quit IRC21:18
NobodyCamzaneb: Thank you :)21:28
zanebapetrich: actually, I'm confused about your question. REPLACE has always been available, and is still the default. it's checked in needs_replace_with_prop_diff(), which you can see being called in the first result of your code search. The bug is about implementing a REBUILD option.21:34
apetrichzaneb, yeah that is the only place called but what I'm unsure is where the rebuild does different21:37
apetrichsorry that I formulated it wrongly  I condensed a bit of discussion in a few lines21:38
zanebfor a rebuild you'll need to implement code to handle it in handle_update(), similar to what I linked above21:38
apetrichbut the clue in https://github.com/openstack/heat/blob/master/heat/engine/resources/openstack/nova/server.py#L1275-L1296 is what I was looking for and not understanding21:39
apetrichthank you zaneb21:39
zanebto be clear, rebuild is a thing you call in the Nova API. replace is a thing that happens entirely in Heat (we just create a new resource instead of trying to update the existing one)21:40
apetrichyeah. the rebuild needs some wrangling that is already implemented in nova from what I understand from the bz21:41
apetrichsorry.21:41
zanebrebuilding wasn't originally a thing in Nova, which is why it didn't always work like this21:41
zanebrebuild is effectively like a resize without changing the size21:42
zanebbut it's been there for years now. there is a non-trivial amount of orchestration handling required for it though, as you can see from the image update code21:43
apetrichIt is very late here. yeah21:43
zanebnp, sorry for the delayed response21:44
apetrichNo worries. It helped me a lot!21:44
*** NafH has quit IRC23:07
*** ekultails has quit IRC23:35

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!