VMware Cloud Community
IvanZito
Contributor
Contributor

I can't stop the vAPP

I'm implementing a new template vAPP:

  1. I create the vAPP
  2. I install the SO (W2008 R2)
  3. I enable the "customization check into the properties of the VM"
  4. The VM then restart the operating system

In the four point I have the problema, the vAPP is all time in "powering status" is not posible shutdown the vAPP. I'm try the power off the app with the "stop" and with the "Force Stop" but the vAPP don't stop. Into the virtual center the status of the machine is shutdown.

When I try to do a "Force Stop" I recive the next message:

"The entity 2008_VM is busy completing an operation"

How can I the resolve my problem ??


Is posible kill this process ??


How can I force the shutdown or delete my vAPP ??

What's the log that I have to check ??

Thank you !!

---------------------------------------------------
Write easy and use the common language.
Not all people are native
Thanks
---------------------------------------------------
Reply
0 Kudos
2 Replies
IvanZito
Contributor
Contributor

My logs en vdirector tell it:

taskName=PowerOffVM_Task, progress=null, entityName=1990752472-W2008-R2-EN], polled from vc = false |

2011-02-21 14:26:40,064 | DEBUG    | ActiveMQ Session Task     | WaitHandle                     | Skipping update for task [moref=task-7329, state=SUCCESS, taskName=PowerOffVM_Task, progress=null, entityName=1990752472-W2008-R2-EN] as it is in complete state. |

Vdirector2:

8-R2-EN has multiple datastores |

2011-02-21 16:24:11,741 | WARN     | pool-validationservice-13-thread-861 | VirtualMachineDatabaseProvider | Virtual machine 1990752472-W2008-R2-EN has multiple datastores |

2011-02-21 16:24:11,742 | WARN     | pool-validationservice-13-thread-861 | VirtualMachineInventoryRecordImpl | Virtual machine 1990752472-W2008-R2-EN has multiple datastores |

I've multiples datastores.

How is posible resolve it ??

How can I kill the process 7329 ??

---------------------------------------------------
Write easy and use the common language.
Not all people are native
Thanks
---------------------------------------------------
Reply
0 Kudos
IvanZito
Contributor
Contributor

!!! Good !!!

The problem was that my VM into the vAPP had a cdroom in a diferent datastore, I tried "add to catalog"

The error into the vcloud log were it:


2011-02-21 16:24:11,741 | WARN     | pool-validationservice-13-thread-861 | VirtualMachineDatabaseProvider | Virtual machine 1990752472-W2008-R2-EN has multiple datastores |

The solution:

- Stop the system cells the procedure is it:

  1. Disable vCenter en vDirector
  2. Stop the services into the cells ( vDirector Servers ) using: service vmware-vcd stop. the first in the cell1 and the second into the cell2. If you has a unique cell only has to stop into the cell1.
  3. Start the services into the cells. verify than the services finish the start. ( tail -f /opt/vmware/cloud-director/logs/cell.log )


Application Initialization: 54% complete. Subsystem 'com.vmware.vcloud.backend-core' started
Application Initialization: 63% complete. Subsystem 'com.vmware.vcloud.ui.configuration' started
Application Initialization: 72% complete. Subsystem 'com.vmware.vcloud.imagetransfer-server' started
Application Initialization: 81% complete. Subsystem 'com.vmware.vcloud.rest-api-handlers' started
Application Initialization: 90% complete. Subsystem 'com.vmware.vcloud.jax-rs-servlet' started
Application Initialization: 100% complete. Subsystem 'com.vmware.vcloud.ui-vcloud-webapp' started
Application Initialization: Complete. Server is ready in 0:55 (minutes:seconds)
Successfully initialized ConfigurationService session factory
Successfully started scheduler
Successfully started remote JMX connector on port 8999

  4. Enable vCenter into the vDirector

  5. Reconnect vCenter into the vDirector

  6. Force shutdown vAPP

  7. Delete de VMs o vAPP

---------------------------------------------------
Write easy and use the common language.
Not all people are native
Thanks
---------------------------------------------------
Reply
0 Kudos