FYI. So it turn out it might be a bug in the F5 virtual edition. When I did a test with a older physical F5 I was at least able to install the VLAN.. So far I think the Ethernet media detection in the VE edition is a problem. At least it's documented as known bug; a error is logged which might be reported up to the icontrol client and causing cloudstack to fail. If I get more info I'll let you know.
Thanks, Bjoern On Mon, Nov 11, 2013 at 8:16 AM, BJO ERN <bjoern.tei...@gmail.com> wrote: > Yes I verified it and it happens still. > Can't add Vlans to an 11.4 LTM device, same error. > > Bjoern > > > On Monday, November 11, 2013, BJO ERN wrote: > >> Hi Sanjeev, >> >> The F5 was added after I installed cloudstack >> This vlan was not existing at 1.1 before I added the F5 to cloudstack but >> I will try it again, just to be sure >> >> Bjoern >> On Sunday, November 10, 2013, Sanjeev Neelarapu wrote: >> >> Hi Bjoern, >> >> From the log it looks like you are using 1.1 as the guest (private) >> interface and vlan 651 is already configured on the network. >> Please remove F5 from CS, clean the interface 1.1 before adding F5 to CS >> and add F5. >> Now create network with F5 and deploy vms in it. I don't think it is a >> bug. >> >> Thanks, >> Sanjeev >> >> -----Original Message----- >> From: BJO ERN [mailto:bjoern.tei...@gmail.com] >> Sent: Sunday, November 10, 2013 12:34 PM >> To: users@cloudstack.apache.org >> Subject: F5: Failed to create VLAN >> >> Guys, I hope that there is someone who can help me. >> After investing days now to get F5 loadbalancer and Cloudstack (4.2.1 >> build from sources) I'm pretty much stuck, mostly due to lack of >> information and documentation. >> >> I got to a point now where Cloudstack wants to provision a VLAN to spin >> up the first VR but it just bails out, what ever I do. Even worse it makes >> no sense, the VLAN is created on the F5 so I guess there is just a bug >> going on : >> >> *Error Message cloudstack :* >> >> 2013-11-09 22:03:49,041 DEBUG [agent.transport.Request] >> (Job-Executor-25:job-71 = [ 081a9bd4-6d4d-40d2-9868-48f6aca0116e ]) Seq >> 7-671875076: Sending { Cmd , MgmtId: 110493122496, via: 7, Ver: v1, >> Flags: >> 100011, [{"com.cloud.agent.api.ro >> >> uting.IpAssocCommand":{"ipAddresses":[{"accountId":1,"sourceNat":true,"add":true,"oneToOneNat":false,"firstIP":false,"vlanId":"651","vlanGateway":"10.161.2.168","vlanNetmask":"255.255.254.0","networkRate":200}],"accessDetails":{},"wait": >> 0}}] } >> 2013-11-09 22:03:49,041 DEBUG [agent.transport.Request] >> (Job-Executor-25:job-71 = [ 081a9bd4-6d4d-40d2-9868-48f6aca0116e ]) Seq >> 7-671875076: Executing: { Cmd , MgmtId: 110493122496, via: 7, Ver: v1, >> Flags: 100011, [{"com.cloud.agent.api >> >> .routing.IpAssocCommand":{"ipAddresses":[{"accountId":1,"sourceNat":true,"add":true,"oneToOneNat":false,"firstIP":false,"vlanId":"651","vlanGateway":"10.161.2.168","vlanNetmask":"255.255.254.0","networkRate":200}],"accessDetails":{},"wai >> t":0}}] } >> 2013-11-09 22:03:49,042 DEBUG [agent.manager.DirectAgentAttache] >> (DirectAgent-220:null) Seq 7-671875076: Executing request >> 2013-11-09 22:03:49,316 DEBUG [network.resource.F5BigIpResource] >> (DirectAgent-220:null) Creating a guest VLAN with tag 651 >> 2013-11-09 22:03:49,398 ERROR [network.resource.F5BigIpResource] >> (DirectAgent-220:null) *Failed to execute IPAssocCommand due to >> com.cloud.utils.exception.ExecutionException: Failed to create vlan with >> tag 651* >> 2013-11-09 22:03:49,467 ERROR [network.resource.F5BigIpResource] >> (DirectAgent-220:null) Retrying IpAssocCommand. Number of retries >> remaining: 1 >> 2013-11-09 22:03:49,662 DEBUG [network.resource.F5BigIpResource] >> (DirectAgent-220:null) Creating a guest VLAN with tag 651 >> 2013-11-09 22:03:49,685 ERROR [network.resource.F5BigIpResource] >> (DirectAgent-220:null) Exception caught in >> Networking::urn:iControl:Networking/VLAN::create() >> Exception: Common::OperationFailed >> primary_error_code : 16908390 (0x01020066) >> secondary_error_code : 0 >> error_string : 01020066:3: The requested VLAN >> (/Common/vlan-651) already exists in partition Common. >> 2013-11-09 22:03:49,685 ERROR [network.resource.F5BigIpResource] >> (DirectAgent-220:null) Failed to execute IPAssocCommand due to >> com.cloud.utils.exception.ExecutionException: Exception caught in >> Networking::urn:iControl:Networking/VLAN::c >> reate() >> Exception: Common::OperationFailed >> primary_error_code : 16908390 (0x01020066) >> secondary_error_code : 0 >> error_string : 01020066:3: The requested VLAN >> (/Common/vlan-651) already exists in partition Common. >> 2013-11-09 22:03:49,701 DEBUG >> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone >> 1 is ready to launch secondary storage VM >> 2013-11-09 22:03:49,765 ERROR [network.resource.F5BigIpResource] >> (DirectAgent-220:null) Retrying IpAssocCommand. Number of retries >> remaining: 0 >> 2013-11-09 22:03:49,910 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] >> (consoleproxy-1:null) Zone 1 is ready to launch console proxy >> 2013-11-09 22:03:49,956 DEBUG [network.resource.F5BigIpResource] >> (DirectAgent-220:null) Creating a g >> >>