Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3664

WMI slave instantiation error when using CNAME hostnames

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      Hello,

      I'm using a Master Hudson v1.304 hosted, Tomcat 6.0.18 and JDK 1.6.0_13 on a
      Windows 2003 Server R2 and I am experiencing 'A duplicate name exists on the
      network.' error when trying to instantiate a Windows slave via the WMI method.
      The configuration for the slave uses the FQDN for the slave host. The slave host
      name being used is actually a CNAME rather than the IP Address or the A host
      name entry.

      I believe the source of the problem is actually a JCIFS/SmbTransport issue and
      it seems it could be easily resolved by first performing a DNS lookup and then
      using the returned IP address when constructing the remoteRoot URL.

      Otherwise following what the SSH-Slaves plugin does... by having a Host
      parameter it would be possible to decouple the slave name from its true host
      name or IP address.

      many thanks,
      andrea

            Unassigned Unassigned
            abarbieri Andrea Barbieri
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: