Namespace IaaS Service are not available in the VCFA UI but are working in a browser incognito mode
search cancel

Namespace IaaS Service are not available in the VCFA UI but are working in a browser incognito mode

book

Article ID: 439513

calendar_today

Updated On:

Products

VCF Automation VMware vSphere ESXi

Issue/Introduction

After you successfully provision a Supervisor Namespace (manual-test-namespace), the Overview page remains in an error state. Despite the Manage & Govern grid reporting Active, the Overview dashboard displays a Not active warning and fails to list any associated services (TKG, VM Service, etc.).

You may see the following in the UI under Build & Deploy > Services > Namespaces

  • Services are not available for the namespace, try again later or check with your administrator.
  • This namespace is not active.

 If opening the Overview page under Build and Deploy in an incognito browser window resolves the issue, follow the resolution section to apply the fix.

Environment

VCF Automation 9.1

Cause

The issues in the UI is caused by having a cookie too big which overflows the default 8 KB total header size limitation on some VCFA APIs. In most cases the large cookie is filled with multiple "*.redirectTo" and "*.state" entries.

Resolution

To resolve this issue, increase the default.proxy.client.requestBufferSize configuration value using the Cell Management Tool within the Tenant Manager pod.

Prerequisites

  • SSH access to the VCFA server.

Steps

  1. Elevate privileges and configure Kubernetes access: Once logged into the VCFA server, elevate to the root user and load the Kubernetes administrative configuration file:
    sudo -i
    export KUBECONFIG=/etc/kubernetes/admin.conf
  2. Access the Tenant Manager pod: Open an interactive bash session inside the tenant-manager-0 pod located in the prelude namespace:
    kubectl exec -it -n prelude tenant-manager-0 -- bash
  3. Navigate to the Management Tools: Change your directory to the location of the management binaries:
    cd /opt/vmware/vcloud-director/bin
  4. Update the buffer size configuration: Use the Cell Management Tool to set the new request buffer size to 128000:
    ./cell-management-tool manage-config -n default.proxy.client.requestBufferSize -v 128000
  5. Verify the configuration change: Confirm that the new value was applied correctly:
    ./cell-management-tool manage-config -n default.proxy.client.requestBufferSize -l
    Expected Outcome: The system should explicitly return the following string: Property "default.proxy.client.requestBufferSize" has value "128000"
  6. Exit the pod session: Close the interactive bash session to return to the VCFA server prompt:
    exit
  7. Restart the Tenant Manager service: Force a restart of the Tenant Manager service by deleting the existing pods. Kubernetes will automatically recreate them with the new configuration:
    kubectl -n prelude delete pod -l app=tenant-manager
  8. Monitor pod health: Watch the status of the Tenant Manager pods until they return to a Running state:
    kubectl get pods -n prelude | grep "tenant-manager"