1

最近,我通過Web控制檯或gcloud命令啓用「Google Container Engine API」後,未能在新的GCP項目上自動啓用「Google Compute Engine API」。因此,當我試圖通過API創建容器集羣時,我遇到了錯誤。響應中的錯誤消息如下所示。 Off-course,手動啓用「Google Compute Engine API」,可以緩解錯誤。啓用Google Container Engine API不會自動啓用Google Compute Engine API

Google Compute Engine:Access Not Configured。 Compute Engine API尚未在項目123456789012中使用,或者被禁用。通過訪問https://console.developers.google.com/apis/api/compute-component.googleapis.com/overview?project=123456789012啓用它,然後重試。如果您最近啓用了此API,請等待幾分鐘,以便將操作傳播到我們的系統並重試。

當我在2017-02-24沒有明確啓用「Google Compute Engine API」的情況下做同樣的操作時,它工作正常。 我不知道這是否意圖改變或API依賴管理的一些錯誤。

問候,

回答

1

這是做工精細,當我做同樣的操作在2017年2月24日沒有讓「谷歌計算引擎API」作了明確規定。我想知道這是否意味着更改或API依賴關係管理上的一些錯誤。

這最近已被修復(巧合地在你的問題發佈後的幾個小時內)。我只是通過創建新項目進行手動驗證,驗證Google Container Engine API和Google Compute Engine API都已禁用,啓用Google Container Engine API,然後驗證Google Container Engine API和Google Compute Engine API是否都已啓用啓用。

+0

謝謝您的信息! –

+0

的確,謝謝。 –

相關問題