user-update-attributes return Internal Server Error when no options specified

Bug #1363067 reported by Doug Shelley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Triaged
Medium
Unassigned

Bug Description

$ trove --debug user-update-attributes 9d0a88c1-a6db-46c2-8807-0bf605d1bd12 doug

DEBUG (shell:629) Internal Server Error. Please keep this ID to help us figure o
ut what went wrong: (7dd6446c-163c-4134-bbdd-51c90786e5b4). (HTTP 500)
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/troveclient/shell.py", line 624,
in main
    sys.argv[1:]))
  File "/usr/local/lib/python2.7/dist-packages/troveclient/shell.py", line 463,
in main
    args.func(self.cs, args)
  File "/usr/local/lib/python2.7/dist-packages/troveclient/v1/shell.py", line 48
8, in do_user_update_attributes
    newuserattr=new_attrs, hostname=args.host)
  File "/usr/local/lib/python2.7/dist-packages/troveclient/v1/users.py", line 86
, in update_attributes
    resp, body = self.api.client.put(url, body=user_dict)
  File "/usr/local/lib/python2.7/dist-packages/troveclient/client.py", line 215,
 in put
    return self._cs_request(url, 'PUT', **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/troveclient/client.py", line 173,
 in _cs_request
    **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/troveclient/client.py", line 156,
 in request
    raise exceptions.from_response(resp, body, url)
InternalServerError: Internal Server Error. Please keep this ID to help us figur
e out what went wrong: (7dd6446c-163c-4134-bbdd-51c90786e5b4). (HTTP 500)
ERROR: Internal Server Error. Please keep this ID to help us figure out what wen
t wrong: (7dd6446c-163c-4134-bbdd-51c90786e5b4).

Note that I didn't supply any of the optional parameters (--host, --new_name, --new_password or --new_host).

Revision history for this message
Nikhil Manchanda (slicknik) wrote :

Do you have a traceback from trove-API? Looks like a bug to me, but would be good to get more information and attach it to the bug.

Thanks!

Changed in trove:
status: New → Triaged
importance: Undecided → Low
milestone: none → kilo-1
Changed in trove:
milestone: kilo-1 → ongoing
importance: Low → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.