cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jessica Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-5109) [VPC][Privategateway] Creating same private gateway in two different VPCs got failed
Date Tue, 12 Nov 2013 21:12:17 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-5109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13820469#comment-13820469
] 

Jessica Wang commented on CLOUDSTACK-5109:
------------------------------------------

Jayapal,

Please provide API call response (from firebug in firefox browser).

e.g.
http://10.215.3.26:8080/client/api?command=createPrivateGateway&sourcenatsupported=false&response=json&sessionkey=VFCwuagL21n7Rj%2BTVNzUw0bZwng%3D&physicalnetworkid=0958f910-6e0c-46ce-ae80-218e12af85c9&vpcid=a1215154-9554-4c87-9c4c-ddf4d772a047&ipaddress=10.1.1.1&gateway=10.2.2.1&netmask=255.255.255.240&vlan=77&aclid=aaa57202-4660-11e3-86aa-3c970e739c3e&_=1384290494399
{
    "createprivategatewayresponse": {
        "id": "93fedbb6-b3ac-4aa9-b3fa-b31530e34a59",
        "jobid": "2ff20eab-0b24-42ca-9fad-82f49f5035a5"
    }
}

http://10.215.3.26:8080/client/api?command=queryAsyncJobResult&jobId=2ff20eab-0b24-42ca-9fad-82f49f5035a5&response=json&sessionkey=VFCwuagL21n7Rj%2BTVNzUw0bZwng%3D&_=1384290593682
{
    "queryasyncjobresultresponse": {
        "accountid": "a75b4af4-4660-11e3-86aa-3c970e739c3e",
        "userid": "a75b83b6-4660-11e3-86aa-3c970e739c3e",
        "cmd": "org.apache.cloudstack.api.command.admin.vpc.CreatePrivateGatewayCmd",
        "jobstatus": 1,
        "jobprocstatus": 0,
        "jobresultcode": 0,
        "jobresulttype": "object",
        "jobresult": {
            "privategateway": {
                "id": "93fedbb6-b3ac-4aa9-b3fa-b31530e34a59",
                "gateway": "10.2.2.1",
                "netmask": "255.255.255.240",
                "ipaddress": "10.1.1.1",
                "zoneid": "509b24f6-ff82-4602-9e82-aaddb96ce235",
                "zonename": "jw-adv",
                "vlan": "77",
                "vpcid": "a1215154-9554-4c87-9c4c-ddf4d772a047",
                "physicalnetworkid": "0958f910-6e0c-46ce-ae80-218e12af85c9",
                "account": "admin",
                "domainid": "a75b0c42-4660-11e3-86aa-3c970e739c3e",
                "domain": "ROOT",
                "state": "Ready",
                "sourcenatsupported": false,
                "aclid": "aaa57202-4660-11e3-86aa-3c970e739c3e"
            }
        },
        "created": "2013-11-12T13:08:16-0800",
        "jobid": "2ff20eab-0b24-42ca-9fad-82f49f5035a5"
    }
}

http://10.215.3.26:8080/client/api?command=queryAsyncJobResult&jobId=2ff20eab-0b24-42ca-9fad-82f49f5035a5&response=json&sessionkey=VFCwuagL21n7Rj%2BTVNzUw0bZwng%3D&_=1384290668751
{
    "queryasyncjobresultresponse": {
        "accountid": "a75b4af4-4660-11e3-86aa-3c970e739c3e",
        "userid": "a75b83b6-4660-11e3-86aa-3c970e739c3e",
        "cmd": "org.apache.cloudstack.api.command.admin.vpc.CreatePrivateGatewayCmd",
        "jobstatus": 1,
        "jobprocstatus": 0,
        "jobresultcode": 0,
        "jobresulttype": "object",
        "jobresult": {
            "privategateway": {
                "id": "93fedbb6-b3ac-4aa9-b3fa-b31530e34a59",
                "gateway": "10.2.2.1",
                "netmask": "255.255.255.240",
                "ipaddress": "10.1.1.1",
                "zoneid": "509b24f6-ff82-4602-9e82-aaddb96ce235",
                "zonename": "jw-adv",
                "vlan": "77",
                "vpcid": "a1215154-9554-4c87-9c4c-ddf4d772a047",
                "physicalnetworkid": "0958f910-6e0c-46ce-ae80-218e12af85c9",
                "account": "admin",
                "domainid": "a75b0c42-4660-11e3-86aa-3c970e739c3e",
                "domain": "ROOT",
                "state": "Ready",
                "sourcenatsupported": false,
                "aclid": "aaa57202-4660-11e3-86aa-3c970e739c3e"
            }
        },
        "created": "2013-11-12T13:08:16-0800",
        "jobid": "2ff20eab-0b24-42ca-9fad-82f49f5035a5"
    }
}

Jessica

> [VPC][Privategateway] Creating same private gateway in two different VPCs got failed
> ------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5109
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5109
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Jayapal Reddy
>         Attachments: vpc.txt
>
>
> 1. Create two VPCs vpc1 and vpc2
> 2. create private gateway  with vlan 51 in vpc2. Private gateway got created and nic
got plugged in VR
> 3. Create same private gateway with vlan 51 in vpc1. Observed exception while creating
gateway in log. The logs are attached.
> 4. In UI there is no error, the gateway details are showed. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message