Whether database/user operation support cluster or not
Bug #1741161 reported by
Yao Wang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-troveclient |
Triaged
|
Wishlist
|
Yao Wang |
Bug Description
I realize the cmd about database and user operation find resource by use function ‘_find_
e.g
def do_database_
"""Deletes a database from an instance."""
instance, _ = _find_instance_
cs.
But troveclient don't support these operations for cluster now. It just treat cluster resource as instance. So use a cluster_name will return "Resource xxx cannot be found.". I think this is inaccurate.
Shell we support these operations for cluster or just change function '_find_
Changed in python-troveclient: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
assignee: | nobody → Yao Wang (nihaome521) |
To post a comment you must log in.
At first, I think changing into _find_instance makes sense, but what if someone want to delete the databases inside a cluster? Can we add some logics like when users want to delete the database inside a cluster, just raise OperationNotSup ported exception? Just some quick thoughts here.
BTW, is the OSC or troveclient currently does not support operations for cluster now?