Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update upgrade script version detection (modified) #1344

Merged

Conversation

andrewtchin
Copy link
Contributor

Related #1333
Slightly modified adds log message for config migration and does not add ldap_verify_cert key to config

@andrewtchin
Copy link
Contributor Author

andrewtchin commented Jan 26, 2018

1.3.0 to 1.3.1-dev

root@Photon [ /etc/vmware/upgrade ]# ./upgrade.sh
Enter vCenter Server FQDN or IP: 10.162.12.33
Enter vCenter Administrator Username: [email protected]
Enter vCenter Administrator Password:
If using an external PSC, enter the FQDN of the PSC instance (leave blank otherwise):
If using an external PSC, enter the PSC Admin Domain (leave blank otherwise):

-------------------------
Starting upgrade 2018-01-26 22:16:02 +0000 UTC
Detected old appliance's version as v1.3.0
Detected valid upgrade path. Upgrade will perform data migration, but previous component logs won't be transferred.
If the old appliance's version is not detected correctly, please enter "n" to abort the upgrade and contact VMware support.
Do you wish to proceed with upgrade? [y/n]
y
Continuing with upgrade

Preparing upgrade environment
Disabling and stopping Admiral and Harbor path startup
Finished preparing upgrade environment

-------------------------
Starting Admiral Upgrade 2018-01-26 22:16:02 +0000 UTC

Performing pre-upgrade checks
Starting Admiral upgrade
Updating Admiral configuration

-------------------------
Starting Harbor Upgrade 2018-01-26 22:16:02 +0000 UTC

Performing pre-upgrade checks
No upgrade operations required for upgrade from Harbor harbor-offline-installer-v1.3.0.tgz
[=] Migrating Harbor configuration
[=] Finished migrating Harbor configuration
Enabling and starting Admiral and Harbor path startup
Upgrade script complete. Exiting.

@andrewtchin
Copy link
Contributor Author

1.2.1 to 1.3.1-dev

root@Photon [ /etc/vmware/upgrade ]# ./upgrade.sh
Enter vCenter Server FQDN or IP: 10.162.12.33
Enter vCenter Administrator Username: [email protected]
Enter vCenter Administrator Password:
If using an external PSC, enter the FQDN of the PSC instance (leave blank otherwise):
If using an external PSC, enter the PSC Admin Domain (leave blank otherwise):

-------------------------
Starting upgrade 2018-01-26 22:21:31 +0000 UTC
Detected old appliance's version as v1.2.1
Detected valid upgrade path. Upgrade will perform data migration, but previous component logs won't be transferred.
If the old appliance's version is not detected correctly, please enter "n" to abort the upgrade and contact VMware support.
Do you wish to proceed with upgrade? [y/n]
y
Continuing with upgrade

Preparing upgrade environment
Disabling and stopping Admiral and Harbor path startup
Finished preparing upgrade environment

-------------------------
Starting Admiral Upgrade 2018-01-26 22:21:31 +0000 UTC

Performing pre-upgrade checks
Starting Admiral upgrade
Updating Admiral configuration

-------------------------
Starting Harbor Upgrade 2018-01-26 22:21:31 +0000 UTC

Performing pre-upgrade checks
Starting Harbor upgrade
[=] Shutting down Harbor
[=] Migrating Harbor data
[=] Finished migrating Harbor data
[=] Migrating Harbor configuration
[=] Finished migrating Harbor configuration
Harbor upgrade complete
Starting Harbor
Enabling and starting Admiral and Harbor path startup
Upgrade script complete. Exiting.

@andrewtchin andrewtchin merged commit b1b156e into vmware:releases/1.3.1 Jan 26, 2018
@andrewtchin andrewtchin deleted the pick/1.3.1/1321/harbor-upgrade branch January 26, 2018 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants