XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Migrate disk to linstor fails

    Scheduled Pinned Locked Moved XOSTOR
    1 Posts 1 Posters 392 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      Jonathon
      last edited by

      Attempting to migrate an existing disk into linstor fails. The following error is printed after the task is complete.

      ce569954-b06d-45d4-badc-83a931f4c1f5-image.png

      Linstor version

      [15:55 ovbh-pprod-xen10 ~]# linstor controller version
      linstor controller 1.24.2; GIT-hash: adb19ca96a07039401023410c1ea116f09929295
      [15:55 ovbh-pprod-xen10 ~]# linstor --version
      linstor-client 1.19.0; GIT-hash: 500970a65717de3eeba002ee32ceb668ebd654b1
      

      Error:

      vdi.migrate
      {
        "id": "5ba9251a-42ef-489e-bcdb-6a0b21bd8e44",
        "sr_id": "a8b860a9-5246-0dd2-8b7f-4806604f219a"
      }
      {
        "code": "SR_BACKEND_FAILURE_202",
        "params": [
          "",
          "General backend error [opterr=Failed to refresh VDI 6733dbf5-6ff9-4ca9-9986-e2f0173b5fbc]",
          ""
        ],
        "task": {
          "uuid": "75204992-0f80-189e-4679-7ed709398371",
          "name_label": "Async.VDI.pool_migrate",
          "name_description": "",
          "allowed_operations": [],
          "current_operations": {},
          "created": "20240305T20:25:27Z",
          "finished": "20240305T20:31:44Z",
          "status": "failure",
          "resident_on": "OpaqueRef:b5e3bf1f-2c0e-4272-85f5-7cde69a8d98e",
          "progress": 1,
          "type": "<none/>",
          "result": "",
          "error_info": [
            "SR_BACKEND_FAILURE_202",
            "",
            "General backend error [opterr=Failed to refresh VDI 6733dbf5-6ff9-4ca9-9986-e2f0173b5fbc]",
            ""
          ],
          "other_config": {},
          "subtask_of": "OpaqueRef:NULL",
          "subtasks": [],
          "backtrace": "(((process xapi)(filename ocaml/xapi-client/client.ml)(line 7))((process xapi)(filename ocaml/xapi-client/client.ml)(line 19))((process xapi)(filename ocaml/xapi-client/client.ml)(line 12359))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 35))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 134))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 35))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/xapi/rbac.ml)(line 205))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 95)))"
        },
        "message": "SR_BACKEND_FAILURE_202(, General backend error [opterr=Failed to refresh VDI 6733dbf5-6ff9-4ca9-9986-e2f0173b5fbc], )",
        "name": "XapiError",
        "stack": "XapiError: SR_BACKEND_FAILURE_202(, General backend error [opterr=Failed to refresh VDI 6733dbf5-6ff9-4ca9-9986-e2f0173b5fbc], )
          at Function.wrap (file:///opt/xen-orchestra/packages/xen-api/_XapiError.mjs:16:12)
          at default (file:///opt/xen-orchestra/packages/xen-api/_getTaskResult.mjs:11:29)
          at Xapi._addRecordToCache (file:///opt/xen-orchestra/packages/xen-api/index.mjs:1006:24)
          at file:///opt/xen-orchestra/packages/xen-api/index.mjs:1040:14
          at Array.forEach (<anonymous>)
          at Xapi._processEvents (file:///opt/xen-orchestra/packages/xen-api/index.mjs:1030:12)
          at Xapi._watchEvents (file:///opt/xen-orchestra/packages/xen-api/index.mjs:1203:14)
          at runNextTicks (node:internal/process/task_queues:60:5)
          at processImmediate (node:internal/timers:447:9)
          at process.callbackTrampoline (node:internal/async_hooks:128:17)"
      }
      

      It says I am three commits behind, but I just checked the update.

        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      100  6477  100  6477    0     0  72775      0 --:--:-- --:--:-- --:--:-- 73602
         installed : v18.19.1 (with npm 10.2.4)
      Stopping xo-server...
      Warning: apt-key output should not be parsed (stdout is not a terminal)
      Checking for Yarn package...
      Checking for Yarn update...
      Reading package lists...
      Building dependency tree...
      Reading state information...
      yarn is already the newest version (1.22.19-1).
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      Checking for missing dependencies...
      Checking for Repo change...
      Checking xen-orchestra...
      Current branch master
      Current version 5.138.0 / 5.139.0
      Current commit 0b00c1a6547e2e07feb49d3cd39cb1ffed3ed213 2024-03-04 14:42:06 +0100
      3 updates available
      Updating from source...
      No local changes to save
      No stash entries found.
      Updating 0b00c1a65..37c2cfd99
      Fast-forward
       CHANGELOG.md                          | 13 +++++++++++++
       CHANGELOG.unreleased.md               |  7 -------
       packages/xo-server/package.json       |  2 +-
       packages/xo-server/src/api/xostor.mjs |  3 ++-
       packages/xo-web/package.json          |  2 +-
       5 files changed, 17 insertions(+), 10 deletions(-)
      Clearing directories...
      Installing...
      yarn install v1.22.19
      [1/5] Validating package.json...
      [2/5] Resolving packages...
      [3/5] Fetching packages...
      [4/5] Linking dependencies...
      warning "@commitlint/cli > @commitlint/load > cosmiconfig-typescript-loader@5.0.0" has unmet peer dependency "@types/node@*".                                                                                                                                                            
      warning "@commitlint/cli > @commitlint/load > cosmiconfig-typescript-loader@5.0.0" has unmet peer dependency "typescript@>=4".                                                                                                                                                           
      warning "@vue/eslint-config-typescript > @typescript-eslint/eslint-plugin > ts-api-utils@1.2.1" has unmet peer dependency "typescript@>=4.2.0".                                                                                                                                          
      warning "workspace-aggregator-8dfe1888-d206-4158-b73c-c08f391a75fb > @vates/node-vsphere-soap > soap@1.0.0" has incorrect peer dependency "axios@^0.27.2".                                                                                                                               
      warning "workspace-aggregator-8dfe1888-d206-4158-b73c-c08f391a75fb > @vates/event-listeners-manager > tap > @tapjs/test > @isaacs/ts-node-temp-fork-for-pr-2009@10.9.5" has unmet peer dependency "@types/node@*".                                                                       
      warning "workspace-aggregator-8dfe1888-d206-4158-b73c-c08f391a75fb > @vates/event-listeners-manager > tap > @tapjs/asserts > tcompare > react-element-to-jsx-string@15.0.0" has unmet peer dependency "react@^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1 || ^18.0.0".                       
      warning "workspace-aggregator-8dfe1888-d206-4158-b73c-c08f391a75fb > @vates/event-listeners-manager > tap > @tapjs/asserts > tcompare > react-element-to-jsx-string@15.0.0" has unmet peer dependency "react-dom@^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1 || ^18.0.0".                   
      warning Workspaces can only be enabled in private projects.                                                                                                                                                                                                                              
      [5/5] Building fresh packages...
      $ husky install
      husky - Git hooks installed
      Done in 26.21s.
      yarn run v1.22.19
      $ TURBO_TELEMETRY_DISABLED=1 turbo run build --scope xo-server --scope xo-server-'*' --scope xo-web
      • Packages in scope: xo-server, xo-server-audit, xo-server-auth-github, xo-server-auth-google, xo-server-auth-ldap, xo-server-auth-oidc, xo-server-auth-saml, xo-server-backup-reports, xo-server-load-balancer, xo-server-netbox, xo-server-perf-alert, xo-server-sdn-controller, xo-server-test, xo-server-test-plugin, xo-server-transport-email, xo-server-transport-icinga2, xo-server-transport-nagios, xo-server-transport-slack, xo-server-transport-xmpp, xo-server-usage-report, xo-server-web-hooks, xo-web
      • Running build in 22 packages
      • Remote caching disabled
      
       Tasks:    25 successful, 25 total
      Cached:    23 cached, 25 total
        Time:    2m2.266s 
      
      Done in 122.81s.
      Updated version 5.138.1 / 5.140.0
      Updated commit 37c2cfd99e004d669950e70d1da61d09a4596e71 2024-03-05 17:50:39 +0100
      Checking plugins...
      Ignoring xo-server-test plugin
      Cleanup plugins...
      Restarting xo-server...
      
      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post