Troubleshooting reservation updates


This page shows you how to resolve issues with modifying reservations of Compute Engine zonal resources.

Attempt to delete a reservation's compact placement policy

The following error occurs when you try to delete a reservation's compact placement policy before deleting the reservation.

Error message:

The resource_policy resource 'projects/PROJECT_ID/regions/REGION/resourcePolicies/COMPACT_PLACEMENT_POLICY_NAME' is already being used by 'projects/PROJECT_ID/zones/ZONE/reservations/RESERVATION_NAME'

Resolution: To delete a compact placement policy specified in a reservation, select one of the following methods:

Attempt to downsize a specific reservation to less VMs than the targeted number

The following error occurs when you try to downsize a specific reservation to a number of VMs that is lower than the number of VMs that are targeting the reservation for consumption.

Error message:

The resize instance count cannot be lower than the in use count for a specific reservation.

Resolution: Try one of the following:

  • Make sure that the number of reserved VMs in a specific reservation is equal or greater than the number of VMs that are targeting the reservation for consumption.

  • To downsize a specific reservation to reserve less VMs than the number of VMs that are targeting the reservation for consumption, follow these steps:

    1. Make the number of VMs in the specific reservation equals the number of VMs that are targeting the reservation by doing one or more of the following:

      • Delete VMs.

      • Update the reservationAffinity property of VMs.

    2. Stop and start any remaining VMs.