cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remi Bergsma (JIRA)" <>
Subject [jira] [Created] (CLOUDSTACK-7935) keep colons in the request to ACS
Date Tue, 18 Nov 2014 12:07:34 GMT
Remi Bergsma created CLOUDSTACK-7935:

             Summary: keep colons in the request to ACS
                 Key: CLOUDSTACK-7935
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Cloudmonkey
            Reporter: Remi Bergsma
            Priority: Minor

We run into an interesting issue with CloudMonkey today. Before 5.3 this worked, now it doesn't
any more.

Creating a private gateway on our SDN platform (lswitch instead of vlan id):

(mccp_admin)  > create privategateway vpcid=da18a1a9-66da-427a-b2e6-bee31f08419e networkofferingid=222a66eb-626b-46e7-8ea0-1e2a1b80cff4
vlan=lswitch:d3b79b6a-eb65-47f6-982f-e78f18f8b7b1 gateway= ipaddress=

Error Error: string 'lswitch%3Ad3b79b6a-eb65-47f6-982f-e78f18f8b7b1' has an unknown BroadcastDomainType.

In the CloudStack logs:

2014-11-17 14:32:26,178 DEBUG [c.c.n.v.VpcManagerImpl] (catalina-exec-10:ctx-b5bcc469 ctx-279b581f
ctx-115c60e7) Creating Private gateway for VPC [VPC [483-SBP_VPC_MDMS]
2014-11-17 14:32:26,185 ERROR [c.c.a.ApiServer] (catalina-exec-10:ctx-b5bcc469 ctx-279b581f
ctx-115c60e7) unhandled exception executing api command: createPrivateGateway string 'lswitch%3Ad3b79b6a-eb65-47f6-982f-e78f18f8b7b1'
has an unknown BroadcastDomainType.

It seems CloudMonkey replaces the ":" with "%3A" resulting in an invalid request.

See this pull request for a solution that works:

This message was sent by Atlassian JIRA

View raw message