jenkinsci / jenkinsci/ec2-plugin

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

Open
#1,897 2 comments 0 reactions 0 assignees View on GitHub
component:ec2-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
292
Forks
709
Avg merge
3d 16h
Merged PRs (30d)
4

Description

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

---
Originally reported by andrewdsny, imported from: Amazon EC2 cloud configuration is lost after jenkins master restart


  • assignee: thoulen
  • status: Open
  • priority: Minor
  • component(s): ec2-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 2
  • imported: 2025-12-06

Raw content of original issue

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


environment

```
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)

```

2 attachments

- [after-restart](https://issues.jenkins.io/secure/attachment/60558/after-restart)
- [beforerestart](https://issues.jenkins.io/secure/attachment/60557/beforerestart)

Contributor guide

Open the contributing guide

Research direction

Reproduce the loss from the Jenkins cloud management page by creating an Amazon EC2 cloud, saving it, and using /saferestart. Trace how the ec2-plugin persists and reloads that cloud configuration, using the before-restart and after-restart attachments as evidence. Done means the configuration remains available after restart and a regression test covers the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, java
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.