Red Hat Bugzilla – Bug 997757
No way to add allowed_gear_size for a domain via admin tools
Last modified: 2015-05-14 20:20:02 EDT
Description of problem:
Currently, when adding gear size for a user accunt with "oo-admin-ctl-user", the gear size is added to the account, but the domain of the account still does not have the gear size
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. On instance, oo-admin-ctl-user -l email@example.com --addgearsize medium
2. If trying to create medium gear with the account, I'll get a failure, saying "Invalid size: medium. Acceptable values are: small"
Gear size medium is added to the account, but it is not updated for the domain.
We can have two solutions:
1. When adding gear size with "oo-admin-ctl-user", user's domain is updated accordingly. Or we may give an option so that we can choose whether to update domain status.
2. Add an option for "oo-admin-ctl-domain" to update user domain allowed gear sizes.
Test on devenv 3826.
Now, we can still use the command as before, like "oo-admin-ctl-user -l firstname.lastname@example.org --addgearsize medium". After adding gear size, e.g. "medium", the corresponding gear size is activated immediately.
Mark the bug as verified.