BTW, with latest commit of listZones change to address Count issue, CloudStack UI Infrastructure tab should be able to enable count for Zone to give a uniform look and feel.
Thanks -min On 1/23/13 10:19 AM, "Min Chen" <min.c...@citrix.com> wrote: >Both issues (listZones and listServiceOfferings) have been fixed in master >by commit 485761f0b4b74e7f8ad63221168485fdfe666678. It was caused by a >misuse of SearchCriteria.andOr method. > >Thanks for reporting this bug. > >-min > >On 1/23/13 9:14 AM, "Sanjay Tripathi" <sanjay.tripa...@citrix.com> wrote: > >>Hi Min, >> >>I also faced similar prolem with "listServiceOfferings" API, could you >>please check that as well. >> >>Thanks, >>Sanjay >> >>> -----Original Message----- >>> From: Min Chen [mailto:min.c...@citrix.com] >>> Sent: Wednesday, January 23, 2013 9:52 PM >>> To: cloudstack-dev@incubator.apache.org >>> Cc: cloudstack-dev@incubator.apache.org >>> Subject: Re: not able to loggin to user account through CloudStack UI >>> >>> Sorry, That is my commit, tested locally only with admin user. I will >>>fix this >>> once I get into office. Sorry for the inconvenience. >>> >>> -min >>> >>> Sent from my iPhone >>> >>> On Jan 22, 2013, at 11:04 PM, "Nitin Mehta" <nitin.me...@citrix.com> >>> wrote: >>> >>> > Yeah..you can revert it locally for yourself and notify the author >>>for >>> > the same so that she reverts it in master >>> > >>> > On 23/01/13 12:22 PM, "Sanjay Tripathi" <sanjay.tripa...@citrix.com> >>> wrote: >>> > >>> >> This is the commit that checked in yesterday: >>> >> https://github.com/apache/incubator- >>> cloudstack/commit/26be5ce2dfd00dd >>> >> 8a4ea >>> >> 3272ad7da2be6d060c5c >>> >> >>> >> >>> >>> -----Original Message----- >>> >>> From: Nitin Mehta [mailto:nitin.me...@citrix.com] >>> >>> Sent: Wednesday, January 23, 2013 12:20 PM >>> >>> To: cloudstack-dev@incubator.apache.org >>> >>> Subject: Re: not able to loggin to user account through CloudStack >>> >>> UI >>> >>> >>> >>> listZones should be available for all the users. Can you please >>>give >>> >>> a look as to what code got checked in master yesterday and if there >>> >>> is something related to this - should be easy to find ? >>> >>> >>> >>> On 23/01/13 12:12 PM, "Sanjay Tripathi" >>><sanjay.tripa...@citrix.com> >>> >>> wrote: >>> >>> >>> >>>> Hi all, >>> >>>> >>> >>>> While logging into a user account through CloudStack UI, the login >>> >>>> failed while calling listZones API with the following error: >>> >>>> >>> >>>> >>> http://localhost:8080/client/api?command=listZones&response=json&se >>> >>>> ssi >>> >>> o >>> >>>> nke >>> >>>> y=xEJK6GbQB65urRSL%2FEv81BE%2FKSY%3D&_=1358921073501 >>> >>>> >>> >>>> Error: { "listzonesresponse" : >>> >>>> {"errorcode":530,"cserrorcode":4250,"errortext":"Internal error >>> >>>> executing command, please contact your system administrator"}, >>> >>>> "cloudstack-version": "4.1.0-SNAPSHOT" } >>> >>>> >>> >>>> So, there seems to have access denied error. >>> >>>> Till yesterday, it was working fine and the problem occurs when I >>> >>>> pulled the latest asf code. >>> >>>> >>> >>>> Can somebody confirm it, if this is an API error or if this is by >>> >>>> design that API has removed the user access privilege for >>>listZones >>> >>>> API call. If later one is the case then there is a need to change >>> >>>> CloudStack UI accordingly. >>> >>>> >>> >>>> Thanks, >>> >>>> Sanjay >>> >> >>> > >