Error "FailedToCreateNamespace timed out after 600 seconds" while creating a second namespace in existing project
search cancel

Error "FailedToCreateNamespace timed out after 600 seconds" while creating a second namespace in existing project

book

Article ID: 421075

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

Unable to create a second namespace in existing project with a shared VPC. 

Config status for the namaespace on the vCenter server is stuck at " Configuring " and and errored with the status message " Failed to create new Resource Pool under identifier ' resgroup-xx ".This operation will be retried " .  

 

The  " /var/log/services-logs/prelude/ccs-infra-eas-app/file-logs/ccs-infra-eas-app.log " has the following snippsts : - 

xxxx-xx-xxTxx:xx:xx.xxxZ INFO ccs-infra-eas-app [host='xxx-xxxxx-xxx-app-xxxxxxxxxx-xxxxx' thread='reconciler-1' user='' org='' trace='xxxxxxxxxxxxxxxxxxxxxxxxx'] c.v.c.e.i.s.r.SupervisorNamespaceReconcileService - Namespace xxx-xxxxxx-xxxxxxx-xxxxx: Begin reconciling. Phase: Creating Substage: CREATING_NAMESPACExxxx-xx-xxxx:xx:xx.xxxZ INFO ccs-infra-eas-app [host='xxx-xxxxx-xxx-xxx-xxxxxxxxx-xxxxx' thread='reactor-http-epoll-2' user='' org='' trace='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'] c.v.c.e.i.s.r.t.SupervisorNamespaceCreateService - Namespace xxx-xxxxxx-xxxxxxx-xxxxx: Create namespace Task: urn:vcloud:task:xxxxxxxx-xxx-xxxx-xxx-xxxxxxxxxxxx, TaskStatus: errorxxxx-xx-xxTxx:xx:xx.xxxZ ERROR ccs-infra-eas-app [host='xxx-xxxxx-xxx-xxx-xxxxxxxxxx-xxxxx' thread='reactor-http-epoll-2' user='' org='' trace='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'] c.v.c.e.i.s.r.t.SupervisorNamespaceCreateService - Namespace xxx-xxxxxx-xxxxxxx--xxxxx: Create namespace Task: urn:vcloud:task:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, Error: [ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxx-xxxx-xxx-xxxx-xxxxxxxxxxxx ] java.util.concurrent.TimeoutException: Creation of Namespace xxx-xxxxxx-xxxxxxx-xxxxx timed out after 600 seconds.xxxx-xx-xxTxx:xx:xx.xx4Z INFO ccs-infra-eas-app [host='xxx-xxxxx-xxx-app-xxxxxxxxxx-xxxxx' thread='reactor-http-epoll-2' user='' org='' trace='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'] c.v.c.e.i.s.r.t.SupervisorNamespaceCreateService - Namespace xxx-xxxxxx-xxxxxxx--xxxxx: To stage ERROR: [ xxxxxxxxxx-xxx-xxx-xxx-xxxxxxxxxxxx ] java.util.concurrent.TimeoutException: Creation of Namespace xxx-xxxxxx-xxxxxxx-xxxxx timed out after 600 seconds. [FailedToCreateNamespace]xxxx-xx-xxTxx:xx:xx.xxxZ ERROR ccs-infra-eas-app [host='xx-xxxxx-xxs-xxx-xxxxxxxxxx-xxxx' thread='reactor-http-epoll-2' user='' org='' trace='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'] c.v.c.e.i.s.r.t.SupervisorNamespaceCreateService - Namespace ssc-cohere-sandbox-2pkdg: Failed to create namespace. FailedToCreateNamespace: [ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx ] java.util.concurrent.TimeoutException: Creation of Namespace xxx-xxxxxx-xxxxxxx-xxxxx timed out after 600 seconds.

 

Environment

VCF Automation 9.0.1 

Cause

The VM class is not available or not configured with the second Namespace. 

Resolution

Make sure that the VM class is available and the same is configured with the second Namespace to be created.

 

 

Additional Information

Feedback received towards  improving clear and accurate error logging in this case the Namespace creation was failing due to no availability of the VM class.