Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Commit

Permalink
Added readme location and updated related error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Sterin committed Feb 18, 2017
1 parent 0bc581d commit 16d257b
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions esx_service/utils/auth_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 16d257b

Please # to comment.