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

gardenctl ssh alicloud node returns timed out issue #379

Closed
neo-liang-sap opened this issue Oct 12, 2020 · 1 comment · Fixed by #380
Closed

gardenctl ssh alicloud node returns timed out issue #379

neo-liang-sap opened this issue Oct 12, 2020 · 1 comment · Fixed by #380
Assignees

Comments

@neo-liang-sap
Copy link
Contributor

Describe the bug

gardenctl ssh alicloud node returns timed out issue
see discussion in #372 (comment)

To Reproduce
gardenctl ssh to a alicloud node

Expected behavior
gardenctl ssh to alicloud should success

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

Gardenctl Version (please complete the following information):
latest commit on master branch

Additional context

@neo-liang-sap
Copy link
Contributor Author

neo-liang-sap commented Oct 12, 2020

/assign

The security group is not created at all

(3/5) Setting up bastion host security group
the vpc id is vpc-gw8uwby1prs6dy8gamqir
the regional id is eu-central-1
the securitygroupname shoot--garden--alicloud-eu1-bsg
a.BastionSecurityGroupID sg-gw88htjmp44vgbjx7q9n
Bastion host security group set up.

from aliyun cli

 gardenctl aliyun ecs DescribeSecurityGroups -- --RegionId eu-central-1 --SecurityGroupIds '["sg-gw88htjmp44vgbjx7q9n"]' --NetworkType vpc --DryRun false --output cols=SecurityGroupName,Description,VpcId,Tags
Kubeconfig under path /Users/i352986/.garden/cache/canary/projects/garden/alicloud-eu1/kubeconfig.yaml contains exec configurations that could contain malicious code. Please only continue if you have verified it to be uncritical
SecurityGroupName | Description | VpcId | Tags
----------------- | ----------- | ----- | ----
<nil>             | <nil>       | <nil> | <nil>

force deletion not working neither

gardenctl aliyun ecs DeleteSecurityGroup -- --RegionId eu-central-1 --SecurityGroupId sg-gw88htjmp44vgbjx7q9n  (ccee-m3/default)
Kubeconfig under path /Users/i352986/.garden/cache/canary/projects/garden/alicloud-eu1/kubeconfig.yaml contains exec configurations that could contain malicious code. Please only continue if you have verified it to be uncritical
ERROR: SDK.ServerError
ErrorCode: DependencyViolation
Recommend: https://error-center.aliyun.com/status/search?Keyword=DependencyViolation&source=PopGw
RequestId: BB4BEF1E-C85F-43C3-9D31-03773173A644
Message: There is still instance(s) in the specified security group.

whether the SG exist or not, we all need to create SG rules, that's why when a SG exist, gardenctl ssh alinode timed out

working on the fix

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant