You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Saksham Srivastava (JIRA)" <ji...@apache.org> on 2014/01/21 11:28:19 UTC

[jira] [Created] (CLOUDSTACK-5916) associateIpAddress" leaves an IP in allocating state

Saksham Srivastava created CLOUDSTACK-5916:
----------------------------------------------

             Summary: associateIpAddress" leaves an IP in allocating state
                 Key: CLOUDSTACK-5916
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5916
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Network Controller
    Affects Versions: 4.4.0
         Environment: 4.3, Xenserver
            Reporter: Saksham Srivastava
            Assignee: Saksham Srivastava


associateIpAddress" leaves an IP in allocating state (user_ip_address table), although the API command is executed on incorrectly.

Steps to repro :
1) create a vpc tier.
2) Execute  associateIpAddress" API on the vpc tier but do not specify the vpc id.
#cloudmonkey
>>associate ipaddress networkid=09ffc45f-beba-4690-8be7-425891915d44
Async job ea020246-d0e8-4e58-ac84-fccb55c3b646 failed
Error 530, Can't assign ip to the network directly when network belongs to VPC.Specify vpcId to associate ip address to VPC
accountid = a6ba35b3-7e76-11e3-8490-7614eba325e6
cmd = org.apache.cloudstack.api.command.user.address.AssociateIPAddrCmd
created = 2014-01-21T10:46:46+0530
jobid = ea020246-d0e8-4e58-ac84-fccb55c3b646
jobprocstatus = 0
jobresult:
errorcode = 530
errortext = Can't assign ip to the network directly when network belongs to VPC.Specify vpcId to associate ip address to VPC
jobresultcode = 530
jobresulttype = object
jobstatus = 2
userid = a6ba5844-7e76-11e3-8490-7614eba325e6

Expected behavior:
There should be no allocation of IP .

Actual behaviour:
The public IP remains in 'Allocating' state



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)