Upgrade preparation fails for VMware Integrated OpenStack 5.1.x to 6.0
search cancel

Upgrade preparation fails for VMware Integrated OpenStack 5.1.x to 6.0

book

Article ID: 339887

calendar_today

Updated On:

Products

VMware VMware Integrated OpenStack

Issue/Introduction

Symptoms:
While running the upgrade.sh script according to the documentation for Migrate to the New VMware Integrated OpenStack Deployment an error is encountered:

root@vio5-oms:/tmp/upgrade# ./upgrade.sh
Collecting the log bundle...
Unzip the log bundle
This is a remote vc environment, you need to input the management vc username and password
Enter your username for vc <vCenter IP address>:[email protected]
Enter your password for vc <vCenter IP address>:
Retype your password for vc <vCenter IP address>:
Resource pool VIO_resource_pool already exists.
Using Customization file /opt/vmware/vio/custom/custom.yml
Traceback (most recent call last):
File "prepare_for_upgrade.py", line 1452, in <module>
main()
File "prepare_for_upgrade.py", line 1439, in main
generate_crs(vcenters_and_nsx, public_vip, private_vip, custom)
File "prepare_for_upgrade.py", line 1072, in generate_crs
'keystone1.yaml', 'Keystone', 'keystone1', None, None, custom, None)
File "/tmp/upgrade/conf2cr.py", line 436, in create_cr
convert_keystone_ldap(yaml_dict)
File "/tmp/upgrade/conf2cr.py", line 799, in convert_keystone_ldap
convert_ldap_list(conf_dict, spec_dict)
File "/tmp/upgrade/conf2cr.py", line 810, in convert_ldap_list
tmp_ldap_dict['ad_domain_names'] = tmp_user.split("@")[1]
IndexError: list index out of range


Environment

VMware Integrated OpenStack 6.x
VMware Integrated OpenStack 5.x

Cause

Designate is enabled on the deployment, and it is creating a conflict during the export of the deployment.

Resolution

Download the attached patched files. Replace the existing prepare_for_upgrade.py and conf2cr.py files inĀ vio-upgrade-6.0-build-number.tar.gz with the files from the patch. Then re-run the upgrade.sh command according to the documentation.

Attachments

kb80692 get_app