cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sailaja Mada (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-1890) listProjects is not listing state in the response
Date Tue, 02 Apr 2013 11:31:15 GMT
Sailaja Mada created CLOUDSTACK-1890:
----------------------------------------

             Summary: listProjects is not listing state in the response
                 Key: CLOUDSTACK-1890
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1890
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: API, UI
    Affects Versions: 4.2.0
            Reporter: Sailaja Mada
            Assignee: Min Chen
         Attachments: projview.png

Setup:  Advanced Networking Zone with Xen 6.1 [4.2]

Steps:

1. Create projects as admin & Child domain account 
2. Tried to list all the projects.

Observation:
1) listProjects is not listing state in the response
2) State of the project from UI displayed as blank [Attached the sanp]

2013-04-02 16:52:59,411 INFO  [cloud.api.ApiServer] (catalina-exec-12:null) (userId=2 accountId=2
sessionId=45961497FF93B9D86F004FAA07E5C581) 10.144.6.39 -- GET command=listProjects&response=json&sessionkey=NsDF%2BPjcst3nXPqQdjyvGduXlOs%3D&listAll=true&page=1&pagesize=20&_=1364901881168
200 { "listprojectsresponse" : { "count":2 ,"project" : [  {"id":"ba89a1e1-39e3-4507-a4d5-7f4cbb53c932","name":"proj1","displaytext":"","domainid":"e8377899-c351-47a2-aed5-92c624eebae5","domain":"cdc1","account":"cdc1admin1","tags":[]},
{"id":"532eaa39-2daf-41ee-ad37-b168f0a34916","name":"proj1","displaytext":"proj1","domainid":"c579ec3a-9a89-11e2-8880-ca27ffbee488","domain":"ROOT","account":"admin","tags":[]}
] } }

http://10.102.192.208:8096/client/api?command=listProjects&listAll=true

<listprojectsresponse cloud-stack-version="4.2.0-SNAPSHOT">
<count>2</count>
<project><id>ba89a1e1-39e3-4507-a4d5-7f4cbb53c932</id>
<name>proj1</name><displaytext/>
<domainid>e8377899-c351-47a2-aed5-92c624eebae5</domainid>
<domain>cdc1</domain><account>cdc1admin1</account>
</project><project><id>532eaa39-2daf-41ee-ad37-b168f0a34916</id>
<name>proj1</name>
<displaytext>proj1</displaytext>
<domainid>c579ec3a-9a89-11e2-8880-ca27ffbee488</domainid>
<domain>ROOT</domain><
account>admin</account>
</project></listprojectsresponse>

--
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