jenkinsci / jenkinsci/ec2-plugin

[JENKINS-69348] Cannot dismiss the Unsafe Windows AMI monitor

Open
#1,867 0 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

The administrative monitor about unsafe Windows AMI configuration Unsafe Windows EC2 templates found cannot be dismissed:

The *Dismiss* button redirects to the Manage Jenkins page but the monitor stays there.

A workaround is to disable the EC2 Weak Host Key Verification Strategies Monitor entirely under *Manage Jenkins > Configure System > Administrative Monitors*

Reproduction Steps


  • Install the Amazon EC2 plugin

  • Manage Jenkins -> Manage Nodes and Clouds -> Configure Clouds

  • Add Amazon EC2 cloud then add AMI.

  • For AMI Type select windows. Then check *Allow Self Signed Certificate* and Save

  • Then on Manage Jenkins page you should see the broken admin monitor message and clicking the Dismiss button does not dismiss the message.

---
Originally reported by allan_burdajewicz, imported from: Cannot dismiss the Unsafe Windows AMI monitor


  • assignee: allan_burdajewicz
  • status: In Review
  • priority: Minor
  • component(s): ec2-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-06

Raw content of original issue

The administrative monitor about unsafe Windows AMI configuration Unsafe Windows EC2 templates found cannot be dismissed:

The *Dismiss* button redirects to the Manage Jenkins page but the monitor stays there.

A workaround is to disable the EC2 Weak Host Key Verification Strategies Monitor entirely under *Manage Jenkins > Configure System > Administrative Monitors*

Reproduction Steps


  • Install the Amazon EC2 plugin

  • Manage Jenkins -> Manage Nodes and Clouds -> Configure Clouds

  • Add Amazon EC2 cloud then add AMI.

  • For AMI Type select windows. Then check *Allow Self Signed Certificate* and Save

  • Then on Manage Jenkins page you should see the broken admin monitor message and clicking the Dismiss button does not dismiss the message.


1 attachment

- [admin-monitor.png](https://issues.jenkins.io/secure/attachment/58759/admin-monitor.png)
> ![admin-monitor.png](https://issues.jenkins.io/secure/attachment/58759/admin-monitor.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue through Manage Jenkins and the EC2 plugin's Amazon EC2 cloud and Windows AMI configuration described above. Trace the EC2 Weak Host Key Verification Strategies administrative monitor and its Dismiss action; done means dismissing the monitor redirects as expected and the unsafe Windows AMI message no longer remains visible.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, java
Domain
cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.