incubator-cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-1417) When invalid values are passed to createNetwork() , error message does not indicate the parameter name that has invalid values.
Date Wed, 06 Mar 2013 16:00:14 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13594811#comment-13594811
] 

ASF subversion and git services commented on CLOUDSTACK-1417:
-------------------------------------------------------------

Commit 525d391d65070097c31ba195da95d137e8b6e46c in branch refs/heads/4.1 from [~bhaisaab]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=525d391 ]

CLOUDSTACK-1417: cosmetics, print param name, value for uuid->id translate error

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>

                
> When invalid values are passed to createNetwork() , error message does not indicate the
parameter name that has invalid values.
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-1417
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1417
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.1.0
>         Environment: Build from 4.1 branch  built on 2/26
>            Reporter: Sangeetha Hariharan
>            Assignee: Rohit Yadav
>             Fix For: 4.1.0
>
>
> When invalid values are passed to createNetwork() , Error message does not indicate the
parameter name that has invalid values.
> Steps to reproduce the problem:
> Use createNetwork() by passing invalid value (non existent) for any parameter like zoneId
/ networkOfferingId/physicalnetworkid. 
> Error message presented to the user does not indicate the parameter name that has invalid
values , instead it has the invalid value mentioned in the error string. 
> 2013-02-26 13:55:26,614 INFO  [cloud.api.ApiServer] (catalina-exec-1:null) (userId=2
accountId=2 sessionId=029D24A96FE3B77FBC2C31873D09B594) 10.216.50.206 -- GET command=createNetwork&zoneId=755b2735-6bb2-4778-a37b-f96a8f66a571&networkOfferingId=1b6434ba6-7a43-4504-be22-3903279f59ef&physicalnetworkid=2388ee68-2aa8-4a1b-99e2-6f0fa869c145&name=test1362&displayText=test1362&vlan=1362&acltype=domain&ip6gateway=FC00:3:1362::1&ip6cidr=FC00:3:1362::1/64&startipv6=FC00:3:1362::2&endipv6=FC00:3:1362::FFFF:FFFF:FFFF:FFFF&networkdomain=hello1362&response=json&sessionkey=3fceZn%2B25ajs1zG25XlIYoX1zX0%3D
431 Unable to execute API command createnetwork due to invalid value. Invalid parameter value=1b6434ba6-7a43-4504-be22-3903279f59ef
due to incorrect long value format, or entity was not found as it may have been deleted, or
due to incorrect parameter annotation for the field in api cmd.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message