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

    How to fix XOSTOR

    Scheduled Pinned Locked Moved Xen Orchestra
    11 Posts 2 Posters 1.1k Views 2 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.
    • F Offline
      fred974 @fred974
      last edited by

      @ronan-a Could you please help me please?

      brodiecyberB 1 Reply Last reply Reply Quote 0
      • brodiecyberB Offline
        brodiecyber @fred974
        last edited by

        @fred974 it looks like the logs say it cant find the controller can you confirm if it is running on any of your hosts.

        im no expert but its a start

        controller.PNG

        F 1 Reply Last reply Reply Quote 0
        • F Offline
          fred974 @brodiecyber
          last edited by fred974

          @brodiecyber Thank you for your help. I ran the command but got this message

          [16:28 uk ~]# xe host-call-plugin host-uuid=5a1e10ec-4f1a-469d-d5h7-adb8535741ca plugin=linstor-manager fn=has-ControllerRunning
          Error code: UNKNOWN_XENAPI_PLUGIN_FUNCTION
          Error parameters: has-ControllerRunning
          
          F 1 Reply Last reply Reply Quote 0
          • F Offline
            fred974 @fred974
            last edited by

            @brodiecyber I found the correct cmd..

            [16:45 uk ~]# xe host-call-plugin host-uuid=5a1e10ec-4f1a-469d-d5h7-adb8535741ca plugin=linstor-manager fn=hasControllerRunning
            False
            

            linstor resource list

            [16:49 uk ~]# linstor resource list
            Error: Unable to connect to linstor://localhost:3370: [Errno 99] Cannot assign requested address
            
            brodiecyberB 1 Reply Last reply Reply Quote 0
            • brodiecyberB Offline
              brodiecyber @fred974
              last edited by

              @fred974

              So we know its not running to that host as the command is targeting a single hosts uuid.

              have you run it on all your XCP-ng servers to confirm if the controller is running on any of them. perhaps check to make sure the lunstor controller is available on any host

              F 1 Reply Last reply Reply Quote 0
              • F Offline
                fred974 @brodiecyber
                last edited by fred974

                @brodiecyber yes, it says 'False' on all 4x hosts. The controller isn't running on any hosts

                brodiecyberB 3 Replies Last reply Reply Quote 0
                • brodiecyberB Offline
                  brodiecyber @fred974
                  last edited by

                  @fred974

                  ok so thats our problem the lunstor controller is not running on any node so XOSTOR has no way to initialize. Im going to do some reading and see what comes up

                  1 Reply Last reply Reply Quote 0
                  • brodiecyberB Offline
                    brodiecyber @fred974
                    last edited by

                    @fred974

                    Maybe also post in the XOSTOR thread
                    A controller failure should be on the radar for possible failure scenarios.
                    https://xcp-ng.org/forum/topic/5361/xostor-hyperconvergence-preview

                    1 Reply Last reply Reply Quote 0
                    • brodiecyberB Offline
                      brodiecyber @fred974
                      last edited by

                      @fred974

                      also see if this script is available on the last host that has the controller which we can assume is the host that failed the first time. Maybe it has some data on why the controller isn't initializing

                      controller 2.PNG

                      F 1 Reply Last reply Reply Quote 0
                      • F Offline
                        fred974 @brodiecyber
                        last edited by

                        @brodiecyber I can see it exist in /opt/xensource/bin/linstor-kv-tool but no idea on how to use it

                        1 Reply Last reply Reply Quote 0
                        • F fred974 referenced this topic on
                        • First post
                          Last post