From 16d257b7f1ebb6b9d4eb3916255756c2ff7975a2 Mon Sep 17 00:00:00 2001 From: Mark Sterin Date: Fri, 17 Feb 2017 17:25:11 -0800 Subject: [PATCH] Added readme location and updated related error message --- esx_service/utils/auth_data.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/esx_service/utils/auth_data.py b/esx_service/utils/auth_data.py index 4c72a61c5..127dfc8fa 100644 --- a/esx_service/utils/auth_data.py +++ b/esx_service/utils/auth_data.py @@ -40,7 +40,7 @@ VMODL_MINOR_VER = 0 # TODO: Need to replace with right URL before cut the release -CONVERT_SCRIPT_URL = "TBD" +UPGRADE_README = "https://github.com/vmware/docker-volume-vsphere/blob/master/docs/misc/UpgradeFrom_Pre0.11.1.md" def all_columns_set(privileges): if not privileges: @@ -521,11 +521,10 @@ def handle_upgrade_db_from_ver_1_0_to_ver_1_1(self): if error_msg: raise DbAccessError(self.db_path, error_msg) error_msg = """ - Your ESX installation seems to be using config db created by previous version of - vSphere Docker Volume Service, and requires upgrade. - Please download script from {0} and run the script on each ESX where vSphere Docker - Volume Service is installed. (_DEFAULT_UUID = {1}, expected = {2}) - """.format(CONVERT_SCRIPT_URL, tenant.id, auth.DEFAULT_TENANT_UUID) + Your ESX installation seems to be using configuration DB created by previous + version of vSphere Docker Volume Service, and requires upgrade. + See {0} for more information. (_DEFAULT_UUID = {1}, expected = {2}) + """.format(UPGRADE_README, tenant.id, auth.DEFAULT_TENANT_UUID) logging.error(error_msg) raise DbAccessError(self.db_path, error_msg)