-
Notifications
You must be signed in to change notification settings - Fork 403
Conversation
This might be better addressed by something like #143 which I've been meaning to validate and include in a release. |
From what I can tell #143 fixes another problem entirely, it's fixing some reboot/poweroff problem when running the |
As discussed with @zimme in the rancher-users #k3os slack channel my current hold up with this is an as of yet not validated hunch that the current behavior is depended upon by the AWS/GCP packer builds. Working on validating this Soon ™️ |
4d64da3
to
adfea69
Compare
I've tested the AWS packer thing now and it seems to still work. Running I don't know if it's a problem that the installed k3os system probably boots during the packer build stage so the AMI is generateed from a running k3os instance? In the case before this change I guess the installed k3os instance during the build stage is never started and the AMI is generated from a k3os system that has never been started. |
So I just checked this again and it seems my suspicions were correct. Looking at the output of
As you can see there are 2 nodes present, the one that's not ready is the master node that was configured during the first boot while building the AMI so we need to find a way to make the reboot on takeover install configurable in all stages of the takeover install or find another way of building an AMI. |
adfea69
to
4c10d13
Compare
The takeover install will always reboot once to install the system. This change will make it possible to not reboot into the installed system but poweroff instead. This is necessary for being able to create AWS AMIs from a takeover install.
4c10d13
to
e44b448
Compare
Fixed the check for I don't know if any other packer config needs updating too? |
Is there any reason not to merge this and #143? |
I would also like to see this merged. |
Just a note on this. There might be updates to packer configs to add |
Thank you. Working now. |
The current behaviour to poweroff during takeover installs is unexpected. This PR changes that behaviour to reboot instead.