Hi, I am playing hard with vCloud Director 1.5 and I am finding some problems with Networking Management.
The fact is that I had a problem with DRS and lost all Resource Pools and as I didn´t have a vCenter Backup, I decide to clean up all vCloud Configurations and regenerate it.
After this, we start to have some problems with Networking VLANs duplications, for example:
- When I tried to create external networks, we had a duplication VLAN error, the solution was to do it with other VLAN ID setted in the port-group and then change it to the needed one. This Worked great!
- Trying to create a Network Pool I get the same error, VLAN duplication, so I generate the NP with other VLAN ID and then change the number in the "dbo.network_pool" table in the SQL Server Database. I don´t know if this was THAT successfull...
Ok, so then I create some organization Networks, they were correctly created, the VSE could be created and the network access is functional.
The problem:
When trying to delete one of these Org Networks I get an unknown error "class java.lang.NullPointerException", even worst, the VSE is deleted, but not the vCDNI port-groups neither the Org-Network in vCD Console.
Looking at the "vcloud-container-info.log" I found the following:
2011-11-22 14:46:26,509 | INFO | Quartz-pool-1-thread-7 | CalloutManagerImpl | No active collaboration found for task NETWORK_DELETE(com.vmware.vcloud.entity.task:93738594-7dc9-4721-9f5c-da35858045b5). | vcd=0dd50b8f4e9c4cac9ae7bb6fb23f0667,task=937385947dc947219f5cda35858045b5
2011-11-22 14:46:26,511 | INFO | Quartz-pool-1-thread-7 | CalloutManagerImpl | No enabled endpoints for task NETWORK_DELETE(com.vmware.vcloud.entity.task:93738594-7dc9-4721-9f5c-da35858045b5). Skip pre-processing. | vcd=0dd50b8f4e9c4cac9ae7bb6fb23f0667,task=937385947dc947219f5cda35858045b5
2011-11-22 14:46:26,512 | INFO | Quartz-pool-1-thread-7 | Conversation | Transaction rolled back; session has been closed | vcd=0dd50b8f4e9c4cac9ae7bb6fb23f0667,task=937385947dc947219f5cda35858045b5
2011-11-22 14:46:26,611 | INFO | Quartz-pool-1-thread-7 | Conversation | Transaction rolled back; session has been closed | vcd=0dd50b8f4e9c4cac9ae7bb6fb23f0667,task=937385947dc947219f5cda35858045b5
2011-11-22 14:46:26,611 | ERROR | Quartz-pool-1-thread-7 | TaskServiceImpl | Unable to execute task NETWORK_DELETE(com.vmware.vcloud.entity.task:93738594-7dc9-4721-9f5c-da35858045b5) | vcd=0dd50b8f4e9c4cac9ae7bb6fb23f0667,task=937385947dc947219f5cda35858045b5
java.lang.NullPointerException
at com.vmware.vcloud.net.impl.DefaultNetworkPoolManager.reserveVlanWithDeletedItem(DefaultNetworkPoolManager.java:861)
at com.vmware.vcloud.net.impl.DefaultNetworkPoolManager.releaseNetwork(DefaultNetworkPoolManager.java:783)
at com.vmware.vcloud.net.impl.DefaultLogicalNetworkManager.undeployLogicalNetwork(DefaultLogicalNetworkManager.java:1840)
at com.vmware.vcloud.net.impl.DefaultLogicalNetworkManager.deleteLogicalNetwork(DefaultLogicalNetworkManager.java:820)
at com.vmware.vcloud.management.system.NetworkServiceImpl.deleteLogicalNetworkTask(NetworkServiceImpl.java:493)
at com.vmware.vcloud.management.system.NetworkServiceImpl.executeTask(NetworkServiceImpl.java:1783)
at com.vmware.vcloud.management.system.TaskServiceImpl$4.doInSecurityContext(TaskServiceImpl.java:1265)
at com.vmware.vcloud.management.system.TaskServiceImpl$4.doInSecurityContext(TaskServiceImpl.java:1261)
at com.vmware.vcloud.management.system.TaskServiceImpl$SecurityContextTemplate.executeForOrgAndUser(TaskServiceImpl.java:1578)
at com.vmware.vcloud.management.system.TaskServiceImpl.execute(TaskServiceImpl.java:1261)
at com.vmware.vcloud.management.system.TaskServiceImpl.dispatchByStatus(TaskServiceImpl.java:1183)
at com.vmware.vcloud.management.system.TaskServiceImpl.dispatchTask(TaskServiceImpl.java:1062)
at com.vmware.vcloud.management.system.TaskExecutionJob.execute(TaskExecutionJob.java:177)
at org.quartz.core.JobRunShell.run(JobRunShell.java:199)
at com.vmware.vcloud.scheduler.impl.ElasticQuartzThreadPool$3$1.run(ElasticQuartzThreadPool.java:209)
at com.vmware.vcloud.scheduler.impl.ElasticQuartzThreadPool$3$1.run(ElasticQuartzThreadPool.java:207)
at com.vmware.vcloud.common.threadpool.ThreadContextExecutor.execute(ThreadContextExecutor.java:36)
at com.vmware.vcloud.scheduler.impl.ElasticQuartzThreadPool$3.run(ElasticQuartzThreadPool.java:207)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Does anyone know how to solve this? I am really worried it could happen in a customer implementation.
Thanks in advance!
Pablo.-