Quantcast
Channel: VMware Communities : Discussion List - VMware vCloud Director
Viewing all 4515 articles
Browse latest View live

Wandering NICs After OVF Export/Import

$
0
0

I am working on a vApp that requires very specific network placement and I have observed some really odd things.  I deploy a vApp from it's "raw" OVF that I received from one of our product teams.  I deploy it in our prod environment without issue and set the networks NIC0 - NIC4.  After getting all of the network information setup on the vApp, I exported it (as identical copy).  Here's where things get weird...

 

When I take the exported OVF and deploy it in our staging environment, the NICs have been moved around. I thought this was odd, so I tried the same thing with the "raw" OVF that I got from the product team and the NICs move around also.

 

Has anyone else seen this kind of behavior before?


Expired vApp can't be deleted

$
0
0

Hi all,

 

A while back we had some issues with our VCD environment where there were some communication issues between VCD and vCenter.  Those have been resolved now, but I'm stuck with an expired vApp that failed to create during that time.  The problem is that I can't delete the vApp.  The line in the list of expired vApps is grey, too, and the Delete action doesn't have any effect.

 

Via PowerCLI, I'm able to see the vApp and it has a status of UNRESOLVED.  The PowerCLI vApp object doesn't report having any children.  I was able to track down the child VMs and delete them using PowerCLI sucessfully.  But, I still can't get the vApp to delete.  When I try to do that in PowerCLI, I get the following error:

 

PowerCLI C:\> $vapp.ExtensionData.Delete()

Exception calling "Delete" with "0" argument(s): "class java.lang.NullPointerException"

At line:1 char:27

+ $vapp.ExtensionData.Delete <<<< ()

    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException

    + FullyQualifiedErrorId : DotNetMethodException

 

or

 

PowerCLI C:\> remove-civapp $vapp

Confirm

Are you sure you want to perform this action?

Performing operation "Remove vApp" on Target "Lab Deployment 10.2 SP1 - Cluster".

[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): y

Remove-CIVApp : 11/27/2013 8:45:17 AM    Remove-CIVApp        INTERNAL_SERVER_ERROR: class java.lang.NullPointerException

At line:1 char:14

+ remove-civapp <<<<  $vapp

    + CategoryInfo          : NotSpecified: (:) [Remove-CIVApp], CIServerException

    + FullyQualifiedErrorId : CloudImpl_TaskResultConverter_TryConvert_ErrorResult,VMware.VimAutomation.Cloud.Commands.Cmdlets.RemoveCIVapp

 

 

So, does anyone have any thoughts on how to get rid of this vApp? 

 

Thanks,

Jason

How can I Upload an OVF Package to Create a vApp Template via Python or RESTClient?

$
0
0

VMware vCloud Director Documentation Center

 

from the vcloud vCloud API Programming Guide, I learned that we can upload the ovf package to vcloud for creating vApp Template. the upload steps have 4 steps, I followed the api and have finished 3 steps successfully,however i get stucked at the 4th step, which requires Uploading Referenced Files(the VMDK FILE),[using a PUT request to upload each file that the vApp template references]. 

my question is that i do not know how to upload the vmdk file through restclient or using python script. can any one have done this , pls give some support

Blocking tasks for Edge Gateways in version 5.5

$
0
0

Hi,

 

I've just upgraded our lab to version 5.5, but I don't see the new blocking tasks for edge gateways in the GUI. I've also tried using the API, for example trying to set the edgeGatewayUpdateProperties operation. The error I get when I try to set that with the API is:

Following are not valid task operation names: [NETWORK_GATEWAY_UPDATE_PROPERTIES]

 

The VCD log has entries like:

getEnabledTaskExtensions() returning:

[NETWORK_DELETE_NETWORK_POOL, VDC_CREATE_VDC, VAPP_REBOOT_GUEST, VDC_CREATE_DISK, VAPP_MIGRATE_VMS, VDC_COPY_VAPP, NETWORK_ENABLE_CROSSHOST_SERVICE, VDC_DELETE_MEDIA, VAPP_RESET, VAPP_UPDATE_VM, VAPP_ATTACH_DISK, VAPP_DETACH_DISK, VDC_UPDATE_VDC, VAPP_UNDEPLOY_SUSPEND, LIBRARY_ITEM_SYNC, NETWORK_CREATE_PROVIDER_NETWORK, VDC_DELETE_DISK, NETWORK_UPDATE_NETWORK_POOL, NETWORK_UPDATE_NETWORK, VDC_UPLOAD_OVF_CONTENTS, VAPP_SUSPEND, RCL_DELETE_PROVIDER_VDC, VDC_INSTANTIATE_VAPP, VDC_CAPTURE_TEMPLATE, RCL_CREATE_PROVIDER_VDC, RCL_MERGE_PROVIDER_VDC, VDC_UPDATE_TEMPLATE, VDC_RECOMPOSE_VAPP, VDC_DELETE_VDC, VDC_DELETE_TEMPLATE, VDC_UPLOAD_MEDIA, VDC_ENABLE_DOWNLOAD, VAPP_SHUTDOWN_GUEST, IMPORT_SINGLETON_TEMPLATE, VAPP_UPGRADE_HW_VERSION, VAPP_DEPLOY, VAPP_UNDEPLOY_POWER_OFF, IMPORT_SINGLETON_VAPP, VDC_COMPOSE_VAPP, VDC_UPDATE_VAPP, VDC_COPY_TEMPLATE, VAPP_POWER_OFF, NETWORK_UPDATE_VLAN_POOL, VDC_DELETE_VAPP, VDC_COPY_MEDIA, VDC_UPDATE_DISK, NETWORK_DELETE, IMPORT_MEDIA, NETWORK_CREATE_NETWORK_POOL, IMPORT_INTO_EXISTING_VAPP, VDC_UPDATE_MEDIA]

which is missing all the new ones in 5.5.

 

I've upgraded the whole stack, ESXi, vCenter, VCNS and VCD. Everything else seems to be working fine.

 

What am I missing?

 

Thanks,

Will

vCD Application Initialization Failure Missing: com.vmware.vcloud.backend-core

$
0
0

Hi

 

Hopefully someone can help me out with this, Just installed vCloud Director 5.5.0.1323688 on a RHEL 6 system, the Application initialization fails at Missing: com.vmware.vcloud.backend-core. I have verified that DNS forward and reverse resolves successfully,

 

Logs from vcloud-container-info.log

2013-11-28 14:31:20,907 | INFO| g Context: com.vmware.vcloud.service-extensibility | ServiceInitializationTracker   | Application Initialization: 63% complete. Subsystem com.vmware.vcloud.service-extensibility started |
2013-11-28 14:31:21,161 | INFO| Spring Context: com.vmware.vcloud.backend-core | BootstrapXmlApplicationContext | Refreshing BootstrapXmlApplicationContext(bundle=com.vmware.vcloud.backend-core, config=osgibundle:/META-INF/spring/*.xml): startup date [Thu Nov 28 14:31:21 CST 2013]; root of context hierarchy |
2013-11-28 14:31:21,161 | INFO| Spring Context: com.vmware.vcloud.backend-core | BootstrapXmlApplicationContext | Application Context service already unpublished |
2013-11-28 14:31:45,307 | INFO| Spring Context: com.vmware.vcloud.backend-core | BootstrapXmlApplicationContext | Bean '(inner bean)' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
2013-11-28 14:31:45,350 | INFO| Spring Context: com.vmware.vcloud.backend-core | BootstrapXmlApplicationContext | Bean 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#0' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
2013-11-28 14:31:45,352 | INFO| Spring Context: com.vmware.vcloud.backend-core | BootstrapXmlApplicationContext | Bean '(inner bean)#2' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
2013-11-28 14:31:45,354 | INFO| Spring Context: com.vmware.vcloud.backend-core | BootstrapXmlApplicationContext | Bean 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#1' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
2013-11-28 14:31:45,389 | INFO| Spring Context: com.vmware.vcloud.backend-core | BootstrapXmlApplicationContext | Bean '(inner bean)#4' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
2013-11-28 14:31:45,416 | INFO| Spring Context: com.vmware.vcloud.backend-core | BootstrapXmlApplicationContext | Bean 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#2' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
2013-11-28 14:31:45,421 | INFO| Spring Context: com.vmware.vcloud.backend-core | BootstrapXmlApplicationContext | Bean '(inner bean)#6' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
2013-11-28 14:31:45,423 | INFO| Spring Context: com.vmware.vcloud.backend-core | BootstrapXmlApplicationContext | Bean 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#3' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
2013-11-28 14:31:45,425 | INFO| Spring Context: com.vmware.vcloud.backend-core | BootstrapXmlApplicationContext | Bean '(inner bean)#8' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
2013-11-28 14:31:45,426 | INFO| Spring Context: com.vmware.vcloud.backend-core | BootstrapXmlApplicationContext | Bean 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#4' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) |
2013-11-28 14:34:03,153 | INFO| Spring Context: com.vmware.vcloud.backend-core | ShieldSessionManager      | Starting ... |
2013-11-28 14:34:05,956 | INFO| Spring Context: com.vmware.vcloud.backend-core | ImportServiceImpl         | ImportService initializing... |
2013-11-28 14:34:05,957 | INFO| Spring Context: com.vmware.vcloud.backend-core | ImportServiceImpl         | ImportService initialization completed |
2013-11-28 14:34:12,851 | INFO| Spring Context: com.vmware.vcloud.backend-core | JmsUtils                  | Successfully connected to JMS broker |
2013-11-28 14:34:51,822 | INFO| Spring Context: com.vmware.vcloud.backend-core | BackendInit               | Initializing new handlers for VIM updates |
2013-11-28 14:34:51,927 | INFO| Spring Context: com.vmware.vcloud.backend-core | BackendInit               | Initializing Failover Manager |
2013-11-28 14:34:51,953 | INFO| Spring Context: com.vmware.vcloud.backend-core | FailoverServiceManagerImpl| Invoking Init() |
2013-11-28 14:34:51,953 | INFO| Spring Context: com.vmware.vcloud.backend-core | FailoverServiceManagerImpl| Will use JMS scheduling. |
2013-11-28 14:34:51,954 | INFO| Spring Context: com.vmware.vcloud.backend-core | FailoverMessageServiceImpl| Subscribing listener com.vmware.ssdc.backendbase.failover.impl.FailoverServiceManagerImpl |
2013-11-28 14:34:51,954 | INFO| Spring Context: com.vmware.vcloud.backend-core | FailoverServiceManagerImpl| Scheduling coordinator service as part of startup. |
2013-11-28 14:34:51,978 | INFO| Spring Context: com.vmware.vcloud.backend-core | FailoverServiceManagerImpl| Scheduling service [CoordinatorServiceData: servicetype: Coordinator, jobname: Coordinator, jobgroup: CoordinatorGroup] |
2013-11-28 14:34:52,045 | INFO| Spring Context: com.vmware.vcloud.backend-core | FailoverServiceManagerImpl| Service [CoordinatorServiceData: servicetype: Coordinator, jobname: Coordinator, jobgroup: CoordinatorGroup] scheduled for execution. |
2013-11-28 14:34:52,109 | INFO| Spring Context: com.vmware.vcloud.backend-core | FailoverServiceManagerImpl| Starting ActiveMQ monitor. Will check state every 600,000ms. Message timeout is 5,000ms |
2013-11-28 14:34:52,111 | INFO| Spring Context: com.vmware.vcloud.backend-core | FailoverMessageServiceImpl| Subscribing listener class com.vmware.ssdc.backendbase.failover.impl.ActiveMQMonitorTimerTask |
2013-11-28 14:35:02,835 | INFO| Spring Context: com.vmware.vcloud.backend-core | ThumbnailService          | 2 thumbnail request consumer for creating buckets initialized |
2013-11-28 14:35:02,856 | INFO| Spring Context: com.vmware.vcloud.backend-core | ThumbnailService          | Started 2 thumnail request consumers |
2013-11-28 14:35:08,051 | INFO| Spring Context: com.vmware.vcloud.backend-core | VAppServiceImpl           | VAppService initializing... |
2013-11-28 14:35:08,056 | INFO| Spring Context: com.vmware.vcloud.backend-core | VAppServiceImpl           | VAppService initialized |
2013-11-28 14:35:14,376 | INFO| Spring Context: com.vmware.vcloud.backend-core | BackendService            | Starting back end... |
2013-11-28 14:35:14,376 | INFO| Spring Context: com.vmware.vcloud.backend-core | BackendService            | Back end started successfully. |
2013-11-28 14:35:14,776 | INFO| Spring Context: com.vmware.vcloud.backend-core | BackendService            | Start timer (com.vmware.ssdc.backend.monitoring.KerberosSyncTimer), delay: 600 sec |
2013-11-28 14:35:14,989 | INFO| Spring Context: com.vmware.vcloud.backend-core | BackendService            | Start timer (com.vmware.ssdc.backend.monitoring.TimerUpdateTimer), delay: 60 sec |
2013-11-28 14:36:21,232 | FATAL| Cell Application     | BundleStartupAction       | Application startup event: Error during application startup. Shutting down. (Missing: com.vmware.vcloud.backend-core) |

VMware vCloud Director 5.5.0.1323688, Central Standard Time,

 

vcloud-container-debug.log

 

2013-11-28 14:34:52,275 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | ValidationServiceImpl     | Starting service: ValidationService |
2013-11-28 14:34:52,276 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | ValidationServiceImpl     | Service start complete: ValidationService |
2013-11-28 14:34:52,276 | DEBUG| ValidationThread     | ValidationServiceImpl     | validationThread started |
2013-11-28 14:34:52,432 | DEBUG| activemq-monitor-timer| FailoverMessageServiceImpl| Published JMS message ID:(Name removed)-54291-1385670163149-2:8:1:1:1 |
2013-11-28 14:34:52,448 | DEBUG| activemq-monitor-timer| FailoverMessageServiceImpl| Request [id = failoverMessage-cid:60b5e850-ad32-4512-93e3-508512b3965f-ciid:1-mid:1, type = Request, src instance = 1 (id = 60b5e850-ad32-4512-93e3-508512b3965f), target instance = 1, timestamp = Thu Nov 28 14:34:52 CST 2013] published. Waiting for response until timeout=5,000ms |
2013-11-28 14:34:52,450 | DEBUG| ActiveMQ Session Task| FailoverMessageServiceImpl| Received JMS message ID:(Name Removed)-54291-1385670163149-2:8:1:1:1 |
2013-11-28 14:34:52,462 | DEBUG| ActiveMQ Session Task| FailoverMessageServiceImpl| Received message [id = failoverMessage-cid:60b5e850-ad32-4512-93e3-508512b3965f-ciid:1-mid:1, type = Request, src instance = 1 (id = 60b5e850-ad32-4512-93e3-508512b3965f), target instance = 1, timestamp = Thu Nov 28 14:34:52 CST 2013] on cell instance 1 |
2013-11-28 14:34:52,469 | DEBUG| ActiveMQ Session Task| FailoverMessageServiceImpl| Published JMS message ID:(name removed)-54291-1385670163149-2:8:1:1:2 |
2013-11-28 14:34:52,469 | DEBUG| ActiveMQ Session Task| FailoverMessageServiceImpl| Response [id = failoverMessage-cid:60b5e850-ad32-4512-93e3-508512b3965f-ciid:1-mid:2, type = Response, src instance = 1 (id = 60b5e850-ad32-4512-93e3-508512b3965f), target instance = 1, timestamp = Thu Nov 28 14:34:52 CST 2013] published for request [id = failoverMessage-cid:60b5e850-ad32-4512-93e3-508512b3965f-ciid:1-mid:1, type = Request, src instance = 1 (id = 60b5e850-ad32-4512-93e3-508512b3965f), target instance = 1, timestamp = Thu Nov 28 14:34:52 CST 2013] |
2013-11-28 14:34:52,474 | DEBUG| ActiveMQ Session Task| FailoverMessageServiceImpl| Received JMS message ID:(Name removed)-54291-1385670163149-2:8:1:1:2 |
2013-11-28 14:34:52,475 | DEBUG| ActiveMQ Session Task| FailoverMessageServiceImpl| Received message [id = failoverMessage-cid:60b5e850-ad32-4512-93e3-508512b3965f-ciid:1-mid:2, type = Response, src instance = 1 (id = 60b5e850-ad32-4512-93e3-508512b3965f), target instance = 1, timestamp = Thu Nov 28 14:34:52 CST 2013] on cell instance 1 |
2013-11-28 14:34:52,476 | DEBUG| ActiveMQ Session Task| FailoverMessageServiceImpl| WaitHandle released for response [id = failoverMessage-cid:60b5e850-ad32-4512-93e3-508512b3965f-ciid:1-mid:2, type = Response, src instance = 1 (id = 60b5e850-ad32-4512-93e3-508512b3965f), target instance = 1, timestamp = Thu Nov 28 14:34:52 CST 2013] |
2013-11-28 14:35:02,835 | INFO| Spring Context: com.vmware.vcloud.backend-core | ThumbnailService          | 2 thumbnail request consumer for creating buckets initialized |
2013-11-28 14:35:02,856 | INFO| Spring Context: com.vmware.vcloud.backend-core | ThumbnailService          | Started 2 thumnail request consumers |
2013-11-28 14:35:03,319 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | ReplicatedEhCacheFactoryBean   | Using existing EHCache cache region 'com.vmware.vcloud.caches.IDPMetadataCache' |
2013-11-28 14:35:03,511 | DEBUG| VMTransport          | CellAuthenticatedBrokerFactory | Successfully authenticated user |
2013-11-28 14:35:08,051 | INFO| Spring Context: com.vmware.vcloud.backend-core | VAppServiceImpl           | VAppService initializing... |
2013-11-28 14:35:08,052 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Bundle symbolic name for task executor com.vmware.vcloud.vapp.impl.VAppServiceImpl@4ae98c2 is: com.vmware.vcloud.backend-core |
2013-11-28 14:35:08,052 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_UPDATE_VM' |
2013-11-28 14:35:08,052 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'TEMPLATE_UPDATE_VM' |
2013-11-28 14:35:08,053 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_DEPLOY' |
2013-11-28 14:35:08,053 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_UNDEPLOY_POWER_OFF' |
2013-11-28 14:35:08,053 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_UNDEPLOY_SUSPEND' |
2013-11-28 14:35:08,053 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_EJECT_CD_FLOPPY' |
2013-11-28 14:35:08,053 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_INSERT_CD_FLOPPY' |
2013-11-28 14:35:08,053 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_RELOCATE_VM' |
2013-11-28 14:35:08,053 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_CONSOLIDATE_VM' |
2013-11-28 14:35:08,053 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_UPGRADE_HW_VERSION' |
2013-11-28 14:35:08,054 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_ATTACH_DISK' |
2013-11-28 14:35:08,054 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_DETACH_DISK' |
2013-11-28 14:35:08,054 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_CHECK_VM_COMPLIANCE' |
2013-11-28 14:35:08,054 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_MIGRATE_VMS' |
2013-11-28 14:35:08,054 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_CREATE_SNAPSHOT' |
2013-11-28 14:35:08,054 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_REVERT_TO_CURRENT_SNAPSHOT' |
2013-11-28 14:35:08,054 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_REMOVE_ALL_SNAPSHOTS' |
2013-11-28 14:35:08,054 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'EXTENSION_ASSOCIATE_SOI_VM' |
2013-11-28 14:35:08,055 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'EXTENSION_DISASSOCIATE_SOI_VM' |
2013-11-28 14:35:08,055 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Bundle symbolic name for task executor com.vmware.vcloud.vapp.impl.VAppServiceImpl@4ae98c2 is: com.vmware.vcloud.backend-core |
2013-11-28 14:35:08,055 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_DISCARD_SUSPENDED_STATE' |
2013-11-28 14:35:08,055 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_RESUME' |
2013-11-28 14:35:08,055 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_INSTALL_TOOLS' |
2013-11-28 14:35:08,055 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_REBOOT_GUEST' |
2013-11-28 14:35:08,056 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_SUSPEND' |
2013-11-28 14:35:08,056 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_SHUTDOWN_GUEST' |
2013-11-28 14:35:08,056 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_RESET' |
2013-11-28 14:35:08,056 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | TaskServiceImpl           | Registered executor for task name 'VAPP_POWER_OFF' |
2013-11-28 14:35:08,056 | INFO| Spring Context: com.vmware.vcloud.backend-core | VAppServiceImpl           | VAppService initialized |
2013-11-28 14:35:14,376 | INFO| Spring Context: com.vmware.vcloud.backend-core | BackendService            | Starting back end... |
2013-11-28 14:35:14,376 | INFO| Spring Context: com.vmware.vcloud.backend-core | BackendService            | Back end started successfully. |
2013-11-28 14:35:14,776 | INFO| Spring Context: com.vmware.vcloud.backend-core | BackendService            | Start timer (com.vmware.ssdc.backend.monitoring.KerberosSyncTimer), delay: 600 sec |
2013-11-28 14:35:14,989 | INFO| Spring Context: com.vmware.vcloud.backend-core | BackendService            | Start timer (com.vmware.ssdc.backend.monitoring.TimerUpdateTimer), delay: 60 sec |
2013-11-28 14:35:15,090 | DEBUG| Spring Context: com.vmware.vcloud.backend-core | ReactionServiceImpl       | ReactionServiceImpl initialized. |
2013-11-28 14:35:53,753 | DEBUG| VC.TaskManager.NonActiveTaskCompletionsPurger | TaskManager               | Marked 0 tasks for purging |
2013-11-28 14:35:53,845 | DEBUG| VC.TaskManager.NonActiveTaskCompletionsPurger | TaskManager               | Purged 0 tasks. |
2013-11-28 14:36:03,226 | DEBUG| Bound HTTP Request Log Files | SizeBoundedNCSARequestLog | Found log file: 2013_11_28.request.log (Size = 22,090 bytes} |
2013-11-28 14:36:03,227 | DEBUG| Bound HTTP Request Log Files | SizeBoundedNCSARequestLog | Request log processing complete. Total log file size: 22,090 bytes; Deleted 0 request log files |
2013-11-28 14:36:21,225 | DEBUG| Cell Application     | Out                       | Application startup event: Error during application startup. Shutting down. (Missing: com.vmware.vcloud.backend-core) |
2013-11-28 14:36:21,232 | FATAL| Cell Application     | BundleStartupAction       | Application startup event: Error during application startup. Shutting down. (Missing: com.vmware.vcloud.backend-core) |

Why "Open in vSphere Web Client" function is not available for Organization Administrator?

$
0
0

Why "Open in vSphere Web Client" function is not available for Organization Administrator?

I can use this function when I login as System Administrator.

vCD 5.5 question

$
0
0

I understand that vCD trial is an appliance for evaluation, but where are the instructions for deploying it?

 

I'm new to vCD, so I'd like to learn more about it. I have lab with two host, vCenter, and few VMs.

 

Does it still require vShield? Does it have a self contained database within or do I still need to set up a SQL database?

 

I'd like to know what is needed for the appliance version for vCloud Director.

 

Thanks

Can't connect to vCloud Director Web UI after changing IP

$
0
0

Hi

 

We had a network change which involved changing the subnets for everything in our vCloud environment ranging from the Hosts to Domain Controllers, vShield Manager, vCloud Director Cells, etc.

 

Everything pings as expected, however when trying to open the Web UI I get "page cannot be displayed".  The ports are binding fine, no firewalls on, VCD Cells can ping database, etc but still no Web UI.  I even tried doing a #./configure via the VCD Cells but this made no difference.

 

I did notice that on the web page the vCloud Director logo displays next to the URL.

 

Any thoughts would be gratefully received.  Thanks


vCloud Connector 2.5 - Copy template from vSphere to vCloud Director fails

$
0
0

Hello all,

 

I'm trying to perform a copy of the template from the vSphere private cloud (e.g. my lab vCenter instance) to the vCloud Director private cloud (my vCD lab instance that is deployed and registered with the same vCenter instance mentioned earlier) with vCloud Connector 2.5.

 

I deployed the vCC Server component, configured, and deployed two vCC nodes - one to connect to the vCenter for vSphere private cloud config, and another one to connect to the vCloud Director org for vCD-based private cloud config. By the way, the vCloud Director is registered to the same vCenter instance that is being used for vSphere private cloud.

 

I then tried to initiate a template copy from the vSphere cloud node to the vCD node. The Export OVF Template task will begin, and the vCC plugin task will also show the copy task. The vCD instance also shows the vApp template being imported if you go to the Organization VDC properties selected during the vCC copy wizard.

 

After around 18% or so, the percentage gets stuck there for a bit before the "Export OVF Template" task fails with "Operation timed out". After that, the task shown in the vCC plugin will also eventually fail with (OVF Export failed. Null) message, and the vApp Template import task in vCD will also fail - the failed vApp will still take up the space within the assigned storage profile however until I manually delete the failed vApp Template object thru vCD.

 

Anyone else having this issue? I saw this issue on two environments so far: vCenter 5.1 Update 1 with vCD 5.1.2, and vCenter 5.5 with vCD 5.5. So the problem doesn't seem to be specific to vSphere version. The logs generated from vCC server hasn't bee all that helpful to me in figuring out what went wrong.

 

Thanks,

vCloud Director 5.1 - Windows Guest Domain Join

$
0
0

Hi Folks,

 

Good Day!

 

I'm trying to join my windows guest to domain using guest customization. But failed to do so. I have seen a article stating DHCP must be in place to enable guest domain join. But the article was for version 1.5. vCloud Director 5.1 also need DHCP to able to join windows guest to domain? Please clarify. Where I can pull logs for the same. (long back I tried with vCD 5.1 static pool and succeeded. Now no clue what could be the issue).

 

Best Regards,

Hari.

vCloud Director 5.1 - Guest OS Naming Automation

$
0
0

Hi, I wanted to know if we can automatically append 2 digit numeric to the VMs deployed through  vapp template (like we do in vCenter customization wizard "hostname{nn}").

 

Please clarify...

 

Thanks and Regards,

Hari.

Getting allocated IP count for org networks

$
0
0

I'm not sure if this proper forum or if I should be using the API forum.  Please move it if needed.

 

When using PowerCLI, it's easy to get the used & total IPs of an external network, but I don't see how get the used IPs for org networks. 

 

Getting used / total IPs for external networks

$externalNetwork = Get-ExternalNetwork 'network'

 

$externalNetwork.TotalIpCount

473

 

$externalNetwork.UsedIpCount

470

 

Org networks don't have the TotalIpCount or UsedIpCount properties.  I'm able to get the info from vCenter Orchestrator with the org network method getAllocatedAddresses().

 

I can get the allocated IP using other methods, but I'm looking for something quick like with external networks. 

 

Here are the methods and properties for external and org networks. 

 

PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> externalNetwork | gm

 

TypeName: VMware.VimAutomation.Cloud.Impl.V1.ExternalNetworkImpl

 

Name               MemberType Definition

----               ---------- ----------

ConvertToVersion   Method     T ConvertToVersion[T]()

Equals             Method     bool Equals(System.Object obj)

GetHashCode        Method     int GetHashCode()

GetType            Method     type GetType()

IsConvertableTo    Method     bool IsConvertableTo(type toType)

ToString           Method     string ToString()

ToVDPortgroup      Method     System.Collections.Generic.IEnumerable`1[[VMware.VimAutomation.Vds.Interop.V1.VDPortgroupInterop, VMware.VimAutomation.Vds.Int...

ToVirtualPortGroup Method     System.Collections.Generic.IEnumerable`1[[VMware.VimAutomation.ViCore.Types.V1.Host.Networking.VirtualPortGroupBase, VMware.Vi...

Description        Property   System.String Description {get;}

DnsSuffix          Property   System.String DnsSuffix {get;}

ExtensionData      Property   System.Object ExtensionData {get;}

Gateway            Property   System.Net.IPAddress Gateway {get;}

Href               Property   System.String Href {get;}

Id                 Property   System.String Id {get;}

Name               Property   System.String Name {get;}

Netmask            Property   System.String Netmask {get;}

PrimaryDns         Property   System.Net.IPAddress PrimaryDns {get;}

SecondaryDns       Property   System.Net.IPAddress SecondaryDns {get;}

StaticIPPool       Property   VMware.VimAutomation.Cloud.Types.V1.IPRangeList StaticIPPool {get;}

TotalIpCount       Property   System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] TotalIpCount {g...

UsedIpCount        Property   System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] UsedIpCount {get;}

VlanId             Property   System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] VlanId {get;}

 

 

PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> $orgNetwork | gm

 

TypeName: VMware.VimAutomation.Cloud.Impl.V1.OrgNetworkImpl

 

Name               MemberType Definition

----               ---------- ----------

ConvertToVersion   Method     T ConvertToVersion[T]()

Equals             Method     bool Equals(System.Object obj)

GetHashCode        Method     int GetHashCode()

GetType            Method     type GetType()

IsConvertableTo    Method     bool IsConvertableTo(type toType)

ToString           Method     string ToString()

ToVDPortgroup      Method     System.Collections.Generic.IEnumerable`1[[VMware.VimAutomation.Vds.Interop.V1.VDPortgroupInterop, VMware.VimAutomation.Vds.Int...

ToVirtualPortGroup Method     System.Collections.Generic.IEnumerable`1[[VMware.VimAutomation.ViCore.Types.V1.Host.Networking.VirtualPortGroupBase, VMware.Vi...

Description        Property   System.String Description {get;}

DnsSuffix          Property   System.String DnsSuffix {get;}

ExtensionData      Property   System.Object ExtensionData {get;}

ExternalNetwork    Property   VMware.VimAutomation.Cloud.Types.V1.ExternalNetwork ExternalNetwork {get;}

Gateway            Property   System.Net.IPAddress Gateway {get;}

Href               Property   System.String Href {get;}

Id                 Property   System.String Id {get;}

Name               Property   System.String Name {get;}

Netmask            Property   System.String Netmask {get;}

NetworkPool        Property   VMware.VimAutomation.Cloud.Types.V1.NetworkPool NetworkPool {get;}

NetworkType        Property   VMware.VimAutomation.Cloud.Types.V1.OrgNetworkType NetworkType {get;}

Org                Property   VMware.VimAutomation.Cloud.Types.V1.Org Org {get;}

PrimaryDns         Property   System.Net.IPAddress PrimaryDns {get;}

SecondaryDns       Property   System.Net.IPAddress SecondaryDns {get;}

StaticIPPool       Property   VMware.VimAutomation.Cloud.Types.V1.IPRangeList StaticIPPool {get;}

 

Thanks.

Question: sVmotion and vCloud Director - updating VM's storage profile

$
0
0

Hi,

 

I'm going to migrate a lot of vApps/virtual machines running in vCloud Director to a new storage system, and have created new Storage Profiles for this...

 

I've found info and tried out some alterntives, and one that _almost_ works is the script below.  But, the virtual machines storage profile is not updated accordingly.  Could some please look through the script and maybe point me in the right direction to get this right ?

 

The environment I'm trying to run this in runs:

vCloud Director 5.1

vCenter 5.0 U2

ESXi 5.0 U2

 

You will notice that I've commented out some commands.  This because this doesn't work here...this is related to profiles! 

 

 

 

########################################################################################################

# This function does a HTTP GET against the vCloud 5.1 API using our current API session.

# It accepts any vCloud HREF.

function Get-vCloud51($href)

{

$request = [System.Net.HttpWebRequest]::Create($href)

$request.Accept = "application/*+xml;version=5.1"

$request.Headers.add("x-vcloud-authorization",$global:DefaultCIServers[0].SessionId)

$response = $request.GetResponse()

$streamReader = new-object System.IO.StreamReader($response.getResponseStream())

$xmldata = $streamreader.ReadToEnd()

$streamReader.close()

$response.close()

return $xmldata

}

 

# This function gets an OrgVdc via 1.5 API, then 5.1 API.

# It then returns the HREF for the storage profile based on the $profilename and

 

function Get-storageHref($orgVdc,$profileName)

{

$orgVdc51 = Get-vCloud51 $orgVdc.Href

$storageProfileHref = $orgVdc51.vdc.VdcStorageProfiles.VdcStorageProfile | Where-Object{$_.name -eq "$profileName"} | foreach {$_.href}

write-host $storageProfileHref

return $storageProfileHref

}

 

#################################################################################################################################################

 

$orgVdc = get-orgvdc "Trainee vDC"

 

$profileName = "SystemDisk"

$profileHref = Get-storageHref $orgVdc $profileName

 

$destDatastoreName = "R01A-VCLOUD-SYS-CNN-01"

$vmNames = $orgVdc | get-civapp get-civm Alexandra | get-civm

 

foreach($vmName in $vmNames)

{

 

    $vmQuery = Search-Cloud -QueryType AdminVM -Name $vmName

 

     if ($destDatastoreName -eq $vmQuery.datastoreName)

     {

      Write-Host -ForegroundColor Red "Silly Wabbit, You are trying to sVmotion to the same Datastore."

      #break

     }

     else

     {

         

     if($vmName.Status -match "PoweredOn")

     {    

        write-host Suspending $vmName.name

        $vmName | suspend-civm

       

     }

     if($vmName.Status -match "PowerOff" -or $vmName.Status -match "Suspended")

     {

        write-host No need to suspend $vmName.name, just going on!

     }    

     $dsQuery = Search-Cloud -QueryType Datastore -Name $destDatastoreName

     $dsRef = New-Object vmware.vimautomation.cloud.views.reference

     $dsRef.Href = "https://$($global:DefaultCIServers[0].name)/api/admin/extension/datastore/$($dsquery.id.split(':')[-1])"

     write-host Relocating $vmName

     $vmName.ExtensionData.Relocate($dsRef)    ## This works, but the virtual machines profile name doesn't get updated

    

     #$newSettings = $vmName.ExtensionData

     #$newSettings.storageprofile.name = "$profileName"   ## This doesn't work - does $vmName.ExtensionData.Storageprofile exist ?

     #$newSettings.storageprofile.Href = "$profileHref"   ## This doesn't work - does $vmName.ExtensionData.Storageprofile exist ?

     #Write-Host "Changing the storage profile for $vmName to $profileName"

    

    

     $vmName | start-civm

     #$newSettings.UpdateServerData()

    }

}

Hierarchy of native clones of file name.vmdk is too deep

$
0
0

I am just kicking the tires on this new 5.1.2 environment and doing some testing to get it up and running, but I am seeing some really odd storage related issues while trying to do some basic tasks in the GUI.  When I try to provision more than 1 VM in a vApp I get an error stating insufficient permissions or datastore has exceeded its file count limit, and when I attempt to publish things from an organization into that organization's catalog I get an error stating the hierarchy of native clones of file vmdk is too deep.

 

The storage array gives r/w and root access to the datastores , so I really feel like permissions are not the issue.  Does anyone have thoughts on this?

 

While trying to provision more than 1 VM in a vApp:

Insufficient permissions or datastore has exceeded its file count limit.

vCenter Server task (moref: task-2102) failed in vCenter Server 'dccvcdvcprd01' (1c495c36-1f5b-4322-bc19-b77b8526b898).

- Unable to access file [dccb-nfsprd01] Win7_Test-1 (f1f78f06-57fb-4dd7-b524-7325f6b79929)

 

While attempting to upload to catalog:

Failure occurred while trying to access file [dccb-nfsprd01] Red Hat Enterprise Linux 6.4 x86 (4221568e-58b5-48e2-b3c6-bb3e995a58be)/Red Hat Enterprise Linux 6.4 x86 (4221568e-58b5-48e2-b3c6-bb3e995a58be).vmdk.

vCenter Server task (moref: task-3967) failed in vCenter Server 'dccvcdvcprd01' (1c495c36-1f5b-4322-bc19-b77b8526b898).

- The hierarchy of native clones of file [dccb-nfsprd01] Red Hat Enterprise Linux 6.4 x86 (4221568e-58b5-48e2-b3c6-bb3e995a58be)/Red Hat Enterprise Linux 6.4 x86 (4221568e-58b5-48e2-b3c6-bb3e995a58be).vmdk is too deep.

 

Thanks in advance!

What't the best practice to migrate the vSphere VMs to vCloud Director?

$
0
0

Hi Experts,

 

What't the best practice to migrate the vSphere VMs to vCloud Director?

 

Thanks.


vCD 5.5 on CentOs - about to install, any problems or advice?

$
0
0

Hi All,

 

I'm about to set up a new vCloud environment (5.5 on CentOs), as we have no RHEL license.

This will be a production environment (small provider) and I'm new to vCloud.

I'm a bit concerned about any issues I might have, as most people's experience is with RHEL up until now. But then again, now that CentOs is fully supported with 5.5, I shouldn't be concerned because I can just log tickets with support, correct?

I'm also going to be importing some VMs from an older environment that was created with the appliance, and will be importing via OVFs.

 

Any ideas, tips, or advice on vCD on Centos is welcome

 

Thanks in advance

No change IP on Virtual Machine

$
0
0

Hi, I have question, thanks for help me.

I create new virtual machine on vcloud director. This virtual machine when get one public ip from my ip pool. I don't want my customer change this public IP. How can I do that?

Thanks alots. Sorry about my english but I hope you can understand what I mean.

Java Apps appear half width in VMs accessed through RDP

$
0
0

Hello,

 

I created a Win7x64 VM and installed Java on it (currently build 1.7.0_45-b18).

 

When I access the VM through VCD under FireFox, and then open the Java Control Panel (or run a Java app), everything looks fine.

 

But, if I access the VM through RDP and then open the Java Control Panel (or run a Java app), the app is squished horizontally to occupy only the first half of the area, and it has a green background.

Here's an example:

http://i.imgur.com/laNG53C.jpg

 

I've changed the resolution settings in the VM from upwards of 1920x1080 down through 1024x768 with the same results.

I've also uninstalled and reinstalled Java.

 

Has anyone else encountered this or have a suggestion on correcting it?

 

Thanks in advance for any help,

- Tom

How to VPN from my home PC to my vCloud director network?

$
0
0

Greetings.

 

I'd like to VPN from my desktop at home to my vCloud network. I've a vDC on vCloud Director 1.5 (that's what my provider offers, I know it's outdated), and it's connected to the internet with an external, static IP - 203.59*.x.x. The vDC has 2 VMs.

 

- I did some reading and found where to configure site-to-site VPN on the network properties. After clicking 'enable site-to-site VPN', what do I do next? If I go to add > remote network, I'm supposed to fill in my "peer IP" - is that the randomly assigned IP address my ADSL modem gets from the internet service provider? This feels pointless, as it changes every time I reconnect. What's my 'peer gateway'? Is it my home router, 10.1.1.1?

 

- Also, how does one configure the VPN dialer on the desktop itself? When I attempted it, it prompted me to add a username and a password, but there was no such requirement when I enabled VPN on vCloud Director.

 

The documentation I found online on this matter either refers to vCloud Director 5.1, which is not what I'm using, or tricky for me to comprehend. A step by step guide would be nice. Long story short, I've no idea what I'm doing and could use some help. Thank you.

vc 5.5, vcd 5.1 storage profiles problem

$
0
0

hi all,

 

I have a vcenter 5.5 / esx 5.5 setup with vcd 5.1. My management kit is setup on a hyperV instance with iscsi shared disk.

 

Vcenter & hosts successfully connect to the iscsi setup. However when I connect vCenter to vCD I get an issue vCD complaining about the storage profile service not working.

 

Vcenter has iscsi endpoints setup with IO ports active on VMKernal switch. I found some other post which stated to disable vCenter in vCD.

 

Then restart the inventory service and storage profile service then reenable in vCD.

 

This did not work for me, not sure where to head next, any ideas?

Viewing all 4515 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>