You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.
01/13/17 06:23:00 224047 [Thread-1] [ERROR ] DB upgrade is not supported. Please remove the DB file at /etc/vmware/vmdkops/auth-db. All existing configuration will be removed and need to be recreated after removing the DB file.
01/13/17 06:23:00 224047 [Thread-1] [ERROR ] Unhandled Exception:
Traceback (most recent call last):
File "/usr/lib/vmware/vmdkops/bin/vmdk_ops.py", line 1359, in execRequestThread
opts=opts)
File "/usr/lib/vmware/vmdkops/bin/vmdk_ops.py", line 710, in executeRequest
error_info, tenant_uuid, tenant_name = auth.get_tenant(vm_uuid)
File "/usr/lib/vmware/vmdkops/Python/auth.py", line 123, in get_tenant
_auth_mgr = get_auth_mgr()
File "/usr/lib/vmware/vmdkops/Python/auth.py", line 48, in get_auth_mgr
thread_local._auth_mgr.connect()
File "/usr/lib/vmware/vmdkops/Python/auth_data.py", line 456, in connect
raise DbConnectionError(self.db_path)
auth_data.DbConnectionError: DB connection error /etc/vmware/vmdkops/auth-db
Currently test-esx removes removes existing auth_db completely before running any tests hence the issue was not observed so far and volume creation was not complaining.
CI does resetting the testbed and it seems ESX does contain auth-db that causes the above issue.
Proposed solution: need to remove auth-db during deployment. We may enhance the check by looking at the auth-db version before removing it.
Ideally we should test upgrade case going forward, blindly deleting the DB during each test run seems a bit harsh. For now this should be fine but we need to track a testing issue to track how we test upgrades.
Interesting excerpt from CI test failure
Currently test-esx removes removes existing auth_db completely before running any tests hence the issue was not observed so far and volume creation was not complaining.
CI does resetting the testbed and it seems ESX does contain auth-db that causes the above issue.
Proposed solution: need to remove auth-db during deployment. We may enhance the check by looking at the auth-db version before removing it.
/CC @kerneltime
The text was updated successfully, but these errors were encountered: