Hello Suresh.

Thanks for the tip, worked fine.

Best regards.


Em 28/06/2021 01:37, Suresh Anaparti escreveu:
Hi Kalil,

Can you check the config setting 'capacity.skipcounting.hours ', which is the 
wait time before releasing the VM resources.

The setting 'host.reservation.release.period' is the time interval to check and 
release the host reservations, but the resources are not released until the 
duration specified through 'capacity.skipcounting.hours' setting after VM is 
stopped.

Regards,
Suresh

On 25/06/21, 7:28 PM, "Kalil de Albuquerque Carvalho" 
<kalil.carva...@hybriddc.com.br> wrote:

     Hello all.

     Some days ago I asked how to release the resources when my instances
     been halted. A member reply me with "host.reservation.release.period"
     setting, on global configuration. I changed to 5, the statement, reboot
     the CloudStack service but it is not releasing the resources and it is
     showing me this messages in the management server:

     2021-06-25 09:45:54,680 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
     (HostReservationReleaseChecker:ctx-6a943f41) (logid:fa97e34d) Checking
     if any host reservation can be released ...
     2021-06-25 09:45:54,686 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
     (HostReservationReleaseChecker:ctx-6a943f41) (logid:fa97e34d) Cannot
     release reservation, Found VM: VM[User|i-5-106-VM] Stopped but reserved
     on host 1
     2021-06-25 09:45:54,691 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
     (HostReservationReleaseChecker:ctx-6a943f41) (logid:fa97e34d) Cannot
     release reservation, Found VM: VM[User|i-2-105-VM] Stopped but reserved
     on host 3
     2021-06-25 09:45:54,695 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
     (HostReservationReleaseChecker:ctx-6a943f41) (logid:fa97e34d) Cannot
     release reservation, Found 1 VMs Running on host 4
     2021-06-25 09:45:54,700 DEBUG [c.c.d.DeploymentPlanningManagerImpl]
     (HostReservationReleaseChecker:ctx-6a943f41) (logid:fa97e34d) Cannot
     release reservation, Found 3 VMs Running on host 5


     this situation keep going and not release the resources.

     All my instances are halted, just System VM's and Virtual Routers are
     running.

     My environment is:

     What am I doing wrong?

     Where can I fix this?

     CloudStack: 4.15

     Distro: CentOS 7.9

     Kernel: 3.10.0-1160.25.1.el7.x86_64

     Best regards.




Reply via email to