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

Upgrade from 1.4.1 to 1.4.2 failed due to ' Detected old appliance's version as unknown.' #1886

Closed
lgayatri opened this issue Jul 19, 2018 · 4 comments

Comments

@lgayatri
Copy link

@zjs @hickeng @renmaosheng
Please add 1.4.1 to the upgrade script to detect 1.4.1 as valid

Script to be modified: build/scripts/upgrade/upgrade.sh
Need to add v1.4.1 to support upgrade from 1.4.1 to 1.4.2.

VER_1_3_0="v1.3.0"
VER_1_3_1="v1.3.1"
VER_1_4_0="v1.4.0"
./upgrade.sh
-------------------------------
VIC Appliance Upgrade to v1.4.2
-------------------------------

...
Enter vCenter Server FQDN or IP: w2hs2-vrops08.eng.vmware.com
Enter vCenter Administrator Username: administrator@vsphere.local
Enter vCenter Administrator Password:
If using an external PSC, enter the FQDN of the PSC instance (leave blank otherw                                                                                                                                                             ise):
If using an external PSC, enter the PSC Admin Domain (leave blank otherwise):

Please verify the vCenter IP and TLS fingerprint: w2hs2-vrops08.eng.vmware.com 0                                                                                                                                                             4:59:CA:CF:33:A1:60:B9:17:EC:B4:E2:0C:2D:F8:FA:70:BF:BF:C3
Is the fingerprint correct? (y/n): y
Enter vCenter Datacenter of the old VIC appliance: Datacenter
Enter old VIC appliance IP: 10.197.37.132
Enter old VIC appliance username: root
2018-07-19 06:37:44 [=]
-------------------------
Starting upgrade 2018-07-19 06:37:11 +0000 UTC

2018-07-19 06:37:44 [=] Please enter the VIC appliance password for root@10.197.                                                                                                                                                             37.132
The authenticity of host '10.197.37.132 (10.197.37.132)' can't be established.
ECDSA key fingerprint is SHA256:WR3L5NxfAZv3xruj0pqwvrE5NjbUxbtgmZTZSsMcx3s.
Are you sure you want to continue connecting (yes/no)? yes
Password:
2018-07-19 06:37:52 [=]
2018-07-19 06:37:52 [=] Detected old appliance's version as unknown.
2018-07-19 06:37:52 [=] Upgrade from this version is not a supported upgrade pat                                                                                                                                                             h.
2018-07-19 06:37:52 [=] If the old appliance's version is not detected correctly                                                                                                                                                             , please contact VMware support.
2018-07-19 06:37:52 [=]
2018-07-19 06:37:52 [=] -------------------------
2018-07-19 06:37:52 [=] Upgrade failed.
2018-07-19 06:37:52 [=] Please save /var/log/vmware/upgrade.log and contact VMwa                                                                                                                                                             re support.
2018-07-19 06:37:52 [=] -------------------------
2018-07-19 06:37:52 [=]
@zjs
Copy link
Member

zjs commented Jul 19, 2018

This will be fixed by #1884 (and #1883 adds some documentation to help us remember to update this script in the future).

@lgayatri
Copy link
Author

Thanks @zjs , when can you please point me to the modified upgrade.sh so that I can continue?

@zjs
Copy link
Member

zjs commented Jul 19, 2018

@lgayatri
Copy link
Author

@zjs , I am still seeing the failure.
Can you please fix util.sh as well?

image

@zjs zjs closed this as completed in #1884 Jul 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants