-
jbk
hrm.. i know it's not officially supported, and it's been a while since i've done it (so might be forgetting something), but if I want to reprovision a instance, I should just be able to update the config and vmadm reprovision UUID -f cfg.json, right? it's saying that only lx and docker zone types support it
-
jbk
which seems wrong (IIRC, reprovision was used internally to upgrade instances which would be native zones)
-
gemelen
as far as I learnt, there is no limitations to lx/docker brand, so your idea should be correct
-
jbk
oh hrm.. i think the json had more bits in it than needed...
-
jbk
it's been 3ish years since I last did this, so my memory is fuzzy :)
-
danmcd
I've not used "vmadm reprovision" but intuitively it should do that (per gemelen).
-
gemelen
jbk:
TritonDataCenter/smartos-live #1132 , another piece is in vmadm.js
-
danmcd
Yeah... I'm still deciding if we WANT to document these. I'm leaning toward "yes, but with BIG FLASHING LIGHTS SAYING HOW THIS IS UNSUPPORTED" specifically for reasons like this.
-
jbk
yeah, i know it's unsupported (at least outside of Triton using it internally)
-
gemelen
no problem from my side with that
-
jbk
i do wish though that wiki page from joshw on it was public
-
jbk
it was really useful in the past...
-
jbk
basically i'm updating the base lts image on all my zones to 24.4.1 in anticipation of the upcoming release
-
danmcd
jbk: DM me which one... it might be now, or able to be made, public in the post-Joyent order.
-
jbk
i don't recall the url
-
jbk
but it basically had the steps reprovision did to help you figure out how to fix or backout if it failed mid-way
-
danmcd
jbk -> I do this in-zone. (smartos-build{,-2,-3} have been around since Joyent. :)
-
danmcd
Ahhh.
-
danmcd
`zfs rollback...` and try again for me. :)
-
jbk
i want to say it was on mo
-
jbk
but not 100% sure
-
gemelen
I remember there was a step by step walkthrough on what happens during that action
-
gemelen
it's in sources
-
gemelen
-
jbk
if i ever get free time, i need to finish writing the zfs tests for zfs alias so it can be RTIed... then could see about trying to add support.. i think it could still be done.. since it wouldn't impact existing instances, and you could control it for a given image if there's things hard coded to look for /zones/<UUID>/data
-
danmcd
jbk... I did some changes for BHYVE zones to allow them to migrate easier (not foolproof)...
-
danmcd
fenix OS-8518
-
fenix
OS-8518: Receiving a BHYVE VM fails due to premature ZFS dataset creation (Resolved)
-
fenix
-
neuroserve
jbk : I only remember this one:
gist.github.com/trentm/18520cff2b3634094d020dc425da6a19 <- "recovering from a failed reprovision"
-
jbk
yeah... that's i think the same one as the internal doc
-
jbk
i thought joshw had written it, but maybe it was trent