VMware Aria Suite Lifecycle UI not available to login post applying the Product Support Pack
search cancel

VMware Aria Suite Lifecycle UI not available to login post applying the Product Support Pack

book

Article ID: 345977

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

  • To be able to successfully apply the product support packs on the VMware Aria Suite Lifecycle.


Symptoms:
  • VMware Aria Suite Lifecycle UI not available to login post applying the Product Support Pack.
  • Issue is same no matter which support pack you apply.
  • The application server comes up and allows log in via vSphere console or SSH. The page just gives a message of 'Download Logs' after trying to start the services:

image.png

  • Bootstrap logs shows below error:
2023-10-05 08:40:24,282 __main__ - INFO:zip created successfully
2023-10-05 08:40:24,361 __main__ - INFO:Response: <Response [200]>
2023-10-05 08:40:24,361 __main__ - INFO:password update is successful
2023-10-05 08:40:24,361 __main__ - INFO:in inventory operation
2023-10-05 08:40:24,362 __main__ - INFO:invoking bulk operation
2023-10-05 08:40:24,362 __main__ - ERROR:Exception while running bootstrap script
Traceback (most recent call last):
  File "/var/lib/vrlcm/insert.py", line 429, in <module>
    inventoryoperation(sys.argv[1],sys.argv[2])
  File "/var/lib/vrlcm/insert.py", line 153, in inventoryoperation
    postbulkfunction (hostname+str(inventory_data['url']),scriptpath+str(inventory_data['file']),scriptpath,str(inventory_data['url'])+str(inventory_data['file']) )
  File "/var/lib/vrlcm/insert.py", line 94, in postbulkfunction
    if postcall(url,contents) :
  File "/var/lib/vrlcm/insert.py", line 30, in postcall
    b64Val = base64.b64encode(usrPass)
  File "/usr/lib/python3.7/base64.py", line 58, in b64encode
    encoded = binascii.b2a_base64(s, newline=False)
TypeError: a bytes-like object is required, not 'str'
2023-10-05 08:40:24,363 __main__ - INFO:file removed /var/lib/vrlcm/INPROGRESS

 

 


Environment

VMware Aria Suite Lifecycle 8.x

Cause

  • The problem is caused by python version used by VMware Aria Suite Lifecycle. We had to revert to the default Python version for the appliance = 2.7.17

Resolution

  • There is a workaround.


Workaround:
  • The workaround is to revert to the default Python version for the appliance = 2.7.17
  • Steps:
  1. Take snapshot of Aria Suite Lifecycle appliance.
  2. SSH to vRSLCM as root user.
  3. Execute below commands:

unlink /usr/bin/python
ln -sf /usr/bin/python2 /usr/bin/python
python -c 'import platform; print(platform.python_version())'

image.png

  1. It should show version of python as 2.7.17.
  2. Retry applying pspak.

 


Additional Information

Impact/Risks:
  • PSPAK updates will fail if not fixed.