Description
HDDS-657 provides a very basic functionality for list buckets. There are two problems there:
- It repeats the username -> volume name mapping convention.
- Doesn't work if volume doesn't exist (no s3 buckets created, yet).
The proper solution is to do the same on server side:
- Use the existing naming convention in OM
- Return empty list in case of value is missing.
It requires an additional rpc call to the om.