Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

ssh aws node failure #502

Open
tedteng opened this issue Feb 24, 2021 · 0 comments
Open

ssh aws node failure #502

tedteng opened this issue Feb 24, 2021 · 0 comments
Labels
kind/bug Bug lifecycle/rotten Nobody worked on this for 12 months (final aging stage)

Comments

@tedteng
Copy link
Contributor

tedteng commented Feb 24, 2021

Describe the bug

In Gardener hands-on session we met the issue

Warning:
Be aware that you are entering an untrusted environment!
Do not enter credentials or sensitive data within the ssh session that cluster owners should not have access to.
....
Downloaded id_rsa key
Check Public IP
(1/4) Fetching data from target shoot cluster
...
(2/4) Setting up bastion host security group
...exec configurations that could contain malicious code. Please only continue if you have verified it to be uncritical
2021/02/24 08:41:10 AWS CLI failed with
An error occurred (InvalidPermission.Duplicate) when calling the AuthorizeSecurityGroupIngress operation: the specified rule "peer: 10.82.134.65/32, TCP, from port: 22, to port: 22, ALLOW" already exists
exit status 254

the rule that already exists should be skipped but error return and break, then resource leakage
To Reproduce
Steps to reproduce the behavior:

  1. gardenctl get target
  2. gardenctl ssh node

Expected behavior

  1. ssh node
  2. or cleanup handling instead of exit status 254 cause the resource leakage

Screenshots
If applicable, add screenshots to help explain your problem.

Gardenctl Version (please complete the following information):

Additional context
Add any other context about the problem here.

@tedteng tedteng added the kind/bug Bug label Feb 24, 2021
@gardener-robot gardener-robot added the lifecycle/stale Nobody worked on this for 6 months (will further age) label Sep 22, 2021
@gardener-robot gardener-robot added lifecycle/rotten Nobody worked on this for 12 months (final aging stage) and removed lifecycle/stale Nobody worked on this for 6 months (will further age) labels Mar 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Bug lifecycle/rotten Nobody worked on this for 12 months (final aging stage)
Projects
None yet
Development

No branches or pull requests

3 participants