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

    XOSTOR

    Scheduled Pinned Locked Moved Xen Orchestra
    12 Posts 5 Posters 100 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.
    • 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 Online
          User-cxs
          last edited by Danp

          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 Online
              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 ?

              DanpD 1 Reply Last reply Reply Quote 0
              • DanpD Offline
                Danp Pro Support Team @User-cxs
                last edited by

                @User-cxs Can you show us the output of ip a on your XOA VM?

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

                  You actually needed to update it by entering an email account.8326bd3b-efb0-4b43-9ad4-b1ca43b071b1-image.jpeg
                  Then it was updated :
                  817bbe0e-f0f1-4a9b-8c6a-35edaabf2948-image.jpeg
                  and that should sort it out for me.

                  DanpD 1 Reply Last reply Reply Quote 0
                  • DanpD Offline
                    Danp Pro Support Team @User-cxs
                    last edited by

                    @User-cxs Are you saying that the initial problem was due to the appliance not being registered?

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

                      Well, yes, you had to register with an email address and then update.

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

                        But thank you for your time all the same.

                        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