jenkinsci / jenkinsci/ec2-plugin
[JENKINS-71407] Amazon EC2 cloud configuration is lost after jenkins master restart
- Dominant language
- Java
- Stars
- 292
- Forks
- 709
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 4
Description
Amazon EC2 plugin Version2.0.7
- new cloud (type amazon ec2) -> config -> test connection - > save, no problem, can see it $JENKINSURL/manage/cloud/
- $JENKINSURL/saferestart
- configuration for ec2 cloud is lost
---
Originally reported by andrewdsny, imported from: Amazon EC2 cloud configuration is lost after jenkins master restart
Raw content of original issue
Amazon EC2 plugin Version2.0.7
- new cloud (type amazon ec2) -> config -> test connection - > save, no problem, can see it $JENKINSURL/manage/cloud/
- $JENKINSURL/saferestart
- 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
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