Made auth.db upgrade message a bit more clear.

This commit is contained in:
gholt
2010年09月15日 19:07:35 -07:00
parent f68a0b0af2
commit 2000556522

View File

@@ -150,21 +150,23 @@ class AuthController(object):
THERE ARE ACCOUNTS IN YOUR auth.db THAT DO NOT BEGIN WITH YOUR NEW RESELLER
PREFIX OF "%s".
YOU HAVE A FEW OPTIONS:
1) RUN swift-auth-update-reseller-prefixes AND swift-auth-recreate-accounts
TO CREATE FRESH ACCOUNTS.
1) RUN "swift-auth-update-reseller-prefixes %s%s",
"swift-init auth-server restart", AND
"swift-auth-recreate-accounts -K ..." TO CREATE FRESH ACCOUNTS.
OR
2) REMOVE auth.db, RUN swift-init auth-server restart, AND RUN
swift-auth-add-user TO CREATE BRAND NEW ACCOUNTS THAT WAY.
2) REMOVE %s, RUN "swift-init auth-server restart", AND RUN
"swift-auth-add-user ..." TO CREATE BRAND NEW ACCOUNTS THAT WAY.
OR
3) ADD "reseller_prefix = %s" (WITHOUT THE QUOTES) TO YOUR
proxy-server.conf IN THE [filter:auth] SECTION AND TO YOUR
auth-server.conf IN THE [app:auth-server] SECTION AND RUN
swift-init proxy-server restart AND swift-init auth-server restart TO
REVERT BACK TO YOUR PREVIOUS RESELLER PREFIX.
"swift-init proxy-server restart" AND "swift-init auth-server restart"
TO REVERT BACK TO YOUR PREVIOUS RESELLER PREFIX.
%s
''' % (self.reseller_prefix.rstrip('_'), previous_prefix,
previous_prefix and '' or '''
''' % (self.reseller_prefix.rstrip('_'), self.db_file,
self.reseller_prefix.rstrip('_'), self.db_file,
previous_prefix, previous_prefix and '' or '''
SINCE YOUR PREVIOUS RESELLER PREFIX WAS AN EMPTY STRING, IT IS NOT
RECOMMENDED TO PERFORM OPTION 3 AS THAT WOULD MAKE SUPPORTING MULTIPLE
RESELLERS MORE DIFFICULT.
Reference in New Issue
openstack/swift
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.