Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Running rolling-action command for compute engine instance-groups by gcloud doesn't work

I'm trying to replace VM instances in instance group with gcloud CLI tool. But it not actually working.This is the command I used to run rolling-action command. It is generated by equivalent command line in GCP console.

 

 

gcloud beta compute instance-groups managed rolling-action start-update $GROUP_NAME --project=$PROJECT_ID --type='proactive' --max-surge=1 --max-unavailable=1 --min-ready=30 --minimal-action='replace' --replacement-method='substitute' --version=template=$TEMPLATE --zone=$ZONE

 

 

The result says there is no action to do and it is actually doing nothing.

 

 

 

creationTimestamp: '2023-01-10T23:35:54.691-08:00'
currentActions:
  abandoning: 0
  creating: 0
  creatingWithoutRetries: 0
  deleting: 0
  none: 3
  recreating: 0
  refreshing: 0
  restarting: 0
  resuming: 0
  starting: 0
  stopping: 0
  suspending: 0
  verifying: 0

 

 

What is the problem with this? 

0 1 1,092
1 REPLY 1