Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
7.0
-
None
Description
Xenserver cannot clear suspend-SR-uuid parameter of VM.
xe vm-param-list uuid=a3279921-86fb-8e6c-24b1-4cf383e57782 | grep suspend-SR-uuid
suspend-SR-uuid ( RW): 1a1bbae2-3d8d-735c-74b3-1e6f2190084e
xe vm-param-clear uuid=a3279921-86fb-8e6c-24b1-4cf383e57782 param-name=suspend-SR-uuid
Error: Cannot clear this parameter
Log:
Feb 22 08:52:55 xs1 xapi: [ info|XS1|353198 UNIX /var/lib/xcp/xapi||cli] xe vm-param-clear uuid=a3279921-86fb-8e6c-24b1-4cf383e57782 param-name=suspend-SR-uuid username=root password=(omitted)
Feb 22 08:52:55 xs1 xapi: [ info|XS1|353198 UNIX /var/lib/xcp/xapi|session.login_with_password D:96f3e7d72085|xapi] Session.create trackid=a3ba0676263018781b25bc2c531628b2 pool=false uname=root originator=cli is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49
Feb 22 08:52:55 xs1 xapi: [debug|XS1|353198 UNIX /var/lib/xcp/xapi|session.login_with_password D:96f3e7d72085|mscgen] xapi=>xapi [label="pool.get_all"];
Feb 22 08:52:55 xs1 xapi: [debug|XS1|353199 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:pool.get_all D:cb392900dbf0 created by task D:96f3e7d72085
Feb 22 08:52:55 xs1 xapi: [error|XS1|353198 UNIX /var/lib/xcp/xapi|dispatch:SR.get_by_uuid D:86cd0c8b4635|backtrace] SR.get_by_uuid D:4be35e7a8c94 failed with exception Db_exn.Read_missing_uuid("SR", "", "")
Feb 22 08:52:55 xs1 xapi: [error|XS1|353198 UNIX /var/lib/xcp/xapi|dispatch:SR.get_by_uuid D:86cd0c8b4635|backtrace] Raised Db_exn.Read_missing_uuid("SR", "", "")
Feb 22 08:52:55 xs1 xapi: [error|XS1|353198 UNIX /var/lib/xcp/xapi|dispatch:SR.get_by_uuid D:86cd0c8b4635|backtrace] 1/9 xapi @ XS1 Raised at file db_cache_impl.ml, line 213
Feb 22 08:52:55 xs1 xapi: [error|XS1|353198 UNIX /var/lib/xcp/xapi|dispatch:SR.get_by_uuid D:86cd0c8b4635|backtrace] 2/9 xapi @ XS1 Called from file db_actions.ml, line 13522
Feb 22 08:52:55 xs1 xapi: [error|XS1|353198 UNIX /var/lib/xcp/xapi|dispatch:SR.get_by_uuid D:86cd0c8b4635|backtrace] 3/9 xapi @ XS1 Called from file rbac.ml, line 227
Feb 22 08:52:55 xs1 xapi: [error|XS1|353198 UNIX /var/lib/xcp/xapi|dispatch:SR.get_by_uuid D:86cd0c8b4635|backtrace] 4/9 xapi @ XS1 Called from file rbac.ml, line 236
Feb 22 08:52:55 xs1 xapi: [error|XS1|353198 UNIX /var/lib/xcp/xapi|dispatch:SR.get_by_uuid D:86cd0c8b4635|backtrace] 5/9 xapi @ XS1 Called from file server_helpers.ml, line 72
Feb 22 08:52:55 xs1 xapi: [error|XS1|353198 UNIX /var/lib/xcp/xapi|dispatch:SR.get_by_uuid D:86cd0c8b4635|backtrace] 6/9 xapi @ XS1 Called from file server_helpers.ml, line 90
Feb 22 08:52:55 xs1 xapi: [error|XS1|353198 UNIX /var/lib/xcp/xapi|dispatch:SR.get_by_uuid D:86cd0c8b4635|backtrace] 7/9 xapi @ XS1 Called from file lib/pervasiveext.ml, line 22
Feb 22 08:52:55 xs1 xapi: [error|XS1|353198 UNIX /var/lib/xcp/xapi|dispatch:SR.get_by_uuid D:86cd0c8b4635|backtrace] 8/9 xapi @ XS1 Called from file lib/pervasiveext.ml, line 26
Feb 22 08:52:55 xs1 xapi: [error|XS1|353198 UNIX /var/lib/xcp/xapi|dispatch:SR.get_by_uuid D:86cd0c8b4635|backtrace] 9/9 xapi @ XS1 Called from file lib/backtrace.ml, line 176
Feb 22 08:52:55 xs1 xapi: [error|XS1|353198 UNIX /var/lib/xcp/xapi|dispatch:SR.get_by_uuid D:86cd0c8b4635|backtrace]
Feb 22 08:52:55 xs1 xapi: [ info|XS1|353198 UNIX /var/lib/xcp/xapi|session.logout D:05187ae28e23|xapi] Session.destroy trackid=a3ba0676263018781b25bc2c531628b2
Feb 22 08:52:55 xs1 xapi: [error|XS1|353198 UNIX /var/lib/xcp/xapi||cli] Converting exception INTERNAL_ERROR: [ Cli_util.Cli_failure("Cannot clear this parameter") ] into a CLI response
Feb 22 08:52:55 xs1 xapi: [error|XS1|353198 UNIX /var/lib/xcp/xapi||backtrace] Raised Cli_util.Cli_failure("Cannot clear this parameter")
Feb 22 08:52:55 xs1 xapi: [error|XS1|353198 UNIX /var/lib/xcp/xapi||backtrace] 1/1 xapi @ XS1 Raised at file (Thread 353198 has no backtrace table. Was with_backtraces called?, line 0
Feb 22 08:52:55 xs1 xapi: [error|XS1|353198 UNIX /var/lib/xcp/xapi||backtrace]