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

    SR_BACKEND_FAILURE_140

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    13 Posts 3 Posters 501 Views 3 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
      jasonnix
      last edited by

      Hello,
      I upgraded XO to the latest version. I want to create a VM and the operating system ISO file is on another server. I had previously mounted it via SMB:

      SMB ISO.png

      I created a new virtual machine and when I try to run it I get the following error message:

      SR_BACKEND_FAILURE_140(, Incorrect DNS name, unable to resolve., )
      

      Even when I try to delete this SMB ISO I get the same error message. What is wrong?

      Thank you.

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by olivierlambert

        Hi,

        You are using a name for the SMB server that can't be resolved by your DNS.

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jasonnix @olivierlambert
          last edited by

          Hi @olivierlambert,
          The ISO file is located on a Windows server. I can see that file via other computers in the network. From the XCP-ng host, I can ping that server.

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            Ping with the host name? Please share us the PBD

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              jasonnix @olivierlambert
              last edited by

              @olivierlambert, Yes:

              # ping ISOREPO
              PING ISOREPO.Mydoamin.com (172.20.1.18) 56(84) bytes of data.
              64 bytes from ISOREPO.Mydoamin.com (172.20.1.18): icmp_seq=1 ttl=128 time=1.44 ms
              64 bytes from ISOREPO.Mydoamin.com (172.20.1.18): icmp_seq=2 ttl=128 time=0.350 ms
              64 bytes from ISOREPO.Mydoamin.com (172.20.1.18): icmp_seq=3 ttl=128 time=0.426 ms
              64 bytes from ISOREPO.Mydoamin.com (172.20.1.18): icmp_seq=4 ttl=128 time=0.373 ms
              ^C
              --- ISOREPO.Mydoamin.com ping statistics ---
              4 packets transmitted, 4 received, 0% packet loss, time 3004ms
              rtt min/avg/max/mdev = 0.350/0.648/1.444/0.460 ms
              

              About the PBD:

              # xe sr-list
              uuid ( RO)                : f6852f22-2099-a9b6-1731-95807eaa95c6
                        name-label ( RW): DVD drives
                  name-description ( RW): Physical DVD drives
                              host ( RO): xcp-ng
                              type ( RO): udev
                      content-type ( RO): iso
              
              
              uuid ( RO)                : 4b89fe07-7859-ddee-fb5f-77d3f45b0753
                        name-label ( RW): SMB ISO library
                  name-description ( RW): SMB ISO Library [\\ISOREPO\ISO\OS\]
                              host ( RO): xcp-ng
                              type ( RO): iso
                      content-type ( RO): iso
              
              
              uuid ( RO)                : 00f82a18-a9f6-f7bc-9ca1-f42698d46b5f
                        name-label ( RW): Local storage
                  name-description ( RW): 
                              host ( RO): xcp-ng
                              type ( RO): lvm
                      content-type ( RO): user
              
              
              uuid ( RO)                : 71424c21-0260-af80-b394-200e49ec767a
                        name-label ( RW): XCP-ng Tools
                  name-description ( RW): XCP-ng Tools ISOs
                              host ( RO): xcp-ng
                              type ( RO): iso
                      content-type ( RO): iso
              
              
              uuid ( RO)                : daf51f1b-bb25-4a58-3358-f3f5671a2771
                        name-label ( RW): Removable storage
                  name-description ( RW): 
                              host ( RO): xcp-ng
                              type ( RO): udev
                      content-type ( RO): disk
              
              
              uuid ( RO)                : c5129868-a590-68ca-e587-db708ad61f38
                        name-label ( RW): Hardware HBA virtual disk storage
                  name-description ( RW): Hardware HBA SR [HP - 500143801914D7C0]
                              host ( RO): xcp-ng
                              type ( RO): lvmohba
                      content-type ( RO): 
              
              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                I think it would be better to use the FQDN in the ISO SR.

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  jasonnix @olivierlambert
                  last edited by

                  @olivierlambert Thanks, but the problem is that I get the same error for forgetting ISO SR.

                  1 Reply Last reply Reply Quote 0
                  • olivierlambertO Offline
                    olivierlambert Vates 🪐 Co-Founder CEO
                    last edited by

                    Is it mounted or not at all? (check the /run/sr-mount folder)

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      jasonnix @olivierlambert
                      last edited by

                      @olivierlambert:

                      # xe sr-forget uuid=4b89fe07-7859-ddee-fb5f-77d3f45b0753
                      The SR is still connected to a host via a PBD. It cannot be destroyed or forgotten.
                      sr: 4b89fe07-7859-ddee-fb5f-77d3f45b0753 (SMB ISO library)
                      

                      Where is xe pbd-unplug uuid=<UUID of PBD> command?

                      1 Reply Last reply Reply Quote 0
                      • olivierlambertO Offline
                        olivierlambert Vates 🪐 Co-Founder CEO
                        last edited by

                        What do you mean "where"? That's exactly the right command 🙂

                        J 1 Reply Last reply Reply Quote 0
                        • J Offline
                          jasonnix @olivierlambert
                          last edited by

                          @olivierlambert :

                          # xe pdb-unplug
                          Unknown command: pdb-unplug
                          For usage run: 'xe help'
                          
                          BenjiReisB 1 Reply Last reply Reply Quote 0
                          • BenjiReisB Offline
                            BenjiReis Vates 🪐 XCP-ng Team @jasonnix
                            last edited by

                            @jasonnix there's a typo you use pdb instead of pbd 😉

                            J 1 Reply Last reply Reply Quote 0
                            • J Offline
                              jasonnix @BenjiReis
                              last edited by jasonnix

                              Hi @BenjiReis,
                              Yes. Problem solved by adding the following lines to the resolv.conf file:

                              domain Mydoamin.com
                              search Mydoamin.com
                              
                              1 Reply Last reply Reply Quote 0
                              • J jasonnix marked this topic as a question on
                              • J jasonnix has marked this topic as solved on
                              • First post
                                Last post