Error activating BE

Description

Summary: After updating from RC 1-1 to RC 1-2, I was unable to roll back.

Steps: Environment was CORE 12.0-U3 that had been upgraded to SCALE RC 1-1 and then updated to RC 1-2. I chose to activate the 1-1 boot environment and got an error message "[EFAULT] Failed to activate BE".

What should have happened: I should have been able to activate the previous boot environment and sucessfully reboot to the old version.

What actually happened: In addition to what was stated above, I have attached a screen shot and debug file. What was in the details of the dialog box is as follows...

Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/plugins/bootenv.py", line 169, in activate subprocess.run([self.BE_TOOL, 'activate', oid], capture_output=True, text=True, check=True) File "/usr/lib/python3.9/subprocess.py", line 528, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['zectl', 'activate', '22.02-RC.1-1']' returned non-zero exit status 1. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/main.py", line 151, in call_method result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self, File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1278, in _call return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1182, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs)) File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1267, in nf return func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1137, in nf res = f(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/bootenv.py", line 171, in activate raise CallError(f'Failed to activate BE: {cpe.stdout.strip()}') middlewared.service_exception.CallError: [EFAULT] Failed to activate BE:

Version: Was 22.02-RC.1-1, is 22.02-RC.1-2.

Problem/Justification

None

Impact

None

Activity

Show:

Muhammad Rehan November 30, 2021 at 10:11 AM

This has been taken care of already.

Closing as dupe of https://jira.ixsystems.com/browse/NAS-113093. Fix should be in next release

Thanks!

Sal Salson November 24, 2021 at 6:04 AM

this was supposed be called "error activating boot environment".

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Impact

High

Time remaining

0m

Components

Fix versions

Affects versions

Priority

Katalon Platform

Created November 23, 2021 at 11:28 PM
Updated July 6, 2022 at 8:57 PM
Resolved November 30, 2021 at 10:13 AM