Bug #1535
Error messages are different when a wrong ID is provided depending on the user (oneadmin/regular_user)
Status: | Closed | Start date: | 10/08/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Carlos Martín | % Done: | 0% | |
Category: | Core & System | |||
Target version: | Release 4.0 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: | OpenNebula 3.8 |
Description
Example:
vm = VirtualMachine.new(VirtualMachine.build_xml(0000000), @client)
rc = vm.info
Example
oneadmin
Failure/Error: puts cli_action('econe-attach-volume --instance i-00000000 --device /dev/hda vol-00000000') econe-attach-volume: Unexpected server error. response.body is: <Response><RequestId/><Errors><Error><Code>UnsupportedOperation</Code><Message>[VirtualMachineAttach] Wrong ID set in IMAGE_ID</Message></Error></Errors></Response>
Regular user
Failure/Error: puts cli_action('econe-attach-volume --instance i-00000000 --device /dev/hda vol-00000000') econe-attach-volume: [VirtualMachineAttach] user [2]
Associated revisions
Bug #1535: Report a pretty error when a quota ID is not a valid one
Bug #1535: Report a pretty error when a quota ID is not a valid one
(cherry picked from commit db1f6f473bf36404309db2153bf27e3a3dbf3463)
History
#1 Updated by Ruben S. Montero over 8 years ago
- Target version set to Release 3.8
#2 Updated by Ruben S. Montero over 8 years ago
- Target version changed from Release 3.8 to Release 4.0
#3 Updated by Carlos Martín over 8 years ago
- Category set to Core & System
- Status changed from New to Closed
- Assignee set to Carlos Martín
- Resolution set to fixed