Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: AWS driver does not handle FromPort and ToPort properly. #56

Closed
jihoon-seo opened this issue Oct 29, 2019 · 1 comment
Closed

Bug: AWS driver does not handle FromPort and ToPort properly. #56

jihoon-seo opened this issue Oct 29, 2019 · 1 comment
Assignees

Comments

@jihoon-seo
Copy link
Member

Reproducing steps:

  1. POST securitygroup
{
    "Name": "jhseo-test1",
    "SecurityRules": [
        {
            "FromPort": "20",
            "ToPort": "22",
            "IPProtocol": "tcp",
            "Direction": "inbound"
        }
    ]
}
  1. Expected response:
{
    "Id": "sg-0c3dab1d6942d2352",
    "Name": "jhseo-test1",
    "Direction": "",
    "SecurityRules": [
        {
            "FromPort": "20",
            "ToPort": "22",
            "IPProtocol": "tcp",
            "Direction": "inbound"
        }
    ],
    "KeyValueList": [
        {
            "Key": "GroupName",
            "Value": "jhseo-test1"
        },
        {
            "Key": "VpcID",
            "Value": "vpc-0d9e065f9b598212b"
        },
        {
            "Key": "OwnerID",
            "Value": "635484366616"
        },
        {
            "Key": "Description",
            "Value": "jhseo-test1"
        }
    ]
}
  1. What actually got:
{
    "Id": "sg-0c3dab1d6942d2352",
    "Name": "jhseo-test1",
    "Direction": "",
    "SecurityRules": [
        {
            "FromPort": "22",
            "ToPort": "",
            "IPProtocol": "tcp",
            "Direction": "inbound"
        },
        {
            "FromPort": "",
            "ToPort": "",
            "IPProtocol": "-1",
            "Direction": "outbound"
        }
    ],
    "KeyValueList": [
        {
            "Key": "GroupName",
            "Value": "jhseo-test1"
        },
        {
            "Key": "VpcID",
            "Value": "vpc-0d9e065f9b598212b"
        },
        {
            "Key": "OwnerID",
            "Value": "635484366616"
        },
        {
            "Key": "Description",
            "Value": "jhseo-test1"
        }
    ]
}
powerkimhub added a commit that referenced this issue Oct 30, 2019
@powerkimhub
Copy link
Member

#60

powerkimhub pushed a commit that referenced this issue Jul 1, 2022
issue 686 : alibaba resume, reboot 시 상태값(Starting)을 Resuming과 매핑시킴.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants