cli icon indicating copy to clipboard operation
cli copied to clipboard

mas provision-aws stuck in a loop creating multiple VPCs

Open ederfalmeida opened this issue 1 year ago • 1 comments

MAS CLI version

latest

CLI function used

install

What happened?

I got the latest version of the cli v10.8.0 and issued the command mas provision-aws after setting the following variables:

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • export IPI_ROOTVOLUME_SIZE
  • AWS_DEFAULT_REGION

The installation gets stuck in the Create cluster step. When I log into the AWS console, I see multiple VPCs being created.

image

It does create a single EC2 instance.

Relevant log output

TASK [ibm.mas_devops.ocp_provision : ipi : Create cluster] ******************************************************************************************************************************************************************************************
FAILED - RETRYING: [localhost]: ipi : Create cluster (60 retries left).
FAILED - RETRYING: [localhost]: ipi : Create cluster (59 retries left).
FAILED - RETRYING: [localhost]: ipi : Create cluster (58 retries left).
FAILED - RETRYING: [localhost]: ipi : Create cluster (57 retries left).
FAILED - RETRYING: [localhost]: ipi : Create cluster (56 retries left).
FAILED - RETRYING: [localhost]: ipi : Create cluster (55 retries left).
FAILED - RETRYING: [localhost]: ipi : Create cluster (54 retries left).
FAILED - RETRYING: [localhost]: ipi : Create cluster (53 retries left).
FAILED - RETRYING: [localhost]: ipi : Create cluster (52 retries left).
FAILED - RETRYING: [localhost]: ipi : Create cluster (51 retries left).
FAILED - RETRYING: [localhost]: ipi : Create cluster (50 retries left).

ederfalmeida avatar Aug 22 '24 23:08 ederfalmeida

It works fine on version 10.7.0 of the IBM Maximo Application Suite CLI Container.

ederfalmeida avatar Aug 23 '24 00:08 ederfalmeida