diff options
author | Peter Portante <peter.portante@redhat.com> | 2012-11-21 16:42:15 -0500 |
---|---|---|
committer | Peter Portante <peter.portante@redhat.com> | 2013-04-29 16:35:56 -0400 |
commit | c48dcdceb5c296d8d8f55ff77ec52676b8245e01 (patch) | |
tree | d0f4049e8c65a0e665ff589c67237c3e4067013b /ufo/gluster/swift/account/server.py | |
parent | f1b668029a6adec9b00d964e8b1c975ecccae6bc (diff) |
object-storage: fix account mapping
Fix the account mapping so that we always use what is provided by the request.
With this fix, "/mnt/gluster-object/AUTH_ufo0" directory hierachies won't be
created. But this fix does not restore the one-to-one account to gluster
volume name mapping.
When the user runs the /usr/bin/gluster-swift-gen-builders script, it still
only allows one cluster volume, and that is the only volume that is used. So
the account names are effectively ignored. A future set of changes will
address that problem.
Change-Id: I2df608de2f00fd356a09c500d49fe12cc1a0a574
BUG: 870589
Signed-off-by: Peter Portante <peter.portante@redhat.com>
Reviewed-on: http://review.gluster.org/4222
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Tested-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Reviewed-by: Mohammed Junaid <junaid@redhat.com>
Diffstat (limited to 'ufo/gluster/swift/account/server.py')
-rw-r--r-- | ufo/gluster/swift/account/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ufo/gluster/swift/account/server.py b/ufo/gluster/swift/account/server.py index 8b98315..aeaabc9 100644 --- a/ufo/gluster/swift/account/server.py +++ b/ufo/gluster/swift/account/server.py @@ -35,7 +35,7 @@ class AccountController(server.AccountController): :param account: account name :returns: DiskDir object """ - return DiskAccount(self.root, account, self.logger) + return DiskAccount(self.root, drive, account, self.logger) def app_factory(global_conf, **local_conf): |