Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini menunjukkan cara mengatasi masalah terkait perubahan pemesanan. Untuk mempelajari pemesanan lebih lanjut, lihat Pemesanan resource zona Compute Engine.
Mencoba menghapus kebijakan penempatan rapat untuk pemesanan
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'
Penyelesaian: Untuk menghapus kebijakan penempatan ringkas yang ditentukan dalam reservasi,
pilih salah satu metode berikut:
Jika Anda membuat pemesanan dengan menentukan template instance, ikuti
langkah-langkah berikut:
Mencoba untuk mengurangi pemesanan tertentu menjadi lebih sedikit VM daripada jumlah yang ditargetkan
Error berikut terjadi saat Anda mencoba mengurangi jumlah VM yang dicadangkan dalam pemesanan tertentu menjadi jumlah yang lebih rendah dari jumlah VM yang menggunakan pemesanan.
Pesan error:
The resize instance count cannot be lower than the in use count for a specific reservation.
Penyelesaian: Untuk memastikan jumlah VM dalam pemesanan tertentu
sama dengan atau lebih rendah dari jumlah VM yang menggunakan pemesanan, lakukan salah satu
tindakan berikut dengan VM yang berlebih:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-19 UTC."],[[["\u003cp\u003eThis page provides guidance on resolving issues encountered when modifying Compute Engine reservations, specifically focusing on compact placement policy deletion and downsizing specific reservations.\u003c/p\u003e\n"],["\u003cp\u003eTo delete a compact placement policy associated with a reservation, you must first delete the reservation itself, followed by the policy, and if applicable, also delete the instance template in which the policy may have been specified.\u003c/p\u003e\n"],["\u003cp\u003eWhen attempting to downsize a specific reservation, an error occurs if the new number of reserved VMs is less than the number of VMs currently consuming the reservation.\u003c/p\u003e\n"],["\u003cp\u003eTo successfully downsize a specific reservation, you must first delete, stop, or suspend the excess VMs consuming the reservation to ensure the number of reserved VMs is not less than the number of consuming VMs.\u003c/p\u003e\n"]]],[],null,["# Troubleshooting reservation updates\n\n*** ** * ** ***\n\nThis page shows you how to resolve issues with modifying reservations. To learn more about reservations, see [Reservations of Compute Engine zonal resources](/compute/docs/instances/reservations-overview).\n\nAttempt to delete a reservation's compact placement policy\n----------------------------------------------------------\n\nThe following error occurs when you try to delete a reservation's\n[compact placement policy](/compute/docs/instances/use-compact-placement-policies)\nbefore deleting the reservation.\n\n**Error message**: \n\n The resource_policy resource 'projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/regions/\u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e/resourcePolicies/\u003cvar translate=\"no\"\u003eCOMPACT_PLACEMENT_POLICY_NAME\u003c/var\u003e' is already being used by 'projects/\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/zones/\u003cvar translate=\"no\"\u003eZONE\u003c/var\u003e/reservations/\u003cvar translate=\"no\"\u003eRESERVATION_NAME\u003c/var\u003e'\n\n**Resolution**: To delete a compact placement policy specified in a reservation,\nselect one of the following methods:\n\n- If you created the reservation by specifying an instance template, follow\n these steps:\n\n 1. [View the details of the reservation](/compute/docs/instances/reservations-view#describe-reservations)\n and make note of the reservation's instance template.\n\n 2. [Delete the reservation](/compute/docs/instances/reservations-delete#deleting_a_reservation).\n\n 3. [Delete the instance template](/compute/docs/instance-templates/get-list-delete-instance-templates#delete_an_instance_template).\n\n | **Note:** You can't [update instance templates](/compute/docs/instance-templates#how_to_update_instance_templates). If you delete a compact placement policy specified in an instance template, attempting to use the template to create reservations or virtual machine (VM) instances causes errors.\n 4. [Delete the compact placement policy](/compute/docs/instances/manage-placement-policies#delete-policy).\n\n- If you created the reservation by specifying properties directly, follow\n these steps:\n\n 1. [Delete the reservation](/compute/docs/instances/reservations-delete#deleting_a_reservation).\n\n 2. [Delete the compact placement policy](/compute/docs/instances/manage-placement-policies#delete-policy).\n\nAttempt to downsize a specific reservation to less VMs than the targeted number\n-------------------------------------------------------------------------------\n\nThe following error occurs when you try to decrease the number of reserved VMs\nin a\n[specific reservation](/compute/docs/instances/reservations-overview#consumption-type)\nto a number that is lower than the number of VMs that consume the reservation.\n\n**Error message**: \n\n The resize instance count cannot be lower than the in use count for a specific reservation.\n\n**Resolution**: To ensure that the number of VMs in the specific reservation is\nequal to or lower than the number of VMs that consume the reservation, do one of\nthe following with the VMs in excess:\n\n- [Delete VMs](/compute/docs/instances/deleting-instance)\n\n- [Stop](/compute/docs/instances/stop-start-instance#stop-vm) or\n [suspend the VMs](/compute/docs/instances/suspend-resume-instance)\n\n | **Caution:** If you stop or suspend instances in excess instead of deleting them, then those instances no longer count against the reservation, and you can proceed to modify the reservation. However, after you modify the reservation, you can't restart or resume the instances unless you increase the number of instances in the reservation or delete other instances that are consuming it."]]