cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajani Karuturi (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CLOUDSTACK-5790) [Automation] unable to list ldap configuration by hostname
Date Tue, 07 Jan 2014 06:52:52 GMT

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

Rajani Karuturi edited comment on CLOUDSTACK-5790 at 1/7/14 6:52 AM:
---------------------------------------------------------------------

Works for me. Tested on 4.3 branch.

*API Call*:
http://localhost:8096/client/api?command=listLdapConfigurations&response=json
*Response*:
{ "ldapconfigurationresponse" : { "count":4 ,"LdapConfiguration" : [  {"hostname":"localhost","port":"10389"},
{"hostname":"10.146.0.129","port":"10389"}, {"hostname":"10.0.3.2","port":"10389"}, {"hostname":"192.168.56.1","port":"10389"}
] } }

*API Call*:
http://localhost:8096/client/api?command=listLdapConfigurations&response=json&hostname=10.146.0.129
*Response*:
{ "ldapconfigurationresponse" : { "count":1 ,"LdapConfiguration" : [  {"hostname":"10.146.0.129","port":"10389"}
] } }



was (Author: rajanik):
Works for me.

*API Call*:
http://localhost:8096/client/api?command=listLdapConfigurations&response=json
*Response*:
{ "ldapconfigurationresponse" : { "count":4 ,"LdapConfiguration" : [  {"hostname":"localhost","port":"10389"},
{"hostname":"10.146.0.129","port":"10389"}, {"hostname":"10.0.3.2","port":"10389"}, {"hostname":"192.168.56.1","port":"10389"}
] } }

*API Call*:
http://localhost:8096/client/api?command=listLdapConfigurations&response=json&hostname=10.146.0.129
*Response*:
{ "ldapconfigurationresponse" : { "count":1 ,"LdapConfiguration" : [  {"hostname":"10.146.0.129","port":"10389"}
] } }


> [Automation] unable to list ldap configuration by hostname 
> -----------------------------------------------------------
>
>                 Key: CLOUDSTACK-5790
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5790
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.3.0
>            Reporter: Srikanteswararao Talluri
>            Assignee: Rajani Karuturi
>            Priority: Blocker
>             Fix For: 4.3.0
>
>
> Unable to list  ldap configuration by hostname
> listldap configuration results in all the ldap configurations but when issued with hostname,
it results in empty response:
> request:
> http://10.147.38.149:8080/client/api?command=listLdapConfigurations&response=json&sessionkey=JNPDlcRLSnacMnAJnwr9wUxkCvU%3D&listAll=true&page=1&pagesize=20&_=1388999520356
> response:
> { "ldapconfigurationresponse" : { "count":4 ,"LdapConfiguration" : [  {"hostname":"10.147.59.134","port":"10389"},
{"hostname":"10.147.59.109","port":"10389"}, {"hostname":"10.147.59.109","port":"10389"},
{"hostname":"10.147.59.109","port":"10389"} ] } }
>  
> Following api results in empty response:
> http://10.147.38.149:8080/client/api?command=listLdapConfigurations&hostname=10.147.59.134&response=json&sessionkey=JNPDlcRLSnacMnAJnwr9wUxkCvU%3D&_=1388999138596



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message