Skip to content

Commit b59c250

Browse files
committed
Switch reboot default
In light of recent issues reported with soft reboot we are chaning the reboot method to a full reboot. This is intended to reduce the number of requests we receive to investigate boot issues.
1 parent 3b5507e commit b59c250

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

doc/adoc/user_guide.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -177,14 +177,13 @@ started. However, `kexec` is not supported and does not function in certain
177177
conditions. For example, the `run_migration` utility does not work in Xen
178178
based environments or when kernel keys change.
179179
+
180-
If kexec causes a kernel panic this can cause the system to hang and the
181-
distribution migration to fail. In that case refer to this TID:
182-
https://www.suse.com/support/kb/doc/?id=000019733
183-
And set the "soft_reboot" customization option:
180+
By default this method is disabled. Enabling soft reboot behavior via kexec
181+
requires an explicit configuration change by setting the "soft_reboot"
182+
customization option:
184183
+
185184
[listing]
186185
----
187-
echo "soft_reboot: false" >> /etc/sle-migration-service.yml
186+
echo "soft_reboot: true" >> /etc/sle-migration-service.yml
188187
----
189188

190189
Option 2 - Trigger via reboot::
@@ -303,9 +302,10 @@ debug: true|false
303302
----
304303

305304
Configure Reboot Method::
306-
By default, the migration system uses `kexec` to boot back into the host
307-
system once migration is complete. If this is in any way problematic,
308-
a regular `reboot` can be requested by setting `soft_reboot: false`.
305+
By default, the migration system uses a full reboot to boot back into the
306+
host system once migration is complete. It is possible to configure the
307+
migration system to use `kexec`, i.e. use a soft reboot by setting
308+
`soft_reboot: true` in the configuration. A soft reboot may trigger issues.
309309
+
310310
[listing]
311311
----

suse_migration_services/migration_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def is_zypper_migration_plugin_requested(self):
180180
return self.config_data.get('use_zypper_migration', True)
181181

182182
def is_soft_reboot_requested(self):
183-
return self.config_data.get('soft_reboot', True)
183+
return self.config_data.get('soft_reboot', False)
184184

185185
def is_host_independent_initd_requested(self):
186186
return self.config_data.get('build_host_independent_initrd', False)

0 commit comments

Comments
 (0)