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

Ec2 plugin: Cannot create windows node with ec2 1.50.3

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: ec2-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.222.4
      ec2 plugin: 1.50.3
    • Similar Issues:

      Description

      I've tried to use the latest (1.50.3) version of the ec2 plugin and encountered an issue when creating a windows node.

      When trying to start the ec2 instance, it boots and then it got stuck. I didn't manage to find why. Here the only log I have:

       

      EC2 (elastic-cloud) - windows-node (i-1234) booted at 1591718074000
      Connecting to (xx.xx.xx.xx) with WinRM as Administrator

      Enabling the logging gave me no information. I was hoping having some logs enabling logging for hudson.plugins.ec2.win but without success

      The code seems stuck I don't have log saying it is doing something.

      I downgrade to 1.50.2.1 and it is working correctly. With the logging enabled I managed to get this line that I don't have with the 1.50.3

       

      Jun 09, 2020 4:05:31 PM FINE hudson.plugins.ec2.win.WinConnection checking SMB connection to xx.xx.xx.xx

       

       

       

        Attachments

          Activity

          Hide
          adrienzieba Adrien Zieba added a comment -

          On my side I have a configuration similar to Alexey Yambarshev but I still have an issue with provisioning windows nodes.

          Show
          adrienzieba Adrien Zieba added a comment - On my side I have a configuration similar to Alexey Yambarshev but I still have an issue with provisioning windows nodes.
          Hide
          tapvir tapvir virk added a comment -

          Same with me

          Show
          tapvir tapvir virk added a comment - Same with me
          Hide
          dbarker Dave Barker added a comment -

          I am able to RDP into the node Jenkins won't connect to.  

          Show
          dbarker Dave Barker added a comment - I am able to RDP into the node Jenkins won't connect to.  
          Hide
          tapvir tapvir virk added a comment -

          I believe which is fine and is not related to the issue. As jenkins using winrm in order to connect to windows instance.

          Is the windows slave gets connected succesfully to your jenkins master?

          Show
          tapvir tapvir virk added a comment - I believe which is fine and is not related to the issue. As jenkins using winrm in order to connect to windows instance. Is the windows slave gets connected succesfully to your jenkins master?
          Hide
          ayambarshev Alexey Yambarshev added a comment - - edited

          One more note.
          We uses Jenkins outside AWS.
          So, the following significant fields are actual for us in Jenkins (in Advanced subfields for each AMI):
           - Connection Strategy - Public IP
           - Host Key Verification Strategy - accept-new  . It will be updated in the future for security when we update all necessary keys in AMI and Jenkins.

          Show
          ayambarshev Alexey Yambarshev added a comment - - edited One more note. We uses Jenkins outside AWS . So, the following significant fields are actual for us in Jenkins (in Advanced subfields for each AMI):  - Connection Strategy - Public IP  - Host Key Verification Strategy - accept-new   . It will be updated in the future for security when we update all necessary keys in AMI and Jenkins.

            People

            Assignee:
            thoulen FABRIZIO MANFREDI
            Reporter:
            adrienzieba Adrien Zieba
            Votes:
            5 Vote for this issue
            Watchers:
            12 Start watching this issue

              Dates

              Created:
              Updated: