local variable 'param' ERROR message on configuration-parameter-show
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-troveclient |
Fix Released
|
Low
|
Yao Wang |
Bug Description
$ trove --debug configuration-
DEBUG (shell:629) local variable 'param' referenced before assignment
Traceback (most recent call last):
File "/usr/local/
in main
sys.argv[1:]))
File "/usr/local/
in main
args.
File "/usr/local/
3, in do_configuratio
_print_
UnboundLocalError: local variable 'param' referenced before assignment
ERROR: local variable 'param' referenced before assignment
If i provide the --datastore option:
$ trove --debug configuration-
+------
| Property | Value |
+------
| max | 65535 |
| min | 1 |
| name | max_connections |
| restart_required | False |
| type | integer |
+------
In the case of the missing --datastore parameter, it should probably return something like this:
ERROR: The datastore name or id is required to show the information on a configuration parameter
no longer affects: | trove |
Changed in python-troveclient: | |
status: | New → Triaged |
importance: | Undecided → Low |
milestone: | none → python-troveclient-v1 |
Changed in python-troveclient: | |
assignee: | Masaki Matsushita (mmasaki) → Mahito OGURA (earthdragon77) |
This looks like a bug for python-troveclient, but not Trove at all.