Re: New Ruby client for CloudStack API

2013-11-13 Thread Isaac Chiang
It is awesome! Thanks! :)


On Wed, Nov 13, 2013 at 10:57 PM, Wei ZHOU  wrote:

> Great!
>
> 2013/11/13 Mike Nicholaides 
>
> > Hi folks,
> >
> > Our team at PromptWorks, in conjunction with SunGard, has recently
> released
> > a new Ruby client for the CloudStack API called StackerBee:
> > https://github.com/promptworks/stacker_bee
> >
> > There are already a few Ruby clients out there but none of them met our
> > needs so we made our own. Here's what makes StackerBee special:
> > - supports all endpoints in the API
> > - easy to use and developer friendly
> > - let's developers write idiomatic Ruby
> > - interactive CloudStack REPL
> > - well tested and documented
> >
> > Pull requests and bug reports welcome.
> >
> > Special thanks to Chip Childers, Bill Jones, Dave Grizzanti and SunGard
> > Availability Services.
> >
> > Thanks,
> > Mike Nicholaides
> >
> >
> > --
> > Mike Nicholaides
> > Software Engineer and Co-Founder at PromptWorks
> > promptworks.com
> > (267) 622-4729
> >
>


Re: Review Request: CLOUDSTACK-1871 : domainId parameter to uploadVolume not working

2013-05-19 Thread Isaac Chiang


> On May 17, 2013, 9:12 a.m., Devdeep Singh wrote:
> > Ship It!
> 
> Devdeep Singh wrote:
> Changes look fine. Issac, since you are committer, you can push these 
> changes yourself :).

Thanks :)


- Isaac


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10479/#review20695
---


On May 4, 2013, 1:37 p.m., Isaac Chiang wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10479/
> ---
> 
> (Updated May 4, 2013, 1:37 p.m.)
> 
> 
> Review request for cloudstack, Devdeep Singh and Pranav Saxena.
> 
> 
> Description
> ---
> 
> CLOUDSTACK-1871 : domainId parameter to uploadVolume not working
> 
> 1. Remove duplicated lines for setting domainId.
> 2. Set domainId with owner's domain if the owner is specified ( with account 
> and domainid passed in)
> 
> 
> This addresses bug CLOUDSTACK-1871.
> 
> 
> Diffs
> -
> 
>   server/src/com/cloud/storage/VolumeManagerImpl.java 1e8edaf 
> 
> Diff: https://reviews.apache.org/r/10479/diff/
> 
> 
> Testing
> ---
> 
> Test from UI and curl request, both work well
> 
> 
> Thanks,
> 
> Isaac Chiang
> 
>



Jetty server fail to start in master branch

2013-06-02 Thread Isaac Chiang
Hi all:
  I checked out lastest master code. I successfully built the code and
deployed the database, but failed to start the jetty server. Did anyone
happen to see the error?

ERROR [web.context.ContextLoader] (main:) Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'actionEventUtils': Injection of autowired depen
dencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: com.cloud.event.
dao.EventDao com.cloud.event.ActionEventUtils.eventDao; nested exception is
org.springframework.beans.factory.CannotLoadBeanClassExcept
ion: Cannot find class
[org.apache.cloudstack.storage.motion.VmwareStorageMotionStrategy] for bean
with name 'vmwareStorageMotionStrate
gy' defined in class path resource [applicationContext.xml]; nested
exception is java.lang.ClassNotFoundException: org.apache.cloudstac
k.storage.motion.VmwareStorageMotionStrategy
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotat
ionBeanPostProcessor.java:287)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory
.java:1106)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory
.java:517)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.j
ava:456)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.jav
a:609)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.ja
va:918)


Regards

Isaac


Re: Jetty server fail to start in master branch

2013-06-02 Thread Isaac Chiang
Hi all:
   I found that commit : f24e81fe0da let the jetty fail to start in
master. Did anyone see this error?

Here's my steps :

   1. mvn clean install -P developer,systemvm
   2. mvn -pl developer,tools/devcloud -Ddeploydb -P developer
   3. mvn -pl client jetty:run




Regards

Isaac


On Sun, Jun 2, 2013 at 10:37 PM, Isaac Chiang  wrote:

> Hi all:
>   I checked out lastest master code. I successfully built the code and
> deployed the database, but failed to start the jetty server. Did anyone
> happen to see the error?
>
> ERROR [web.context.ContextLoader] (main:) Context initialization failed
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'actionEventUtils': Injection of autowired depen
> dencies failed; nested exception is
> org.springframework.beans.factory.BeanCreationException: Could not autowire
> field: com.cloud.event.
> dao.EventDao com.cloud.event.ActionEventUtils.eventDao; nested exception
> is org.springframework.beans.factory.CannotLoadBeanClassExcept
> ion: Cannot find class
> [org.apache.cloudstack.storage.motion.VmwareStorageMotionStrategy] for bean
> with name 'vmwareStorageMotionStrate
> gy' defined in class path resource [applicationContext.xml]; nested
> exception is java.lang.ClassNotFoundException: org.apache.cloudstac
> k.storage.motion.VmwareStorageMotionStrategy
> at
> org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotat
> ionBeanPostProcessor.java:287)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory
> .java:1106)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory
> .java:517)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.j
> ava:456)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
> at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
> at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
> at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.jav
> a:609)
> at
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.ja
> va:918)
>
>
> Regards
>
> Isaac
>
>


Re: Jetty server fail to start in master branch

2013-06-02 Thread Isaac Chiang
It works, thanks :)




Regards

Isaac



On Mon, Jun 3, 2013 at 1:14 PM, Sateesh Chodapuneedi <
sateesh.chodapune...@citrix.com> wrote:

> Hi Isaac,
> Fixed this issue.
> Can you please pull the latest code and re-try?
>
> Regards,
> > -Original Message-
> > From: Isaac Chiang [mailto:isaacchi...@gmail.com]
> > Sent: 03 June 2013 09:21
> > To: dev@cloudstack.apache.org
> > Subject: Re: Jetty server fail to start in master branch
> >
> > Hi all:
> >I found that commit : f24e81fe0da let the jetty fail to start in
> master. Did anyone see this error?
> >
> > Here's my steps :
> >
> >1. mvn clean install -P developer,systemvm
> >2. mvn -pl developer,tools/devcloud -Ddeploydb -P developer
> >3. mvn -pl client jetty:run
> >
> >
> >
> >
> > Regards
> >
> > Isaac
> >
> >
> > On Sun, Jun 2, 2013 at 10:37 PM, Isaac Chiang 
> wrote:
> >
> > > Hi all:
> > >   I checked out lastest master code. I successfully built the code
> > > and deployed the database, but failed to start the jetty server. Did
> > > anyone happen to see the error?
> > >
> > > ERROR [web.context.ContextLoader] (main:) Context initialization
> > > failed
> > > org.springframework.beans.factory.BeanCreationException: Error
> > > creating bean with name 'actionEventUtils': Injection of autowired
> > > depen dencies failed; nested exception is
> > > org.springframework.beans.factory.BeanCreationException: Could not
> > > autowire
> > > field: com.cloud.event.
> > > dao.EventDao com.cloud.event.ActionEventUtils.eventDao; nested
> > > exception is
> > > org.springframework.beans.factory.CannotLoadBeanClassExcept
> > > ion: Cannot find class
> > > [org.apache.cloudstack.storage.motion.VmwareStorageMotionStrategy] for
> > > bean with name 'vmwareStorageMotionStrate gy' defined in class path
> > > resource [applicationContext.xml]; nested exception is
> > > java.lang.ClassNotFoundException: org.apache.cloudstac
> > > k.storage.motion.VmwareStorageMotionStrategy
> > > at
> > > org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPo
> > > stProcessor.postProcessPropertyValues(AutowiredAnnotat
> > > ionBeanPostProcessor.java:287)
> > > at
> > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
> > > actory.populateBean(AbstractAutowireCapableBeanFactory
> > > .java:1106)
> > > at
> > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
> > > actory.doCreateBean(AbstractAutowireCapableBeanFactory
> > > .java:517)
> > > at
> > > org.springframework.beans.factory.support.AbstractAutowireCapableBeanF
> > > actory.createBean(AbstractAutowireCapableBeanFactory.j
> > > ava:456)
> > > at
> > >
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
> > > at
> > >
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
> > > at
> > >
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
> > > at
> > >
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
> > > at
> > > org.springframework.beans.factory.support.DefaultListableBeanFactory.p
> > > reInstantiateSingletons(DefaultListableBeanFactory.jav
> > > a:609)
> > > at
> > > org.springframework.context.support.AbstractApplicationContext.finishB
> > > eanFactoryInitialization(AbstractApplicationContext.ja
> > > va:918)
> > >
> > >
> > > Regards
> > >
> > > Isaac
> > >
> > >
>


Re: [ANNOUNCE] New committer: Jayapal Reddy Uradi

2013-06-17 Thread Isaac Chiang
Congrats! :)


On Tue, Jun 18, 2013 at 1:28 PM, Nitin Mehta  wrote:

> Congrats Jayapal :)
>
> On 18/06/13 10:52 AM, "Sanjay Tripathi" 
> wrote:
>
> >Congratulations Jayapal :)
> >
> >--Sanjay
> >
> >> -Original Message-
> >> From: Chip Childers [mailto:chip.child...@sungard.com]
> >> Sent: Monday, June 17, 2013 9:00 PM
> >> To: dev@cloudstack.apache.org
> >> Subject: [ANNOUNCE] New committer: Jayapal Reddy Uradi
> >>
> >> The Project Management Committee (PMC) for Apache CloudStack has
> >> asked Jayapal Reddy Uradi to become a committer and we are pleased to
> >> announce that they have accepted.
> >>
> >> Being a committer allows many contributors to contribute more
> >> autonomously. For developers, it makes it easier to submit changes and
> >> eliminates the need to have contributions reviewed via the patch
> >>submission
> >> process. Whether contributions are development-related or otherwise, it
> >>is a
> >> recognition of a contributor's participation in the project and
> >>commitment to
> >> the project and the Apache Way.
> >>
> >> Please join me in congratulating Jayapal!
> >>
> >> -chip
> >> on behalf of the CloudStack PMC
>
>


Re: [ANNOUNCE] New committer: Mike Tutkowski

2013-06-19 Thread Isaac Chiang
Congrats, Mike :)


On Wed, Jun 19, 2013 at 10:26 PM, Pranav Saxena wrote:

>  Congrats Mike !! Welcome aboard :)
>
> -Original Message-
> From: John Burwell [mailto:jburw...@basho.com]
> Sent: Wednesday, June 19, 2013 7:39 PM
> To: dev@cloudstack.apache.org
> Subject: Re: [ANNOUNCE] New committer: Mike Tutkowski
>
> Congrats, Mike.
>
>
> On Jun 19, 2013, at 10:02 AM, Wei ZHOU  wrote:
>
> > Congrats Mike!
> >
> >
> > 2013/6/19 Sateesh Chodapuneedi 
> >
> >> Congratulations Mike! Welcome...
> >>
> >> Regards,
> >> Sateesh
> >>
> >>
> >>> -Original Message-
> >>> From: Alex Huang [mailto:alex.hu...@citrix.com]
> >>> Sent: 19 June 2013 19:10
> >>> To: dev@cloudstack.apache.org
> >>> Subject: FW: [ANNOUNCE] New committer: Mike Tutkowski
> >>>
> >>>
> >>> The Project Management Committee (PMC) for Apache CloudStack has asked
> >> Mike Tutkowski to become a committer and we are pleased
> >>> to announce that they have accepted.
> >>>
> >>> Being a committer allows many contributors to contribute more
> >> autonomously. For developers, it makes it easier to submit changes and
> >>> eliminates the need to have contributions reviewed via the patch
> >> submission process. Whether contributions are development-related or
> >>> otherwise, it is a recognition of a contributor's participation in the
> >> project and commitment to the project and the Apache Way.
> >>>
> >>> Please join me in congratulating Mike!
> >>>
> >>> --Alex
> >>> on behalf of the CloudStack PMC
> >>
>
>


Re: [DISCUSS] coding convention for method - and class length

2013-07-16 Thread Isaac Chiang
+1 for the maximum length per line

I also agree with Wido that around 120 characters will be more fit current
needs.


Regards

Isaac


Re: [discuss] 80 char max length leads to illegiable source

2013-07-17 Thread Isaac Chiang
Hi all:
Can we also have the coding convention for javascript on WIKI page?
I found there are many "tab indents" and less styled code blocks in the UI
code.


Thanks,




On Tue, Jul 16, 2013 at 11:49 PM, Joe Brockmeier  wrote:

> On Tue, Jul 16, 2013, at 10:37 AM, Alex Huang wrote:
> > I updated the wiki because several people asked me to post my eclipse
> > preference file which includes 180 column widths.  There's also a follow
> > up mail thread after I checked it in.  The column width was not
> > questioned.  I can send out a separate proposal if needed but supposedly
> > developers are already using it.
>
> I'm not asking to roll it back or restart a discussion - just saying in
> the future, it'd be good to break out "should we do this?" into a
> discussion thread rather than having it as a small part of a larger
> email that doesn't look like someone's making a proposal.
>
> Thanks,
>
> Joe
> --
> Joe Brockmeier
> j...@zonker.net
> Twitter: @jzb
> http://www.dissociatedpress.net/
>


Re: Git Push Summary

2013-07-18 Thread Isaac Chiang
Hi Pranav,
I'll do more tests before applying the code to master in next few
days. Since the UI code has been re-formatted yesterday, I'd like to
copy/paste the modified part into master instead of merging the branch.
Thanks for all the help and advice :)

Regards


On Thu, Jul 18, 2013 at 2:47 PM, Pranav Saxena  wrote:

> Hey Isaac ,
>
> I verified your code changes in your private asf branch . The code changes
> look good to me. I am assuming that it would work fine for the following
> cases -
> 1) Dedication is a success , addition of resource is a success
> 2) Dedication is a failure , addition of resource is still a success
> 3) Dedication is a failure , addition is also a failure
>
>  - All 3 cases should have notification displayed for each of the API
> calls getting triggered ( which I believe would be there after your code
> changes)
>  - Also you could provide a "setInterval" waiting time function of say 2-3
> seconds between two successive notifications.
>
> One thing which I realized after looking at your code changes is that you
> would have to bear the pain of resolving the merge conflicts when you merge
> your branch with master. Since your code modifications/additions have been
> done on the already existing code , I am pretty sure you would have to take
> care of these conflicts. Since the changes aren't that huge, you could
> manually copy them to the master branch or replace the entire system.js
> file in your branch in the master assuming you forked your branch out of
> master and there haven't been other changes in system.js file . First
> option is a safer approach though !!
>
> Thanks,
> Pranav
>
>
> On Thu, Jul 18, 2013 at 8:18 AM, Isaac Chiang wrote:
>
>> Hi Pranav:
>>  I just pushed part of modified code in to the branch.
>> Please have a look if the commit fix the issue as expected.
>>
>> Thanks,
>>
>> Regards
>>
>>
>> -- Forwarded message --
>> From: Pranav Saxena 
>> Date: Tue, Jul 16, 2013 at 4:52 PM
>> Subject: Re: Git Push Summary
>> To: dev@cloudstack.apache.org, jessica.w...@citrix.com,
>> sonny.ch...@citrix.com
>> Cc: comm...@cloudstack.apache.org
>>
>>
>> Thanks Isaac for creating this branch. I'll keep an eye on the commits you
>> make your here . Once the code for handling nested query API calls are
>> ready , you can merge it into master.
>>
>> @Jessica - I have had conversations with Isaac and he is in the process of
>> re-factoring the code for dedicated resources to handle the nested query
>> API calls . You could review it once as well when he sends out a request
>> for merge . It should not be a big change though !
>>
>> Thanks,
>> Pranav
>>
>>
>> On Tue, Jul 16, 2013 at 2:00 PM,  wrote:
>>
>> > Updated Branches:
>> >   refs/heads/ui-dedicatedresources-refactoring [created] 22ddc3fa0
>> >
>>
>>
>


Re: Git Push Summary

2013-07-24 Thread Isaac Chiang
Hi all,
 I've been working on re-factoring the dedication UI code in these
days and just finished.
I discussed the requirements with Pranav before. The changes are listed as
following:

1. zone wizard: (JIRA ticket :
https://issues.apache.org/jira/browse/CLOUDSTACK-3700)

Add a dedication step to activating zone process with rules as:
(A) if the user check the "dedicate" checkbox and provide correct
account information, the wizard will have an extra dedicating step
  when activating the newly created zone(show in the activating
steps).
(B) if the user check the "dedicate" checkbox and provide incorrect
account information, the wizard will return to "Setup Zone" step. Let

  the user has the opportunity to modify the acc or uncheck the
"dedicate" checkbox. It runs into two cases after the user click on fix
  error through the wizard:
  (a) If the user unchecks the "dedicate" checkbox this time,
the wizard will continue to finish the rest of the activating process
without
showing the dedicating step.
  (b) If the user provides the correct account this time, the
wizard will process the dedicating step again(show in the wizard) and
finish the rest of activating process

2. Create pod/cluster/host from dialog: (JIRA ticket :
https://issues.apache.org/jira/browse/CLOUDSTACK-3388)
 Fix the dedication code to fit asynchronous dedication api commands.
The UI now shows correct notification message for the dedication operation.

Please let me know if you have any concerns, thanks! :)


Regards

Isaac









On Fri, Jul 19, 2013 at 10:04 AM, Isaac Chiang wrote:

> Hi Pranav,
> I'll do more tests before applying the code to master in next few
> days. Since the UI code has been re-formatted yesterday, I'd like to
> copy/paste the modified part into master instead of merging the branch.
> Thanks for all the help and advice :)
>
> Regards
>
>
> On Thu, Jul 18, 2013 at 2:47 PM, Pranav Saxena  wrote:
>
>> Hey Isaac ,
>>
>> I verified your code changes in your private asf branch . The code
>> changes look good to me. I am assuming that it would work fine for the
>> following cases -
>> 1) Dedication is a success , addition of resource is a success
>> 2) Dedication is a failure , addition of resource is still a success
>> 3) Dedication is a failure , addition is also a failure
>>
>>  - All 3 cases should have notification displayed for each of the API
>> calls getting triggered ( which I believe would be there after your code
>> changes)
>>  - Also you could provide a "setInterval" waiting time function of say
>> 2-3 seconds between two successive notifications.
>>
>> One thing which I realized after looking at your code changes is that you
>> would have to bear the pain of resolving the merge conflicts when you merge
>> your branch with master. Since your code modifications/additions have been
>> done on the already existing code , I am pretty sure you would have to take
>> care of these conflicts. Since the changes aren't that huge, you could
>> manually copy them to the master branch or replace the entire system.js
>> file in your branch in the master assuming you forked your branch out of
>> master and there haven't been other changes in system.js file . First
>> option is a safer approach though !!
>>
>> Thanks,
>> Pranav
>>
>>
>> On Thu, Jul 18, 2013 at 8:18 AM, Isaac Chiang wrote:
>>
>>> Hi Pranav:
>>>  I just pushed part of modified code in to the branch.
>>> Please have a look if the commit fix the issue as expected.
>>>
>>> Thanks,
>>>
>>> Regards
>>>
>>>
>>> -- Forwarded message --
>>> From: Pranav Saxena 
>>> Date: Tue, Jul 16, 2013 at 4:52 PM
>>> Subject: Re: Git Push Summary
>>> To: dev@cloudstack.apache.org, jessica.w...@citrix.com,
>>> sonny.ch...@citrix.com
>>> Cc: comm...@cloudstack.apache.org
>>>
>>>
>>> Thanks Isaac for creating this branch. I'll keep an eye on the commits
>>> you
>>> make your here . Once the code for handling nested query API calls are
>>> ready , you can merge it into master.
>>>
>>> @Jessica - I have had conversations with Isaac and he is in the process
>>> of
>>> re-factoring the code for dedicated resources to handle the nested query
>>> API calls . You could review it once as well when he sends out a request
>>> for merge . It should not be a big change though !
>>>
>>> Thanks,
>>> Pranav
>>>
>>>
>>> On Tue, Jul 16, 2013 at 2:00 PM,  wrote:
>>>
>>> > Updated Branches:
>>> >   refs/heads/ui-dedicatedresources-refactoring [created] 22ddc3fa0
>>> >
>>>
>>>
>>
>


Re: Git Push Summary

2013-07-24 Thread Isaac Chiang
Hi,
 I've cherry-picked these two commits into 4.2 branch.

Thanks

Isaac

On Wed, Jul 24, 2013 at 5:48 PM, Saksham Srivastava <
saksham.srivast...@citrix.com> wrote:

> Not there in 4.2?
>
> -Original Message-
> From: Isaac Chiang [mailto:isaacchi...@gmail.com]
> Sent: Wednesday, July 24, 2013 3:12 PM
> To: Pranav Saxena
> Cc: dev@cloudstack.apache.org
> Subject: Re: Git Push Summary
>
> Hi all,
>  I've been working on re-factoring the dedication UI code in these
> days and just finished.
> I discussed the requirements with Pranav before. The changes are listed as
> following:
>
> 1. zone wizard: (JIRA ticket :
> https://issues.apache.org/jira/browse/CLOUDSTACK-3700)
>
> Add a dedication step to activating zone process with rules as:
> (A) if the user check the "dedicate" checkbox and provide correct
> account information, the wizard will have an extra dedicating step
>   when activating the newly created zone(show in the
> activating steps).
> (B) if the user check the "dedicate" checkbox and provide
> incorrect account information, the wizard will return to "Setup Zone" step.
> Let
>
>   the user has the opportunity to modify the acc or uncheck
> the "dedicate" checkbox. It runs into two cases after the user click on fix
>   error through the wizard:
>   (a) If the user unchecks the "dedicate" checkbox this time,
> the wizard will continue to finish the rest of the activating process
> without
> showing the dedicating step.
>   (b) If the user provides the correct account this time, the
> wizard will process the dedicating step again(show in the wizard) and
> finish the rest of activating process
>
> 2. Create pod/cluster/host from dialog: (JIRA ticket :
> https://issues.apache.org/jira/browse/CLOUDSTACK-3388)
>  Fix the dedication code to fit asynchronous dedication api commands.
> The UI now shows correct notification message for the dedication operation.
>
> Please let me know if you have any concerns, thanks! :)
>
>
> Regards
>
> Isaac
>
>
>
>
>
>
>
>
>
> On Fri, Jul 19, 2013 at 10:04 AM, Isaac Chiang  >wrote:
>
> > Hi Pranav,
> > I'll do more tests before applying the code to master in next
> > few days. Since the UI code has been re-formatted yesterday, I'd like
> > to copy/paste the modified part into master instead of merging the
> branch.
> > Thanks for all the help and advice :)
> >
> > Regards
> >
> >
> > On Thu, Jul 18, 2013 at 2:47 PM, Pranav Saxena  wrote:
> >
> >> Hey Isaac ,
> >>
> >> I verified your code changes in your private asf branch . The code
> >> changes look good to me. I am assuming that it would work fine for
> >> the following cases -
> >> 1) Dedication is a success , addition of resource is a success
> >> 2) Dedication is a failure , addition of resource is still a success
> >> 3) Dedication is a failure , addition is also a failure
> >>
> >>  - All 3 cases should have notification displayed for each of the API
> >> calls getting triggered ( which I believe would be there after your
> >> code
> >> changes)
> >>  - Also you could provide a "setInterval" waiting time function of
> >> say
> >> 2-3 seconds between two successive notifications.
> >>
> >> One thing which I realized after looking at your code changes is that
> >> you would have to bear the pain of resolving the merge conflicts when
> >> you merge your branch with master. Since your code
> >> modifications/additions have been done on the already existing code ,
> >> I am pretty sure you would have to take care of these conflicts.
> >> Since the changes aren't that huge, you could manually copy them to
> >> the master branch or replace the entire system.js file in your branch
> >> in the master assuming you forked your branch out of master and there
> >> haven't been other changes in system.js file . First option is a safer
> approach though !!
> >>
> >> Thanks,
> >> Pranav
> >>
> >>
> >> On Thu, Jul 18, 2013 at 8:18 AM, Isaac Chiang  >wrote:
> >>
> >>> Hi Pranav:
> >>>  I just pushed part of modified code in to the branch.
> >>> Please have a look if the commit fix the issue as expected.
> >>>
> >>> Thanks,
> >>>
> >>> Regards
&g

Re: Ruby dev wanted

2013-07-25 Thread Isaac Chiang
Hi Sebastien,
   I'm interested in the rOCCi project. I'd like to join.
However, I know nothing about the OCCI and will spend some time on it in
next few days. Please kindly let me know more information about the
project(status, repo location, e.t.c., thanks :)


Regards

Isaac


Hi folks,

I committed to do an interoperability workshop in Madrid, Spain in
september:
http://www.cloudplugfest.org/cloud-interoperability-week/detailed-program

All "four sisters" of cloud are represented.

The main goal is to show that we can talk to CloudStack with OCCI and even
CIMI standards.

The problem is that currently we cannot :)

So I am looking for some help from Ruby developers who would be willing to
work on:

https://github.com/gwdg/rOCCI

and also on delta cloud (even though the project may have stalled):

http://deltacloud.apache.org

A good start might be Chip's ruby client:
https://github.com/chipchilders/cloudstack_ruby_client

Help, any takers  ?



-Sebastien


Re: Ruby dev wanted

2013-08-01 Thread Isaac Chiang
Hi Sebastien,
   I've read the ruby client project by Chips. It's pretty looks like
I'm doing now for _https://github.com/isaacchiang/cloud_ruby. Please have a
look. I believe there are
some code segments that would be helpful to the rOCCI driver. I need more
advice to
the rOCCI project, thanks.

Regard

Isaac


On Fri, Jul 26, 2013 at 11:16 PM, Sebastien Goasguen wrote:

>
> On Jul 25, 2013, at 8:04 PM, Isaac Chiang  wrote:
>
> > Hi Sebastien,
> > I'm interested in the rOCCi project. I'd like to join.
> > However, I know nothing about the OCCI and will spend some time on it in
> > next few days. Please kindly let me know more information about the
> > project(status, repo location, e.t.c., thanks :)
> >
> >
>
> Hi Isaac,
>
> Great, that's terrific of you to volunteer, should be fun.
>
> The first thing I think would be to check out Chip'c ruby client:
> https://github.com/chipchilders/cloudstack_ruby_client
>
> Test it and finish it up  (I am sure Chip can chime in).
>
> Then, you would need to look at:
> https://github.com/gwdg/rOCCI
>
> Figure out how to write a driver, there is an example for opennebula and
> ec2 I believe.
> And then go for it :)
>
> Cheers,
>
> -Sebastien
>
> > Regards
> >
> > Isaac
> >
> >
> > Hi folks,
> >
> > I committed to do an interoperability workshop in Madrid, Spain in
> > september:
> >
> http://www.cloudplugfest.org/cloud-interoperability-week/detailed-program
> >
> > All "four sisters" of cloud are represented.
> >
> > The main goal is to show that we can talk to CloudStack with OCCI and
> even
> > CIMI standards.
> >
> > The problem is that currently we cannot :)
> >
> > So I am looking for some help from Ruby developers who would be willing
> to
> > work on:
> >
> > https://github.com/gwdg/rOCCI
> >
> > and also on delta cloud (even though the project may have stalled):
> >
> > http://deltacloud.apache.org
> >
> > A good start might be Chip's ruby client:
> > https://github.com/chipchilders/cloudstack_ruby_client
> >
> > Help, any takers  ?
> >
> >
> >
> > -Sebastien
>
>


Re: Ruby dev wanted

2013-08-07 Thread Isaac Chiang
Hi Chip,

I just sent the pull request for the cloudstack_ruby_client on
Github. Please have a look!
I did some restructure works, let me know if you have any concerns, thanks.

Regards

Isaac


On Thu, Aug 1, 2013 at 9:38 PM, Chip Childers wrote:

> Happy to accept pull requests for cloudstack_ruby_client and to them
> push the gem.
>
> FWIW, you can always get the latest gem via: gem install
> cloudstack_ruby_client
>
>
> On Thu, Aug 01, 2013 at 06:03:35PM +0800, Isaac Chiang wrote:
> > Hi Sebastien,
> >I've read the ruby client project by Chips. It's pretty looks like
> > I'm doing now for _https://github.com/isaacchiang/cloud_ruby. Please
> have a
> > look. I believe there are
> > some code segments that would be helpful to the rOCCI driver. I need more
> > advice to
> > the rOCCI project, thanks.
> >
> > Regard
> >
> > Isaac
> >
> >
> > On Fri, Jul 26, 2013 at 11:16 PM, Sebastien Goasguen  >wrote:
> >
> > >
> > > On Jul 25, 2013, at 8:04 PM, Isaac Chiang 
> wrote:
> > >
> > > > Hi Sebastien,
> > > > I'm interested in the rOCCi project. I'd like to join.
> > > > However, I know nothing about the OCCI and will spend some time on
> it in
> > > > next few days. Please kindly let me know more information about the
> > > > project(status, repo location, e.t.c., thanks :)
> > > >
> > > >
> > >
> > > Hi Isaac,
> > >
> > > Great, that's terrific of you to volunteer, should be fun.
> > >
> > > The first thing I think would be to check out Chip'c ruby client:
> > > https://github.com/chipchilders/cloudstack_ruby_client
> > >
> > > Test it and finish it up  (I am sure Chip can chime in).
> > >
> > > Then, you would need to look at:
> > > https://github.com/gwdg/rOCCI
> > >
> > > Figure out how to write a driver, there is an example for opennebula
> and
> > > ec2 I believe.
> > > And then go for it :)
> > >
> > > Cheers,
> > >
> > > -Sebastien
> > >
> > > > Regards
> > > >
> > > > Isaac
> > > >
> > > >
> > > > Hi folks,
> > > >
> > > > I committed to do an interoperability workshop in Madrid, Spain in
> > > > september:
> > > >
> > >
> http://www.cloudplugfest.org/cloud-interoperability-week/detailed-program
> > > >
> > > > All "four sisters" of cloud are represented.
> > > >
> > > > The main goal is to show that we can talk to CloudStack with OCCI and
> > > even
> > > > CIMI standards.
> > > >
> > > > The problem is that currently we cannot :)
> > > >
> > > > So I am looking for some help from Ruby developers who would be
> willing
> > > to
> > > > work on:
> > > >
> > > > https://github.com/gwdg/rOCCI
> > > >
> > > > and also on delta cloud (even though the project may have stalled):
> > > >
> > > > http://deltacloud.apache.org
> > > >
> > > > A good start might be Chip's ruby client:
> > > > https://github.com/chipchilders/cloudstack_ruby_client
> > > >
> > > > Help, any takers  ?
> > > >
> > > >
> > > >
> > > > -Sebastien
> > >
> > >
>


Re: [ANNOUNCE] New Committer: Vijay Bhamidipati

2013-08-11 Thread Isaac Chiang
Congratz! :)


On Mon, Aug 12, 2013 at 1:35 AM, Harikrishna Patnala <
harikrishna.patn...@citrix.com> wrote:

> Congratulations
>
> -Harikrishna
>
> On 11-Aug-2013, at 12:55 PM, Abhinav Roy  wrote:
>
> > Congrats Vijay.
> >
> > Regards,
> > Abhinav
> >
> > -Original Message-
> > From: Sanjay Tripathi [mailto:sanjay.tripa...@citrix.com]
> > Sent: Sunday, August 11, 2013 12:53 PM
> > To: dev@cloudstack.apache.org
> > Subject: RE: [ANNOUNCE] New Committer: Vijay Bhamidipati
> >
> > Congratulations Vijay!
> >
> > --Sanjay
> >
> >> -Original Message-
> >> From: Prasanna Santhanam [mailto:t...@apache.org]
> >> Sent: Saturday, August 10, 2013 10:31 AM
> >> To: CloudStack Dev
> >> Subject: [ANNOUNCE] New Committer: Vijay Bhamidipati
> >>
> >> The Project Management Committee (PMC) for Apache CloudStack has asked
> >> Vijay Bhamidipati to become a committer and we are pleased to announce
> >> that they have accepted.
> >>
> >> Being a committer allows many contributors to contribute more
> >> autonomously. For developers, it makes it easier to submit changes and
> >> eliminates the need to have contributions reviewed via the patch
> >> submission process. Whether contributions are development-related or
> >> otherwise, it is a recognition of a contributor's participation in the
> >> project and commitment to the project and the Apache Way.
> >>
> >> Please join me in congratulating Vijay!
> >>
> >> --
> >> Prasanna.,
> >> on behalf of the Apache CloudStack PMC
> >>
> >> 
> >> Powered by BigRock.com
> >
>
>


Re: Ruby dev wanted

2013-08-19 Thread Isaac Chiang
Hi Sebastien,
   Chip's cloudstack_ruby_client is almost ready (waiting for
second time pull request). I'll spend some time on rOCCi in next few weeks.
Currently I still can't have the pictures of what exactly the rOCCi is
doing. I'll try to find myself more use cases. Thanks for the provided
information.

Regards
Isaac


On Mon, Aug 19, 2013 at 4:19 PM, Sebastien Goasguen wrote:

>
> On Aug 1, 2013, at 6:03 AM, Isaac Chiang  wrote:
>
> > Hi Sebastien,
> >   I've read the ruby client project by Chips. It's pretty looks like
> > I'm doing now for _https://github.com/isaacchiang/cloud_ruby. Please
> have a
> > look. I believe there are
> > some code segments that would be helpful to the rOCCI driver. I need more
> > advice to
> > the rOCCI project, thanks.
>
> Isaac, thanks for the work on the ruby gem for cloudstack.
>
> rOCCI is a server that implements the OCCI standard.
> We need to create a CloudStack driver in rOCCI, based on the cloudstack
> gem from chip.
> You can git clone rOCCI from github:
> https://github.com/gwdg/rOCCI-server/tree/master
>
> The drivers of backend are at:
> https://github.com/gwdg/rOCCI-server/tree/master/lib/occi/backend
>
> Once this is done, we should run it in parallel to a cloudstack instance
> and send OCCI requests to it, this will in turn send cloudstack api calls.
>
> Happy to chat on IRC if you want,
>
> Cheers,
>
> -Sebastien
>
> >
> > Regard
> >
> > Isaac
> >
> >
> > On Fri, Jul 26, 2013 at 11:16 PM, Sebastien Goasguen  >wrote:
> >
> >>
> >> On Jul 25, 2013, at 8:04 PM, Isaac Chiang 
> wrote:
> >>
> >>> Hi Sebastien,
> >>>I'm interested in the rOCCi project. I'd like to join.
> >>> However, I know nothing about the OCCI and will spend some time on it
> in
> >>> next few days. Please kindly let me know more information about the
> >>> project(status, repo location, e.t.c., thanks :)
> >>>
> >>>
> >>
> >> Hi Isaac,
> >>
> >> Great, that's terrific of you to volunteer, should be fun.
> >>
> >> The first thing I think would be to check out Chip'c ruby client:
> >> https://github.com/chipchilders/cloudstack_ruby_client
> >>
> >> Test it and finish it up  (I am sure Chip can chime in).
> >>
> >> Then, you would need to look at:
> >> https://github.com/gwdg/rOCCI
> >>
> >> Figure out how to write a driver, there is an example for opennebula and
> >> ec2 I believe.
> >> And then go for it :)
> >>
> >> Cheers,
> >>
> >> -Sebastien
> >>
> >>> Regards
> >>>
> >>> Isaac
> >>>
> >>>
> >>> Hi folks,
> >>>
> >>> I committed to do an interoperability workshop in Madrid, Spain in
> >>> september:
> >>>
> >>
> http://www.cloudplugfest.org/cloud-interoperability-week/detailed-program
> >>>
> >>> All "four sisters" of cloud are represented.
> >>>
> >>> The main goal is to show that we can talk to CloudStack with OCCI and
> >> even
> >>> CIMI standards.
> >>>
> >>> The problem is that currently we cannot :)
> >>>
> >>> So I am looking for some help from Ruby developers who would be willing
> >> to
> >>> work on:
> >>>
> >>> https://github.com/gwdg/rOCCI
> >>>
> >>> and also on delta cloud (even though the project may have stalled):
> >>>
> >>> http://deltacloud.apache.org
> >>>
> >>> A good start might be Chip's ruby client:
> >>> https://github.com/chipchilders/cloudstack_ruby_client
> >>>
> >>> Help, any takers  ?
> >>>
> >>>
> >>>
> >>> -Sebastien
> >>
> >>
>
>


Review Request: CLOUDSTACK-1908 : The specified event isn't removed from list after deletion

2013-04-03 Thread Isaac Chiang

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10253/
---

Review request for cloudstack and Pranav Saxena.


Description
---

CLOUDSTACK-1908 : The specified event isn't removed from list after deletion

1.Remove target row from listview after deleting an event.
2.replace "no data to show" row if there is no event in the list

CLOUDSTACK-1287 : The list table is malformed when scrolling down in the global 
setting page

Prevent the table being distorted after reloading data


This addresses bugs CLOUDSTACK-1287 and CLOUDSTACK-1908.


Diffs
-

  ui/css/cloudstack3.css 9b77b9f 
  ui/scripts/events.js 1c89b58 
  ui/scripts/ui/widgets/detailView.js 0731dda 

Diff: https://reviews.apache.org/r/10253/diff/


Testing
---

Test in master branch and works well.


Thanks,

Isaac Chiang



Access to Jira system

2013-04-11 Thread Isaac Chiang
Dear CloudStack-dev :
  May I have the access to the jira system(To be the assignee)?
 I'd like to take some unassigned tasks/issues. Many thanks.


Regards
Isaac


Access to Jira system

2013-04-11 Thread Isaac Chiang
Dear CloudStack-dev :
  May I have the access to the jira system(To be the assignee)?
 I'd like to take some unassigned tasks/issues. Many thanks.


Regards


Re: Access to Jira system

2013-04-11 Thread Isaac Chiang
Thanks!:)


On Thu, Apr 11, 2013 at 8:18 PM, David Nalley  wrote:

> On Thu, Apr 11, 2013 at 5:59 AM, Isaac Chiang 
> wrote:
> > Dear CloudStack-dev :
> >   May I have the access to the jira system(To be the
> assignee)?
> >  I'd like to take some unassigned tasks/issues. Many thanks.
> >
> >
> > Regards
> > Isaac
>
> Done
>
> Thanks!
>
> --David
>


Review Request: CLOUDSTACK-1871 : domainId parameter to uploadVolume not working

2013-04-15 Thread Isaac Chiang

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10479/
---

Review request for cloudstack and Pranav Saxena.


Description
---

CLOUDSTACK-1871 : domainId parameter to uploadVolume not working

1. Remove duplicated lines for setting domainId.
2. Set domainId with owner's domain if the owner is specified ( with account 
and domainid passed in)


This addresses bug CLOUDSTACK-1871.


Diffs
-

  server/src/com/cloud/storage/VolumeManagerImpl.java 1e8edaf 

Diff: https://reviews.apache.org/r/10479/diff/


Testing
---

Test from UI and curl request, both work well


Thanks,

Isaac Chiang



Re: physical network is in incorrect state:Disabled

2013-04-17 Thread Isaac Chiang
Hi all:
  I encountered same issue. The zone installation wizard won't
enable the physical network now in master code.

Regards

Isaac





On Thu, Apr 18, 2013 at 12:39 AM, Alena Prokharchyk <
alena.prokharc...@citrix.com> wrote:

> Hi Sanjay,
>
> You have to enable the physical network explicitly after its creation if
> you configure CS using APIs. Here is the example of the command:
>
> http://localhost:8096/?command=updatePhysicalNetwork&id=
> &state=Enable
> d
>
> The cloudStack UI automatically does this call for you as the last step of
> the zone creation.
>
> -Alena.
>
> On 4/17/13 3:40 AM, "Sanjay Tripathi"  wrote:
>
> >Hi,
> >
> >While setting up the environment with the latest master code, the
> >"createNetwork" API fails with this error message: "failed to create a
> >guest network for basic zone Error: Specified physical network id is in
> >incorrect state:Disabled". I checked the DB and found that in
> >physical_network table the data entry is in disabled state.
> >
> >Is anyone else facing the same issue, or is there any use case why
> >physical network is in disabled state?
> >
> >--Sanjay
> >
>
>
>


Re: physical network is in incorrect state:Disabled

2013-04-17 Thread Isaac Chiang
Hi Pranav:
The UI doesn't send updatePhysicalNetwork call through wizard
now.

Isaac


On Thu, Apr 18, 2013 at 10:32 AM, Pranav Saxena wrote:

> Isaac,
>
> Could you verify if UI is making the correct call to the
> UpdatePhysicalNetwork API with state being passed as "Enabled " ? If yes ,
> then the issue is something serious since Sanjay pointed out that the db
> column contains state as "Disabled"  .This would mean that the API is not
> setting the db column correctly in case there have been modifications to
> the API code.
>
> Thanks,
> Pranav
>
> -Original Message-
> From: Isaac Chiang [mailto:isaacchi...@gmail.com]
> Sent: Thursday, April 18, 2013 7:54 AM
> To: dev@cloudstack.apache.org
> Subject: Re: physical network is in incorrect state:Disabled
>
> Hi all:
>   I encountered same issue. The zone installation wizard won't
> enable the physical network now in master code.
>
> Regards
>
> Isaac
>
>
>
>
>
> On Thu, Apr 18, 2013 at 12:39 AM, Alena Prokharchyk <
> alena.prokharc...@citrix.com> wrote:
>
> > Hi Sanjay,
> >
> > You have to enable the physical network explicitly after its creation
> > if you configure CS using APIs. Here is the example of the command:
> >
> > http://localhost:8096/?command=updatePhysicalNetwork&id=
> > &state=Enable
> > d
> >
> > The cloudStack UI automatically does this call for you as the last
> > step of the zone creation.
> >
> > -Alena.
> >
> > On 4/17/13 3:40 AM, "Sanjay Tripathi" 
> wrote:
> >
> > >Hi,
> > >
> > >While setting up the environment with the latest master code, the
> > >"createNetwork" API fails with this error message: "failed to create
> > >a guest network for basic zone Error: Specified physical network id
> > >is in incorrect state:Disabled". I checked the DB and found that in
> > >physical_network table the data entry is in disabled state.
> > >
> > >Is anyone else facing the same issue, or is there any use case why
> > >physical network is in disabled state?
> > >
> > >--Sanjay
> > >
> >
> >
> >
>


Re: physical network is in incorrect state:Disabled

2013-04-17 Thread Isaac Chiang
Hi Pranav:
 I observed the from the the Javascript console. As I know,
after updating the service provider's status,  should be followed a request
call to update physical network with state=enabled. But I didn't see that
request now, but followed a createNetwork call.

Regards
Isaac



On Thu, Apr 18, 2013 at 10:40 AM, Pranav Saxena wrote:

> Well , how is that possible otherwise the physical network state won't be
> updated at all . It's a part of the zoneWizard work flow . Have a look at
> the snippet below which is passing state as Enabled in zoneWizard.js -
> /*
> if(args.data.zone.networkType == "Basic") {
> $.ajax({
>   url: createURL("updatePhysicalNetwork&state=Enabled&id=" +
> args.data.returnedBasicPhysicalNetwork.id),
>   dataType: "json",
>
> */
>
>
>
> -Original Message-
> From: Isaac Chiang [mailto:isaacchi...@gmail.com]
> Sent: Thursday, April 18, 2013 8:08 AM
> To: dev@cloudstack.apache.org
> Subject: Re: physical network is in incorrect state:Disabled
>
> Hi Pranav:
> The UI doesn't send updatePhysicalNetwork call through wizard
> now.
>
> Isaac
>
>
> On Thu, Apr 18, 2013 at 10:32 AM, Pranav Saxena  >wrote:
>
> > Isaac,
> >
> > Could you verify if UI is making the correct call to the
> > UpdatePhysicalNetwork API with state being passed as "Enabled " ? If
> > yes , then the issue is something serious since Sanjay pointed out
> > that the db column contains state as "Disabled"  .This would mean that
> > the API is not setting the db column correctly in case there have been
> > modifications to the API code.
> >
> > Thanks,
> > Pranav
> >
> > -Original Message-
> > From: Isaac Chiang [mailto:isaacchi...@gmail.com]
> > Sent: Thursday, April 18, 2013 7:54 AM
> > To: dev@cloudstack.apache.org
> > Subject: Re: physical network is in incorrect state:Disabled
> >
> > Hi all:
> >   I encountered same issue. The zone installation wizard won't
> > enable the physical network now in master code.
> >
> > Regards
> >
> > Isaac
> >
> >
> >
> >
> >
> > On Thu, Apr 18, 2013 at 12:39 AM, Alena Prokharchyk <
> > alena.prokharc...@citrix.com> wrote:
> >
> > > Hi Sanjay,
> > >
> > > You have to enable the physical network explicitly after its
> > > creation if you configure CS using APIs. Here is the example of the
> command:
> > >
> > > http://localhost:8096/?command=updatePhysicalNetwork&id=
> > > &state=Enable
> > > d
> > >
> > > The cloudStack UI automatically does this call for you as the last
> > > step of the zone creation.
> > >
> > > -Alena.
> > >
> > > On 4/17/13 3:40 AM, "Sanjay Tripathi" 
> > wrote:
> > >
> > > >Hi,
> > > >
> > > >While setting up the environment with the latest master code, the
> > > >"createNetwork" API fails with this error message: "failed to
> > > >create a guest network for basic zone Error: Specified physical
> > > >network id is in incorrect state:Disabled". I checked the DB and
> > > >found that in physical_network table the data entry is in disabled
> state.
> > > >
> > > >Is anyone else facing the same issue, or is there any use case why
> > > >physical network is in disabled state?
> > > >
> > > >--Sanjay
> > > >
> > >
> > >
> > >
> >
>


Re: physical network is in incorrect state:Disabled

2013-04-17 Thread Isaac Chiang
OK! thanks.



On Thu, Apr 18, 2013 at 10:52 AM, Pranav Saxena wrote:

> I see , if possible could you create a JIRA ticket  and investigate on the
> same . Perhaps the difference in the current master code and the slightly
> outdated code would let you know as to what's the root cause of this
> problem. Let me know if I can help.
>
> Thanks,
> Pranav
>
> -----Original Message-
> From: Isaac Chiang [mailto:isaacchi...@gmail.com]
> Sent: Thursday, April 18, 2013 8:19 AM
> To: dev@cloudstack.apache.org
> Subject: Re: physical network is in incorrect state:Disabled
>
> Hi Pranav:
>  I observed the from the the Javascript console. As I know,
> after updating the service provider's status,  should be followed a request
> call to update physical network with state=enabled. But I didn't see that
> request now, but followed a createNetwork call.
>
> Regards
> Isaac
>
>
>
> On Thu, Apr 18, 2013 at 10:40 AM, Pranav Saxena  >wrote:
>
> > Well , how is that possible otherwise the physical network state won't
> > be updated at all . It's a part of the zoneWizard work flow . Have a
> > look at the snippet below which is passing state as Enabled in
> > zoneWizard.js -
> > /*
> > if(args.data.zone.networkType == "Basic") {
> > $.ajax({
> >   url: createURL("updatePhysicalNetwork&state=Enabled&id="
> > + args.data.returnedBasicPhysicalNetwork.id),
> >   dataType: "json",
> >
> > */
> >
> >
> >
> > -Original Message-
> > From: Isaac Chiang [mailto:isaacchi...@gmail.com]
> > Sent: Thursday, April 18, 2013 8:08 AM
> > To: dev@cloudstack.apache.org
> > Subject: Re: physical network is in incorrect state:Disabled
> >
> > Hi Pranav:
> > The UI doesn't send updatePhysicalNetwork call through
> > wizard now.
> >
> > Isaac
> >
> >
> > On Thu, Apr 18, 2013 at 10:32 AM, Pranav Saxena
> >  > >wrote:
> >
> > > Isaac,
> > >
> > > Could you verify if UI is making the correct call to the
> > > UpdatePhysicalNetwork API with state being passed as "Enabled " ? If
> > > yes , then the issue is something serious since Sanjay pointed out
> > > that the db column contains state as "Disabled"  .This would mean
> > > that the API is not setting the db column correctly in case there
> > > have been modifications to the API code.
> > >
> > > Thanks,
> > > Pranav
> > >
> > > -Original Message-
> > > From: Isaac Chiang [mailto:isaacchi...@gmail.com]
> > > Sent: Thursday, April 18, 2013 7:54 AM
> > > To: dev@cloudstack.apache.org
> > > Subject: Re: physical network is in incorrect state:Disabled
> > >
> > > Hi all:
> > >   I encountered same issue. The zone installation wizard
> > > won't enable the physical network now in master code.
> > >
> > > Regards
> > >
> > > Isaac
> > >
> > >
> > >
> > >
> > >
> > > On Thu, Apr 18, 2013 at 12:39 AM, Alena Prokharchyk <
> > > alena.prokharc...@citrix.com> wrote:
> > >
> > > > Hi Sanjay,
> > > >
> > > > You have to enable the physical network explicitly after its
> > > > creation if you configure CS using APIs. Here is the example of
> > > > the
> > command:
> > > >
> > > > http://localhost:8096/?command=updatePhysicalNetwork&id=
> > > > &state=Enable
> > > > d
> > > >
> > > > The cloudStack UI automatically does this call for you as the last
> > > > step of the zone creation.
> > > >
> > > > -Alena.
> > > >
> > > > On 4/17/13 3:40 AM, "Sanjay Tripathi" 
> > > wrote:
> > > >
> > > > >Hi,
> > > > >
> > > > >While setting up the environment with the latest master code, the
> > > > >"createNetwork" API fails with this error message: "failed to
> > > > >create a guest network for basic zone Error: Specified physical
> > > > >network id is in incorrect state:Disabled". I checked the DB and
> > > > >found that in physical_network table the data entry is in
> > > > >disabled
> > state.
> > > > >
> > > > >Is anyone else facing the same issue, or is there any use case
> > > > >why physical network is in disabled state?
> > > > >
> > > > >--Sanjay
> > > > >
> > > >
> > > >
> > > >
> > >
> >
>


Re: New Committer: Go Chiba

2013-04-18 Thread Isaac Chiang
Congratulation :)




On Thu, Apr 18, 2013 at 2:56 PM, Sebastien Goasguen wrote:

> The Project Management Committee (PMC) for Apache CloudStack has asked Go
> Chiba to become a committer and we are pleased to announced that they have
> accepted.
>
> Go has contributed tremendously to the Japanese translations of the
> documentation (runbook, UI and docs).
> Being a committer allows many contributors to contribute more
> autonomously. For developers, it makes it easier to submit changes and
> eliminates the need to have contributions reviewed via the patch submission
> process. Whether contributions are development-related or otherwise, it is
> a recognition of a contributor's participation in the project and
> commitment to the project and the Apache Way.
> Please join me in congratulating Go,
>
> -Sebastien, on behalf of  the Apache CloudStack PMC
>
>


Re: physical network is in incorrect state:Disabled

2013-04-18 Thread Isaac Chiang
Move the ticket to API issue, the command does emit ( order has been
changed ? bad memory :( ) but doesn't modify the database, my apology.

Regards
Isaac


On Thu, Apr 18, 2013 at 5:25 PM, Srikanteswararao Talluri <
srikanteswararao.tall...@citrix.com> wrote:

> I am running into the same issue and I am not able to enable physical
> network through API also
>
>
>
> > -Original Message-
> > From: Gavin Lee [mailto:gavin@gmail.com]
> > Sent: Thursday, April 18, 2013 10:46 AM
> > To: dev@cloudstack.apache.org
> > Subject: Re: physical network is in incorrect state:Disabled
> >
> > I encountered the same issue when deploying devcloud on master branch:
> >
> > bash$python ../marvin/marvin/deployDataCenter.py -i devcloud.cfg
> Traceback
> > (most recent call last):
> >   File "../marvin/marvin/deployDataCenter.py", line 469, in 
> > deploy.deploy()
> >   File "../marvin/marvin/deployDataCenter.py", line 454, in deploy
> > self.createZones(self.config.zones)
> >   File "../marvin/marvin/deployDataCenter.py", line 318, in createZones
> > networkid = self.createnetworks([guestntwrk], zoneId)
> >   File "../marvin/marvin/deployDataCenter.py", line 164, in
> createnetworks
> > networkcmdresponse = self.apiClient.createNetwork(networkcmd)
> >   File
> "/Users/gavin_lee/projects/cs-apache/cloudstack/tools/marvin/marvin/
> > cloudstackAPI/cloudstackAPIClient.py", line 1493, in createNetwork
> > response = self.connection.marvin_request(command, data=postdata,
> > response_type=response)
> >   File
> "/Users/gavin_lee/projects/cs-apache/cloudstack/tools/marvin/marvin/
> > cloudstackConnection.py", line 216, in marvin_request
> > response = jsonHelper.getResultObj(response.json(), response_type)
> >   File
> "/Users/gavin_lee/projects/cs-apache/cloudstack/tools/marvin/marvin/
> > jsonHelper.py", line 128, in getResultObj
> > raise
> >
> cloudstackException.cloudstackAPIException(responseName.replace("response"
> > ,
> > ""), errMsg)
> > cloudstackException.cloudstackAPIException: Execute cmd:
> > createnetworkfailed, due to:
> > errorCode: 431, errorText:Specified physical network id is in incorrect
> > state:Disabled
> >
> >
> >
> > On Thu, Apr 18, 2013 at 10:56 AM, Isaac Chiang
> > wrote:
> >
> > > OK! thanks.
> > >
> > >
> > >
> > > On Thu, Apr 18, 2013 at 10:52 AM, Pranav Saxena
> > >  > > >wrote:
> > >
> > > > I see , if possible could you create a JIRA ticket  and investigate
> > > > on
> > > the
> > > > same . Perhaps the difference in the current master code and the
> > > > slightly outdated code would let you know as to what's the root
> > > > cause of this problem. Let me know if I can help.
> > > >
> > > > Thanks,
> > > > Pranav
> > > >
> > > > -Original Message-
> > > > From: Isaac Chiang [mailto:isaacchi...@gmail.com]
> > > > Sent: Thursday, April 18, 2013 8:19 AM
> > > > To: dev@cloudstack.apache.org
> > > > Subject: Re: physical network is in incorrect state:Disabled
> > > >
> > > > Hi Pranav:
> > > >  I observed the from the the Javascript console. As I
> > > > know, after updating the service provider's status,  should be
> > > > followed a
> > > request
> > > > call to update physical network with state=enabled. But I didn't see
> > > > that request now, but followed a createNetwork call.
> > > >
> > > > Regards
> > > > Isaac
> > > >
> > > >
> > > >
> > > > On Thu, Apr 18, 2013 at 10:40 AM, Pranav Saxena <
> > > pranav.sax...@citrix.com
> > > > >wrote:
> > > >
> > > > > Well , how is that possible otherwise the physical network state
> > > > > won't be updated at all . It's a part of the zoneWizard work flow
> > > > > . Have a look at the snippet below which is passing state as
> > > > > Enabled in zoneWizard.js -
> > > > > /*
> > > > > if(args.data.zone.networkType == "Basic") {
> > > > > $.ajax({
> > > > >   url:
> createURL("updatePhysicalNetwork&state=Enabled&id="
> > > > > + args.data.returnedBas

Re: physical network is in incorrect state:Disabled

2013-04-18 Thread Isaac Chiang
Hi Pranav:
It's 8b40e393b845c4c3d7ca23c8e297dc43288f6863





On Thu, Apr 18, 2013 at 5:42 PM, Pranav Saxena wrote:

> Yeah that is fine. I already did that but what I was asking Isaac is which
> code commit modified that particular API so that we can fix it asap.
>
> -Original Message-
> From: Srikanteswararao Talluri [mailto:srikanteswararao.tall...@citrix.com
> ]
> Sent: Thursday, April 18, 2013 3:11 PM
> To: dev@cloudstack.apache.org
> Subject: RE: physical network is in incorrect state:Disabled
>
> Yes, updatePhysicalNetwork API call to enable physical network is not
> modifying "cloud.physical_network" table.
>
> Work around is to update the table in the database.
>
> Thanks,
> ~Talluri
>
> > -Original Message-
> > From: Pranav Saxena [mailto:pranav.sax...@citrix.com]
> > Sent: Thursday, April 18, 2013 3:02 PM
> > To: dev@cloudstack.apache.org
> > Subject: RE: physical network is in incorrect state:Disabled
> >
> > Isaac,
> >
> > Did you manage to find out which code commit alters the order for the
> > API calls here ?
> >
> > Thanks,
> > Pranav
> >
> > -Original Message-
> > From: Isaac Chiang [mailto:isaacchi...@gmail.com]
> > Sent: Thursday, April 18, 2013 2:59 PM
> > To: dev@cloudstack.apache.org
> > Subject: Re: physical network is in incorrect state:Disabled
> >
> > Move the ticket to API issue, the command does emit ( order has been
> > changed ? bad memory :( ) but doesn't modify the database, my apology.
> >
> > Regards
> > Isaac
> >
> >
> > On Thu, Apr 18, 2013 at 5:25 PM, Srikanteswararao Talluri <
> > srikanteswararao.tall...@citrix.com> wrote:
> >
> > > I am running into the same issue and I am not able to enable
> > > physical network through API also
> > >
> > >
> > >
> > > > -Original Message-
> > > > From: Gavin Lee [mailto:gavin@gmail.com]
> > > > Sent: Thursday, April 18, 2013 10:46 AM
> > > > To: dev@cloudstack.apache.org
> > > > Subject: Re: physical network is in incorrect state:Disabled
> > > >
> > > > I encountered the same issue when deploying devcloud on master
> branch:
> > > >
> > > > bash$python ../marvin/marvin/deployDataCenter.py -i devcloud.cfg
> > > Traceback
> > > > (most recent call last):
> > > >   File "../marvin/marvin/deployDataCenter.py", line 469, in 
> > > > deploy.deploy()
> > > >   File "../marvin/marvin/deployDataCenter.py", line 454, in deploy
> > > > self.createZones(self.config.zones)
> > > >   File "../marvin/marvin/deployDataCenter.py", line 318, in
> createZones
> > > > networkid = self.createnetworks([guestntwrk], zoneId)
> > > >   File "../marvin/marvin/deployDataCenter.py", line 164, in
> > > createnetworks
> > > > networkcmdresponse = self.apiClient.createNetwork(networkcmd)
> > > >   File
> > > "/Users/gavin_lee/projects/cs-apache/cloudstack/tools/marvin/marvin/
> > > > cloudstackAPI/cloudstackAPIClient.py", line 1493, in createNetwork
> > > > response = self.connection.marvin_request(command,
> > > > data=postdata,
> > > > response_type=response)
> > > >   File
> > > "/Users/gavin_lee/projects/cs-apache/cloudstack/tools/marvin/marvin/
> > > > cloudstackConnection.py", line 216, in marvin_request
> > > > response = jsonHelper.getResultObj(response.json(),
> response_type)
> > > >   File
> > > "/Users/gavin_lee/projects/cs-apache/cloudstack/tools/marvin/marvin/
> > > > jsonHelper.py", line 128, in getResultObj
> > > > raise
> > > >
> > >
> >
> cloudstackException.cloudstackAPIException(responseName.replace("response"
> > > > ,
> > > > ""), errMsg)
> > > > cloudstackException.cloudstackAPIException: Execute cmd:
> > > > createnetworkfailed, due to:
> > > > errorCode: 431, errorText:Specified physical network id is in
> > > > incorrect state:Disabled
> > > >
> > > >
> > > >
> > > > On Thu, Apr 18, 2013 at 10:56 AM, Isaac Chiang
> > > > wrote:
> > > >
> > > > > OK! thanks.
> > > > >
> > > > >
> > > > >
> > > > > On Thu, Apr 18, 2013 at 10

Review Request: CLOUDSTACK-2077 : The updatePhysicalNetwork command fails to update the database

2013-04-18 Thread Isaac Chiang

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10605/
---

Review request for cloudstack and Pranav Saxena.


Description
---

The root cause of the issue is that there is only one update statement around 
line 2450 in NetworkServiceImpl.java , but it is enclosed by a if statement: 

 if (newVnetRangeString != null) 

so if  the newVnetRangeString object equals to null 

The physical_network database won't get update.

The patch move following line out of if block :

_physicalNetworkDao.update(id, network);


This addresses bug CLOUDSTACK-2077.


Diffs
-

  server/src/com/cloud/network/NetworkServiceImpl.java 12c6068 

Diff: https://reviews.apache.org/r/10605/diff/


Testing
---

Test with ui and curl command


Thanks,

Isaac Chiang



Error when acquiring new ip for an instance

2013-04-22 Thread Isaac Chiang
Hi all:
When I tried to acquire a new ip for an instance from UI, I got
following error message from server:

com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed for
cmd: network_rules_vmSecondaryIp with args vmSecIp: 192.168.
56.168, vmMac: 06:dd:30:00:00:6c, action: -A, vmName: i-2-3-VM,  due to
UNKNOWN_XENAPI_PLUGIN_FUNCTIONnetwork_rules_vmSecondaryIp
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:3971)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:7621)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:604)
at
com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOssResource.java:137)
at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)

No matter the error message from server, I still can get a IP for the
instance. But I cannot ping to the acquired IP.

My env for the case is master code with DevCloud. Is there any detailed
steps or limitations I missed? Any help will be appreciated, thanks

Regards

Isaac


Re: New PMC Member: Prasanna Santhanam

2013-04-22 Thread Isaac Chiang
Congratulations!!

Isaac


On Tue, Apr 23, 2013 at 1:30 PM, Dave Cahill  wrote:

> Congrats Prasanna, much deserved. :)
>
> Dave.
>
>
> On Tue, Apr 23, 2013 at 2:23 PM, Devdeep Singh  >wrote:
>
> > Congrats Prasanna.
> >
> > Regards,
> > Devdeep
> >
> > > -Original Message-
> > > From: Chip Childers [mailto:chip.child...@sungard.com]
> > > Sent: Monday, April 22, 2013 9:21 PM
> > > To: dev@cloudstack.apache.org
> > > Subject: New PMC Member: Prasanna Santhanam
> > >
> > > Hi folks
> > >
> > > The Project Management Committee (PMC) for Apache CloudStack has asked
> > > Prasanna Santhanam to become a member of the PMC and we are pleased to
> > > announce that he has accepted.
> > >
> > > Please join me in congratulating Prasanna!
> > >
> > > Regards,
> > >
> > > --Chip
> > > on behalf of the CloudStack PMC
> >
>


Re: [DOCS][TRANSLATIONS] Upate

2013-04-23 Thread Isaac Chiang
Hi all:
   I have a few questions and looking for help. After the documents
have been translated, can I use Transifex to review these documents? Cause
I noticed that some of the terminology aren't consistent during the
translation and the language sources are too large for me to handling the
review process. So I'm wondering if it is possible for a normal user in
Transifex to mark the sentence as reviewed and prevent from reviewing it
twice?

Another question is about the glossary, is it part of translation program
or a assistant mechanism to support translation?

Thanks & best regards

Isaac


On Tue, Apr 23, 2013 at 9:50 PM, Gavin Lee  wrote:

> Following Milamber's guide , below process I used for
> 4.1.xmessage.properties on zh_CN:
> 1. git pull for the latest messages_zh_CN.properties
> 2. native2ascii -reverse messages_zh_CN.properties
> /tmp/zh_CN.properties.native -encoding utf8
> 3. copy to the CloudStack_UI transifex project:
> cp/tmp/zh_CN.properties.native /
> txprj/acsui/translations/CloudStack_UI.41xmessageproperties
> 4. tx push -l zh_CN -r CloudStack_UI.41xmessageproperties -t
> 5. Do translation on transifex, there are some untranslated items when
> syncing with en.properties
> 6. tx pull -a
>
>
> Then convert to ascii with unicode, the i18nedit tools throws exception, I
> tried native2ascii command as below and UI display correctly:
> native2ascii -encoding UTF-8 zh_CN.properties messages_zh_CN.properties
>
> Are the whole processes above correct or not?
>
>
>
>
> On Tue, Apr 23, 2013 at 12:01 AM, Sebastien Goasguen  >wrote:
>
> > Milamber, I made you a manager of the transifex project so you can help
> > fixing those issues.
> >
> > -sebastien
> >
> > On Apr 22, 2013, at 11:10 AM, Milamber  wrote:
> >
> > >
> > >
> > > Le 17/04/2013 07:26, Sebastien Goasguen a ecrit :
> > >> On Apr 16, 2013, at 11:10 AM, Milamber  wrote:
> > >>
> > >>>
> > >>> Le 16/04/2013 13:41, Gavin Lee a ecrit :
> >  Yes, Traditional Chinese moving very quickly.
> >  Hopefully, the other languages can have more contributors.
> > 
> >  For the UI part, I saw the characters are not recognizable (browser
> >  encoding setting: auto detect&   Unicode UTF-8):
> >  ja: http://snag.gy/AVsbU.jpg
> >  zh_CN: http://snag.gy/MxbBS.jpg
> > >>> This screenshots shows some characters with a incorrect encoding (try
> > to display a char as a ISO-8859-1 (or japanese charset) but the encoding
> is
> > a UTF-8, I think)
> > >>>
> > >>> With Sebgoa, we have correct all UI ressource file to have only one
> > encoding charset in this files (ASCII with unicode). The transifex data
> > isn't up-to-date.
> > >>>
> > >>> Sebgoa, I think we must upload the last version of this (all)
> > resources files (except FR already done) from branch 4.1 to transifex.
> > >>> The last version of resources files is ASCII with unicode for *all
> > chars* in each file, and now transifex keep the unicode char (check with
> FR
> > download for use)
> > >
> > > Mistake: transifex don't support uploaded unicode chars.
> > >
> > >> The way the original workflow was:
> > >> -Upload new versions of the resources file in english
> > >> -Translators create a new language in transifex.
> > >> -Download new language resources file
> > >> -Fix encoding
> > >
> > > For the fix encoding step, we can use this (unix and JDK) commands for
> > each language:
> > >
> > > CODELANG=it_IT
> > >
> >
> FILE_TRANSIFEX=for_use_CloudStack_UI_41xmessageproperties_${CODELANG}.properties
> > > FILE_RES=messages_${CODELANG}.properties
> > >
> > > # Convert to ascii with unicode (native2ascii is a JDK tool)
> > > native2ascii ${FILE_TRANSIFEX} /tmp/${FILE_RES}.ascii-with-unicode
> > >
> > > # sort key, add a double-backslash before the quote char ( ' ==> \\' )
> > > grep -v "^#" /tmp/${FILE_RES}.ascii-with-unicode | sort -f | uniq | sed
> > "s/'/\'/g" >
> > /tmp/${FILE_RES}.ascii-with-unicode_doublebackslashquote
> > >
> > > # Define Apache Licence Header (one long line)
> > > AL2_STRING="# Licensed to the Apache Software Foundation (ASF) under
> > one\n# or more contributor license agreements.  See the NOTICE file\n#
> > distributed with this work for additional information\n# regarding
> > copyright ownership.  The ASF licenses this file\n# to you under the
> Apache
> > License, Version 2.0 (the\n# \"License\"); you may not use this file
> except
> > in compliance\n# with the License.  You may obtain a copy of the License
> > at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless
> > required by applicable law or agreed to in writing,\n# software
> distributed
> > under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT
> > WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See
> > the License for the\n# specific language governing permissions and
> > limitations\n# under the License."
> > >
> > > # Re-introduce the AL2 header
> > > echo -e "$AL2_STRING" | cat -
> > /tmp/${FILE_RES}.ascii-with-unicode_double

Review Request: The reload button doesn't work with Security Groups and Statistic tab in instance detail view

2013-04-24 Thread Isaac Chiang

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10751/
---

Review request for cloudstack and Pranav Saxena.


Description
---

The reload button for security group tab and statistic tab doesn't actually 
send a request to the back-end but use the data when the user clicking into the 
instances detail view.
The patch fix the issue that request to the server and replace the associated 
tab with lately returned data.


This addresses bug CLOUSTACK-2132.


Diffs
-

  ui/scripts/instances.js 3a43c60 

Diff: https://reviews.apache.org/r/10751/diff/


Testing
---

Test from UI and work as expect.


Thanks,

Isaac Chiang



Re: Review Request: CLOUDSTACK-2132 : The reload button doesn't work with Security Groups and Statistic tab in instance detail view

2013-04-24 Thread Isaac Chiang

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10751/
---

(Updated April 24, 2013, 7:31 a.m.)


Review request for cloudstack and Pranav Saxena.


Summary (updated)
-

CLOUDSTACK-2132 : The reload button doesn't work with Security Groups and 
Statistic tab in instance detail view


Description
---

The reload button for security group tab and statistic tab doesn't actually 
send a request to the back-end but use the data when the user clicking into the 
instances detail view.
The patch fix the issue that request to the server and replace the associated 
tab with lately returned data.


This addresses bug CLOUSTACK-2132.


Diffs
-

  ui/scripts/instances.js 3a43c60 

Diff: https://reviews.apache.org/r/10751/diff/


Testing
---

Test from UI and work as expect.


Thanks,

Isaac Chiang



Re: [DOCS][TRANSLATIONS] Upate

2013-04-24 Thread Isaac Chiang
Hi Sebastien:

Thanks!! I see the "View glossary" button just right at the
upper right corner of the table in this page:

https://www.transifex.com/projects/p/ACS_DOCS/

After entering the glossary page, I am able to select language for glossary
and add new term.

So I'm wondering if this glossary table will be appended to the document or
it just provide the hint

when we're translating?

Regards


Isaac




On Wed, Apr 24, 2013 at 3:21 PM, Sebastien Goasguen wrote:

>
> On Apr 23, 2013, at 10:17 PM, Isaac Chiang  wrote:
>
> > Hi all:
> >   I have a few questions and looking for help. After the documents
> > have been translated, can I use Transifex to review these documents?
> Cause
> > I noticed that some of the terminology aren't consistent during the
> > translation and the language sources are too large for me to handling the
> > review process. So I'm wondering if it is possible for a normal user in
> > Transifex to mark the sentence as reviewed and prevent from reviewing it
> > twice?
>
> Isaac, considering you translated 95% of the documentation in zh-TW I made
> you a maintainer of the ACS_DOCS
> You should be able to review your own translations, string by string.
> >
> > Another question is about the glossary, is it part of translation program
> > or a assistant mechanism to support translation?
>
> Don't know, I have never looked at the glossary. Where do you see it ?
>
> >
> > Thanks & best regards
> >
> > Isaac
> >
> >
> > On Tue, Apr 23, 2013 at 9:50 PM, Gavin Lee  wrote:
> >
> >> Following Milamber's guide , below process I used for
> >> 4.1.xmessage.properties on zh_CN:
> >> 1. git pull for the latest messages_zh_CN.properties
> >> 2. native2ascii -reverse messages_zh_CN.properties
> >> /tmp/zh_CN.properties.native -encoding utf8
> >> 3. copy to the CloudStack_UI transifex project:
> >> cp/tmp/zh_CN.properties.native /
> >> txprj/acsui/translations/CloudStack_UI.41xmessageproperties
> >> 4. tx push -l zh_CN -r CloudStack_UI.41xmessageproperties -t
> >> 5. Do translation on transifex, there are some untranslated items when
> >> syncing with en.properties
> >> 6. tx pull -a
> >>
> >>
> >> Then convert to ascii with unicode, the i18nedit tools throws
> exception, I
> >> tried native2ascii command as below and UI display correctly:
> >> native2ascii -encoding UTF-8 zh_CN.properties messages_zh_CN.properties
> >>
> >> Are the whole processes above correct or not?
> >>
> >>
> >>
> >>
> >> On Tue, Apr 23, 2013 at 12:01 AM, Sebastien Goasguen  >>> wrote:
> >>
> >>> Milamber, I made you a manager of the transifex project so you can help
> >>> fixing those issues.
> >>>
> >>> -sebastien
> >>>
> >>> On Apr 22, 2013, at 11:10 AM, Milamber  wrote:
> >>>
> >>>>
> >>>>
> >>>> Le 17/04/2013 07:26, Sebastien Goasguen a ecrit :
> >>>>> On Apr 16, 2013, at 11:10 AM, Milamber  wrote:
> >>>>>
> >>>>>>
> >>>>>> Le 16/04/2013 13:41, Gavin Lee a ecrit :
> >>>>>>> Yes, Traditional Chinese moving very quickly.
> >>>>>>> Hopefully, the other languages can have more contributors.
> >>>>>>>
> >>>>>>> For the UI part, I saw the characters are not recognizable (browser
> >>>>>>> encoding setting: auto detect&   Unicode UTF-8):
> >>>>>>> ja: http://snag.gy/AVsbU.jpg
> >>>>>>> zh_CN: http://snag.gy/MxbBS.jpg
> >>>>>> This screenshots shows some characters with a incorrect encoding
> (try
> >>> to display a char as a ISO-8859-1 (or japanese charset) but the
> encoding
> >> is
> >>> a UTF-8, I think)
> >>>>>>
> >>>>>> With Sebgoa, we have correct all UI ressource file to have only one
> >>> encoding charset in this files (ASCII with unicode). The transifex data
> >>> isn't up-to-date.
> >>>>>>
> >>>>>> Sebgoa, I think we must upload the last version of this (all)
> >>> resources files (except FR already done) from branch 4.1 to transifex.
> >>>>>> The last version of resources files is ASCII with unicode for *all
> >>> chars* in each file, and now transifex keep the unicode char (check
> with

Re: [DOCS][TRANSLATIONS] Upate

2013-04-24 Thread Isaac Chiang
I Get it :)  I'll investigate this function deeper to see how it can help
us.

Many thanks.

Isaac


On Wed, Apr 24, 2013 at 4:11 PM, Sebastien Goasguen wrote:

>
> On Apr 24, 2013, at 3:58 AM, Isaac Chiang  wrote:
>
> > Hi Sebastien:
> >
> >Thanks!! I see the "View glossary" button just right at the
> > upper right corner of the table in this page:
> >
> > https://www.transifex.com/projects/p/ACS_DOCS/
> >
> > After entering the glossary page, I am able to select language for
> glossary
> > and add new term.
> >
> > So I'm wondering if this glossary table will be appended to the document
> or
> > it just provide the hint
> >
> > when we're translating?
>
> We are not using it:
>
> http://help.transifex.com/features/glossary.html
>
> However we could to insure consistency of the translations between
> translators of the same language.
>
>
> >
> > Regards
> >
> >
> > Isaac
> >
> >
> >
> >
> > On Wed, Apr 24, 2013 at 3:21 PM, Sebastien Goasguen  >wrote:
> >
> >>
> >> On Apr 23, 2013, at 10:17 PM, Isaac Chiang 
> wrote:
> >>
> >>> Hi all:
> >>>  I have a few questions and looking for help. After the documents
> >>> have been translated, can I use Transifex to review these documents?
> >> Cause
> >>> I noticed that some of the terminology aren't consistent during the
> >>> translation and the language sources are too large for me to handling
> the
> >>> review process. So I'm wondering if it is possible for a normal user in
> >>> Transifex to mark the sentence as reviewed and prevent from reviewing
> it
> >>> twice?
> >>
> >> Isaac, considering you translated 95% of the documentation in zh-TW I
> made
> >> you a maintainer of the ACS_DOCS
> >> You should be able to review your own translations, string by string.
> >>>
> >>> Another question is about the glossary, is it part of translation
> program
> >>> or a assistant mechanism to support translation?
> >>
> >> Don't know, I have never looked at the glossary. Where do you see it ?
> >>
> >>>
> >>> Thanks & best regards
> >>>
> >>> Isaac
> >>>
> >>>
> >>> On Tue, Apr 23, 2013 at 9:50 PM, Gavin Lee 
> wrote:
> >>>
> >>>> Following Milamber's guide , below process I used for
> >>>> 4.1.xmessage.properties on zh_CN:
> >>>> 1. git pull for the latest messages_zh_CN.properties
> >>>> 2. native2ascii -reverse messages_zh_CN.properties
> >>>> /tmp/zh_CN.properties.native -encoding utf8
> >>>> 3. copy to the CloudStack_UI transifex project:
> >>>> cp/tmp/zh_CN.properties.native /
> >>>> txprj/acsui/translations/CloudStack_UI.41xmessageproperties
> >>>> 4. tx push -l zh_CN -r CloudStack_UI.41xmessageproperties -t
> >>>> 5. Do translation on transifex, there are some untranslated items when
> >>>> syncing with en.properties
> >>>> 6. tx pull -a
> >>>>
> >>>>
> >>>> Then convert to ascii with unicode, the i18nedit tools throws
> >> exception, I
> >>>> tried native2ascii command as below and UI display correctly:
> >>>> native2ascii -encoding UTF-8 zh_CN.properties
> messages_zh_CN.properties
> >>>>
> >>>> Are the whole processes above correct or not?
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> On Tue, Apr 23, 2013 at 12:01 AM, Sebastien Goasguen <
> run...@gmail.com
> >>>>> wrote:
> >>>>
> >>>>> Milamber, I made you a manager of the transifex project so you can
> help
> >>>>> fixing those issues.
> >>>>>
> >>>>> -sebastien
> >>>>>
> >>>>> On Apr 22, 2013, at 11:10 AM, Milamber  wrote:
> >>>>>
> >>>>>>
> >>>>>>
> >>>>>> Le 17/04/2013 07:26, Sebastien Goasguen a ecrit :
> >>>>>>> On Apr 16, 2013, at 11:10 AM, Milamber
>  wrote:
> >>>>>>>
> >>>>>>>>
> >>>>>>>> Le 16/04/2013 13:41, Gavin Lee a ecrit :
> >>>>>>>>> Yes, Traditional Chinese moving very quickly.
> &g

Re: [DOCS][TRANSLATIONS] Upate

2013-04-24 Thread Isaac Chiang
Hi Sebastien:
   May I join the Runbook project too? I wanna make an overall
review for these two documents, thanks.

Regards


On Wed, Apr 24, 2013 at 4:20 PM, Sebastien Goasguen wrote:

>
> On Apr 24, 2013, at 4:18 AM, Isaac Chiang  wrote:
>
> > I Get it :)  I'll investigate this function deeper to see how it can help
> > us.
>
> Terrific, I was hoping you would say that :)
>
> >
> > Many thanks.
> >
> > Isaac
> >
> >
> > On Wed, Apr 24, 2013 at 4:11 PM, Sebastien Goasguen  >wrote:
> >
> >>
> >> On Apr 24, 2013, at 3:58 AM, Isaac Chiang 
> wrote:
> >>
> >>> Hi Sebastien:
> >>>
> >>>   Thanks!! I see the "View glossary" button just right at the
> >>> upper right corner of the table in this page:
> >>>
> >>> https://www.transifex.com/projects/p/ACS_DOCS/
> >>>
> >>> After entering the glossary page, I am able to select language for
> >> glossary
> >>> and add new term.
> >>>
> >>> So I'm wondering if this glossary table will be appended to the
> document
> >> or
> >>> it just provide the hint
> >>>
> >>> when we're translating?
> >>
> >> We are not using it:
> >>
> >> http://help.transifex.com/features/glossary.html
> >>
> >> However we could to insure consistency of the translations between
> >> translators of the same language.
> >>
> >>
> >>>
> >>> Regards
> >>>
> >>>
> >>> Isaac
> >>>
> >>>
> >>>
> >>>
> >>> On Wed, Apr 24, 2013 at 3:21 PM, Sebastien Goasguen  >>> wrote:
> >>>
> >>>>
> >>>> On Apr 23, 2013, at 10:17 PM, Isaac Chiang 
> >> wrote:
> >>>>
> >>>>> Hi all:
> >>>>> I have a few questions and looking for help. After the documents
> >>>>> have been translated, can I use Transifex to review these documents?
> >>>> Cause
> >>>>> I noticed that some of the terminology aren't consistent during the
> >>>>> translation and the language sources are too large for me to handling
> >> the
> >>>>> review process. So I'm wondering if it is possible for a normal user
> in
> >>>>> Transifex to mark the sentence as reviewed and prevent from reviewing
> >> it
> >>>>> twice?
> >>>>
> >>>> Isaac, considering you translated 95% of the documentation in zh-TW I
> >> made
> >>>> you a maintainer of the ACS_DOCS
> >>>> You should be able to review your own translations, string by string.
> >>>>>
> >>>>> Another question is about the glossary, is it part of translation
> >> program
> >>>>> or a assistant mechanism to support translation?
> >>>>
> >>>> Don't know, I have never looked at the glossary. Where do you see it ?
> >>>>
> >>>>>
> >>>>> Thanks & best regards
> >>>>>
> >>>>> Isaac
> >>>>>
> >>>>>
> >>>>> On Tue, Apr 23, 2013 at 9:50 PM, Gavin Lee 
> >> wrote:
> >>>>>
> >>>>>> Following Milamber's guide , below process I used for
> >>>>>> 4.1.xmessage.properties on zh_CN:
> >>>>>> 1. git pull for the latest messages_zh_CN.properties
> >>>>>> 2. native2ascii -reverse messages_zh_CN.properties
> >>>>>> /tmp/zh_CN.properties.native -encoding utf8
> >>>>>> 3. copy to the CloudStack_UI transifex project:
> >>>>>> cp/tmp/zh_CN.properties.native /
> >>>>>> txprj/acsui/translations/CloudStack_UI.41xmessageproperties
> >>>>>> 4. tx push -l zh_CN -r CloudStack_UI.41xmessageproperties -t
> >>>>>> 5. Do translation on transifex, there are some untranslated items
> when
> >>>>>> syncing with en.properties
> >>>>>> 6. tx pull -a
> >>>>>>
> >>>>>>
> >>>>>> Then convert to ascii with unicode, the i18nedit tools throws
> >>>> exception, I
> >>>>>> tried native2ascii command as below and UI display correctly:
> >>>>>> nat

Re: [DOCS][TRANSLATIONS] Upate

2013-04-28 Thread Isaac Chiang
Hi all:
The Glossary function on Transifex is quite awesome. I captured
some screenshots for it.

http://i.imgur.com/WPOcVsI.png

The link above is the Glossary page on Transifex, we can add new term here.

We need to determine this term is a noun, verb or something else (There is
a combo box for it ) and corresponding translation. We can also add some
comment of it (Avoid misunderstanding if you're co-working with someone).

When you are translating on the page(link below), and if you select the the
"Glossary" tab, the glossary tab window will show the added terms
associated to the sentence you are translating as a hint.

http://i.imgur.com/GqD07pn.png

The function can avoid inconsistent problem and better started in the
beginning of translation. I am too late for discovering this function. So
the zh_TW's document got lots of inconsistent translation problem. And I'm
now rebuilding the dictionary  :(

For your information and happy translating! :D

Regards

Isaac






On Wed, Apr 24, 2013 at 4:20 PM, Sebastien Goasguen wrote:

>
> On Apr 24, 2013, at 4:18 AM, Isaac Chiang  wrote:
>
> > I Get it :)  I'll investigate this function deeper to see how it can help
> > us.
>
> Terrific, I was hoping you would say that :)
>
> >
> > Many thanks.
> >
> > Isaac
> >
> >
> > On Wed, Apr 24, 2013 at 4:11 PM, Sebastien Goasguen  >wrote:
> >
> >>
> >> On Apr 24, 2013, at 3:58 AM, Isaac Chiang 
> wrote:
> >>
> >>> Hi Sebastien:
> >>>
> >>>   Thanks!! I see the "View glossary" button just right at the
> >>> upper right corner of the table in this page:
> >>>
> >>> https://www.transifex.com/projects/p/ACS_DOCS/
> >>>
> >>> After entering the glossary page, I am able to select language for
> >> glossary
> >>> and add new term.
> >>>
> >>> So I'm wondering if this glossary table will be appended to the
> document
> >> or
> >>> it just provide the hint
> >>>
> >>> when we're translating?
> >>
> >> We are not using it:
> >>
> >> http://help.transifex.com/features/glossary.html
> >>
> >> However we could to insure consistency of the translations between
> >> translators of the same language.
> >>
> >>
> >>>
> >>> Regards
> >>>
> >>>
> >>> Isaac
> >>>
> >>>
> >>>
> >>>
> >>> On Wed, Apr 24, 2013 at 3:21 PM, Sebastien Goasguen  >>> wrote:
> >>>
> >>>>
> >>>> On Apr 23, 2013, at 10:17 PM, Isaac Chiang 
> >> wrote:
> >>>>
> >>>>> Hi all:
> >>>>> I have a few questions and looking for help. After the documents
> >>>>> have been translated, can I use Transifex to review these documents?
> >>>> Cause
> >>>>> I noticed that some of the terminology aren't consistent during the
> >>>>> translation and the language sources are too large for me to handling
> >> the
> >>>>> review process. So I'm wondering if it is possible for a normal user
> in
> >>>>> Transifex to mark the sentence as reviewed and prevent from reviewing
> >> it
> >>>>> twice?
> >>>>
> >>>> Isaac, considering you translated 95% of the documentation in zh-TW I
> >> made
> >>>> you a maintainer of the ACS_DOCS
> >>>> You should be able to review your own translations, string by string.
> >>>>>
> >>>>> Another question is about the glossary, is it part of translation
> >> program
> >>>>> or a assistant mechanism to support translation?
> >>>>
> >>>> Don't know, I have never looked at the glossary. Where do you see it ?
> >>>>
> >>>>>
> >>>>> Thanks & best regards
> >>>>>
> >>>>> Isaac
> >>>>>
> >>>>>
> >>>>> On Tue, Apr 23, 2013 at 9:50 PM, Gavin Lee 
> >> wrote:
> >>>>>
> >>>>>> Following Milamber's guide , below process I used for
> >>>>>> 4.1.xmessage.properties on zh_CN:
> >>>>>> 1. git pull for the latest messages_zh_CN.properties
> >>>>>> 2. native2ascii -reverse messages_zh_CN.properties
> >>>>>> /tmp/zh_

Review Request: CLOUDSTACK-2274 : The detail view doesn't recover from loading status when trying to delete a zone with physical network on it

2013-04-30 Thread Isaac Chiang

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10860/
---

Review request for cloudstack and Pranav Saxena.


Description
---

According to CS' fronend logic, there is a general error handling function in 
cloudStack.js line 95. Hense this is a common issue for detail view when a 
request failed from server.
This patch try not to against current UI logic and provide a statusCode 
callback to capture failed request. The added callback will remove loading div 
from detailView.
This patch is a suggested solution to the issue.

Thanks


This addresses bug CLOUDSTACK-2274.


Diffs
-

  ui/scripts/system.js 7aa0566 

Diff: https://reviews.apache.org/r/10860/diff/


Testing
---

Test from UI and work well


Thanks,

Isaac Chiang



Re: [DOCS][TRANSLATIONS] Upate

2013-04-30 Thread Isaac Chiang
Hi Sebastien:

We're hosting a blog for CloudStack in Taiwan. I've write an article for
sharing the translation experience with Transifex. Hope it does help :)

http://www.cloudstack-tw.org/2013/04/translation-with-transifex.html

Let me know if I have to fix some wording, I'm really not good at this.

Thanks & best regards

Isaac


On Mon, Apr 29, 2013 at 4:30 PM, Sebastien Goasguen wrote:

>
> On Apr 28, 2013, at 8:33 AM, Isaac Chiang  wrote:
>
> > Hi all:
> >The Glossary function on Transifex is quite awesome. I captured
> > some screenshots for it.
> >
> > http://i.imgur.com/WPOcVsI.png
> >
> > The link above is the Glossary page on Transifex, we can add new term
> here.
> >
> > We need to determine this term is a noun, verb or something else (There
> is
> > a combo box for it ) and corresponding translation. We can also add some
> > comment of it (Avoid misunderstanding if you're co-working with someone).
> >
> > When you are translating on the page(link below), and if you select the
> the
> > "Glossary" tab, the glossary tab window will show the added terms
> > associated to the sentence you are translating as a hint.
> >
> > http://i.imgur.com/GqD07pn.png
> >
> > The function can avoid inconsistent problem and better started in the
> > beginning of translation. I am too late for discovering this function. So
> > the zh_TW's document got lots of inconsistent translation problem. And
> I'm
> > now rebuilding the dictionary  :(
> >
> > For your information and happy translating! :D
> >
>
> Thanks a lot Isaac, it would be great if you could write a blog about this.
>
> > Regards
> >
> > Isaac
> >
> >
> >
> >
> >
> >
> > On Wed, Apr 24, 2013 at 4:20 PM, Sebastien Goasguen  >wrote:
> >
> >>
> >> On Apr 24, 2013, at 4:18 AM, Isaac Chiang 
> wrote:
> >>
> >>> I Get it :)  I'll investigate this function deeper to see how it can
> help
> >>> us.
> >>
> >> Terrific, I was hoping you would say that :)
> >>
> >>>
> >>> Many thanks.
> >>>
> >>> Isaac
> >>>
> >>>
> >>> On Wed, Apr 24, 2013 at 4:11 PM, Sebastien Goasguen  >>> wrote:
> >>>
> >>>>
> >>>> On Apr 24, 2013, at 3:58 AM, Isaac Chiang 
> >> wrote:
> >>>>
> >>>>> Hi Sebastien:
> >>>>>
> >>>>>  Thanks!! I see the "View glossary" button just right at the
> >>>>> upper right corner of the table in this page:
> >>>>>
> >>>>> https://www.transifex.com/projects/p/ACS_DOCS/
> >>>>>
> >>>>> After entering the glossary page, I am able to select language for
> >>>> glossary
> >>>>> and add new term.
> >>>>>
> >>>>> So I'm wondering if this glossary table will be appended to the
> >> document
> >>>> or
> >>>>> it just provide the hint
> >>>>>
> >>>>> when we're translating?
> >>>>
> >>>> We are not using it:
> >>>>
> >>>> http://help.transifex.com/features/glossary.html
> >>>>
> >>>> However we could to insure consistency of the translations between
> >>>> translators of the same language.
> >>>>
> >>>>
> >>>>>
> >>>>> Regards
> >>>>>
> >>>>>
> >>>>> Isaac
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> On Wed, Apr 24, 2013 at 3:21 PM, Sebastien Goasguen <
> run...@gmail.com
> >>>>> wrote:
> >>>>>
> >>>>>>
> >>>>>> On Apr 23, 2013, at 10:17 PM, Isaac Chiang 
> >>>> wrote:
> >>>>>>
> >>>>>>> Hi all:
> >>>>>>>I have a few questions and looking for help. After the documents
> >>>>>>> have been translated, can I use Transifex to review these
> documents?
> >>>>>> Cause
> >>>>>>> I noticed that some of the terminology aren't consistent during the
> >>>>>>> translation and the language sources are too large for me to
> handling
> >>&g

Re: New Committer: Clayton Weise

2013-04-30 Thread Isaac Chiang
Congratulations :)


On Wed, May 1, 2013 at 10:59 AM, Go Chiba  wrote:

> Congrats Clayton!
>
>
> On Wed, May 1, 2013 at 9:05 AM, Clayton Weise  wrote:
>
> > You know what this mean.  Now I no longer have an excuse as to why the
> > documentation we've put on the wiki can't be added to the official
> > documentation for CS :)
> >
> > -Original Message-
> > From: Kelcey Damage (BT) [mailto:kel...@backbonetechnology.com]
> > Sent: Tuesday, April 30, 2013 9:55 AM
> > To: dev@cloudstack.apache.org
> > Subject: RE: New Committer: Clayton Weise
> >
> > It's about time! Lol.
> >
> > Now I have an official partner in crime
> >
> > >-Original Message-
> > >From: Chip Childers [mailto:chip.child...@sungard.com]
> > >Sent: Tuesday, April 30, 2013 9:53 AM
> > >To: dev@cloudstack.apache.org
> > >Cc: cwe...@iswest.net
> > >Subject: New Committer: Clayton Weise
> > >
> > >The Project Management Committee (PMC) for Apache CloudStack has asked
> > >Clayton Weise to become a committer and we are pleased to announce that
> he
> > >has accepted.
> > >
> > >Clayton is exceptionally active on the #cloudstack IRC channel, helping
> > users
> > >with all sorts of questions and support topics.  He's also been active
> on
> > the user
> > >list in a similar capacity.
> > >
> > >Being a committer allows many contributors to contribute more
> > autonomously.
> > >For developers, it makes it easier to submit changes and eliminates the
> > need to
> > >have contributions reviewed via the patch submission process. Whether
> > >contributions are development-related or otherwise, it is a recognition
> of
> > a
> > >contributor's participation in the project and commitment to the project
> > and
> > >the Apache Way.
> > >
> > >Please join me in congratulating Clayton!
> > >
> > >--Chip Childers
> > >on behalf of the CloudStack PMC
> >
> >
>
>
> --
> 千葉 豪  Go Chiba
> E-mail:go.ch...@gmail.com
>


Review Request: CLOUDSTACK-2178 : "Add guest network" button is not responding

2013-05-01 Thread Isaac Chiang

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10882/
---

Review request for cloudstack and Pranav Saxena.


Description
---

The root cause of the issue is that the makeForm function in dialog.js cannot 
work with dependsOn field correctly.

Changed :
1. Dialog.js : Modify makeForm function in Dialog.js to work correctly with 
"dependsOn" field.
2. Network.js : Add checking for response in the call back function.


This addresses bug CLOUDSTACK-2178.


Diffs
-

  ui/scripts/network.js 9ba725a 
  ui/scripts/ui/dialog.js bb372fb 

Diff: https://reviews.apache.org/r/10882/diff/


Testing
---

Test from ui ans work well


Thanks,

Isaac Chiang



Re: [ACS41] UI - Global settings bug?

2013-05-02 Thread Isaac Chiang
The issue looks like the same with
CLOUDSTACK-1287
.



On Thu, May 2, 2013 at 11:50 PM, Paul Angus wrote:

> Here's a screenshot
>
> http://i.imgur.com/XoHO9lA.png
>
> I'll raise a JIRA ticket as well.
>
> Regards,
>
> Paul Angus
> S: +44 20 3603 0540 | M: +447711418784
> paul.an...@shapeblue.com
>
> -Original Message-
> From: Pranav Saxena [mailto:pranav.sax...@citrix.com]
> Sent: 02 May 2013 16:37
> To: dev@cloudstack.apache.org
> Subject: RE: [ACS41] UI - Global settings bug?
>
> Hi Paul,
>
> Could you please upload a screenshot somewhere and share it with us and
> may be raise a JIRA ticket for the same . We could certainly look into it.
>
> Thanks,
> Pranav
>
> From: Paul Angus [mailto:paul.an...@shapeblue.com]
> Sent: Thursday, May 02, 2013 8:48 PM
> To: dev@cloudstack.apache.org
> Subject: [ACS41] UI - Global settings bug?
>
> I'm finding that if I search for 'sec' in global settings, then all of the
> 'change value' icons disappear. It doesn't happen with any other search
> term I've tried.
>
> Does this happen to anyone else?
>
> Regards
>
> Paul Angus
> Senior Consultant / Cloud Architect
>
> [cid:image002.png@01CE1071.C6CC9C10]
>
> S: +44 20 3603 0540 | M: +447711418784
> paul.an...@shapeblue.com |
> www.shapeblue.com | Twitter:@shapeblue
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
> ShapeBlue are proud to be sponsoring CloudStack Collaboration  Conference
> NA [
> https://cwiki.apache.org/confluence/download/attachments/30760149/CloudStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?version=3&modificationDate=1367282397297
> ]
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is
> operated under license from Shape Blue Ltd. ShapeBlue is a registered
> trademark.
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is
> operated under license from Shape Blue Ltd. ShapeBlue is a registered
> trademark.
>
>


Review Request: CLOUSTACK-2076 : DIsplaying zones causes the UI to go on an infinite scrolling

2013-05-02 Thread Isaac Chiang

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10912/
---

Review request for cloudstack and Pranav Saxena.


Description
---

This issue is a defect of scrolling in listView. The original scroll event 
cause page attribute unlimited increasing. This patch add some conditions to 
prevent the situation.


This addresses bug CLOUDSTACK-2076.


Diffs
-

  ui/scripts/ui/widgets/listView.js f368951 

Diff: https://reviews.apache.org/r/10912/diff/


Testing
---

Test from UI and work as expect.


Thanks,

Isaac Chiang



Re: [ACS41] UI - Global settings bug?

2013-05-02 Thread Isaac Chiang
Hi Pranav:
 Thanks, I thought you've rejected my proposed solution. (One of my
previous patch added style "table-layout:fixed" into css. The patch applied
except the line.)
I will try to fix the issue with ellipsis in the coming days. But, in the
meantime, if "table-layout : fixed" works without side-effect, it may be a
good alternative solution.

Regards

Isaac


On Fri, May 3, 2013 at 2:11 PM, Pranav Saxena wrote:

> Hey Isaac ,
>
> Yeah they look similar logically . I'll  look at the fix proposed by you
> and verify if it works without causing any regression with the listView
> widget .
>
> Thanks,
> Pranav
>
> -Original Message-
> From: Isaac Chiang [mailto:isaacchi...@gmail.com]
> Sent: Friday, May 03, 2013 7:59 AM
> To: dev@cloudstack.apache.org
> Subject: Re: [ACS41] UI - Global settings bug?
>
> The issue looks like the same with
> CLOUDSTACK-1287<https://issues.apache.org/jira/browse/CLOUDSTACK-1287>
> .
>
>
>
> On Thu, May 2, 2013 at 11:50 PM, Paul Angus  >wrote:
>
> > Here's a screenshot
> >
> > http://i.imgur.com/XoHO9lA.png
> >
> > I'll raise a JIRA ticket as well.
> >
> > Regards,
> >
> > Paul Angus
> > S: +44 20 3603 0540 | M: +447711418784 paul.an...@shapeblue.com
> >
> > -Original Message-
> > From: Pranav Saxena [mailto:pranav.sax...@citrix.com]
> > Sent: 02 May 2013 16:37
> > To: dev@cloudstack.apache.org
> > Subject: RE: [ACS41] UI - Global settings bug?
> >
> > Hi Paul,
> >
> > Could you please upload a screenshot somewhere and share it with us
> > and may be raise a JIRA ticket for the same . We could certainly look
> into it.
> >
> > Thanks,
> > Pranav
> >
> > From: Paul Angus [mailto:paul.an...@shapeblue.com]
> > Sent: Thursday, May 02, 2013 8:48 PM
> > To: dev@cloudstack.apache.org
> > Subject: [ACS41] UI - Global settings bug?
> >
> > I'm finding that if I search for 'sec' in global settings, then all of
> > the 'change value' icons disappear. It doesn't happen with any other
> > search term I've tried.
> >
> > Does this happen to anyone else?
> >
> > Regards
> >
> > Paul Angus
> > Senior Consultant / Cloud Architect
> >
> > [cid:image002.png@01CE1071.C6CC9C10]
> >
> > S: +44 20 3603 0540 | M:
> > +447711418784
> > paul.an...@shapeblue.com<mailto:geoff.higginbot...@shapeblue.com> |
> > www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
> > ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
> >
> > ShapeBlue are proud to be sponsoring CloudStack Collaboration
> > Conference NA [
> > https://cwiki.apache.org/confluence/download/attachments/30760149/Clou
> > dStack+Collaboration+Conference+Banner+v2+Blue+Background+Only.jpg?ver
> > sion=3&modificationDate=1367282397297
> > ]<http://www.cloudstackcollab.net/>
> >
> > This email and any attachments to it may be confidential and are
> > intended solely for the use of the individual to whom it is addressed.
> > Any views or opinions expressed are solely those of the author and do
> > not necessarily represent those of Shape Blue Ltd or related
> > companies. If you are not the intended recipient of this email, you
> > must neither take any action based upon its contents, nor copy or show
> > it to anyone. Please contact the sender if you believe you have
> > received this email in error. Shape Blue Ltd is a company incorporated
> > in England & Wales. ShapeBlue Services India LLP is operated under
> > license from Shape Blue Ltd. ShapeBlue is a registered trademark.
> > This email and any attachments to it may be confidential and are
> > intended solely for the use of the individual to whom it is addressed.
> > Any views or opinions expressed are solely those of the author and do
> > not necessarily represent those of Shape Blue Ltd or related
> > companies. If you are not the intended recipient of this email, you
> > must neither take any action based upon its contents, nor copy or show
> > it to anyone. Please contact the sender if you believe you have
> > received this email in error. Shape Blue Ltd is a company incorporated
> > in England & Wales. ShapeBlue Services India LLP is operated under
> > license from Shape Blue Ltd. ShapeBlue is a registered trademark.
> >
> >
>


Re: Review Request: CLOUDSTACK-1871 : domainId parameter to uploadVolume not working

2013-05-04 Thread Isaac Chiang

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10479/
---

(Updated May 4, 2013, 1:37 p.m.)


Review request for cloudstack, Devdeep Singh and Pranav Saxena.


Changes
---

Add reviewer Devdeep


Description
---

CLOUDSTACK-1871 : domainId parameter to uploadVolume not working

1. Remove duplicated lines for setting domainId.
2. Set domainId with owner's domain if the owner is specified ( with account 
and domainid passed in)


This addresses bug CLOUDSTACK-1871.


Diffs
-

  server/src/com/cloud/storage/VolumeManagerImpl.java 1e8edaf 

Diff: https://reviews.apache.org/r/10479/diff/


Testing
---

Test from UI and curl request, both work well


Thanks,

Isaac Chiang



Re: Review Request: CLOUDSTACK-2178 : "Add guest network" button is not responding

2013-05-10 Thread Isaac Chiang

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/10882/
---

(Updated May 10, 2013, 7:37 a.m.)


Review request for cloudstack and Pranav Saxena.


Changes
---

Patch updated


Description
---

The root cause of the issue is that the makeForm function in dialog.js cannot 
work with dependsOn field correctly.

Changed :
1. Dialog.js : Modify makeForm function in Dialog.js to work correctly with 
"dependsOn" field.
2. Network.js : Add checking for response in the call back function.


This addresses bug CLOUDSTACK-2178.


Diffs (updated)
-

  ui/scripts/network.js 6b310ce 
  ui/scripts/ui/dialog.js bb372fb 

Diff: https://reviews.apache.org/r/10882/diff/


Testing
---

Test from ui ans work well


Thanks,

Isaac Chiang



Re: [ANNOUNCE] New committer: Devdeep Singh

2013-05-14 Thread Isaac Chiang
Congrats! :)

Regards
Isaac


On Tue, May 14, 2013 at 11:23 PM, Prasanna Santhanam  wrote:

> On Tue, May 14, 2013 at 11:16:59AM -0400, Chip Childers wrote:
> > The Project Management Committee (PMC) for Apache CloudStack
> > has asked Devdeep Singh to become a committer and we are pleased to
> > announce that they have accepted.
> >
> > Being a committer allows many contributors to contribute more
> > autonomously. For developers, it makes it easier to submit changes and
> > eliminates the need to have contributions reviewed via the patch
> > submission process. Whether contributions are development-related or
> > otherwise, it is a recognition of a contributor's participation in the
> > project and commitment to the project and the Apache Way.
> >
> > Please join me in congratulating Devdeep!
> >
> > --Chip
> > on behalf of the CloudStack PMC
>
> Congratulations Devdeep and thanks for all the reviews!
>
> --
> Prasanna.,
>
> 
> Powered by BigRock.com
>
>


Re: Example code for GUI

2013-05-16 Thread Isaac Chiang
Hi Musayev,
   You'll find out that there are "createForm" object under
listView(or detailView) actions in each file, e.g., instance.js,
accounts.js. If you need a selection, you can just define a attribute for
createForm like following:

select: function(args) {
//...
}

and pass returned data from ajax call to

args.response.success({data: 'your json data'})

Then the CS's frontend engine will make a selection for you.

Regards

Isaac


On Fri, May 17, 2013 at 7:48 AM, Musayev, Ilya  wrote:

> Thank you Wei .
>
> Any idea on how can I change the field type from in UI from text field to
> multi-select or checkbox group? Is this CSS only change or is there more to
> it?
>
>
>
>  Original message 
> From: Wei ZHOU 
> Date:
> To: dev@cloudstack.apache.org
> Subject: Re: Example code for GUI
>
>
> From my point view:
>
> (1) UI:
>ui/scripts/*.js (such as network.js, configuration.js)
>ui/dictionary.jsp
>client/WEB-INF/classes/resources/messages.properties
>
> (2) Java
>*Cmd.java (commands)
>*VO.java (tables)
>*Manager.java
>*ManagerImpl.java
>
> Wei
>
>
> 2013/5/17 Musayev, Ilya 
>
> > We actually have a similar question on the GUI part, we've done lots of
> > backend work, but the GUI part does not seem very straightforward. Would
> > someone know how to add options into GUI?
> >
> > Also,  How can I change the field type from in UI from text field to
> > multi-select or checkbox group? What is the controlling configuration
> file?
> >
> > If you can mention general flow on making GUI changes/addition and
> perhaps
> > point to an example, it would be truly appreciated.
> >
> > Thanks
> > ilya
> >
> > > -Original Message-
> > > From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
> > > Sent: Thursday, May 16, 2013 6:26 PM
> > > To: dev@cloudstack.apache.org
> > > Subject: Re: Example code for GUI
> > >
> > > It looks like your feature revolves around rate limiting, if I
> understand
> > > correctly.
> > >
> > > It seems like I could leverage a bit of what you're doing here, but I'd
> > need
> > > additional fields in the Add Disk Offering dialog (and DB) since we
> > support
> > > min, max, and burst values for IOPS (as opposed to just a max).
> > >
> > > What do you think?
> > >
> > >
> > > On Thu, May 16, 2013 at 4:18 PM, Mike Tutkowski <
> > > mike.tutkow...@solidfire.com> wrote:
> > >
> > > > Thanks for the info, Wei.
> > > >
> > > > I am in the process of writing a storage plug-in for Edison's new
> > > > storage framework. The idea is to be able to have a single SAN volume
> > > > associated with a single data disk. In our SAN, you can set Min, Max,
> > > > and Burst IOPS values on a volume-by-volume basis and I'd like to see
> > > > CloudStack support this.
> > > >
> > > > Can you tell me a bit about how you see our features overlapping?
> > > > Perhaps I will not need to update the GUI at all because you might
> > > > already be putting in place such new fields?
> > > >
> > > > Thanks!
> > > >
> > > >
> > > > On Thu, May 16, 2013 at 4:13 PM, Wei ZHOU 
> > > wrote:
> > > >
> > > >> Mike,
> > > >>
> > > >> I am working on Disk I/O Throttling now. The source code has been
> > > >> verified on 4.0.2. It need more test on master branch.
> > > >> I hope to finish it before the deadline of 4.2 feature freeze
> > (31-5-2013).
> > > >>
> > > >> For more information:
> > > >> https://issues.apache.org/jira/browse/CLOUDSTACK-1301
> > > >>
> > > >>
> > > https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Disk+IO+Th
> > > r
> > > >> ottling
> > > >>
> > > >> Wei
> > > >>
> > > >>
> > > >> 2013/5/16 Mike Tutkowski 
> > > >>
> > > >> > Hi everyone,
> > > >> >
> > > >> > I'm trying to add a few fields to the GUI's Add Disk Offering
> > > >> > dialog
> > > >> (min,
> > > >> > max, and burst IOPS).
> > > >> >
> > > >> > Once I have these fields in place, they will of course need to
> pass
> > > >> > this information to the backend and the data will need to end up
> in
> > > >> > new
> > > >> fields
> > > >> > in the DB.
> > > >> >
> > > >> > I was wondering if anyone knew of example code I might be able to
> > > >> pattern
> > > >> > my changes off of. The one that comes to mind is CPU and RAM
> > > >> > overcommit changes to the Add Cluster dialog (but I'm having a
> hard
> > > >> > time tracking these down in Git).
> > > >> >
> > > >> > Thanks!
> > > >> >
> > > >> > --
> > > >> > *Mike Tutkowski*
> > > >> > *Senior CloudStack Developer, SolidFire Inc.*
> > > >> > e: mike.tutkow...@solidfire.com
> > > >> > o: 303.746.7302
> > > >> > Advancing the way the world uses the
> > > >> > cloud
> > > >> > *(tm)*
> > > >> >
> > > >>
> > > >
> > > >
> > > >
> > > > --
> > > > *Mike Tutkowski*
> > > > *Senior CloudStack Developer, SolidFire Inc.*
> > > > e: mike.tutkow...@solidfire.com
> > > > o: 303.746.7302
> > > > Advancing the way the world uses the
> > > > cloud

Re: Users in taiwan

2015-02-26 Thread Isaac Chiang
Hi Daan,
 Since my mission in company has been changed, but there are still
some active CloudStack users in Taipei. it would be great if you can have a
session for us, maybe we can hold a gathering during your stay. The only
problem will be that I have a business trip in April and almost the same
time as yours. If you're willing to give us a speech here, I believe we can
figure it out. Let's keep in touch :)

Regards
Isaac

On Fri, Feb 27, 2015 at 12:57 AM, Daan Hoogland 
wrote:

> H everybody,
>
> I will be in Taiwan the first week of april and am wondering if the
> CloudStack community is very active there. Anyone knows?
>
> thanks,
> --
> Daan
>