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

    XOSTOR

    Scheduled Pinned Locked Moved Xen Orchestra
    7 Posts 4 Posters 71 Views 4 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.
    • U Offline
      User-cxs
      last edited by

      I'm reaching out to you again to get some info on XOSTOR. I currently have three nodes, each with one SSD dedicated to XOSTOR (just for testing), but when I try to create a new instance, I get an error. 7d888a25-4aac-45ad-80f8-ffdc03d98421-image.jpeg

      Here's the error:
      unknown error from the peer

      And I was wondering if I needed to install something or not.

      antoine-bA ronan-aR 2 Replies Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates ๐Ÿช Co-Founder CEO
        last edited by

        Ping @Team-Storage

        1 Reply Last reply Reply Quote 0
        • antoine-bA Offline
          antoine-b Vates ๐Ÿช XCP-ng Team @User-cxs
          last edited by

          @User-cxs Hey ๐Ÿ™‚

          That's a bit hard to tell just from that what's happening ๐Ÿ˜•

          You might get some clues from your logs on /var/log/SMlog. If you get something bad from here, it means there is an issue with the storage stack.
          If you get nothing, maybe it's an issue at the xapi command itself, you might want to look at /var/log/xensource.log.

          Hope that can help you ๐Ÿ™‚

          1 Reply Last reply Reply Quote 1
          • ronan-aR Offline
            ronan-a Vates ๐Ÿช XCP-ng Team @User-cxs
            last edited by ronan-a

            @User-cxs "unknown error from the peer" => It can be a problem with licenses, or another thing caused by XOA, you should have more info in XO server logs. Otherwise check the logs indicated by Antoine on the XCP-ng side.

            1 Reply Last reply Reply Quote 0
            • U Offline
              User-cxs
              last edited by

              There is no information in the logs apart from : ce893a83-0371-4c92-b008-d5db1284e5c1-image.jpeg ,and the error details show โ€˜xostor.create
              {
              "description": "sto",
              "disksByHost": {
              "5ad40c85-dce1-4931-b877-c4657c994d3c": [
              "/dev/sdb"
              ],
              "df688858-70ad-47b9-9149-39727d1ef386": [
              "/dev/sdb"
              ],
              "bdb77d14-25f6-4ec8-bf01-03aeef3b5661": [
              "/dev/sdb"
              ]
              },
              "ignoreFileSystems": false,
              "name": "xostore-sto",
              "provisioning": "thin",
              "replication": 2,
              "preferredInterface": {
              "networkId": "e6d4f817-9d2b-69b9-3c62-2b27f5ff88a1",
              "name": "eth0"
              }
              }
              {
              "code": -32000,
              "message": "unknown error from the peer",
              "name": "JsonRpcError",
              "stack": "JsonRpcError: unknown error from the peer
              at Peer._callee$ (/usr/local/lib/node_modules/xo-server-xoa/node_modules/json-rpc-peer/src/index.js:98:9)
              at Peer.<anonymous> (/usr/local/lib/node_modules/xo-server-xoa/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18)
              at Generator.<anonymous> (/usr/local/lib/node_modules/xo-server-xoa/node_modules/@babel/runtime/helpers/regenerator.js:52:51)
              at Generator.next (/usr/local/lib/node_modules/xo-server-xoa/node_modules/@babel/runtime/helpers/regeneratorDefine.js:11:21)
              at asyncGeneratorStep (/usr/local/lib/node_modules/xo-server-xoa/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
              at _next (/usr/local/lib/node_modules/xo-server-xoa/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
              at /usr/local/lib/node_modules/xo-server-xoa/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
              at Promise._execute (/usr/local/lib/node_modules/xo-server/node_modules/bluebird/js/release/debuggability.js:384:9)
              at Promise._resolveFromExecutor (/usr/local/lib/node_modules/xo-server/node_modules/bluebird/js/release/promise.js:518:18)
              at new Promise (/usr/local/lib/node_modules/xo-server/node_modules/bluebird/js/release/promise.js:103:10)
              at Peer.<anonymous> (/usr/local/lib/node_modules/xo-server-xoa/node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
              at Peer.exec (/usr/local/lib/node_modules/xo-server-xoa/node_modules/json-rpc-peer/dist/index.js:182:20)
              at Peer.write (/usr/local/lib/node_modules/xo-server-xoa/node_modules/json-rpc-peer/src/index.js:206:10)
              at JsonRpcWebSocketClient.<anonymous> (/usr/local/lib/node_modules/xo-server-xoa/node_modules/jsonrpc-websocket-client/src/index.js:57:12)
              at JsonRpcWebSocketClient.emit (node:events:518:28)
              at JsonRpcWebSocketClient.emit (/usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/log/configure.js:52:17)
              at WebSocket.<anonymous> (/usr/local/lib/node_modules/xo-server-xoa/node_modules/jsonrpc-websocket-client/src/websocket-client.js:179:20)
              at callListener (/usr/local/lib/node_modules/xo-server-xoa/node_modules/ws/lib/event-target.js:290:14)
              at WebSocket.onMessage (/usr/local/lib/node_modules/xo-server-xoa/node_modules/ws/lib/event-target.js:209:9)
              at WebSocket.emit (node:events:518:28)
              at WebSocket.patchedEmit [as emit] (/usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/log/configure.js:52:17)
              at Receiver.receiverOnMessage (/usr/local/lib/node_modules/xo-server-xoa/node_modules/ws/lib/websocket.js:1220:20)"
              }โ€™. Ensuite j'ai regarder : c56cbdad-9202-4936-a9c7-5e57a399aa05-image.jpeg .And finally, I asked ChatGPT and it told me "First, on a single node, just try this:

              yum install -y xcp-ng-release-linstor

              Next:

              yum repolist | grep -i linstor

              Then:

              yum install -y xcp-ng-linstor

              If that works, then do the same on all three nodes.

              Next:

              on all three nodes:

              systemctl enable --now linstor-satellite

              on a single node:

              systemctl enable --now linstor-controller"

              ronan-aR 1 Reply Last reply Reply Quote 0
              • ronan-aR Offline
                ronan-a Vates ๐Ÿช XCP-ng Team @User-cxs
                last edited by

                @User-cxs Ping @xen-orchestra for additional help regarding this trace.

                Concerning LINSTOR, you don't have to manually configure it using yum/systemctl. The controller must never be started like this, please stop it with:

                systemctl disable --now linstor-controller
                

                For you info it's started automatically by another service and to mount the DB volume list of the SR. Otherwise, this information is not shared across all hosts.

                U 1 Reply Last reply Reply Quote 0
                • U Offline
                  User-cxs @ronan-a
                  last edited by

                  @ronan-a I didnโ€™t do it; I just showed what ChatGPT told me to do, but I didnโ€™t actually do it.
                  Do I need the Premium version for XOSTOR, perhaps ?

                  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