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

Amazon EC2 cloud configuration is lost after jenkins master restart

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ec2-plugin
    • None
    • Jenkins Version 2.409 on kubernetes cluster(version v1.25.8)
      openjdk 17.0.7 2023-04-18
      OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7)
      OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode)

      Amazon EC2 plugin Version2.0.7

      1. new cloud (type amazon ec2) -> config -> test connection - > save, no problem, can see it $JENKINSURL/manage/cloud/
      2. $JENKINSURL/saferestart
      3. configuration for ec2 cloud is lost

          [JENKINS-71407] Amazon EC2 cloud configuration is lost after jenkins master restart

          Chuck Doucette added a comment - - edited

          I have a similar issue.

          However, rather than wiping out a whole cloud configuration group, for me it appears to reset attributes of a single cloud configuration.

          I am particularly concerned with these attributes that disappear:

          • Instance Type
          • Number of Executors
          • Idle Time
          • IAM Instance profile

          This is a huge issue with our prod instance of Jenkins, which is running:

          We are running another development instance of Jenkins which is running:

          For the development instance of Jenkins, it appears only the "Idle Time" attribute is reset.

          Chuck Doucette added a comment - - edited I have a similar issue. However, rather than wiping out a whole cloud configuration group, for me it appears to reset attributes of a single cloud configuration. I am particularly concerned with these attributes that disappear: Instance Type Number of Executors Idle Time IAM Instance profile This is a huge issue with our prod instance of Jenkins, which is running: Jenkins 2.375.3 Amazon EC2 plugin 2.0.7 We are running another development instance of Jenkins which is running: Jenkins 2.426.3 Amazon EC2 plugin 1648.vf3d852e00486 For the development instance of Jenkins, it appears only the "Idle Time" attribute is reset.

          It wasn't immediately obvious what the file type of the attachments were. Apparently they are PNG image files.

          Chuck Doucette added a comment - It wasn't immediately obvious what the file type of the attachments were. Apparently they are PNG image files.

            thoulen FABRIZIO MANFREDI
            andrewdsny Andrew Z
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: