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

Mac agents fail to connect on vSphere plugin

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Not A Defect
    • Component/s: vsphere-cloud-plugin
    • Labels:
      None
    • Environment:
      2.121.x Jenkins LTS
      Latest vSphere plugin
    • Similar Issues:

      Description

      Issue:
      I am successfully able to spin up a new agent with vSphere cloud if that agent is either a Linux or Windows machine but if the agent is a Mac agent, it is unable to spin up and connect back to Jenkins

      It appears to make the wrong API calls from what I can observe but I am not super familiar with how vSphere manages the Mac VMs

        Attachments

          Activity

          ataylor Alex Taylor created issue -
          Hide
          pjdarton pjdarton added a comment -

          How you set up your VMs to connect back to Jenkins is pretty much up to you - the vsphere-plugin can't do that for you (it'll start the VM but it's up to the VM to either connect, or allow itself to be connected to, depending on what you told Jenkins to expect).
          Personally, I use JNLP and have my VMs set up to be passed GuestInfo parameters that they then read (using the vmware tools on the guest OS) to determine how to connect back to Jenkins.
          I guess you need to achieve that sort of thing on a Mac.

          Show
          pjdarton pjdarton added a comment - How you set up your VMs to connect back to Jenkins is pretty much up to you - the vsphere-plugin can't do that for you (it'll start the VM but it's up to the VM to either connect, or allow itself to be connected to, depending on what you told Jenkins to expect). Personally, I use JNLP and have my VMs set up to be passed GuestInfo parameters that they then read (using the vmware tools on the guest OS) to determine how to connect back to Jenkins. I guess you need to achieve that sort of thing on a Mac.
          Hide
          dhruv DhruvaKumar Jonnagaddala added a comment -

          that was good suggestion pjdarton. After installing VMWare tools, VSphere plugin was able to provision the Mac VM and join them back to master. 

          Show
          dhruv DhruvaKumar Jonnagaddala added a comment - that was good suggestion pjdarton . After installing VMWare tools, VSphere plugin was able to provision the Mac VM and join them back to master. 
          pjdarton pjdarton made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Not A Defect [ 7 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              ataylor Alex Taylor
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: