"Expected in: flat namespace" while deploying VCSA 6.0 using command line fails on Mac OS
search cancel

"Expected in: flat namespace" while deploying VCSA 6.0 using command line fails on Mac OS

book

Article ID: 301633

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:
  • Deploying VCSA 6.0 using command line fails on Mac OS.
  • The vcsa-deploy installer from the vCenter Server Appliance 6.0 U2 or later ISO fails with the error:

    EC_C02N113HFD59:mac tkms157$ ./vcsa-deploy -h
    Traceback (most recent call last):
    File "/build/toolchain/mac32/cx-Freeze-4.3.3/lib/python2.7/site-packages/cx_Freeze-4.3.3-py2.7-macosx-10.5-intel.egg/cx_Freeze/initscripts/Console.py", line 27, in <module>
    File "main.py", line 21, in <module>
    File "/build/toolchain/mac32/python-2.7.8-openssl1.0.1p/lib/python2.7/tempfile.py", line 32, in <module>
    File "/build/toolchain/mac32/python-2.7.8-openssl1.0.1p/lib/python2.7/io.py", line 51, in <module>
    ImportError: dlopen(/Users/username/Desktop/VMware VCSA/vcsa-cli-installer/mac/_io.so, 2): Symbol not found: __PyInt_AsInt
    Referenced from: /Users/username/Desktop/VMware VCSA/vcsa-cli-installer/mac/_io.so
    Expected in: flat namespace
    in /Users/username/Desktop/VMware VCSA/vcsa-cli-installer/mac/_io.so


    Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.


Resolution

This issue is resolved in VMware vCenter Server Appliance 6.0 U3, available at VMware Downloads.



    Workaround:
    1. Download and extract the files from the VCSA 6.0 U1b ISO.
    2. Download and extract the files from the VCSA 6.0 U2 ISO.
    3. Replace the vcsa-cli-installer folder from the extracted VCSA 6.0 U2 ISO with the vcsa-cli-installer folder from the extracted VCSA 6.0 U1b ISO.
    4. Proceed with the normal JSON deployment or upgrade.


    Additional Information

    To be alerted when this document is updated, click the Subscribe to Article link in the Actions box.