editting wiki pages under migration

2012-09-21 Thread Donal Lafferty
Is the ASF community or Citrix migrating the old wiki 
(http://wiki.cloudstack.org) to ASF (https://cwiki.apache.org/CLOUDSTACK/)?

I wanted to update Setting up Cloudstack dev environment on Windows 
(http://wiki.cloudstack.org/display/dev/Setting%20up%20Cloudstack%20dev%20environment%20on%20Windows),
 but I can't tell what the procedure is.


DL


RE: editting wiki pages under migration

2012-09-21 Thread Donal Lafferty
I can update the existing page, which is linked to by the ASF site.

However, the existing page itself is on the old wiki.


DL


-Original Message-
From: Prasanna Santhanam [mailto:prasanna.santha...@citrix.com] 
Sent: 21 September 2012 12:28
To: 'cloudstack-dev@incubator.apache.org'
Subject: Re: editting wiki pages under migration

Please update the page on the ASF site. The old wiki will become internal to 
Citrix soon as we migrate some more spaces.




- Original Message -
From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
Sent: Friday, September 21, 2012 04:48 PM
To: cloudstack-dev@incubator.apache.org cloudstack-dev@incubator.apache.org
Subject: editting wiki pages under migration

Is the ASF community or Citrix migrating the old wiki 
(http://wiki.cloudstack.org) to ASF (https://cwiki.apache.org/CLOUDSTACK/)?

I wanted to update Setting up Cloudstack dev environment on Windows 
(http://wiki.cloudstack.org/display/dev/Setting%20up%20Cloudstack%20dev%20environment%20on%20Windows),
 but I can't tell what the procedure is.


DL


housekeeping: which git repo?

2012-09-21 Thread Donal Lafferty
I noticed on our wiki that we've a couple of different GIT repos referenced.

Apache CloudStack 
(http://incubator.apache.org/cloudstack/develop/environment.html) recommends  
at https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git

Elsewhere, https://cwiki.apache.org/CLOUDSTACK/ points to 
https://github.com/CloudStack/CloudStack  (use the 'Git: Working with 
CloudStack 
codehttp://wiki.cloudstack.org/display/dev/Working%20with%20the%20CloudStack%20code'
 link)

Cloud someone summarise which repo to use?

Since I'm coming at it as a beginner, knowing the most *stable* head to use 
would also help a great deal :)


DL







RE: housekeeping: which git repo?

2012-09-21 Thread Donal Lafferty
Hi Rohit,

Thanks for the quick response, and your patience with these questions.  This 
information will help encourage newcomers to the project.

Comments inline.
 
 -Original Message-
 From: Rohit Yadav [mailto:rohit.ya...@citrix.com]
 Sent: 21 September 2012 16:55
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: housekeeping: which git repo?
 
 
 On 21-Sep-2012, at 9:09 PM, Donal Lafferty donal.laffe...@citrix.com
 wrote:
 
  Elsewhere, https://cwiki.apache.org/CLOUDSTACK/
 
 Found no incorrect link on cwiki,
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Index#Index-
 Building

The incorrect link is under Community Development section, and it is 
mentioned below.

Links to incorrect information such as the one below will lead newbies astray.  
Can I remove them or update the referenced pages?

 
 Though if you're looking for some mirror on github, apache mirror:
 https://github.com/apache/incubator-cloudstack
 
 
  points to https://github.com/CloudStack/CloudStack  (use the 'Git: Working
 with CloudStack
 codehttp://wiki.cloudstack.org/display/dev/Working%20with%20the%20Cl
 oudStack%20code' link)
 
 wiki.cloudstack.org is deprecated, there is banner for alerting too.

The banner makes no mention of deprecation.  It merely says the information 
will migrate.
 
Could we add the word 'deprecated'?  This is far clearer language. 

 
 
  Cloud someone summarise which repo to use?
 
  Since I'm coming at it as a beginner, knowing the most *stable* head to use
 would also help a great deal :)
 

I take it that the default branch is master.  Is the branch most likely to 
build properly the first time?

 
  DL
 
 
 
 
 



Setting Up an Apache CloudStack Development Environment

2012-09-21 Thread Donal Lafferty
Couple of questions about 
http://incubator.apache.org/cloudstack/develop/environment.html


1.   Under Install Ant the instructions suggest that Ant is in Apache 
CloudStack source.  However, I don't see the files under 
cloudstack_source_dir/tools/ant/apache-ant-1.7.1/bin/   Is the source pulled 
from elsewhere?

2.   Do these instructions include a work around for the taskdef class 
org.apache.axis2.tool.ant.AntCodegenTask cannot be found discussed on the 
mailing list?  I'm seeing this problem when I work with the default branch from 
https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git

Any comments would be greatly appreciated,


DL


RE: housekeeping: which git repo?

2012-09-21 Thread Donal Lafferty
Thanks!

 -Original Message-
 From: Rohit Yadav [mailto:rohit.ya...@citrix.com]
 Sent: 21 September 2012 20:13
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: housekeeping: which git repo?
 
 Hi Donal, go ahead and update the info, remove incorrect ones. Any kind of
 help is welcome.
 The master branch should build fine, if you have any trouble please raise a
 concern on the ML or on irc, or post an issue on
 https://issues.apache.org/jira/browse/CLOUDSTACK
 
 
 From: Donal Lafferty [donal.laffe...@citrix.com]
 Sent: Friday, September 21, 2012 9:49 PM
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: housekeeping: which git repo?
 
 Hi Rohit,
 
 Thanks for the quick response, and your patience with these questions.  This
 information will help encourage newcomers to the project.
 
 Comments inline.
 
  -Original Message-
  From: Rohit Yadav [mailto:rohit.ya...@citrix.com]
  Sent: 21 September 2012 16:55
  To: cloudstack-dev@incubator.apache.org
  Subject: Re: housekeeping: which git repo?
 
 
  On 21-Sep-2012, at 9:09 PM, Donal Lafferty donal.laffe...@citrix.com
  wrote:
 
   Elsewhere, https://cwiki.apache.org/CLOUDSTACK/
 
  Found no incorrect link on cwiki,
  https://cwiki.apache.org/confluence/display/CLOUDSTACK/Index#Index-
  Building
 
 The incorrect link is under Community Development section, and it is
 mentioned below.
 
 Links to incorrect information such as the one below will lead newbies astray.
 Can I remove them or update the referenced pages?
 
 
  Though if you're looking for some mirror on github, apache mirror:
  https://github.com/apache/incubator-cloudstack
 
 
   points to https://github.com/CloudStack/CloudStack  (use the 'Git:
 Working
  with CloudStack
 
 codehttp://wiki.cloudstack.org/display/dev/Working%20with%20the%20Cl
  oudStack%20code' link)
 
  wiki.cloudstack.org is deprecated, there is banner for alerting too.
 
 The banner makes no mention of deprecation.  It merely says the
 information will migrate.
 
 Could we add the word 'deprecated'?  This is far clearer language.
 
 
  
   Cloud someone summarise which repo to use?
  
   Since I'm coming at it as a beginner, knowing the most *stable* head to
 use
  would also help a great deal :)
  
 
 I take it that the default branch is master.  Is the branch most likely to 
 build
 properly the first time?
 
  
   DL
  
  
  
  
  



RE: Setting Up an Apache CloudStack Development Environment

2012-09-21 Thread Donal Lafferty
Thanks!

 -Original Message-
 From: Edison Su [mailto:edison...@citrix.com]
 Sent: 21 September 2012 23:13
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: Setting Up an Apache CloudStack Development Environment
 
 
 
  -Original Message-
  From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
  Sent: Friday, September 21, 2012 11:00 AM
  To: cloudstack-dev@incubator.apache.org
  Subject: Setting Up an Apache CloudStack Development Environment
 
  Couple of questions about
  http://incubator.apache.org/cloudstack/develop/environment.html
 
 
  1.   Under Install Ant the instructions suggest that Ant is in
  Apache CloudStack source.  However, I don't see the files under
  cloudstack_source_dir/tools/ant/apache-ant-1.7.1/bin/   Is the source
  pulled from elsewhere?
 
 
 Ant is removed from source code, need to install ant manually.
 
 
  2.   Do these instructions include a work around for the taskdef
  class org.apache.axis2.tool.ant.AntCodegenTask cannot be found
  discussed on the mailing list?  I'm seeing this problem when I work
  with the default branch from https://git-wip-
  us.apache.org/repos/asf/incubator-cloudstack.git
 
 Need to install maven 3 and ant in advance, then maven install -P deps, and
 ant build-all
 
  Any comments would be greatly appreciated,
 
 
  DL


What version of MySQL to use?

2012-09-27 Thread Donal Lafferty
Quick question about what version of MySQL to use.

In the 5.1 range, MySQL offers towards 5.1.65.  However, their latest seems to 
be 5.5

What version are people using?  Does it matter?


DL



RE: Github integration

2012-09-29 Thread Donal Lafferty
Hi Noah,

You raise an interesting point about trademarks.  Are virtual paths in github 
repos considered a mark of authenticity?  If we go by mere name matching, I see 
a possibility .  However, Apache itself establishes a different mark of 
authenticity by placing 'apache' at the root of their virtual path.  AFAIK, UK 
courts expect the average consumer to be able to grasp these subtleties.  I 
expect this is because they don't like impediments to commerce.  Also, they'll 
have to take a narrow view of trademark to avoid overlapping claims from github 
itself.

WRT emails for all GIT pulls, wouldn't broadcasting pull requests clutter the 
dev mailing list?

DL

 -Original Message-
 From: Noah Slater [mailto:nsla...@tumbolia.org]
 Sent: 29 September 2012 15:27
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: Github integration
 
 The CloudStack account on Github needs to be cleaned up then. Perhaps
 rename it so that it is clear the account is operated by Citrix. At the 
 moment,
 it looks like a canonical source for Apache CloudStack. Obviously, this isn't
 okay. CloudStack is (or will be) a trademark of the ASF, and needs to be
 used appropriately.
 
 Additionally, the README.md in the CloudStack repository should probably
 be updated to outline a pull request workflow for GitHub users. I presume
 that pull requests on GitHub send a mail to the mailing list? If not, I can 
 help
 to get that set up.
 
 On Sat, Sep 29, 2012 at 3:09 PM, Donal Lafferty
 donal.laffe...@citrix.comwrote:
 
  Non-authoritative answer:
 
  ASF repo:
  https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
  ASF mirror: http://github.com/apache/incubator-cloudstack
 
  Citrix repo: http://github.com/CloudStack (pre ASF and forks for
  customer
  support)
 
 
  The wiki and Apache CMS sites should reference ASF repo.  First
  priority was to move information to the Apache wiki, so not all pages
  may yet be updated.
 
  DL
 
   -Original Message-
   From: Noah Slater [mailto:nsla...@tumbolia.org]
   Sent: 29 September 2012 10:18
   To: cloudstack-dev@incubator.apache.org
   Subject: Re: Github integration
  
   Just following up on this.
  
   Could someone explain the difference between:
  
  - http://github.com/CloudStack
  - http://github.com/apache/incubator-cloudstack
  -
   https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
  
   Do we really have three repositories?
  
   Are they all writable?
  
   Is any of this documented anywhere?
  
   On Thu, Sep 20, 2012 at 11:33 PM, Noah Slater nsla...@tumbolia.org
  wrote:
  
Hey,
   
What's the deal with Github and CloudStack?
   
I notice things like this:
   
https://github.com/CloudStack/hudsonbuild/pull/1
   
   
Seems that there is write activity, PRs, etc, going on over there.
   
Is this stuff mirrored back to the ASF repos, or is it completely
  separate?
   
Very curious!
   
Thanks,
   
--
NS
   
  
  
  
   --
   NS
 
 
 
 
 --
 NS


RE: Github integration

2012-09-29 Thread Donal Lafferty
Hi Noah,

I'm not the guy to ask about shifting the Citrix CloudPlatform repo to a new 
URL.  However, everyone will be eager to find a bright line solution that 
avoids a debate over the scope of Apache's trademarks!

With that in mind, can someone else help address these points?

Cheers,

DL

 -Original Message-
 From: Noah Slater [mailto:nsla...@tumbolia.org]
 Sent: 29 September 2012 17:28
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: Github integration
 
 Apache, Apache CloudStack, and CloudStack are all trademarks of the Apache
 Software Foundation. (Or they will be once CloudStack graduates.) Therefor,
 we have to be careful about using them. And third parties have to be careful
 about using them. Third parties should not cause any confusion about what is
 and what isn't a part of the Apache CloudStack project.
 
 You can read more our policy here:
 
 http://www.apache.org/foundation/marks/
 
 The point I want to make, however, is that it's a little more than just some
 virtual paths in a Git repos here.
 
 Some ways in which the current CloudStack account on GitHub are
 problematic:
 
- CloudStack is used as the account name, in both the URL and the UI
- The account advertises itself as the CloudStack Project
- There is a repository itself called CloudStack
- There is a link to http://cloudstack.org
- The word CloudStack is frequently used in repository names
- There isn't a single mention of Apache anywhere on the page
 
 Now, admittedly, all of these things exist because this account used to be the
 home of CloudStack. It is not as if someone has come along after the fact,
 and is now using our name irresponsibly. But they still present an issue,
 because there is significant scope for confusion here.
 
 I am assuming there are already plans in place to retire the original 
 repository
 as part of the move to Apache. This should, of course, include a rebranding,
 and a reworking of this GitHub account. Do you know what the timeline is for
 that?
 
 
 On Sat, Sep 29, 2012 at 3:50 PM, Donal Lafferty
 donal.laffe...@citrix.comwrote:
 
  Hi Noah,
 
  You raise an interesting point about trademarks.  Are virtual paths in
  github repos considered a mark of authenticity?  If we go by mere name
  matching, I see a possibility .  However, Apache itself establishes a
  different mark of authenticity by placing 'apache' at the root of
  their virtual path.  AFAIK, UK courts expect the average consumer to
  be able to grasp these subtleties.  I expect this is because they
  don't like impediments to commerce.  Also, they'll have to take a
  narrow view of trademark to avoid overlapping claims from github itself.
 
  WRT emails for all GIT pulls, wouldn't broadcasting pull requests
  clutter the dev mailing list?
 
  DL
 
   -Original Message-
   From: Noah Slater [mailto:nsla...@tumbolia.org]
   Sent: 29 September 2012 15:27
   To: cloudstack-dev@incubator.apache.org
   Subject: Re: Github integration
  
   The CloudStack account on Github needs to be cleaned up then.
   Perhaps rename it so that it is clear the account is operated by
   Citrix. At the
  moment,
   it looks like a canonical source for Apache CloudStack. Obviously,
   this
  isn't
   okay. CloudStack is (or will be) a trademark of the ASF, and needs
   to
  be
   used appropriately.
  
   Additionally, the README.md in the CloudStack repository should
   probably be updated to outline a pull request workflow for GitHub
   users. I presume that pull requests on GitHub send a mail to the
   mailing list? If not, I
  can help
   to get that set up.
  
   On Sat, Sep 29, 2012 at 3:09 PM, Donal Lafferty
   donal.laffe...@citrix.comwrote:
  
Non-authoritative answer:
   
ASF repo:
https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
ASF mirror: http://github.com/apache/incubator-cloudstack
   
Citrix repo: http://github.com/CloudStack (pre ASF and forks for
customer
support)
   
   
The wiki and Apache CMS sites should reference ASF repo.  First
priority was to move information to the Apache wiki, so not all
pages may yet be updated.
   
DL
   
 -Original Message-
 From: Noah Slater [mailto:nsla...@tumbolia.org]
 Sent: 29 September 2012 10:18
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: Github integration

 Just following up on this.

 Could someone explain the difference between:

- http://github.com/CloudStack
- http://github.com/apache/incubator-cloudstack
-
 https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git

 Do we really have three repositories?

 Are they all writable?

 Is any of this documented anywhere?

 On Thu, Sep 20, 2012 at 11:33 PM, Noah Slater
 nsla...@tumbolia.org
wrote:

  Hey,
 
  What's the deal with Github and CloudStack?
 
  I notice things like

RE: editting wiki pages under migration

2012-09-30 Thread Donal Lafferty
Instructions for setting up a Windows environment are at 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+a+CloudStack+dev+environment+on+Windows

The link is available at the bottom of the Development 101 instructions.

The page in question could do with a bit more work.  I'll add to it next time I 
do a setup.


DL



-Original Message-
From: Noah Slater [mailto:nsla...@tumbolia.org] 
Sent: 30 September 2012 18:16
To: cloudstack-dev@incubator.apache.org
Subject: Re: editting wiki pages under migration

Donal, is this link still pointing to the wrong place? Where is it?

On Fri, Sep 21, 2012 at 12:59 PM, Donal Lafferty
donal.laffe...@citrix.comwrote:

 I can update the existing page, which is linked to by the ASF site.

 However, the existing page itself is on the old wiki.


 DL


 -Original Message-
 From: Prasanna Santhanam [mailto:prasanna.santha...@citrix.com]
 Sent: 21 September 2012 12:28
 To: 'cloudstack-dev@incubator.apache.org'
 Subject: Re: editting wiki pages under migration

 Please update the page on the ASF site. The old wiki will become internal
 to Citrix soon as we migrate some more spaces.




 - Original Message -
 From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
 Sent: Friday, September 21, 2012 04:48 PM
 To: cloudstack-dev@incubator.apache.org 
 cloudstack-dev@incubator.apache.org
 Subject: editting wiki pages under migration

 Is the ASF community or Citrix migrating the old wiki (
 http://wiki.cloudstack.org) to ASF (https://cwiki.apache.org/CLOUDSTACK/)?

 I wanted to update Setting up Cloudstack dev environment on Windows (
 http://wiki.cloudstack.org/display/dev/Setting%20up%20Cloudstack%20dev%20environment%20on%20Windows),
 but I can't tell what the procedure is.


 DL




-- 
NS


RE: editting wiki pages under migration

2012-10-01 Thread Donal Lafferty
ASF site doesn't link to old wiki.  I'm not updating old wiki.  New wiki is top 
of a google search.

DL

-Original Message-
From: Noah Slater [mailto:nsla...@tumbolia.org] 
Sent: 01 October 2012 11:31
To: cloudstack-dev@incubator.apache.org
Subject: Re: editting wiki pages under migration

Cool, thanks.

About this:

I can update the existing page, which is linked to by the ASF site.

Is this still the case?

On Mon, Oct 1, 2012 at 6:56 AM, Donal Lafferty donal.laffe...@citrix.comwrote:

 Instructions for setting up a Windows environment are at 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+a+Cl
 oudStack+dev+environment+on+Windows

 The link is available at the bottom of the Development 101 instructions.

 The page in question could do with a bit more work.  I'll add to it 
 next time I do a setup.


 DL



 -Original Message-
 From: Noah Slater [mailto:nsla...@tumbolia.org]
 Sent: 30 September 2012 18:16
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: editting wiki pages under migration

 Donal, is this link still pointing to the wrong place? Where is it?

 On Fri, Sep 21, 2012 at 12:59 PM, Donal Lafferty
 donal.laffe...@citrix.comwrote:

  I can update the existing page, which is linked to by the ASF site.
 
  However, the existing page itself is on the old wiki.
 
 
  DL
 
 
  -Original Message-
  From: Prasanna Santhanam [mailto:prasanna.santha...@citrix.com]
  Sent: 21 September 2012 12:28
  To: 'cloudstack-dev@incubator.apache.org'
  Subject: Re: editting wiki pages under migration
 
  Please update the page on the ASF site. The old wiki will become 
  internal to Citrix soon as we migrate some more spaces.
 
 
 
 
  - Original Message -
  From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
  Sent: Friday, September 21, 2012 04:48 PM
  To: cloudstack-dev@incubator.apache.org  
  cloudstack-dev@incubator.apache.org
  Subject: editting wiki pages under migration
 
  Is the ASF community or Citrix migrating the old wiki (
  http://wiki.cloudstack.org) to ASF 
  (https://cwiki.apache.org/CLOUDSTACK/
 )?
 
  I wanted to update Setting up Cloudstack dev environment on 
  Windows (
 
 http://wiki.cloudstack.org/display/dev/Setting%20up%20Cloudstack%20dev
 %20environment%20on%20Windows
 ),
  but I can't tell what the procedure is.
 
 
  DL
 



 --
 NS




--
NS


OSCON comparison of CloudStack, OpenStack, Eucalyptus, and Google's Ganeti

2012-10-16 Thread Donal Lafferty
[Resending under new subject; dropping What Gartner...]



On that note, OSCON featured a comparison by Oregon State Uni's Open Source Lab 
http://www.oscon.com/oscon2012/public/schedule/detail/24376



Slides at 
http://www.slideshare.net/OReillyOSCON/comparing-open-source-private-cloud-platforms



Their lab focuses on our constituency:  open source developers.  The side by 
side comparison of CloudStack, OpenStack, Eucalyptus, and Google's Ganeti is 
refreshingly technical.



DL



RE: CloudStack vs CloudPlatform

2012-10-20 Thread Donal Lafferty
Is the customer claiming to have CPBM on top of (ASF) CloudStack now?  Or are 
you proposing do use CloudStack as the CloudOS?

Existing deployments are probably what is now called CloudPlatform.  CloudStack 
moved to ASF only this past April.  At that point, there was a fork in the code 
base to allow the ASF incubator to get underway.  AFAIK, the first stable 
release from the incubator project will be 4.0.  Prior to that the incubator 
was busy bullet-proofing the licensing, putting together the ASF portal, and 
switching the build system over to maven.  Therefore, an existing CPBM is 
probably using CloudPlatform.  

[Can an expert review these comments!]

DL

-Original Message-
From: Adnan Ashraf [mailto:mohammad.adnan.ash...@gmail.com] 
Sent: 19 October 2012 18:07
To: cloudstack-dev@incubator.apache.org
Subject: Re: CloudStack vs CloudPlatform

so if a customer buys the enterprise version Cloud Portal Business Manager
(CPBM), would it sit on top of enterprise distro of CloudStack (the Citrix
CloudPlatform)? I am in the middle of an enterprise engagement with a
service provider where CPBM sits on top of apache cloudstack (if I am not
mistake)...is this an option?

On Fri, Oct 19, 2012 at 12:00 PM, Ahmad Emneina ahmad.emne...@citrix.comwrote:

 On 10/19/12 9:56 AM, Chip Childers chip.child...@sungard.com wrote:

 On Fri, Oct 19, 2012 at 12:54 PM, Adnan Ashraf
 mohammad.adnan.ash...@gmail.com wrote:
  Citrix CloudPlatform is the enterprise cloud portal application from
  Citrix. It is not a replacement of open source apache CloudStack. It
 sits
  on top of CloudStack and passes commands to it to fulfill IAAS needs
  (creating VPCs, networks, VM etc). CloudPlatform is a more refined and
  better dashboard providing account management, nice billing module and
  integrated dashboard.
 
 Correction:  The description above is of Citrix CloudPortal (not
 CloudPlatform).  CloudPlatform is a commercial distribution of
 CloudStack.
 
  On Fri, Oct 19, 2012 at 10:18 AM, Roland Kool
 roland.k...@tomtom.comwrote:
 
  Hi all,
 
  If I understand correctly, there are two version of CloudStack out
 there:
  Apache CloudStack and Citrix CloudPlatform.
  I was wondering what the differences are between the two? For
 instance, is
  Citrix fixing issues in CloudPlatform that are not fed back into Apache
  Cloudstack?
  There's also two bugtrackers: bugs.cloudstack.org and
 issues.apache.org.
  I learned from a previous thread that bugs.cs.o is deprecated. So what
  happens to all the issues that where raised there and not resolved or
  picked up?
 
  Thanks in advance for any clarification.
 
  Roland Kool | Sr. Systems Engineer | TomTom TechOps |
 
 

 Chip is correct, to add to the confusion, CloudPortal is now called
 CloudPlatform Business Manager :)
 So CloudPlatform is Citrix's CloudStack 'distro'. It would be narrower in
 terms of features and is supportable by Citrix.

 --
 Æ






RE: Testing CloudStack with devcloud VM and MAVEN

2012-10-23 Thread Donal Lafferty
Actually, using -P does not work either.

Anyone else with some suggestions?

DL

-Original Message-
From: Donal Lafferty 
Sent: 23 October 2012 23:28
To: cloudstack-dev@incubator.apache.org
Subject: RE: Testing CloudStack with devcloud VM and MAVEN

Hi Hieu,

How did you run the final step (#8)?

I think there is a typo.

Instead of 'mvn -P deploysvr -pl tools/devcloud -Ddeploysvr' try 'mvn -P 
developer -pl tools/devcloud -Ddeploysvr'


-Original Message-
From: Hieu Le [mailto:hieul...@gmail.com] 
Sent: 23 October 2012 17:16
To: cloudstack-dev@incubator.apache.org
Subject: Re: Testing CloudStack with devcloud VM and MAVEN

I can ping/ssh to devcloud vm and I also set the network configuration of
devcloud vm like Edison's guide.

I have also tried to create a new VM, install Ubuntu 12.04 and xcp-xapi on
it; tried to add this as cloud node and failed.

Please help !
On Tue, Oct 23, 2012 at 12:53 PM, Rohit Yadav rohit.ya...@citrix.comwrote:


 On 23-Oct-2012, at 10:13 AM, Hieu Le hieul...@gmail.com wrote:

  Hi Edison,
 
  I have try your method and the result is that I can't add devcloud node
 to
  mgt server on my desktop. The log always say Unable to add host, unable
 to
  find the server resources at HTTP://193.168.56.2
 
  Can you solve this problem? Thank you so much.

 Try to ping 192.168.56.1 and try to ssh into your vm, if you're not able
 to do it:

 Goto VirtualBox Manager; open settings of the vm, goto network, check what
 is the host-only adapter name (vboxnet0 is default)
 Now, open VBox Manager-Preferences-Network-select vboxnet0 (the
 default)-edit

 Check the IPv4 Address, the wiki guide [0] uses 192.168.56.1 as the
 gateway, set this IP in the IPv4 field and make sure you've no dhcp server
 on this network. On Windows, while installing VirtualBox, the guide assumes
 you had installed the network adapters and they were not disabled or
 removed (for the host-only adapter functionality).

 Make sure, you set the promiscuous mode to allow all (this petty setting
 ate [1] many hours of my life).

 [0]
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+devcloud+environment+setup
 [1]
 http://wiki.cloudstack.org/display/COMM/DIY+DevCloud+Setup#DIYDevCloudSetup-Networking

 Regards.

 
  Sent from my HTC(c)
  On Oct 22, 2012 12:07 PM, Edison Su edison...@citrix.com wrote:
 
 
 
  Sent from my iPhone
 
  On Oct 21, 2012, at 6:21 PM, Hieu Le hieul...@gmail.com wrote:
 
  Thank you so much Edison, I will try this method.
 
  Anyway, in this wiki page, you said start mgt server on your laptop
  including deploy DB in both my laptop and devcloud VM; and in step 8
 you
  also said deploy in devcloud, so while deploy in devcloud, the mgt
  server
  will still run on my laptop with its own DB and another mgt server will
  be
  devcloud VM, do I understand right ?
 
  No, all the commands are running on your laptop. Mgt server will add
  devcloud vm as a hypervisor host.
  Btw, I updated the document: need to configure network in devcloud vm,
  otherwise mgt server can't connect to devcloud vm.
 
  I will try and give feedback.
 
 
  On Sun, Oct 21, 2012 at 2:09 PM, Edison Su edison...@citrix.com
 wrote:
 
  I created a wiki page:
 
 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+devcloud+environment+setup
 
  Sent from my iPhone
 
  On Oct 20, 2012, at 9:49 AM, Edison Su edison...@citrix.com
 wrote:
 
  Il write a new wiki page about how to use devcloud and maven today.
 
  Sent from my iPhone
 
  On Oct 20, 2012, at 5:18 AM, Donal Lafferty 
  donal.laffe...@citrix.com
  wrote:
 
  I think that Hieu Le is having a problem with
 
 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/DIY+DevCloud+Setup
 
 
  The page states:
 
  To build, deploy-server and database:
  $ ant clean-all build-all deploy-server deploydb
 
  Type to run mgt server:
  $ ant debug
 
 
  Can someone update these instructions with their Maven equivalent?
 
  DL
 
  -Original Message-
  From: Hieu Le [mailto:hieul...@gmail.com]
  Sent: 20 October 2012 03:27
  To: cloudstack-dev@incubator.apache.org
  Cc: Marcus Sorensen; jmar...@basho.com
  Subject: Re: Testing CloudStack with devcloud VM and MAVEN
 
  So, is there a way to deploy code and debug in devcloud with maven
 and
  eclipse ?
 
  On Sat, Oct 20, 2012 at 9:17 AM, David Nalley da...@gnsa.us
 wrote:
 
  On Fri, Oct 19, 2012 at 9:45 PM, Alex Huang alex.hu...@citrix.com
 
  wrote:
  -1
 
  devCloud also functions as an easy way to test out CloudStack.
  That
  can
  only be done with the all-in-one concept.
 
  I like the idea of having management server on my laptop and use
  devCloud only as the hypervisor but both format have to exist.
 
 
  Agreed - being able to let someone play with CloudStack is
 important.
  Besides, with things like vagrant and veewee maintaining both
  shouldn't be a big deal.
 
  --David
 
 
 
 
  --
 
  
 
  Le Quang Hieu
 
  Specialist - Core Cloud

RE: Testing CloudStack with devcloud VM and MAVEN

2012-10-23 Thread Donal Lafferty
Sorry, that should say 'using -P developer'.

In my case, the issue is that tools/marvin/marvin/jsonHelper.py uses the 
cloudstackAPI module before it is generated.

E.g. 

$ mvn -P developer -pl tools/devcloud -Ddeploysvr
[INFO] Scanning for projects...
[INFO]
[INFO] 
[INFO] Building Apache CloudStack Developer Tools 4.1.0-SNAPSHOT
[INFO] 
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-devcloud 
---
[INFO]
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ 
cloud-devcloud ---
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (default) @ cloud-devcloud ---
Traceback (most recent call last):
  File ../marvin/marvin/deployDataCenter.py, line 19, in module
import configGenerator
  File 
C:\cygwin\home\donall\incubator\incubator-cloudstack\tools\marvin\marvin\configGenerator.py,
 line 21, in module
import jsonHelper
  File 
C:\cygwin\home\donall\incubator\incubator-cloudstack\tools\marvin\marvin\jsonHelper.py,
 line 21, in module
from cloudstackAPI import *
ImportError: No module named cloudstackAPI
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 2.259s
[INFO] Finished at: Wed Oct 24 00:12:12 BST 2012
[INFO] Final Memory: 13M/31M
[INFO] 
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 
(default) on project cloud-devcloud: Command execution failed. Process exited 
with an error: 1 (Exit value: 1) - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException



-Original Message-
From: Donal Lafferty 
Sent: 23 October 2012 23:58
To: Donal Lafferty; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Testing CloudStack with devcloud VM and MAVEN

Actually, using -P does not work either.

Anyone else with some suggestions?

DL

-Original Message-
From: Donal Lafferty 
Sent: 23 October 2012 23:28
To: cloudstack-dev@incubator.apache.org
Subject: RE: Testing CloudStack with devcloud VM and MAVEN

Hi Hieu,

How did you run the final step (#8)?

I think there is a typo.

Instead of 'mvn -P deploysvr -pl tools/devcloud -Ddeploysvr' try 'mvn -P 
developer -pl tools/devcloud -Ddeploysvr'


-Original Message-
From: Hieu Le [mailto:hieul...@gmail.com] 
Sent: 23 October 2012 17:16
To: cloudstack-dev@incubator.apache.org
Subject: Re: Testing CloudStack with devcloud VM and MAVEN

I can ping/ssh to devcloud vm and I also set the network configuration of
devcloud vm like Edison's guide.

I have also tried to create a new VM, install Ubuntu 12.04 and xcp-xapi on
it; tried to add this as cloud node and failed.

Please help !
On Tue, Oct 23, 2012 at 12:53 PM, Rohit Yadav rohit.ya...@citrix.comwrote:


 On 23-Oct-2012, at 10:13 AM, Hieu Le hieul...@gmail.com wrote:

  Hi Edison,
 
  I have try your method and the result is that I can't add devcloud node
 to
  mgt server on my desktop. The log always say Unable to add host, unable
 to
  find the server resources at HTTP://193.168.56.2
 
  Can you solve this problem? Thank you so much.

 Try to ping 192.168.56.1 and try to ssh into your vm, if you're not able
 to do it:

 Goto VirtualBox Manager; open settings of the vm, goto network, check what
 is the host-only adapter name (vboxnet0 is default)
 Now, open VBox Manager-Preferences-Network-select vboxnet0 (the
 default)-edit

 Check the IPv4 Address, the wiki guide [0] uses 192.168.56.1 as the
 gateway, set this IP in the IPv4 field and make sure you've no dhcp server
 on this network. On Windows, while installing VirtualBox, the guide assumes
 you had installed the network adapters and they were not disabled or
 removed (for the host-only adapter functionality).

 Make sure, you set the promiscuous mode to allow all (this petty setting
 ate [1] many hours of my life).

 [0]
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+devcloud+environment+setup
 [1]
 http://wiki.cloudstack.org/display/COMM/DIY+DevCloud+Setup#DIYDevCloudSetup-Networking

 Regards.

 
  Sent from my HTC(c)
  On Oct 22, 2012 12:07 PM, Edison Su edison...@citrix.com wrote:
 
 
 
  Sent from my iPhone
 
  On Oct 21, 2012, at 6:21 PM, Hieu Le hieul...@gmail.com wrote:
 
  Thank you so much Edison, I will try this method.
 
  Anyway, in this wiki page, you said start mgt server on your laptop
  including deploy DB in both my laptop and devcloud VM; and in step 8

RE: Testing CloudStack with devcloud VM and MAVEN

2012-10-24 Thread Donal Lafferty
I don't see any reference to 'tools/devcloud' or 'tools/marvin' in 
${basedir}/pom.xml

Perhaps I'm not using the latest source or that the github mirror is not in 
sync.  Or perhaps there are some tweaks required to turn on tools/devcloud that 
are not in the default source.

BTW, mvn install gives the following projects, do you get the same?


[INFO] Scanning for projects...
[INFO] 
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache CloudStack
[INFO] Apache CloudStack Utils
[INFO] Apache CloudStack API
[INFO] Apache CloudStack Core
[INFO] Apache CloudStack Agents
[INFO] Apache CloudStack SystemVM Patches
[INFO] Apache CloudStack Console Proxy
[INFO] Apache CloudStack Server
[INFO] Apache CloudStack Usage Server
[INFO] Apache XenSource XAPI
[INFO] Apache CloudStack Plugin POM
[INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner
[INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner
[INFO] Apache CloudStack Plugin - Host Allocator Random
[INFO] Apache CloudStack Plugin - Hypervisor OracleVM
[INFO] Apache CloudStack Plugin - Open vSwitch
[INFO] Apache CloudStack Plugin - Hypervisor Xen
[INFO] Apache CloudStack Plugin - Hypervisor KVM
[INFO] Apache CloudStack Plugin - Network Elastic Load Balancer
[INFO] Apache CloudStack Plugin - Network Nicira NVP
[INFO] Apache CloudStack Plugin - Storage Allocator Random
[INFO] Apache CloudStack Plugin - User Authenticator LDAP
[INFO] Apache CloudStack Plugin - User Authenticator MD5
[INFO] Apache CloudStack Plugin - User Authenticator Plain Text
[INFO] Apache CloudStack AWS API Bridge
[INFO] Apache CloudStack Client UI
[INFO] Apache CloudStack Test




-Original Message-
From: Hieu Le [mailto:hieul...@gmail.com]
Sent: 24 October 2012 02:52
To: cloudstack-dev@incubator.apache.org
Cc: Donal Lafferty
Subject: Re: Testing CloudStack with devcloud VM and MAVEN

Hi all,

@Edison Su: after 3 attemps to build/rebuild both devcloud VM and Ubuntu
with xcp-xapi package, I have successfully added VM to my mgt server on my
laptop. I don't know why ?? God blessed me !

Anw, error log when adding host fail is around unable to discover resource
(sorry, I have clear the log).

@Donal Lafferty: Edison's wiki is correct, check your pom.xml in cloudstack
maven project and ensure that it contains tools/devcloud and tools/marvin
in modules section.

Thank you guys !

On Wed, Oct 24, 2012 at 6:44 AM, Edison Su edison...@citrix.com wrote:

 mvn install will generate cloudstackAPI python module under
 tools/marvin/marvin. Is there no such folder on your environment?

  -Original Message-
  From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
  Sent: Tuesday, October 23, 2012 4:16 PM
  To: Donal Lafferty; 'cloudstack-dev@incubator.apache.org'
  Subject: RE: Testing CloudStack with devcloud VM and MAVEN
 
  Sorry, that should say 'using -P developer'.
 
  In my case, the issue is that tools/marvin/marvin/jsonHelper.py uses
  the cloudstackAPI module before it is generated.
 
  E.g.
 
  $ mvn -P developer -pl tools/devcloud -Ddeploysvr
  [INFO] Scanning for projects...
  [INFO]
  [INFO] 
  
  [INFO] Building Apache CloudStack Developer Tools 4.1.0-SNAPSHOT
  [INFO] 
  
  [INFO]
  [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-
  devcloud ---
  [INFO]
  [INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor)
  @ cloud-devcloud ---
  [INFO]
  [INFO] --- exec-maven-plugin:1.2.1:exec (default) @ cloud-devcloud ---
  Traceback (most recent call last):
File ../marvin/marvin/deployDataCenter.py, line 19, in module
  import configGenerator
File C:\cygwin\home\donall\incubator\incubator-
  cloudstack\tools\marvin\marvin\configGenerator.py, line 21, in
  module
  import jsonHelper
File C:\cygwin\home\donall\incubator\incubator-
  cloudstack\tools\marvin\marvin\jsonHelper.py, line 21, in module
  from cloudstackAPI import *
  ImportError: No module named cloudstackAPI
  [INFO] 
  
  [INFO] BUILD FAILURE
  [INFO] 
  
  [INFO] Total time: 2.259s
  [INFO] Finished at: Wed Oct 24 00:12:12 BST 2012
  [INFO] Final Memory: 13M/31M
  [INFO] 
  
  [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-
  plugin:1.2.1:exec (default) on project cloud-devcloud: Command
  execution failed. Process exited with an error: 1 (Exit value: 1) -
  [Help 1]
  [ERROR]
  [ERROR] To see the full stack trace of the errors, re-run Maven with
  the -e switch.
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [ERROR]
  [ERROR] For more information about the errors

RE: Testing CloudStack with devcloud VM and MAVEN

2012-10-24 Thread Donal Lafferty
Yeah, I was about to say that :)

I'm happy to update the docs after I verify that I can make it work!


DL


-Original Message-
From: Edison Su [mailto:edison...@citrix.com]
Sent: 24 October 2012 17:37
To: cloudstack-dev@incubator.apache.org
Subject: RE: Testing CloudStack with devcloud VM and MAVEN

Oh, I see. Mvn build is changed in the commit 
https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;a=commit;h=d04bfc3400da4ba15e99f6685e191b052ea249ca
You can try:
Mvn install -P developer

 -Original Message-
 From: Hieu Le [mailto:hieul...@gmail.com]
 Sent: Wednesday, October 24, 2012 9:13 AM
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: Testing CloudStack with devcloud VM and MAVEN

 Yep, I have modified pom.xml. My project list has  following additional
 project:

 Apache CloudStack apidoc Tools
 Apache CloudStack Developer Tools
 Apache CloudStack Developer Tools: marvin

 Hope it help !

 On Wed, Oct 24, 2012 at 8:33 PM, Donal Lafferty
 donal.laffe...@citrix.comwrote:

  I don't see any reference to 'tools/devcloud' or 'tools/marvin' in
  ${basedir}/pom.xml
 
  Perhaps I'm not using the latest source or that the github mirror is
 not
  in sync.  Or perhaps there are some tweaks required to turn on
  tools/devcloud that are not in the default source.
 
  BTW, mvn install gives the following projects, do you get the same?
 
 
  [INFO] Scanning for projects...
  [INFO]
  -
 ---
  [INFO] Reactor Build Order:
  [INFO]
  [INFO] Apache CloudStack
  [INFO] Apache CloudStack Utils
  [INFO] Apache CloudStack API
  [INFO] Apache CloudStack Core
  [INFO] Apache CloudStack Agents
  [INFO] Apache CloudStack SystemVM Patches
  [INFO] Apache CloudStack Console Proxy
  [INFO] Apache CloudStack Server
  [INFO] Apache CloudStack Usage Server
  [INFO] Apache XenSource XAPI
  [INFO] Apache CloudStack Plugin POM
  [INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment
 Planner
  [INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner
  [INFO] Apache CloudStack Plugin - Host Allocator Random
  [INFO] Apache CloudStack Plugin - Hypervisor OracleVM
  [INFO] Apache CloudStack Plugin - Open vSwitch
  [INFO] Apache CloudStack Plugin - Hypervisor Xen
  [INFO] Apache CloudStack Plugin - Hypervisor KVM
  [INFO] Apache CloudStack Plugin - Network Elastic Load Balancer
  [INFO] Apache CloudStack Plugin - Network Nicira NVP
  [INFO] Apache CloudStack Plugin - Storage Allocator Random
  [INFO] Apache CloudStack Plugin - User Authenticator LDAP
  [INFO] Apache CloudStack Plugin - User Authenticator MD5
  [INFO] Apache CloudStack Plugin - User Authenticator Plain Text
  [INFO] Apache CloudStack AWS API Bridge
  [INFO] Apache CloudStack Client UI
  [INFO] Apache CloudStack Test
 
 
 
 
  -Original Message-
  From: Hieu Le [mailto:hieul...@gmail.com]
  Sent: 24 October 2012 02:52
  To: cloudstack-dev@incubator.apache.org
  Cc: Donal Lafferty
  Subject: Re: Testing CloudStack with devcloud VM and MAVEN
 
  Hi all,
 
  @Edison Su: after 3 attemps to build/rebuild both devcloud VM and
 Ubuntu
  with xcp-xapi package, I have successfully added VM to my mgt server
 on my
  laptop. I don't know why ?? God blessed me !
 
  Anw, error log when adding host fail is around unable to discover
 resource
  (sorry, I have clear the log).
 
  @Donal Lafferty: Edison's wiki is correct, check your pom.xml in
 cloudstack
  maven project and ensure that it contains tools/devcloud and
 tools/marvin
  in modules section.
 
  Thank you guys !
 
  On Wed, Oct 24, 2012 at 6:44 AM, Edison Su edison...@citrix.com
 wrote:
 
   mvn install will generate cloudstackAPI python module under
   tools/marvin/marvin. Is there no such folder on your environment?
  
-Original Message-
From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
Sent: Tuesday, October 23, 2012 4:16 PM
To: Donal Lafferty; 'cloudstack-dev@incubator.apache.org'
Subject: RE: Testing CloudStack with devcloud VM and MAVEN
   
Sorry, that should say 'using -P developer'.
   
In my case, the issue is that tools/marvin/marvin/jsonHelper.py
 uses
the cloudstackAPI module before it is generated.
   
E.g.
   
$ mvn -P developer -pl tools/devcloud -Ddeploysvr
[INFO] Scanning for projects...
[INFO]
[INFO] --
 --

[INFO] Building Apache CloudStack Developer Tools 4.1.0-SNAPSHOT
[INFO] --
 --

[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @
 cloud-
devcloud ---
[INFO]
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-
 descriptor)
@ cloud-devcloud ---
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (default) @ cloud-
 devcloud ---
Traceback (most recent call last):
  File ../marvin/marvin

RE: Testing CloudStack with devcloud VM and MAVEN

2012-10-24 Thread Donal Lafferty
Hi Hieu,

Can you start a new email thread, and include a snippet of the error.

This chain of emails is getting a bit long. :)

DL


-Original Message-
From: Hieu Le [mailto:hieul...@gmail.com]
Sent: 24 October 2012 17:53
To: cloudstack-dev@incubator.apache.org
Subject: Re: Testing CloudStack with devcloud VM and MAVEN

Thank you guys !

Btw, I have successfully developed with devcloud in Ubuntu/Linux Mint
environment, but when trying to setup in Windows, Win 7 x86 throw an error
when adding devcloud, this time devcloud node show Alert state after
running through 8 steps; Win 7 x64 return error when mvn -P developer
install with error ClassNotFound ApiXmlWriter.

I am happy with Ubuntu/Linux environment but my boss want to debug CS in
Windows environment. I will try to fix this.

On Wed, Oct 24, 2012 at 11:39 PM, Donal Lafferty
donal.laffe...@citrix.comwrote:

 Yeah, I was about to say that :)

 I'm happy to update the docs after I verify that I can make it work!


 DL


 -Original Message-
 From: Edison Su [mailto:edison...@citrix.com]
 Sent: 24 October 2012 17:37
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: Testing CloudStack with devcloud VM and MAVEN

 Oh, I see. Mvn build is changed in the commit
 https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;a=commit;h=d04bfc3400da4ba15e99f6685e191b052ea249ca
 You can try:
 Mvn install -P developer

  -Original Message-
  From: Hieu Le [mailto:hieul...@gmail.com]
  Sent: Wednesday, October 24, 2012 9:13 AM
  To: cloudstack-dev@incubator.apache.org
  Subject: Re: Testing CloudStack with devcloud VM and MAVEN
 
  Yep, I have modified pom.xml. My project list has  following additional
  project:
 
  Apache CloudStack apidoc Tools
  Apache CloudStack Developer Tools
  Apache CloudStack Developer Tools: marvin
 
  Hope it help !
 
  On Wed, Oct 24, 2012 at 8:33 PM, Donal Lafferty
  donal.laffe...@citrix.comwrote:
 
   I don't see any reference to 'tools/devcloud' or 'tools/marvin' in
   ${basedir}/pom.xml
  
   Perhaps I'm not using the latest source or that the github mirror is
  not
   in sync.  Or perhaps there are some tweaks required to turn on
   tools/devcloud that are not in the default source.
  
   BTW, mvn install gives the following projects, do you get the same?
  
  
   [INFO] Scanning for projects...
   [INFO]
   -
  ---
   [INFO] Reactor Build Order:
   [INFO]
   [INFO] Apache CloudStack
   [INFO] Apache CloudStack Utils
   [INFO] Apache CloudStack API
   [INFO] Apache CloudStack Core
   [INFO] Apache CloudStack Agents
   [INFO] Apache CloudStack SystemVM Patches
   [INFO] Apache CloudStack Console Proxy
   [INFO] Apache CloudStack Server
   [INFO] Apache CloudStack Usage Server
   [INFO] Apache XenSource XAPI
   [INFO] Apache CloudStack Plugin POM
   [INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment
  Planner
   [INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner
   [INFO] Apache CloudStack Plugin - Host Allocator Random
   [INFO] Apache CloudStack Plugin - Hypervisor OracleVM
   [INFO] Apache CloudStack Plugin - Open vSwitch
   [INFO] Apache CloudStack Plugin - Hypervisor Xen
   [INFO] Apache CloudStack Plugin - Hypervisor KVM
   [INFO] Apache CloudStack Plugin - Network Elastic Load Balancer
   [INFO] Apache CloudStack Plugin - Network Nicira NVP
   [INFO] Apache CloudStack Plugin - Storage Allocator Random
   [INFO] Apache CloudStack Plugin - User Authenticator LDAP
   [INFO] Apache CloudStack Plugin - User Authenticator MD5
   [INFO] Apache CloudStack Plugin - User Authenticator Plain Text
   [INFO] Apache CloudStack AWS API Bridge
   [INFO] Apache CloudStack Client UI
   [INFO] Apache CloudStack Test
  
  
  
  
   -Original Message-
   From: Hieu Le [mailto:hieul...@gmail.com]
   Sent: 24 October 2012 02:52
   To: cloudstack-dev@incubator.apache.org
   Cc: Donal Lafferty
   Subject: Re: Testing CloudStack with devcloud VM and MAVEN
  
   Hi all,
  
   @Edison Su: after 3 attemps to build/rebuild both devcloud VM and
  Ubuntu
   with xcp-xapi package, I have successfully added VM to my mgt server
  on my
   laptop. I don't know why ?? God blessed me !
  
   Anw, error log when adding host fail is around unable to discover
  resource
   (sorry, I have clear the log).
  
   @Donal Lafferty: Edison's wiki is correct, check your pom.xml in
  cloudstack
   maven project and ensure that it contains tools/devcloud and
  tools/marvin
   in modules section.
  
   Thank you guys !
  
   On Wed, Oct 24, 2012 at 6:44 AM, Edison Su edison...@citrix.com
  wrote:
  
mvn install will generate cloudstackAPI python module under
tools/marvin/marvin. Is there no such folder on your environment?
   
 -Original Message-
 From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
 Sent: Tuesday, October 23, 2012 4:16 PM
 To: Donal Lafferty; 'cloudstack-dev@incubator.apache.org

[DISCUSS] How do I crossreference source and wiki?

2012-10-24 Thread Donal Lafferty
Is there a way to cross reference source and corresponding descriptions in the 
wiki?

Newcomers rely heavily on the wiki to figure out what is going on.  When the 
wiki falls out of date, it is a real struggle to find out what happened.  Just 
look at today's mailing list posts. :)

If there were a breadcrumb trail that pointed out which wiki's had to be 
updated, we'd avoid a lot of support emails and reduce onboarding time.

DL


RE: Deployment process issue

2012-10-25 Thread Donal Lafferty
Hi Charles,

Check out tools/devcloud/devcloud.cfg

Also, are you attempting to deploy to a database that is already configured.  

E.g. have you tried running every command in Step 7 
(https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+devcloud+environment+setup)
 starting at 'mvn -P developer install' ?


DL


-Original Message-
From: Charles Moulliard [mailto:ch0...@gmail.com] 
Sent: 25 October 2012 12:09
To: cloudstack-dev@incubator.apache.org
Subject: Re: Deployment process issue

Have you solved this issue ?

Question : When we run the following command mvn -pl :cloud-client-ui
jetty:run and mvn -P developer,deploysvr -pl tools/devcloud -Ddeploysvr,
how is CloudStack able to retrieve/connect to management server running on
machine with IP address (192.168.56.2) ? Is it because this is the by
default IP address or is there a discovery mechanism sending packets in the
LAN ?

On Thu, Oct 25, 2012 at 10:53 AM, Rohit Yadav rohit.ya...@citrix.comwrote:

 Hi Charles,

 I'm caught up with some other issues, Edison or I'll try this myself and
 get back to you soon.

 Regards.

 On 25-Oct-2012, at 2:20 PM, Charles Moulliard ch0...@gmail.com wrote:

  Hi,
 
  I have been able on a LapTop (Dell Latitude E6510 - OS : LinuxMint -
 Maya)
  to compile the cloudStack project (using procedure here :
 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+devcloud+environment+setup
  ).
  During the deployment process on the target machine (= DevCloud VM
 running
  in VirtualBox), the following exception occurs and no storages and VM
 have
  been created :
 
  mvn -P developer,deploysvr -pl tools/devcloud -Ddeploysvr
 
  [INFO] Started Jetty Server
  INFO  [cloud.resource.ResourceManagerImpl] (1081948798@qtp-961137686-14
 :)
  Trying to add a new host at http://192.168.56.2/ in data center 1
  INFO  [xen.discoverer.XcpServerDiscoverer] (1081948798@qtp-961137686-14
 :)
  Found host devcloud ip=192.168.56.2 product version=1.6.0
  INFO  [xen.resource.CitrixResourceBase] (1081948798@qtp-961137686-14:)
  Private Network is Pool-wide network associated with eth0 for host
  192.168.56.2
  INFO  [xen.resource.CitrixResourceBase] (1081948798@qtp-961137686-14:)
  Guest Network is Pool-wide network associated with eth0 for host
  192.168.56.2
  INFO  [xen.resource.CitrixResourceBase] (1081948798@qtp-961137686-14:)
  Public Network is Pool-wide network associated with eth0 for host
  192.168.56.2
  INFO  [xen.discoverer.XcpServerDiscoverer] (1081948798@qtp-961137686-14
 :)
  Host: devcloud connected with hypervisor type: XenServer. Checking
 CIDR...
  WARN  [cloud.resource.ResourceManagerImpl] (1081948798@qtp-961137686-14
 :)
  Unable to connect due to
  com.cloud.utils.exception.CloudRuntimeException: DB Exception on:
  com.mysql.jdbc.JDBC4PreparedStatement@3ecbca0b: INSERT INTO host
  (host.disconnected, host.name, host.status, host.type,
  host.private_ip_address, host.private_mac_address, host.private_netmask,
  host.public_netmask, host.public_ip_address, host.public_mac_address,
  host.storage_ip_address, host.cluster_id, host.storage_netmask,
  host.storage_mac_address, host.storage_ip_address_2,
  host.storage_netmask_2, host.storage_mac_address_2, host.hypervisor_type,
  host.proxy_port, host.resource, host.fs_type, host.available, host.setup,
  host.resource_state, host.hypervisor_version, host.update_count,
 host.uuid,
  host.data_center_id, host.pod_id, host.cpus, host.url, host.speed,
  host.ram, host.parent, host.guid, host.capabilities, host.total_size,
  host.last_ping, host.mgmt_server_id, host.dom0_memory, host.version,
  host.created) VALUES (null, _binary'devcloud', 'Creating', 'Routing',
  _binary'192.168.56.2', _binary'08:00:27:7e:74:9c',
 _binary'255.255.255.0',
  null, null, null, null, 1, null, null, null, null, null, 'XenServer',
 null,
  _binary'com.cloud.hypervisor.xen.resource.XcpOssResource', null, 1, 0,
  'Creating', null, 0, _binary'ab9665fd-5119-4b2f-8f51-b80c7634d95a', 1, 1,
  1, _binary'', 2644, -128447424, null,
  _binary'759ee4c9-a15a-297b-67c6-ac267d8aa429', _binary'xen-3.0-x86_64 ,
  xen-3.0-x86_32p , hvm', null, 1319480950, 101318446450665, 0,
  _binary'4.1.0-SNAPSHOT', '2012-10-25 07:01:33')
  at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1320)
  at com.cloud.host.dao.HostDaoImpl.persist(HostDaoImpl.java:545)
  at
 com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34)
  at com.cloud.host.dao.HostDaoImpl.persist(HostDaoImpl.java:63)
  at
 
 com.cloud.resource.ResourceManagerImpl.createHostVO(ResourceManagerImpl.java:1569)
  at
 
 com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1629)
  at
 
 com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:720)
  at
 
 com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:544)
  at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)
  at 

Running CloudStack management server from an IDE

2012-10-25 Thread Donal Lafferty
Can anyone point me to some notes on running the CloudStack management server 
from an IDE, e.g. Eclipse?

DL




RE: Schedule Announced for CloudStack Conference

2012-10-26 Thread Donal Lafferty
There is a register link at http://collab12.cloudstack.org/

-Original Message-
From: Chandan Purushothama [mailto:chandan.purushoth...@citrix.com] 
Sent: 26 October 2012 17:59
To: cloudstack-us...@incubator.apache.org; CloudStack Developers
Subject: RE: Schedule Announced for CloudStack Conference

Do I have to register prior to attending any of these talks? If Yes, May I know 
where can I do it,

Thank you,
Chandan.

-Original Message-
From: Joe Brockmeier [mailto:j...@zonker.net] 
Sent: Thursday, October 25, 2012 9:00 AM
To: CloudStack Developers; cloudstack-us...@incubator.apache.org
Subject: Schedule Announced for CloudStack Conference

Good news, everybody! 

The CloudStack Collaboration Conference schedule is now up! You can find it at:

http://collab12.cloudstack.org/schedule/

A big thank you to everyone who's submitted talks, and to David Nalley, Chip 
Childers, and John John Kinsella for voting on the submissions. We were 
initially concerned about the quantity of submissions given the short run-up to 
the conference - but we were blown away by the quality
*and* quantity of the submissions. 

We'll be announcing keynotes shortly, and the evening events. A lot of really 
good stuff coming for the conference - I hope to see many of you there, you 
really don't want to miss it!

Best, 

Joe
--
Joe Brockmeier
j...@zonker.net
Twitter: @jzb
http://www.dissociatedpress.net/


RE: SystemVM ISO is not installed with 4.0 on Ubuntu or Debian

2012-10-31 Thread Donal Lafferty
Pardon the naïve question, but if you're only installing the cloud-agent, why 
do you need cloud-system-iso?  Doesn't cloud-agent operate independently of the 
system VMs?

-Original Message-
From: Wido den Hollander [mailto:w...@widodh.nl] 
Sent: 31 October 2012 9:43 AM
To: cloudstack-dev@incubator.apache.org
Subject: SystemVM ISO is not installed with 4.0 on Ubuntu or Debian

Hi,

I just did a fresh CloudStack 4.0 installation from the Debian packages we have 
and I found a dependency issue.

cloud-agent does not depend on cloud-system-iso, thus it doesn't get installed.

This took me about 2 hours to figure out why my System VMs weren't working 
properly.

I'll push a fix for this to the master branch, but this will be broken in the 
4.0 release.

When using apt to install the Agent from the Debian repo they will have to 
manually install the system-iso package.

I'm thinking about adding this dependency to the packages on 
cloudstack.apt-get.eu to prevent this from happening to new users.

Wido


RE: [feature RFC] Hyper-V 2012 (3.0) Feature Specification

2012-11-05 Thread Donal Lafferty
Added placeholders.

-Original Message-
From: Sudha Ponnaganti [mailto:sudha.ponnaga...@citrix.com] 
Sent: 05 November 2012 12:29 AM
To: cloudstack-dev@incubator.apache.org
Subject: RE: [feature RFC] Hyper-V 2012 (3.0) Feature Specification

+1  for new feature

Donal, 

If you don't mind can you add additional info on other supportability - you can 
find design doc template here 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Design+Document+Template

As all info may not be available at conception of the feature, you can put 
place holders for now for topics that are WIP and also put N/A for sections 
that are not applicable for this feature implementation. Easy for QA  to 
understand implementation details and scope.

Thanks
/sudha 

-Original Message-
From: Donal Lafferty [mailto:donal.laffe...@citrix.com] 
Sent: Monday, November 05, 2012 12:09 AM
To: cloudstack-dev@incubator.apache.org
Subject: [feature RFC] Hyper-V 2012 (3.0) Feature Specification

First time posting a Feature Specification.  Go easy...

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Hyper-V+2012+%283.0%29+Support


Start new features on 4.0 or Master?

2012-11-05 Thread Donal Lafferty
I need a starting point for some development.

4.0 is stable, but I'm reluctant to start with a deprecated build environment.  
E.g. 4.0 uses Ant to build.

Master has the updated build environment, but how stable is the current 
checkin?  Can I expect a branch to work reasonably well?

DL



RE: Proposed fixes for debian package building process

2012-11-05 Thread Donal Lafferty
Which branch are you working on?  

For a Maven build on Master, use 
https://cwiki.apache.org/CLOUDSTACK/cloudstack-devcloud-environment-setup.html  
 It has been recently vetted.

DL 

-Original Message-
From: Edison Su [mailto:edison...@citrix.com] 
Sent: 05 November 2012 10:59 AM
To: cloudstack-dev@incubator.apache.org
Subject: RE: Proposed fixes for debian package building process

I don't the deb build on master will work, as we moved build system from ant to 
maven, the artifacts build by maven is quite different from ant(regarding to 
the path). You can find the discussion about the build system in the following 
the mail threads:
http://markmail.org/message/lsjigqvnbkjtbl4y
http://markmail.org/message/utce4esqjl7xhwr4

-Original Message-
From: Dave Cahill [mailto:dcah...@midokura.jp] 
Sent: Monday, November 05, 2012 1:13 AM
To: cloudstack-dev@incubator.apache.org
Subject: Proposed fixes for debian package building process

Hi,

There appear to be some errors in the debian package building process; I'd like 
to double-check my approach for fixing them.

The wiki [1] gives the procedure for building debian packages as:
mvn install -P deps  dpkg-buildpackage

However, mvn install -P deps fails with:

[ERROR] Failed to execute goal on project cloud-deps: Could not resolve 
dependencies for project
org.apache.cloudstack:cloud-deps:jar:4.1.0-SNAPSHOT: Could not find artifact 
org.apache.cloudstack:cloud-awsapi:jar:4.1.0-SNAPSHOT in apache.snapshots 
(http://repository.apache.org/snapshots) - [Help 1]

The reason for this failure seems to be this section of deps/pom.xml:
dependency
  groupIdorg.apache.cloudstack/groupId
  artifactIdcloud-awsapi/artifactId
  version${project.version}/version
/dependency

${project.version} is 4.1.0-SNAPSHOT, however looking at 
https://repository.apache.org/content/groups/snapshots/org/apache/cloudstack/cloud-awsapi/,
I only see 4.0.0-SNAPSHOT.

If I replace ${project.version} for cloud-awsapi in deps/pom.xml with a 
hardcoded 4.0.0-SNAPSHOT, mvn -P deps succeeds. An alternative fix would be 
if 4.1.0-SNAPSHOT version of cloud-awsapi was available on 
repository.apache.org.

I also found that in order for dpkg-buildpackage to succeed, I needed to run 
mvn install -P deps -pl deps rather than just mvn install -P deps.

For reference, if you run dpkg-buildpackages without running mvn -P deps, the 
error returned is:
/PATH/incubator-cloudstack/build/build-aws-api.xml:34: taskdef class 
org.apache.axis2.tool.ant.AntCodegenTask cannot be found

Lastly, I would have expected mvn clean to remove the .jars in the deps 
folder, however it does not - this made debugging interesting!

Proposed changes:
* Hardcode 4.0.0-SNAPSHOT as the version of cloud-awsapi in deps/poms.xml
* Change the wiki to reflect the fact that mvn install -P deps -pl deps
needs to be run when building debian packages
* Change mvn clean to remove the jars from the deps folder

Please let me know if those changes make sense, or if I'm missing something. If 
they look OK, I'll create a patch and submit.

Thanks,
Dave.

[1]
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Building+with+Maven#BuildingwithMaven-BuildingCloudStack


RE: Start new features on 4.0 or Master?

2012-11-06 Thread Donal Lafferty
I branched yesterday off Master on the GitHub mirror.  The mirror was about 12 
hours behind, but the changes I missed were relatively minor.

-Original Message-
From: Wido den Hollander [mailto:w...@widodh.nl] 
Sent: 06 November 2012 1:13 AM
To: cloudstack-dev@incubator.apache.org
Subject: Re: Start new features on 4.0 or Master?



On 06-11-12 00:10, Donal Lafferty wrote:
 I need a starting point for some development.

 4.0 is stable, but I'm reluctant to start with a deprecated build 
 environment.  E.g. 4.0 uses Ant to build.

 Master has the updated build environment, but how stable is the current 
 checkin?  Can I expect a branch to work reasonably well?

New features should go into master, the 4.0 branch is just for maintaining 4.0.

Master should be pretty stable, but now and then it's a moving target since we 
are still sorting out the build process.

Wido


 DL




DevCloud on cwiki update

2012-11-08 Thread Donal Lafferty
Where are the DevCloud links meant to go on the updated cwiki?

I'm happy to add any that are very useful, but I don't know whether to put them 
under Development 101 or elsewhere.


DL



RE: [DISCUSS] API refactoring spec

2012-11-14 Thread Donal Lafferty
On the topic of licensing, is Microsoft Word's docx format used to express the 
spec well supported in ASL / OpenSource licensed editors?

DL

-Original Message-
From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com] 
Sent: 14 November 2012 10:43 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: [DISCUSS] API refactoring spec

David

I had checked it is Apache license before posting, Chiradeep thanks for the link

Animesh

-Original Message-
From: David Nalley [mailto:da...@gnsa.us]
Sent: Wednesday, November 14, 2012 2:41 PM
To: cloudstack-dev@incubator.apache.org
Subject: Re: [DISCUSS] API refactoring spec

Ohh good catch.

--David

On Wed, Nov 14, 2012 at 5:39 PM, Chiradeep Vittal chiradeep.vit...@citrix.com 
wrote:
 This subproject however is ASL 2.0
 http://www.hibernate.org/subprojects/validator.html


 On 11/14/12 2:36 PM, David Nalley da...@gnsa.us wrote:

On Wed, Nov 14, 2012 at 5:29 PM, Animesh Chaturvedi 
animesh.chaturv...@citrix.com wrote:
 Prachi

 I was looking at the API refactoring document and had some comments 
on section 3.2.3 on validation.  I think we can leverage Hibernate 
Validator instead of writing our own validators. It comes with decent 
collection of build in constraints and we can define new constraints 
with annotations and provide its implementation.

 Thanks
 Animesh

Hibernate uses a prohibited license.

--David



[DISCUSS] Plugin anatomy questions

2012-11-14 Thread Donal Lafferty
AFAIK plugins are currently implemented in two halves.  One half is loaded by 
the management server.  The other half is a ServerResource that controls the 
device.  E.g. a Discoverer establishes communications with a ServerResource 
corresponding to a hypervisor host.


1.   Since the bit loaded by the management server is long winded, is 
there another general terms that I can use to refer to this half?


As for the plugin's interface to the management server.  This seems to be 
expressed in two parts.  First, there's a Java interface of methods the plugin 
must implement.  E.g. interface Discoverer defines the key methods for 
establishing contact with a hypervisor.  Secondly, there's a set of objects a 
plugin can reference via dependency injection.  E.g. when Discoverer.configure 
is called, it should register as a ResourceStateAdapter using a reference to 
the ResourceManager.  The ResourceManager is obtained through dependency 
injection.


2.   Are there any plans to remove the dependency injections available to 
plugin implementations?


DL



RE: [DISCUSS] OSGi framework for plugins and more?

2012-11-15 Thread Donal Lafferty
1.  Is each service going to be a separate process?

2.  Will the component model follow the current kernel / plugin strategy?

DL

-Original Message-
From: Mohammad Nour El-Din [mailto:nour.moham...@gmail.com] 
Sent: 15 November 2012 5:43 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: [DISCUSS] OSGi framework for plugins and more?

sounds like a good plan. allow me to brief what has been said:

1- disaggregatio of ACS into a set of services which are accessed restfully
2- the components of these services can be implemented as OSGi or at least OSGi 
ready

any missing points ? additional ones ? other insights ?

Sent from my Samsung Galaxy S3
Apologies for any typos
On Nov 15, 2012 6:20 PM, Alex Huang alex.hu...@citrix.com wrote:



  -Original Message-
  From: Alex Huang [mailto:alex.hu...@citrix.com]
  Sent: Thursday, November 15, 2012 9:15 AM
  To: cloudstack-dev@incubator.apache.org
  Subject: RE: [DISCUSS] OSGi framework for plugins and more?
 
 
 
   -Original Message-
   From: Mohammad Nour El-Din [mailto:nour.moham...@gmail.com]
   Sent: Wednesday, November 14, 2012 7:11 AM
   To: cloudstack-dev@incubator.apache.org
   Subject: Re: [DISCUSS] OSGi framework for plugins and more?
  
   Hi Alex...
  
  Thanks for opening the discussion in the direction of what we 
   need
to do
   and how to do it, I thought no one will respond to my request :D
  
   On Wed, Nov 14, 2012 at 3:45 PM, Alex Huang 
   alex.hu...@citrix.com
   wrote:
  
Here's my two-bits on OSGi.  I actually started a thread like 
this sometime ago to which Mohammad reference.  I then did some 
research
   on what
OSGi can do.  The problems I looked at using OSGi for just isn't
solvable
by OSGi.
   
For example,
- How to contain fault within an availability zone.
- How to do rolling upgrade and phase out the rolling upgrades 
over
a
  span
of days to deal with the time that it might take.
- How to do database upgrades/downgrades for the plugins
- How to scale different components differently
   
OSGi does solve some problems
- How to enable and disable plugins on a production system but 
I'm
not
quite sure how reliable that is.  Even eclipse asks you to 
restart
eclipse
after adding a plugin.
   
  
   I know the answer that Marcel would say about this point :D
 
  I just talked to someone who says it does work reliably in their
environments.
 
  
  
   
I think after looking at this, then I decided that
   
- For modularity, nothing is better than compilation boundaries.
 The
problem with some of the plugins is that it depends on 
cloud-core
and
cloud-server.  It shouldn't .  All plugins must build to 
cloud-api
only.
 Since all interfaces of CloudStack is in cloud-api (if you 
think
about
that then cloud-api is basically the OSGi bundle), that's
sufficient to
separate the plugins.
- For lifecycle of plugins, it probably requires that we switch 
to
deploy
in something like Karaf before we can achieve runtime lifecycle
changes.
 I'm not sure it's entire necessary and it doesn't take care of 
a
plugin's
database versioning problem.
- To resolve the other problems, we basically need to break
cloudstack
into separate processes.  Hence I've proposed the idea of
disaggregating
cloudstack.
   
  
   Again, I am not an OSGi expert, but from what you say it is more 
   about compile and build time and making the separation of what one 
   module should depend on what very clear and documented which we 
   already do in my company as we also have a huge stack and also 
   looked into OSGi which again a
great
   tool but when we don't need everything it offers, we exactly 
   needed
what
   you explained and we manage that mostly through good usage of 
   Maven which I know is tricky
  
   About the runtime aspects and database versioning I am afraid I am 
   not aware about the internals and the exact requirements and hence 
   I can't
  give
   any input
  
   On another side, as in either case we need to *disaggregate* ACS, 
   we
can
   make the disaggregated module OSGi ready at least as a 1st step
towards
   assessing whether OSGi is the way we should go or not, and when it 
   is
  more
   clear then we can either say no it is not the option we need or we
will
   then be ready for the full move to OSGi
  
   Thoughts ?
 
  My current thoughts are the large disaggregated CloudStack Services 
  are going to be RESTful services.  I don't see any benefits for them 
  to be
OSGi
  components for the reasons I've already listed.
 
  However, each service still may deploy plugins.  Those plugins can 
  be converted to OSGi.  It shouldn't be too difficult to do it as well.

 And that is if we see there's a good match with OSGi.  I can see for
example that if people want to add more automation, background monitoring etc, 
deploying and undeploying those on a live 

CentOS System VM?

2012-12-05 Thread Donal Lafferty
Has anyone looked into building a system VM that runs on a CentOS distro?


RE: CentOS System VM?

2012-12-05 Thread Donal Lafferty
CentOS has better support on Hyper-V


-Original Message-
From: Musayev, Ilya [mailto:imusa...@webmd.net] 
Sent: 05 December 2012 6:13 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: CentOS System VM?

I guess you could, but why?

-Original Message-
From: Donal Lafferty [mailto:donal.laffe...@citrix.com] 
Sent: Wednesday, December 05, 2012 1:10 PM
To: cloudstack-dev@incubator.apache.org
Subject: CentOS System VM?

Has anyone looked into building a system VM that runs on a CentOS distro?



Under ASF2.0 can I copyright refactored code without adding the original author's copyright notice?

2012-12-10 Thread Donal Lafferty
Does anyone have a link describing the attribution requirements for code 
licensed under ASF v2.0?

I noticed some driver code on another CloudOS project that appears to be a 
derivative of a previous version of the same driver in that code base.  The 
comments are unchanged and the structure very similar.  Both versions of the 
driver are ASF v2.0, but the derivative work lacks the original author's 
copyright notice.

Is this legit under ASF 2.0?

I'd have thought at the very least you had to carry forward notice from the 
original work.


RE: Under ASF2.0 can I copyright refactored code without adding the original author's copyright notice?

2012-12-10 Thread Donal Lafferty
Thanks for the guidelines.  Initially the question is about ASLv2 in general 
(sorry for the incorrect use of 'ASF2.0').  I will have a read of the section.

Both driver versions are under ASLv2.  I'll point out the lack of citation to 
the orginal authors, and let them decide what to do.  It may already be covered 
by some other agreement.

DL



-Original Message-
From: Chip Childers [mailto:chip.child...@sungard.com] 
Sent: 10 December 2012 2:50 PM
To: cloudstack-dev@incubator.apache.org
Subject: Re: Under ASF2.0 can I copyright refactored code without adding the 
original author's copyright notice?

On Mon, Dec 10, 2012 at 6:09 AM, Donal Lafferty donal.laffe...@citrix.com 
wrote:
 Does anyone have a link describing the attribution requirements for code 
 licensed under ASF v2.0?

 I noticed some driver code on another CloudOS project that appears to be a 
 derivative of a previous version of the same driver in that code base.  The 
 comments are unchanged and the structure very similar.  Both versions of the 
 driver are ASF v2.0, but the derivative work lacks the original author's 
 copyright notice.

 Is this legit under ASF 2.0?

 I'd have thought at the very least you had to carry forward notice from the 
 original work.

Take a look at section 4 of the ASLv2 license itself [1].  It lays out the 
rules of derivative work for ASLv2 licensed software.

In our case, we would probably do the following:
1 - Retain the original copyright notice(s) at the top of the file(s) in 
question
2 - Add a comment to header of the source code files in question, noting that 
they have been modified from the original source project's version.
3 - Include the relevant contents of the source project's NOTICE file in our own

This all assumes that the code in question is licensed under ASLv2, but 
specifics may lead to a slightly different interpretation.  Are you asking for 
the purpose of a CloudStack code submission?  Or are you asking more generally 
about ASLv2?

-chip

[1]  http://www.apache.org/licenses/LICENSE-2.0.html


RE: Unused API Cmd classes, remove bloat?

2012-12-10 Thread Donal Lafferty
Alena's out at the moment.  She had a beautiful baby daughter yesterday, who 
Alena is patiently teaching how to use a qwerty keyboard. ;)

-Original Message-
From: Chip Childers [mailto:chip.child...@sungard.com] 
Sent: 10 December 2012 6:56 PM
To: cloudstack-dev@incubator.apache.org
Subject: Re: Unused API Cmd classes, remove bloat?

On Fri, Dec 7, 2012 at 1:04 AM, Nitin Mehta nitin.me...@citrix.com wrote:
 Rohit - my answers inline.

 On 07-Dec-2012, at 1:12 AM, Rohit Yadav wrote:

 I found following APIs which lack the (apiname, class and roles) mappings in 
 commands.properties:

 CreatePrivateNetworkCmd

git blame says that Alena authored most of this file.  Alena?

 DestroyConsoleProxyCmd
 ListRecurringSnapshotScheduleCmd

These two have a ton of authors listed, and date back to 2010.
Perhaps someone knows more about them?


 I don't see all the three above in commands.properties neither any inherited 
 classes out of them. Not sure CreatePrivateNetwork but the other two look 
 good candidates for removal but do so carefully. Best would be if you can 
 catch hold of the authors somehow :)

 ListTemplateOrIsoPermissionsCmd
 UpdateTemplateOrIsoCmd
 UpdateTemplateOrIsoPermissionsCmd


 The above three classes shouldn't be removed. They are generic classes for 
 template / iso apis.

 Do we need them, they are not listed on the apidocs (3.0.2 or 4.0) either.

 Regards.




RE: CentOS System Offering Thread

2012-12-12 Thread Donal Lafferty
Is ./patches/systemvm/debian/buildsystemvm.sh what you're looking for?

It targets Debian Squeeze and includes the latest security updates.

I'd be keen to know if it is triggered by a mvn build and how I can use its 
outputs.
DL

-Original Message-
From: Marcus Sorensen [mailto:shadow...@gmail.com] 
Sent: 12 December 2012 5:33 AM
To: cloudstack-dev@incubator.apache.org
Subject: Re: CentOS System Offering Thread

This is pretty important.  Anyone should be able to roll their own, rather than 
relying on a single potentially out-of-date image. It seems like it would be 
pretty simple and straightforward on the face of it, however many of the 
scripts have been written specifically for Debian. I'd honestly be ok with 
having to stick to a particular distro if I at least had clear instructions on 
how to make my own, I understand the need to program against a single defined 
userspace.


On Tue, Dec 11, 2012 at 9:14 PM, Musayev, Ilya imusa...@webmd.net wrote:

 I'd like to resurrect this thread - as the other thread got carried 
 away into Vyatta conversation.

 My reasoning behind this move - is due to e1000 bug that affects 
 Debian Wheezy, vSphere 5.0 (and possibly newer 5.1) and the router VM 
 in Advanced Network Zone. While I could spent lots of time 
 troubleshooting this issue - my environment is mostly RHEL/CentOS 
 based and therefore - it would not hurt to have multiple flavors.

 I'm also a lot more comfortable with RHEL based distros - but that 
 just my preference.

 In addition, this would be a good learning experience and I plan to 
 document on how to create your custom system offerings. I also plan to 
 add on more features than whats currently available - one of them 
 being nginx - and more to come as need arises.  The end goal is to 
 have an automated solution using kickstart scripts that will be easy 
 to upgrade and built on any platform.

 I could probably reverse engineer the existing System Offerings - but 
 anything that could save my time in this effort - would be truly 
 appreciated.

 With this in mind - I'm looking for any existing documentation that 
 would describe the steps in achieving this goal.

 If you would like to join me in this effort - please let me know.

 Thanks
 ilya



Email Conventions

2012-12-12 Thread Donal Lafferty
As a rule of thumb, should my responses go at the top or a quoted email, the 
bottom or inline?

DL



RE: CentOS System Offering Thread

2012-12-12 Thread Donal Lafferty
1.  Can you remind me of the download link for the Wheezy systemVM?  I've only 
seen Squeeze.

2.  In addition to a Debian system VM, I'd like to see one and only one CentOS 
VM in addition to Debian.  I get the impression that CentOS has a different and 
desirable licensing regime, but do correct me if I'm wrong.
 
DL
 
-Original Message-
From: Musayev, Ilya [mailto:imusa...@webmd.net] 
Sent: 12 December 2012 8:06 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: CentOS System Offering Thread

Joe

Your point is clear and well taken. Nobody wants to be in business of 
maintaining myriad of distros out there for something that should not be 
changed anyway. 

I see two solutions then:

1) update the existing debian wheezy image to reflect latest fixes - which is 
probably something that should do anyway.

2) maybe have a section of  - user submitted and unsupported system 
offerings? We can clearly state - we support 1 type of offering and other 
offerings are optional and unsupported  - but your own responsibility and 
should be used by advanced users only.

Thoughts?

Regards
-ilya

-Original Message-
From: Joe Brockmeier [mailto:j...@zonker.net]
Sent: Wednesday, December 12, 2012 11:02 AM
To: cloudstack-dev@incubator.apache.org
Subject: Re: CentOS System Offering Thread

On Tue, Dec 11, 2012, at 11:32 PM, Marcus Sorensen wrote:
 This is pretty important.  Anyone should be able to roll their own, 
 rather than relying on a single potentially out-of-date image. It 
 seems like it would be pretty simple and straightforward on the face 
 of it, however many of the scripts have been written specifically for 
 Debian. I'd honestly be ok with having to stick to a particular distro 
 if I at least had clear instructions on how to make my own, I 
 understand the need to program against a single defined userspace.

I see a potential problem with this. 

Any scenario where users are customizing part of the stack means additional 
variables which means additional problems. If we target Debian, trying to 
create a system VM from CentOS/RHEL means different libraries, etc. - which 
means a number of potential problems cropping up where there were none before.

I'm not saying users *shouldn't* be able to do this - just that I haven't 
noticed anyone raising the issue that we'll probably start seeing a fair number 
more bugs if replacing the system VM becomes a standard practice. There's a 
reason, for instance, that Linux vendors don't support custom kernels - and 
what's being proposed here is swapping out an entire OS. 

It's going to make things a bit more tricky when someone reports a bug and 
they're using a roll-your-own system VM and the people doing the testing are 
using a different one. 

Again - not saying we shouldn't do this, but I'd like to see that given a bit 
more consideration when we're discussing the issue. 

Best,

jzb
--
Joe Brockmeier
j...@zonker.net
Twitter: @jzb
http://www.dissociatedpress.net/




RE: CentOS System Offering Thread

2012-12-13 Thread Donal Lafferty
WRT to CentOS.  Did you survey the changes required?  

Would be great to have these on a wiki page for future reference and history 
tracking.


DL


-Original Message-
From: Musayev, Ilya [mailto:imusa...@webmd.net] 
Sent: 12 December 2012 9:33 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: CentOS System Offering Thread

Donal

See response in line..

 1.  Can you remind me of the download link for the Wheezy systemVM?  I've 
 only seen Squeeze.

I confused the names - I think - its squeeze - wheezy is the latest offering 
with 3.x kernel. I guess by now you noticed I'm not debian user :)

 2.  In addition to a Debian system VM, I'd like to see one and only one 
 CentOS VM in addition to Debian.  I get the impression that CentOS has a 
 different and desirable licensing regime, but do correct me if I'm wrong.

I'm under impression CentOS has very liberal licensing structure. I don't 
believe we should have an issue here - but I'm by no means a licensing expert.

I think it's reasonable to have 1 other offering only.. 

Thanks
ilya


-Original Message-
From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
Sent: Wednesday, December 12, 2012 3:34 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: CentOS System Offering Thread

1.  Can you remind me of the download link for the Wheezy systemVM?  I've only 
seen Squeeze.

2.  In addition to a Debian system VM, I'd like to see one and only one CentOS 
VM in addition to Debian.  I get the impression that CentOS has a different and 
desirable licensing regime, but do correct me if I'm wrong.
 
DL
 
-Original Message-
From: Musayev, Ilya [mailto:imusa...@webmd.net]
Sent: 12 December 2012 8:06 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: CentOS System Offering Thread

Joe

Your point is clear and well taken. Nobody wants to be in business of 
maintaining myriad of distros out there for something that should not be 
changed anyway. 

I see two solutions then:

1) update the existing debian wheezy image to reflect latest fixes - which is 
probably something that should do anyway.

2) maybe have a section of  - user submitted and unsupported system 
offerings? We can clearly state - we support 1 type of offering and other 
offerings are optional and unsupported  - but your own responsibility and 
should be used by advanced users only.

Thoughts?

Regards
-ilya

-Original Message-
From: Joe Brockmeier [mailto:j...@zonker.net]
Sent: Wednesday, December 12, 2012 11:02 AM
To: cloudstack-dev@incubator.apache.org
Subject: Re: CentOS System Offering Thread

On Tue, Dec 11, 2012, at 11:32 PM, Marcus Sorensen wrote:
 This is pretty important.  Anyone should be able to roll their own, 
 rather than relying on a single potentially out-of-date image. It 
 seems like it would be pretty simple and straightforward on the face 
 of it, however many of the scripts have been written specifically for 
 Debian. I'd honestly be ok with having to stick to a particular distro 
 if I at least had clear instructions on how to make my own, I 
 understand the need to program against a single defined userspace.

I see a potential problem with this. 

Any scenario where users are customizing part of the stack means additional 
variables which means additional problems. If we target Debian, trying to 
create a system VM from CentOS/RHEL means different libraries, etc. - which 
means a number of potential problems cropping up where there were none before.

I'm not saying users *shouldn't* be able to do this - just that I haven't 
noticed anyone raising the issue that we'll probably start seeing a fair number 
more bugs if replacing the system VM becomes a standard practice. There's a 
reason, for instance, that Linux vendors don't support custom kernels - and 
what's being proposed here is swapping out an entire OS. 

It's going to make things a bit more tricky when someone reports a bug and 
they're using a roll-your-own system VM and the people doing the testing are 
using a different one. 

Again - not saying we shouldn't do this, but I'd like to see that given a bit 
more consideration when we're discussing the issue. 

Best,

jzb
--
Joe Brockmeier
j...@zonker.net
Twitter: @jzb
http://www.dissociatedpress.net/






RE: CentOS System Offering Thread

2012-12-13 Thread Donal Lafferty
The choice of 32-bit OS may be to support legacy servers, but I really don't 
know.


-Original Message-
From: Musayev, Ilya [mailto:imusa...@webmd.net] 
Sent: 13 December 2012 4:50 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: CentOS System Offering Thread

I did.. reviewed buildsystemvm.sh script - seems self-explanatory.  

There are 2 major parts to this task as I see it.

Part1
System Image Side:
We  need to alter the debootsrap to mock and change debian specific configs 
to redhat.  Once functional - I need to create 3 versions of the template for 
VmWare, Xen and KVM. I have VmWare in house - no Xen/KVM yet - we can deal with 
this - once I get there.

Part2
Systemvm.iso will need to be updated and include rhel version of the patch 
scripts we run on power on. 


What is the reason for running 32bit OS vs 64? Are we open to changing that to 
64bit - which would probably benefit very large implementations using basic 
zones. Or should we keep it 32 bit for consistency reason?

-Original Message-
From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
Sent: Thursday, December 13, 2012 7:47 AM
To: cloudstack-dev@incubator.apache.org
Subject: RE: CentOS System Offering Thread

WRT to CentOS.  Did you survey the changes required?  

Would be great to have these on a wiki page for future reference and history 
tracking.


DL


-Original Message-
From: Musayev, Ilya [mailto:imusa...@webmd.net]
Sent: 12 December 2012 9:33 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: CentOS System Offering Thread

Donal

See response in line..

 1.  Can you remind me of the download link for the Wheezy systemVM?  I've 
 only seen Squeeze.

I confused the names - I think - its squeeze - wheezy is the latest offering 
with 3.x kernel. I guess by now you noticed I'm not debian user :)

 2.  In addition to a Debian system VM, I'd like to see one and only one 
 CentOS VM in addition to Debian.  I get the impression that CentOS has a 
 different and desirable licensing regime, but do correct me if I'm wrong.

I'm under impression CentOS has very liberal licensing structure. I don't 
believe we should have an issue here - but I'm by no means a licensing expert.

I think it's reasonable to have 1 other offering only.. 

Thanks
ilya


-Original Message-
From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
Sent: Wednesday, December 12, 2012 3:34 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: CentOS System Offering Thread

1.  Can you remind me of the download link for the Wheezy systemVM?  I've only 
seen Squeeze.

2.  In addition to a Debian system VM, I'd like to see one and only one CentOS 
VM in addition to Debian.  I get the impression that CentOS has a different and 
desirable licensing regime, but do correct me if I'm wrong.
 
DL
 
-Original Message-
From: Musayev, Ilya [mailto:imusa...@webmd.net]
Sent: 12 December 2012 8:06 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: CentOS System Offering Thread

Joe

Your point is clear and well taken. Nobody wants to be in business of 
maintaining myriad of distros out there for something that should not be 
changed anyway. 

I see two solutions then:

1) update the existing debian wheezy image to reflect latest fixes - which is 
probably something that should do anyway.

2) maybe have a section of  - user submitted and unsupported system 
offerings? We can clearly state - we support 1 type of offering and other 
offerings are optional and unsupported  - but your own responsibility and 
should be used by advanced users only.

Thoughts?

Regards
-ilya

-Original Message-
From: Joe Brockmeier [mailto:j...@zonker.net]
Sent: Wednesday, December 12, 2012 11:02 AM
To: cloudstack-dev@incubator.apache.org
Subject: Re: CentOS System Offering Thread

On Tue, Dec 11, 2012, at 11:32 PM, Marcus Sorensen wrote:
 This is pretty important.  Anyone should be able to roll their own, 
 rather than relying on a single potentially out-of-date image. It 
 seems like it would be pretty simple and straightforward on the face 
 of it, however many of the scripts have been written specifically for 
 Debian. I'd honestly be ok with having to stick to a particular distro 
 if I at least had clear instructions on how to make my own, I 
 understand the need to program against a single defined userspace.

I see a potential problem with this. 

Any scenario where users are customizing part of the stack means additional 
variables which means additional problems. If we target Debian, trying to 
create a system VM from CentOS/RHEL means different libraries, etc. - which 
means a number of potential problems cropping up where there were none before.

I'm not saying users *shouldn't* be able to do this - just that I haven't 
noticed anyone raising the issue that we'll probably start seeing a fair number 
more bugs if replacing the system VM becomes a standard practice. There's a 
reason, for instance, that Linux vendors don't support

RE: CentOS System Offering Thread

2012-12-13 Thread Donal Lafferty
Hi Chiradeep, 

To clear up some confusion, does the current script (buildsystemvm.sh) run as 
part of the maven build?

Again, to clear up some confusion, can you comment on whether buildsystem.sh 
adds pv-drivers need to a System VM?  I was confused by comments last week 
about whether the VMM-specific tools/guest additions/integration services were 
required to be installed for a system VM to operate properly.

DL


-Original Message-
From: Chiradeep Vittal [mailto:chiradeep.vit...@citrix.com] 
Sent: 13 December 2012 11:00 PM
To: CloudStack DeveloperList
Subject: Re: CentOS System Offering Thread

Yes, it is for performance reasons.
CentOS
 -has a different place for network init scripts  -has a different 
initialization scheme (chkconfig vs LSB init)  -has a different place to 
initialize iptables

Centos also may use GRUB-legacy vs GRUB2 for booting.
The current systemvm uses GRUB-legacy since XS 5.6 only supported GRUB-legacy, 
but it might be time to move on.

A more suitable systemvm build script might be based on veewee/vagrant, along 
with qemu-img to do the final conversion to vhd/qcow2

--
Chiradeep

On 12/13/12 10:29 AM, Anthony Xu xuefei...@citrix.com wrote:

32-bit PV might have better performance than 64-bit PV on XEN, In 64 
bit mode, there are only ring 0 and ring 3, both Guest OS and guest 
application are running on ring3 , application system call needs to be 
trapped into hypervisor and then be injected into guest OS.
In 32 bit mode, there are ring 0, 1, 2, 3.   Guest OS is running on ring
1, application is running on ring 3, hypervisor doesn't need to trap 
system call.

That might be one of reasons dom0 is 32 bit in XenServer/XCP.

Anthony

 -Original Message-
 From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
 Sent: Thursday, December 13, 2012 10:20 AM
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: CentOS System Offering Thread
 
 The choice of 32-bit OS may be to support legacy servers, but I 
 really don't know.
 
 
 -Original Message-
 From: Musayev, Ilya [mailto:imusa...@webmd.net]
 Sent: 13 December 2012 4:50 PM
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: CentOS System Offering Thread
 
 I did.. reviewed buildsystemvm.sh script - seems self-explanatory.
 
 There are 2 major parts to this task as I see it.
 
 Part1
 System Image Side:
 We  need to alter the debootsrap to mock and change debian 
 specific configs to redhat.  Once functional - I need to create 3 
 versions of the template for VmWare, Xen and KVM. I have VmWare in 
 house - no Xen/KVM yet - we can deal with this - once I get there.
 
 Part2
 Systemvm.iso will need to be updated and include rhel version of the 
 patch scripts we run on power on.
 
 
 What is the reason for running 32bit OS vs 64? Are we open to 
 changing that to 64bit - which would probably benefit very large 
 implementations using basic zones. Or should we keep it 32 bit for 
 consistency reason?
 
 -Original Message-
 From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
 Sent: Thursday, December 13, 2012 7:47 AM
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: CentOS System Offering Thread
 
 WRT to CentOS.  Did you survey the changes required?
 
 Would be great to have these on a wiki page for future reference and 
 history tracking.
 
 
 DL
 
 
 -Original Message-
 From: Musayev, Ilya [mailto:imusa...@webmd.net]
 Sent: 12 December 2012 9:33 PM
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: CentOS System Offering Thread
 
 Donal
 
 See response in line..
 
  1.  Can you remind me of the download link for the Wheezy systemVM?
 I've only seen Squeeze.
 
 I confused the names - I think - its squeeze - wheezy is the latest 
 offering with 3.x kernel. I guess by now you noticed I'm not debian 
 user :)
 
  2.  In addition to a Debian system VM, I'd like to see one and 
  only
 one CentOS VM in addition to Debian.  I get the impression that 
 CentOS has a different and desirable licensing regime, but do correct 
 me if I'm wrong.
 
 I'm under impression CentOS has very liberal licensing structure. I 
 don't believe we should have an issue here - but I'm by no means a 
 licensing expert.
 
 I think it's reasonable to have 1 other offering only..
 
 Thanks
 ilya
 
 
 -Original Message-
 From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
 Sent: Wednesday, December 12, 2012 3:34 PM
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: CentOS System Offering Thread
 
 1.  Can you remind me of the download link for the Wheezy systemVM?
 I've only seen Squeeze.
 
 2.  In addition to a Debian system VM, I'd like to see one and only 
 one CentOS VM in addition to Debian.  I get the impression that 
 CentOS has a different and desirable licensing regime, but do correct 
 me if I'm wrong.
 
 DL
 
 -Original Message-
 From: Musayev, Ilya [mailto:imusa...@webmd.net]
 Sent: 12 December 2012 8:06 PM
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: CentOS

Adding .NET/C# client to project

2012-12-13 Thread Donal Lafferty
Where do client libraries go in the source tree?  Does it matter if they're not 
written in Java?

The background is that there's a .NET SDK that can be added to the project.  
Architecturally, its similar to AWS' .NET SDK.  Now, not all API calls are 
covered, but the API calls supported provide a guide adding additional support.




RE: '[PROPOSAL]' Third party plugins

2012-12-13 Thread Donal Lafferty
I've a question on terminology.

Are these 'GUI plugins' going to use the same component.xml class loader as 
existing plugins?  If not, can we pick different names for each approach to 
providing a plugin?  E.g. 'GUI plugins' and 'driver plugins'?

DL


-Original Message-
From: Pranav Saxena [mailto:pranav.sax...@citrix.com] 
Sent: 13 December 2012 10:22 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: '[PROPOSAL]' Third party plugins

Currently , we haven't discussed access based scenario for a plugin . But yes , 
this won't be a tough thing to incorporate. We can enable /disable a UI plugin 
based on admin or a normal user .

Regards,
Pranav

-Original Message-
From: Fang Wang [mailto:fang.w...@citrix.com]
Sent: Thursday, December 13, 2012 11:46 AM
To: cloudstack-dev@incubator.apache.org
Subject: RE: '[PROPOSAL]' Third party plugins

This is a silly question, Do we allow all plugins to have same access role?  
OR some plugins have admin access, and some plugins for users only? 

Thanks,
-Fang

-Original Message-
From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com]
Sent: Thursday, December 13, 2012 10:52 AM
To: cloudstack-dev@incubator.apache.org
Subject: RE: '[PROPOSAL]' Third party plugins

Sonny

How does administrator enable/ disable the plugin if it is misbehaving because 
of bug or let's say after upgrade? 

 -Original Message-
 From: Fang Wang [mailto:fang.w...@citrix.com]
 Sent: Thursday, December 13, 2012 10:11 AM
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: '[PROPOSAL]' Third party plugins
 
 I like the idea of the plugin button so users can see all the plugins.
 
 -Original Message-
 From: Sonny Chhen [mailto:sonny.ch...@citrix.com]
 Sent: Wednesday, December 12, 2012 4:01 PM
 To: cloudstack-dev@incubator.apache.org
 Cc: Brian Federle; Pranav Saxena
 Subject: '[PROPOSAL]' Third party plugins
 
 Hello All,
 
 I would like to discuss a new feature that is being worked on for the 
 next release of CloudStack. It is the ability to add third party 
 plugins into CloudStack while still utilizing the current ui. The 
 procedure in which this would occur is as follows:
 
 
 1.   The developer  will write a plugin that they would like to add into
 CloudStack
 
 2.Using a predetermined file hierarchy we create, the developer will
 place their plugin within the folder structure and fill out a 
 plugin.js file
 
 3.   The admin will then place this folder into the existing CloudStack
 plugin
 
 4.   The admin will then add this new listing onto the plugin.js file 
 that lies
 within that folder
 
 5.   The user then just has to refresh the browser and the plugin will be
 available to use.
 
 We will be toying with the idea of adding a plugin button to the 
 navigation so that the user can see what plugins have been installed 
 and click on them to access them.
 
 Please see the link below for more information.
 
 https://cwiki.apache.org/confluence/download/attachments/30744936/plug
 in.jpg
 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/3rd+Party+Plugi
 n
 
 Thoughts, comments, suggestions?
 
 Thanks You and Best Regards,
 
 Sonny H. Chhen
 Manager of User Interface  User Experience | Citrix Systems - 
 CloudPlatform
 4988 Great America Parkway, Santa Clara, CA  95054, USA



RE: Adding .NET/C# client to project

2012-12-14 Thread Donal Lafferty
The library was developed in Citrix to simplify accessing the CS API from C#.  
The intent is to release code under the ASLv2.0 license.

The addition would follow community processes, which includes posting a feature 
spec on wiki, announcing this to community, answering questions on design, 
proposing code for review, and providing docs.

However, I wanted to know in advance how the code was going to fit in with the 
existing code base.

-Original Message-
From: Prasanna Santhanam [mailto:prasanna.santha...@citrix.com] 
Sent: 14 December 2012 12:01 AM
To: cloudstack-dev@incubator.apache.org
Subject: Re: Adding .NET/C# client to project

On Fri, Dec 14, 2012 at 05:18:30AM +0530, Donal Lafferty wrote:
 Where do client libraries go in the source tree?  Does it matter if 
 they're not written in Java?
 
 The background is that there's a .NET SDK that can be added to the 
 project.  Architecturally, its similar to AWS' .NET SDK.  Now, not all 
 API calls are covered, but the API calls supported provide a guide 
 adding additional support.
 

What .NET library and what license? Is the plan to include the binary to the 
codebase?

--
Prasanna.,


RE: '[PROPOSAL]' Third party plugins

2012-12-14 Thread Donal Lafferty
Okay, but I'd like a way of distinguishing in speech and text this new way of 
extending CloudStack from the existing way.  

-Original Message-
From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com] 
Sent: 14 December 2012 2:05 AM
To: cloudstack-dev@incubator.apache.org
Subject: Re: '[PROPOSAL]' Third party plugins

Isn't there a use case for a plugin that has both server and  GUI components? 
May be we should keep the name generic. 

Thanks
Animesh

On Dec 13, 2012, at 5:08 PM, Pranav Saxena pranav.sax...@citrix.com wrote:

 Yeah , we can pick  different names for each plugin . I am not sure if we'll 
 keep a specific format for the naming . All what is required is mapping to a  
 unique ID associated with that plugin which would take care of adding a third 
 party plugin to the cloudstack dashboard.
 
 Regards,
 Pranav
 
 -Original Message-
 From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
 Sent: Thursday, December 13, 2012 3:53 PM
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: '[PROPOSAL]' Third party plugins
 
 I've a question on terminology.
 
 Are these 'GUI plugins' going to use the same component.xml class loader as 
 existing plugins?  If not, can we pick different names for each approach to 
 providing a plugin?  E.g. 'GUI plugins' and 'driver plugins'?
 
 DL
 
 
 -Original Message-
 From: Pranav Saxena [mailto:pranav.sax...@citrix.com]
 Sent: 13 December 2012 10:22 PM
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: '[PROPOSAL]' Third party plugins
 
 Currently , we haven't discussed access based scenario for a plugin . But yes 
 , this won't be a tough thing to incorporate. We can enable /disable a UI 
 plugin based on admin or a normal user .
 
 Regards,
 Pranav
 
 -Original Message-
 From: Fang Wang [mailto:fang.w...@citrix.com]
 Sent: Thursday, December 13, 2012 11:46 AM
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: '[PROPOSAL]' Third party plugins
 
 This is a silly question, Do we allow all plugins to have same access role?  
 OR some plugins have admin access, and some plugins for users only? 
 
 Thanks,
 -Fang
 
 -Original Message-
 From: Animesh Chaturvedi [mailto:animesh.chaturv...@citrix.com]
 Sent: Thursday, December 13, 2012 10:52 AM
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: '[PROPOSAL]' Third party plugins
 
 Sonny
 
 How does administrator enable/ disable the plugin if it is misbehaving 
 because of bug or let's say after upgrade? 
 
 -Original Message-
 From: Fang Wang [mailto:fang.w...@citrix.com]
 Sent: Thursday, December 13, 2012 10:11 AM
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: '[PROPOSAL]' Third party plugins
 
 I like the idea of the plugin button so users can see all the plugins.
 
 -Original Message-
 From: Sonny Chhen [mailto:sonny.ch...@citrix.com]
 Sent: Wednesday, December 12, 2012 4:01 PM
 To: cloudstack-dev@incubator.apache.org
 Cc: Brian Federle; Pranav Saxena
 Subject: '[PROPOSAL]' Third party plugins
 
 Hello All,
 
 I would like to discuss a new feature that is being worked on for the 
 next release of CloudStack. It is the ability to add third party 
 plugins into CloudStack while still utilizing the current ui. The 
 procedure in which this would occur is as follows:
 
 
 1.   The developer  will write a plugin that they would like to add into
 CloudStack
 
 2.Using a predetermined file hierarchy we create, the developer will
 place their plugin within the folder structure and fill out a 
 plugin.js file
 
 3.   The admin will then place this folder into the existing CloudStack
 plugin
 
 4.   The admin will then add this new listing onto the plugin.js file 
 that lies
 within that folder
 
 5.   The user then just has to refresh the browser and the plugin will be
 available to use.
 
 We will be toying with the idea of adding a plugin button to the 
 navigation so that the user can see what plugins have been installed 
 and click on them to access them.
 
 Please see the link below for more information.
 
 https://cwiki.apache.org/confluence/download/attachments/30744936/plu
 g
 in.jpg
 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/3rd+Party+Plug
 i
 n
 
 Thoughts, comments, suggestions?
 
 Thanks You and Best Regards,
 
 Sonny H. Chhen
 Manager of User Interface  User Experience | Citrix Systems - 
 CloudPlatform
 4988 Great America Parkway, Santa Clara, CA  95054, USA
 


RE: Adding .NET/C# client to project

2012-12-14 Thread Donal Lafferty
Collocation with CLI seems intuitive.

AFAIK, you can build a cmdlet library on to of the SDK.  This would have to be 
done in a follow up project.


DL
 

-Original Message-
From: Koushik Das [mailto:koushik@citrix.com] 
Sent: 14 December 2012 4:07 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: Adding .NET/C# client to project

Donal,

There is already a CLI tool that Rohit had written. The C# client can also go 
in there and have a similar hierarchy in the source tree.
BTW, have you considered making it Powershell cmdlets instead?

Thanks,
Koushik

-Original Message-
From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
Sent: Friday, December 14, 2012 5:23 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: Adding .NET/C# client to project

The library was developed in Citrix to simplify accessing the CS API from C#.  
The intent is to release code under the ASLv2.0 license.

The addition would follow community processes, which includes posting a feature 
spec on wiki, announcing this to community, answering questions on design, 
proposing code for review, and providing docs.

However, I wanted to know in advance how the code was going to fit in with the 
existing code base.

-Original Message-
From: Prasanna Santhanam [mailto:prasanna.santha...@citrix.com]
Sent: 14 December 2012 12:01 AM
To: cloudstack-dev@incubator.apache.org
Subject: Re: Adding .NET/C# client to project

On Fri, Dec 14, 2012 at 05:18:30AM +0530, Donal Lafferty wrote:
 Where do client libraries go in the source tree?  Does it matter if 
 they're not written in Java?
 
 The background is that there's a .NET SDK that can be added to the 
 project.  Architecturally, its similar to AWS' .NET SDK.  Now, not all 
 API calls are covered, but the API calls supported provide a guide 
 adding additional support.
 

What .NET library and what license? Is the plan to include the binary to the 
codebase?

--
Prasanna.,


RE: Changes to the wiki

2012-12-20 Thread Donal Lafferty
Okay, some user feedback...

Would prefer not to land on the cwiki 'Index' page.  

E.g. Wikipedia tells people the project page is  http://cloudstack.org/ , which 
redirects to http://incubator.apache.org/cloudstack/   From here, you clikc 
'Apache CloudStack Wiki and get to 
http://cwiki.apache.org/confluence/display/CLOUDSTACK/Index , which is the 
index.

Would prefer faster page.  It takes 30s (I timed it) for the link about to 
load.  I think this is specific to the 'index' page, but I could be wrong. 

Finally, and apologies if this is covered under a thread earlier this week, 
where do all things related to a feature go?  E.g. I'd like to note the setup 
instructions for Hyper-V dev environment.  This isn't quite design, but it is a 
developer thing.  Should I put a child under the design, or should there be a 
feature specific page?

DL


 
-Original Message-
From: Alex Huang [mailto:alex.hu...@citrix.com] 
Sent: 19 December 2012 9:54 PM
To: cloudstack-dev@incubator.apache.org
Subject: RE: Changes to the wiki

 
 The top level structure is clean now, but we still have a bit of a 
 mess within the top sections.  It might make sense to have people sign 
 up to clean/up and structure each top level section.  I'll start by 
 doing the Releases section (which, yes, I know is easy).

Yes.  Each top level section requires someone to go through and think about 
what that type of user wants to see and add pages for them.  For example, under 
operators(which I welcome a better name, maybe Administrators?), I can see at 
least Deploying tips, Debugging tips, Dealing with bugs, FAQ, Deployment 
Stories, Use cases, etc as top level page.

Like I said in a previous email, I had wanted the current top level pages to be 
tabs with table of content inside each tab but I just couldn't find a way to do 
it that way, at least not with my privileges on confluence.

--Alex


[DISCUSS] StartCommand UUID

2012-12-20 Thread Donal Lafferty
In a plugin that processes the StartCommand command, what are the constraints 
on the id, uuid and name fields?

E.g. how unique is each field?

The background is that I've been using name as the VM identifier on Hyper-V, 
but it occurs to me that I should probably be using UUID.



[DISCUSS] StopCommand

2012-12-20 Thread Donal Lafferty
Is StopCommand meant to release resources associated with a VM save the volumes 
in one operation?

E.g. should it complete only after the VM has come to a complete stop?


RE: Feature proposals and testing

2012-12-23 Thread Donal Lafferty
Okay, so here's a question on reuse.

Are there sample hypervisor control commands in the code base?

At the moment, I dump JSON versions of commands to log, and use this JSON as 
the basis of my unit tests.  To save time, I'd like access to permutations of 
existing command objects and the sequence that they're called in.  E.g. for new 
VM you should see a CreateCommand before a StartCommand.

Can anyone point to a map or list of reusable tests in the code base?  For now, 
reuse in the sense of copy/paste/hack would suffice.


DL

-Original Message-
From: David Nalley [mailto:da...@gnsa.us] 
Sent: 22 December 2012 12:17 AM
To: cloudstack-dev@incubator.apache.org
Subject: Feature proposals and testing

Hi folks:

I've seen a number of feature proposals coming through in the past week. Almost 
universally there seems to be almost zero discussion of testing for the 
proposed features.

I personally, do not consider a feature to complete without a plan to test - 
and almost certainly in automated test format via marvin. For most features I'd 
also consider it incomplete without significant unit test coverage.

Please make sure you have a plan that focuses on testing all these wonderful 
new features you are writing.

--David


RE: CloudStack Hyper V support

2013-01-12 Thread Donal Lafferty
Hi Chip,

How timely.  I'm due to publish an update for Monday.

I would like the community to comment on 'design notes'.  E.g. secondary 
storage strategy given that there's no NFS client native to Hyper-V Server 
2012, and networking strategy, given that I'm using a XenServer cluster for my 
system VMs.  Is it best to put these on the cwiki as children of the feature 
spec?

I would also like people familiar with QA to comment on the unit test strategy. 
 Is this best brought up at next Tuesday's design meeting?

Finally, can anyone comment on integrating to Master?  To keep the target 
stable, I use an offline maven repo circa mid-December.  I'll have to update my 
source to target the updated API commands.  Are there any cuts of Master that 
are more stable than others?


DL


-Original Message-
From: Chip Childers [mailto:chip.child...@sungard.com] 
Sent: 11 January 2013 9:12 PM
To: cloudstack-dev@incubator.apache.org
Subject: Fwd: CloudStack Hyper V support

Donal,

Forgive the forward from -users to -dev.  How's this work going?  Is there 
something that the community can help review / comment on?


-- Forwarded message --
From: Donal Lafferty donal.laffe...@citrix.com
Date: Wed, Dec 12, 2012 at 4:20 AM
Subject: RE: CloudStack Hyper V support
To: Pranav Saxena pranav.sax...@citrix.com, 
cloudstack-us...@incubator.apache.org
cloudstack-us...@incubator.apache.org


We're looking at February.

There was a presentation at CloudStack Collab.  I'll get you think link.

DL


-Original Message-
From: Pranav Saxena
Sent: 12 December 2012 7:05 AM
To: cloudstack-us...@incubator.apache.org
Cc: Donal Lafferty
Subject: RE: CloudStack Hyper V support

Donal is working on this and can update you more upon the time span  .
Here's the functional spec wiki link highlighting the details for Hyper-V 
integration with Cloudstack  -

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Hyper-V+2012+%283.0%29+Support


Regards,
Pranav

-Original Message-
From: isaac_chi...@trend.com.tw [mailto:isaac_chi...@trend.com.tw]
Sent: Tuesday, December 11, 2012 10:51 PM
To: cloudstack-us...@incubator.apache.org
Subject: CloudStack Hyper V support

Hi all:
Is there any timetable for CloudStack to support Hyper-V?

Thanks  best regards

Isaac




table class=TM_EMAIL_NOTICEtrtdpre
TREND MICRO EMAIL NOTICE
The information contained in this email and any attachments is confidential and 
may be subject to copyright or other intellectual property protection.
If you are not the intended recipient, you are not authorized to use or 
disclose this information, and we request that you notify us by reply mail or 
telephone and delete the original message from your mail system.
/pre/td/tr/table


RE: CloudStack Hyper V support

2013-01-12 Thread Donal Lafferty
Inline :)

 -Original Message-
 From: Alex Huang [mailto:alex.hu...@citrix.com]
 Sent: 12 January 2013 19:29
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: CloudStack Hyper V support
 
 Donal,
 
 Please see inline.
 
  -Original Message-
  From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
  Sent: Saturday, January 12, 2013 5:02 AM
  To: cloudstack-dev@incubator.apache.org
  Subject: RE: CloudStack Hyper V support
 
  Hi Chip,
 
  How timely.  I'm due to publish an update for Monday.
 
  I would like the community to comment on 'design notes'.  E.g.
  secondary storage strategy given that there's no NFS client native to
  Hyper-V Server 2012, and networking strategy, given that I'm using a
  XenServer cluster for my system VMs.  Is it best to put these on the
  cwiki as children of the feature spec?
 
 I think you can outline those inside your spec itself.  What's your road map 
 to
 getting everything supported.

'k

 
  I would also like people familiar with QA to comment on the unit test
 strategy.
  Is this best brought up at next Tuesday's design meeting?
 
 QA doesn't do unit test.  You will have to do it.  We can certainly discuss 
 it on
 the meeting.

I wrote unit tests for each command being implemented.  

The question is do I need an extra layer to cover use-cases?  In that case, 
what use cases are other hypervisor plugins covering?

 
 
  Finally, can anyone comment on integrating to Master?  To keep the
  target stable, I use an offline maven repo circa mid-December.  I'll
  have to update my source to target the updated API commands.  Are
  there any cuts of Master that are more stable than others?
 
 I think it's been brought to light that ACS community prefers that repos are
 not offline.  Is it possible to move it to github?  I don't think any cut of 
 Master
 are going to particularly stable than others unless you go all the way to 4.0.
 We'll have to deal with that after the code freeze date and QA testing.

The plugin code is in github, but not the Apache GitHub.  I used 'maven repo' 
to refer to the binaries that maven downloads.

The reason for using the older repos is to get sample commands for the unit 
tests.  These come from looking at the log files during an integration test.

 
 --Alex


RE: CloudStack Hyper V support

2013-01-14 Thread Donal Lafferty
Updated cwiki to include summary of progress 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Hyper-V+2012+%283.0%29+Support
 

 -Original Message-
 From: Chip Childers [mailto:chip.child...@sungard.com]
 Sent: 11 January 2013 21:12
 To: cloudstack-dev@incubator.apache.org
 Subject: Fwd: CloudStack Hyper V support
 
 Donal,
 
 Forgive the forward from -users to -dev.  How's this work going?  Is there
 something that the community can help review / comment on?
 
 
 -- Forwarded message --
 From: Donal Lafferty donal.laffe...@citrix.com
 Date: Wed, Dec 12, 2012 at 4:20 AM
 Subject: RE: CloudStack Hyper V support
 To: Pranav Saxena pranav.sax...@citrix.com, cloudstack-
 us...@incubator.apache.org
 cloudstack-us...@incubator.apache.org
 
 
 We're looking at February.
 
 There was a presentation at CloudStack Collab.  I'll get you think link.
 
 DL
 
 
 -Original Message-
 From: Pranav Saxena
 Sent: 12 December 2012 7:05 AM
 To: cloudstack-us...@incubator.apache.org
 Cc: Donal Lafferty
 Subject: RE: CloudStack Hyper V support
 
 Donal is working on this and can update you more upon the time span  .
 Here's the functional spec wiki link highlighting the details for Hyper-V
 integration with Cloudstack  -
 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Hyper-
 V+2012+%283.0%29+Support
 
 
 Regards,
 Pranav
 
 -Original Message-
 From: isaac_chi...@trend.com.tw [mailto:isaac_chi...@trend.com.tw]
 Sent: Tuesday, December 11, 2012 10:51 PM
 To: cloudstack-us...@incubator.apache.org
 Subject: CloudStack Hyper V support
 
 Hi all:
 Is there any timetable for CloudStack to support Hyper-V?
 
 Thanks  best regards
 
 Isaac
 
 
 
 
 table class=TM_EMAIL_NOTICEtrtdpre
 TREND MICRO EMAIL NOTICE
 The information contained in this email and any attachments is confidential
 and may be subject to copyright or other intellectual property protection.
 If you are not the intended recipient, you are not authorized to use or
 disclose this information, and we request that you notify us by reply mail or
 telephone and delete the original message from your mail system.
 /pre/td/tr/table


RE: CloudStack Hyper V support

2013-01-17 Thread Donal Lafferty
JIRA ticket created  https://issues.apache.org/jira/browse/CLOUDSTACK-999 

 -Original Message-
 From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
 Sent: 14 January 2013 12:17
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: CloudStack Hyper V support
 
 Updated cwiki to include summary of progress
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Hyper-
 V+2012+%283.0%29+Support
 
  -Original Message-
  From: Chip Childers [mailto:chip.child...@sungard.com]
  Sent: 11 January 2013 21:12
  To: cloudstack-dev@incubator.apache.org
  Subject: Fwd: CloudStack Hyper V support
 
  Donal,
 
  Forgive the forward from -users to -dev.  How's this work going?  Is
  there something that the community can help review / comment on?
 
 
  -- Forwarded message --
  From: Donal Lafferty donal.laffe...@citrix.com
  Date: Wed, Dec 12, 2012 at 4:20 AM
  Subject: RE: CloudStack Hyper V support
  To: Pranav Saxena pranav.sax...@citrix.com, cloudstack-
  us...@incubator.apache.org
  cloudstack-us...@incubator.apache.org
 
 
  We're looking at February.
 
  There was a presentation at CloudStack Collab.  I'll get you think link.
 
  DL
 
 
  -Original Message-
  From: Pranav Saxena
  Sent: 12 December 2012 7:05 AM
  To: cloudstack-us...@incubator.apache.org
  Cc: Donal Lafferty
  Subject: RE: CloudStack Hyper V support
 
  Donal is working on this and can update you more upon the time span  .
  Here's the functional spec wiki link highlighting the details for
  Hyper-V integration with Cloudstack  -
 
  https://cwiki.apache.org/confluence/display/CLOUDSTACK/Hyper-
  V+2012+%283.0%29+Support
 
 
  Regards,
  Pranav
 
  -Original Message-
  From: isaac_chi...@trend.com.tw [mailto:isaac_chi...@trend.com.tw]
  Sent: Tuesday, December 11, 2012 10:51 PM
  To: cloudstack-us...@incubator.apache.org
  Subject: CloudStack Hyper V support
 
  Hi all:
  Is there any timetable for CloudStack to support Hyper-V?
 
  Thanks  best regards
 
  Isaac
 
 
 
 
  table class=TM_EMAIL_NOTICEtrtdpre
  TREND MICRO EMAIL NOTICE
  The information contained in this email and any attachments is
  confidential and may be subject to copyright or other intellectual property
 protection.
  If you are not the intended recipient, you are not authorized to use
  or disclose this information, and we request that you notify us by
  reply mail or telephone and delete the original message from your mail
 system.
  /pre/td/tr/table


RE: CloudStack Hyper V support

2013-01-17 Thread Donal Lafferty
I've minimized the features in order to get into 4.1.  I've a few pieces to 
fix, and as you point out, there are some QA requirements to be met.  Finally, 
I have to make sure I'm sync-ed to Master.

Do you have a link that explains HV kick off?  I'll need to do some work onit.


 -Original Message-
 From: Sudha Ponnaganti [mailto:sudha.ponnaga...@citrix.com]
 Sent: 17 January 2013 18:28
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: CloudStack Hyper V support
 
 I have created subtasks for Doc and QA for this new feature.
 
 Donal,
 
 - Would this feature go in to 4.1?? Need to set fix version.
 - Also would like to see  test results from unit tests ( or any other tests) 
 that
 you have written.
 - Current regression suite can be run on this HV as we run same suites for all
 HVs. Hope the same would be applicable for the features implemented. I will
 check with Rayees and Prasanna to see if this is feasible
 
 Thanks
 /Sudha
 
 
 -Original Message-
 From: Sebastien Goasguen [mailto:run...@gmail.com]
 Sent: Thursday, January 17, 2013 5:49 AM
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: CloudStack Hyper V support
 
 Donal,
 
 Since you are doing the work, maybe you can assign 999 to yourself and set it
 as in progress
 
 -sebastien
 
 On Jan 17, 2013, at 2:08 PM, Donal Lafferty donal.laffe...@citrix.com
 wrote:
 
  JIRA ticket created
  https://issues.apache.org/jira/browse/CLOUDSTACK-999
 
  -Original Message-
  From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
  Sent: 14 January 2013 12:17
  To: cloudstack-dev@incubator.apache.org
  Subject: RE: CloudStack Hyper V support
 
  Updated cwiki to include summary of progress
  https://cwiki.apache.org/confluence/display/CLOUDSTACK/Hyper-
  V+2012+%283.0%29+Support
 
  -Original Message-
  From: Chip Childers [mailto:chip.child...@sungard.com]
  Sent: 11 January 2013 21:12
  To: cloudstack-dev@incubator.apache.org
  Subject: Fwd: CloudStack Hyper V support
 
  Donal,
 
  Forgive the forward from -users to -dev.  How's this work going?  Is
  there something that the community can help review / comment on?
 
 
  -- Forwarded message --
  From: Donal Lafferty donal.laffe...@citrix.com
  Date: Wed, Dec 12, 2012 at 4:20 AM
  Subject: RE: CloudStack Hyper V support
  To: Pranav Saxena pranav.sax...@citrix.com, cloudstack-
  us...@incubator.apache.org
  cloudstack-us...@incubator.apache.org
 
 
  We're looking at February.
 
  There was a presentation at CloudStack Collab.  I'll get you think link.
 
  DL
 
 
  -Original Message-
  From: Pranav Saxena
  Sent: 12 December 2012 7:05 AM
  To: cloudstack-us...@incubator.apache.org
  Cc: Donal Lafferty
  Subject: RE: CloudStack Hyper V support
 
  Donal is working on this and can update you more upon the time span  .
  Here's the functional spec wiki link highlighting the details for
  Hyper-V integration with Cloudstack  -
 
  https://cwiki.apache.org/confluence/display/CLOUDSTACK/Hyper-
  V+2012+%283.0%29+Support
 
 
  Regards,
  Pranav
 
  -Original Message-
  From: isaac_chi...@trend.com.tw [mailto:isaac_chi...@trend.com.tw]
  Sent: Tuesday, December 11, 2012 10:51 PM
  To: cloudstack-us...@incubator.apache.org
  Subject: CloudStack Hyper V support
 
  Hi all:
 Is there any timetable for CloudStack to support Hyper-V?
 
  Thanks  best regards
 
  Isaac
 
 
 
 
  table class=TM_EMAIL_NOTICEtrtdpre
  TREND MICRO EMAIL NOTICE
  The information contained in this email and any attachments is
  confidential and may be subject to copyright or other intellectual
  property
  protection.
  If you are not the intended recipient, you are not authorized to use
  or disclose this information, and we request that you notify us by
  reply mail or telephone and delete the original message from your
  mail
  system.
  /pre/td/tr/table



RE: [SCREENCAST] request for screencast to demo features

2013-01-18 Thread Donal Lafferty
Tips?  

I use Camtasia to record.  I suggest flipping back and fore between a 
powerpoint that sets the context for what you're doing, and the CloudStack GUI 
/ shell / tool that you are demonstrating.

 -Original Message-
 From: prasanna [mailto:srivatsav.prasa...@gmail.com] On Behalf Of
 Prasanna Santhanam
 Sent: 18 January 2013 09:38
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: [SCREENCAST] request for screencast to demo features
 
 On Fri, Jan 18, 2013 at 02:57:46PM +0530, Sebastien Goasguen wrote:
  Hi everyone,
 
  With tons of new features being worked on, it would be nice if the
 developers of a particular feature could record a screencast to demo what
 they have done.
  I understand that there is the wiki but more often than not the
 documentation is lagging.
 
  Screencasts would help with writing documentation and also demo those
 features for users.
 
  For instance I would love to see screencasts on:
  -nicira
  -ceph
  -S3 integration
  -caringo
  -devcloud-kvm
 
 Will include a marvin screencast once I'm done refactoring to show how tests
 can be written. Do you have a tips page/tutorial on doing a screencast? I
 think we write the transcript before the recording?
 
 --
 Prasanna.,


RE: Build SystemVM template

2013-01-18 Thread Donal Lafferty
You might want to check the XenServer support.

I had problems with detaching VDIs on Wheezy on XenServer March/April 2012.  
There was no reason to report the problem at the time, because XenServer didn't 
cite Wheezy as a supported guest OS.  Also, I expect I was using an older build.

DL

 -Original Message-
 From: Rohit Yadav [mailto:rohit.ya...@citrix.com]
 Sent: 18 January 2013 02:47
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: Build SystemVM template
 
 
 On 17-Jan-2013, at 6:10 PM, Sheng Yang sh...@yasker.org wrote:
 
  On Thu, Jan 17, 2013 at 5:07 PM, Rohit Yadav rohit.ya...@citrix.com
 wrote:
  Hi Sheng, we can reuse viewee and vagrant based appliance building code
 for devcloud for systemvm. We can use debian wheezy i386 beta4 for now
 and when it releases in february we can have another round of
 building/testing.
 
  Sure, is there a document for it? Also, I didn't see a release date
  for Wheezy... Do you have reference?
 
 tools/devcloud/README.md (it can have bugs, help fix it wherever you see
 improvement) Once you build systemvm, you can export and convert the
 disk image from vmdk/vhd to qcow2/vhd/vmdk etc.
 Wheezy should release in Feb like the last two releases in 2009 and 2011, but
 it's not confirmed.
 
 Regards.
 
 
  --Sheng
 
  Regards.
 
  On 17-Jan-2013, at 4:18 PM, Sheng Yang sh...@yasker.org wrote:
 
  Hi,
 
  I just found the buildsystemvm.sh won't work, and I need to build a
  new systemvm template for IPv6 support, because we're adding new
  softwares in it.
 
  Apparently due to license issue(I guess),xt_CHECKSUM.ko which is a
  extension of iptables to fix one Debian/Ubuntu DHCP issue. I believe
  the iptables_1.4.8-3local1checksum1_i386.deb(a patched version of
  iptables by us) is also removed, as well as
  xe-guest-utilities_5.6.0-595_i386.deb.
 
  So, what we suppose to do to make systemvm template buildable again?
  I know there are some licenses issues involved, but not quite clear
  on these.
 
  --Sheng
 



RE: Build SystemVM template

2013-01-18 Thread Donal Lafferty
I was using Xen guest tools, but not for a System VM.  Instead, I was using the 
VM to write disk images to volumes from within my CloudStack account. 

Details of the bug are below.  

Changing from Debian 7.0 to Debian6.0.5 appears to have solved problem.


...


Donal Lafferty  -  6/18/12 6:42:10 PM

os.fsync is not properly supported by the underlying Dom0 drivers.  Problem 
seems to be that they do not advertise the feature-flush-cache capability.  
Instead, they advertise feature-barriers, but they do not implement it.  As a 
result, you get the following messages:

Jun 18 23:53:39 debian70min kernel: [  186.884574] blkfront: barrier: empty 
write xvdc op failed
Jun 18 23:53:39 debian70min kernel: [  186.884587] blkfront: xvdc: barrier or 
flush: disabled
Jun 18 23:53:39 debian70min kernel: [  187.355316] vbd vbd-51744: 16 Device in 
use; refusing to close
Jun 18 23:53:39 debian70min kernel: [  187.414507] block xvdc: releasing disk

See https://bugs.launchpad.net/ubuntu/+source/linux/+bug/824089 a good 
description of the issue is in comment #41.

Other references:  http://www.gossamer-threads.com/lists/xen/users/226266 found 
via 
http://xen.1045712.n5.nabble.com/Xen-block-drivers-and-barrier-support-td5709209.html

Donal Lafferty  -  6/22/12 9:10:55 AM

Updated workerVM O/S to Debian6.0.5.  The messages in /var/log now say:

Jun 22 13:53:35 workerVM kernel: [   51.765136] blkfront: xvdc: barriers enabled

Tested that Attach / Detach errors no longer occur.



 -Original Message-
 From: Musayev, Ilya [mailto:imusa...@webmd.net]
 Sent: 18 January 2013 16:47
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: Build SystemVM template
 
 Donal,
 
 Did you have Xen guest tool installed on system VM?
 
 Thanks
 ilya
 
 -Original Message-
 From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
 Sent: Friday, January 18, 2013 6:15 AM
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: Build SystemVM template
 
 You might want to check the XenServer support.
 
 I had problems with detaching VDIs on Wheezy on XenServer March/April
 2012.  There was no reason to report the problem at the time, because
 XenServer didn't cite Wheezy as a supported guest OS.  Also, I expect I was
 using an older build.
 
 DL
 
  -Original Message-
  From: Rohit Yadav [mailto:rohit.ya...@citrix.com]
  Sent: 18 January 2013 02:47
  To: cloudstack-dev@incubator.apache.org
  Subject: Re: Build SystemVM template
 
 
  On 17-Jan-2013, at 6:10 PM, Sheng Yang sh...@yasker.org wrote:
 
   On Thu, Jan 17, 2013 at 5:07 PM, Rohit Yadav
   rohit.ya...@citrix.com
  wrote:
   Hi Sheng, we can reuse viewee and vagrant based appliance building
   code
  for devcloud for systemvm. We can use debian wheezy i386 beta4 for now
  and when it releases in february we can have another round of
  building/testing.
  
   Sure, is there a document for it? Also, I didn't see a release date
   for Wheezy... Do you have reference?
 
  tools/devcloud/README.md (it can have bugs, help fix it wherever you
  see
  improvement) Once you build systemvm, you can export and convert the
  disk image from vmdk/vhd to qcow2/vhd/vmdk etc.
  Wheezy should release in Feb like the last two releases in 2009 and
  2011, but it's not confirmed.
 
  Regards.
 
  
   --Sheng
  
   Regards.
  
   On 17-Jan-2013, at 4:18 PM, Sheng Yang sh...@yasker.org wrote:
  
   Hi,
  
   I just found the buildsystemvm.sh won't work, and I need to build
   a new systemvm template for IPv6 support, because we're adding
 new
   softwares in it.
  
   Apparently due to license issue(I guess),xt_CHECKSUM.ko which is a
   extension of iptables to fix one Debian/Ubuntu DHCP issue. I
   believe the iptables_1.4.8-3local1checksum1_i386.deb(a patched
   version of iptables by us) is also removed, as well as
   xe-guest-utilities_5.6.0-595_i386.deb.
  
   So, what we suppose to do to make systemvm template buildable
 again?
   I know there are some licenses issues involved, but not quite
   clear on these.
  
   --Sheng
  
 
 



RE: [ASF41][QA] Review of Test Plans

2013-01-22 Thread Donal Lafferty
I see only a handful of test plans posted (  
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Test+Plans )

Does this mean that there will be a rush to get them up in the next 9 days?


DL


 -Original Message-
 From: Sudha Ponnaganti [mailto:sudha.ponnaga...@citrix.com]
 Sent: 22 January 2013 11:31
 To: cloudstack-dev@incubator.apache.org
 Subject: [ASF41][QA] Review of Test Plans
 
 Hi All,
 
 I see few QA test plans being posted for review. Pl do review and post your
 comments  i.e you can add comment on wiki page so QA owner would
 include that in to test plan. It is important that feature owner need to sign 
 off
 on test plan.
 
 Due to date to lock down test plans is Jan 31st - Review done and test plans
 updated. Unless there is approved design change, test plans will not be
 modified post this date. See QA project milestones [1]
 
 [1]
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+4.1+
 QA+Plan
 
 Thanks
 /sudha


Updating Register Template UI

2013-01-25 Thread Donal Lafferty
I'd like to add a vhdx image type to the Register template UI.

Is anyone familiar with what this would involve?

E.g. do I need to update a UI, or are RegisterTemplate settings built from the 
database, or do they come from an enum.


DL


Jira Issue for Unit Test Fail? (ApiRateLimitTest)

2013-01-26 Thread Donal Lafferty
I cloned Master to make sure I could build with 'mvn install build'  in Cygwin 
(in a Windows development environment)

In the cloud-plugin-api-limit-account-based, the ApiRateLimitTest fails with 
message:  Failed tests:   
verifySearchCounter(org.apache.cloudstack.ratelimit.ApiRateLimitTest): 
expiredAfter is incorrect

This isn't a known Windows issue, i.e. nothing noted at 
https://cwiki.apache.org/CLOUDSTACK/setting-up-a-cloudstack-dev-environment-on-windows.html

Should I contact the developer directly, create an issue in Jira, both, or 
something else?

DL



RE: Updating Register Template UI

2013-01-26 Thread Donal Lafferty
Got it.

BTW, the moniker for Hyper-V is most annoying.  If only it were 'HyperV' and 
not 'Hyperv', grep would be so much more helpful.


 -Original Message-
 From: Jessica Wang
 Sent: 25 January 2013 22:15
 To: Pranav Saxena; cloudstack-dev@incubator.apache.org
 Cc: Brian Federle; Donal Lafferty
 Subject: RE: Updating Register Template UI
 
 Right.
 
 -Original Message-
 From: Pranav Saxena
 Sent: Friday, January 25, 2013 12:26 PM
 To: cloudstack-dev@incubator.apache.org; Jessica Wang
 Cc: Brian Federle; Donal Lafferty
 Subject: RE: Updating Register Template UI
 
 I think , the UI code needs to be updated here . Currently the type of image
 formats are hardcoded based on the hypervisor types as shown below  -
 
 if(args.hypervisor == XenServer) {
 
  items.push({id:'VHD', description: 'VHD'});
   }
 
 Once the format type is passed to the API call then the API logic would take 
 it
 further . So Donal , in your case , I believe, you are probably asking with
 reference to Hyper-V in mind , you would need to update the UI code or one
 of us can do it for you.
 
 Regards,
 Pranav
 
 -Original Message-
 From: Brian Federle [mailto:brian.fede...@citrix.com]
 Sent: Saturday, January 26, 2013 1:06 AM
 To: cloudstack-dev@incubator.apache.org; Jessica Wang
 Subject: Re: Updating Register Template UI
 
 
 I believe this would have to be added in the API so that the vhdx file type
 would appear in the drop down. I don't think any frontend JS code would
 need to be modified. Jessica, can you confirm this?
 
 On Jan 25, 2013, at 10:03 AM, Donal Lafferty donal.laffe...@citrix.com
 wrote:
 
  I'd like to add a vhdx image type to the Register template UI.
 
  Is anyone familiar with what this would involve?
 
  E.g. do I need to update a UI, or are RegisterTemplate settings built from
 the database, or do they come from an enum.
 
 
  DL


RE: Jira Issue for Unit Test Fail? (ApiRateLimitTest)

2013-01-27 Thread Donal Lafferty
I have a couple of these, and I think they have to do with using a Windows 
environment.

For the one discussed below, I have no domain knowledge.  It seems a better 
idea to get in touch with a developer, which I did by looking at the github to 
see who was committing changes.

The other failing unit test is in the 'cloud-agent'.  Here, I have enough 
knowledge to figure out the problem, or at least narrow down the cause.

WRT to blocking, these tests aren't something that I rely on.  However, as a 
good citizen, I've a duty to publish some sort of work around.

DL


 -Original Message-
 From: prasanna [mailto:srivatsav.prasa...@gmail.com] On Behalf Of
 Prasanna Santhanam
 Sent: 27 January 2013 06:29
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: Jira Issue for Unit Test Fail? (ApiRateLimitTest)
 
 On Sat, Jan 26, 2013 at 05:25:57PM -0500, Donal Lafferty wrote:
  I cloned Master to make sure I could build with 'mvn install build'
  in Cygwin (in a Windows development environment)
 
  In the cloud-plugin-api-limit-account-based, the ApiRateLimitTest
  fails with message:  Failed tests:
  verifySearchCounter(org.apache.cloudstack.ratelimit.ApiRateLimitTest):
  expiredAfter is incorrect
 
  This isn't a known Windows issue, i.e. nothing noted at
  https://cwiki.apache.org/CLOUDSTACK/setting-up-a-cloudstack-dev-
 enviro
  nment-on-windows.html
 
  Should I contact the developer directly, create an issue in Jira,
  both, or something else?
 
 I'm able to build fine with latest master (ddb794d) with mvn clean install. 
 The
 build appears good too - https://builds.apache.org/view/A-
 F/view/Cloudstack/
 
 But for your question - you may post a ticket on jira and alert the list if 
 it's
 blocking you. Or better yet if you can fix it and raise an rb request with 
 your
 fix you get instant karma. :)
 
 --
 Prasanna.,


URLs for Test Automation

2013-01-28 Thread Donal Lafferty
Hyper-V unit tests make use of sample disk images (4meg and 260K)

Rather than put the sample disk images in git, do we have a webserver we can 
locate them at?

DL



RE: Jira Issue for Unit Test Fail? (ApiRateLimitTest)

2013-01-28 Thread Donal Lafferty
Looks like an edge case.

The test takes 0 seconds as measured by System.currentTimeMillis(), because the 
server is fast and Windows has limited accuracy.  See 
https://blogs.oracle.com/dholmes/entry/inside_the_hotspot_vm_clocks

I'll added a 10ms sleep to the test.


DL

 -Original Message-
 From: Min Chen [mailto:min.c...@citrix.com]
 Sent: 27 January 2013 17:21
 To: cloudstack-dev@incubator.apache.org
 Cc: cloudstack-dev@incubator.apache.org
 Subject: Re: Jira Issue for Unit Test Fail? (ApiRateLimitTest)
 
 Thanks Donal for reporting that issue. That is one of my unit testcases, 
 since I
 am using mac, it is always working fine for me. Does anybody out there using
 windows experience the same issue?
 
 -min
 
 Sent from my iPhone
 
 On Jan 27, 2013, at 7:20 AM, Donal Lafferty donal.laffe...@citrix.com
 wrote:
 
  I have a couple of these, and I think they have to do with using a Windows
 environment.
 
  For the one discussed below, I have no domain knowledge.  It seems a
 better idea to get in touch with a developer, which I did by looking at the
 github to see who was committing changes.
 
  The other failing unit test is in the 'cloud-agent'.  Here, I have enough
 knowledge to figure out the problem, or at least narrow down the cause.
 
  WRT to blocking, these tests aren't something that I rely on.  However, as a
 good citizen, I've a duty to publish some sort of work around.
 
  DL
 
 
  -Original Message-
  From: prasanna [mailto:srivatsav.prasa...@gmail.com] On Behalf Of
  Prasanna Santhanam
  Sent: 27 January 2013 06:29
  To: cloudstack-dev@incubator.apache.org
  Subject: Re: Jira Issue for Unit Test Fail? (ApiRateLimitTest)
 
  On Sat, Jan 26, 2013 at 05:25:57PM -0500, Donal Lafferty wrote:
  I cloned Master to make sure I could build with 'mvn install build'
  in Cygwin (in a Windows development environment)
 
  In the cloud-plugin-api-limit-account-based, the ApiRateLimitTest
  fails with message:  Failed tests:
  verifySearchCounter(org.apache.cloudstack.ratelimit.ApiRateLimitTest):
  expiredAfter is incorrect
 
  This isn't a known Windows issue, i.e. nothing noted at
  https://cwiki.apache.org/CLOUDSTACK/setting-up-a-cloudstack-dev-
  enviro
  nment-on-windows.html
 
  Should I contact the developer directly, create an issue in Jira,
  both, or something else?
 
  I'm able to build fine with latest master (ddb794d) with mvn clean
  install. The build appears good too -
  https://builds.apache.org/view/A- F/view/Cloudstack/
 
  But for your question - you may post a ticket on jira and alert the
  list if it's blocking you. Or better yet if you can fix it and raise
  an rb request with your fix you get instant karma. :)
 
  --
  Prasanna.,


RE: [ACS41] Weekly schedule reminder...

2013-01-28 Thread Donal Lafferty
WRT to Hyper-V Plugin,

The public repo at https://github.com/lafferty/cshv3.git contains Phase 1 
source that passes unit tests a basic integration test involving template and 
VM creation.  The repo was synced to Master yesterday.

So, I need to prepare a review and merge request.

Other items:

-Test and document ability to deploy from scratch.
-Remove Hyper-V systemVM entry in existing deployments.  Is this an db upgrade 
step?
-Fill in the QA test plan.


 -Original Message-
 From: Chip Childers [mailto:chip.child...@sungard.com]
 Sent: 28 January 2013 15:15
 To: cloudstack-dev@incubator.apache.org
 Subject: [ACS41] Weekly schedule reminder...
 
 Hi folks!
 
 Weekly schedule reminder.  We are approaching feature freeze on the
 31st, after which I'll cut a release branch that we can work on stabilizing.
 
 A couple of notes...
 
 First - PLEASE help clear out review board.  From what I can tell, we need to
 get everything in before Javelin merges into master (or we have to expect
 that it will require re-working the patches).
 
 Second - The IP clearance process has started for all of the Citrix developed
 features.  Assuming that there are no complaints or issues (which I'm hopeful
 about), the 72 hour window for agreement at the IPMC level will start closing
 for the features tomorrow.  We'll need to move fast to get the code into
 master as these IP clearance threads close out.
 
 -chip


RE: [DISCUSS] HyperV feature (WAS: Re: [ACS41] Weekly schedule reminder...)

2013-01-28 Thread Donal Lafferty
AFAIK, the plugin does not need Windows to compile.  Dependencies not captured 
by Java are encapsulated in Python scripts that are not checked by the build.

Instead, the unit tests are skipped by default.  These tests rely on Hyper-V 
2012, which is not on either Linux or Windows by default.

Did you want Hyper-V to be a default off build option?  It does not seem like 
there is a need, but I can do that.

To make the plug-in more useful, the VHDX image type was added to the set of 
formats accepted by cloud-api.  The agent has to be deployed on the Hyper-V 
server along with Java, Python, and some support Python modules.

Install steps and list of available options (network / secondary storage) needs 
to be captured somewhere.  I was going to follow the Windows Development 
environment example, but I'm open to suggestions.

Finally, should I try to merge sooner rather than later?  I'd like to up the 
unit tests, but I'm conscious that there's not much time left.


DL


 -Original Message-
 From: Chip Childers [mailto:chip.child...@sungard.com]
 Sent: 28 January 2013 16:27
 To: cloudstack-dev@incubator.apache.org
 Subject: [DISCUSS] HyperV feature (WAS: Re: [ACS41] Weekly schedule
 reminder...)
 
 Donal,
 
 A couple of questions.  First, awesome to see that there are good unit tests
 in there.  I seem to remember you mentioning that the HyperV plugin has to
 be compiled on Windows.  Can you confirm this?  If this is the case, can you
 confirm that the plugin is being setup as an optional build target?
 
 Also, what new dependencies are required for this feature to work?
 
 Last, do you need any help / direction on how add build / install
 documentation to the docs?
 
 Thanks for the update!
 
 -chip
 
 On Mon, Jan 28, 2013 at 10:44 AM, Donal Lafferty donal.laffe...@citrix.com
 wrote:
  WRT to Hyper-V Plugin,
 
  The public repo at https://github.com/lafferty/cshv3.git contains Phase 1
 source that passes unit tests a basic integration test involving template and
 VM creation.  The repo was synced to Master yesterday.
 
  So, I need to prepare a review and merge request.
 
  Other items:
 
  -Test and document ability to deploy from scratch.
  -Remove Hyper-V systemVM entry in existing deployments.  Is this an db
 upgrade step?
  -Fill in the QA test plan.


RE: [DISCUSS] HyperV feature (WAS: Re: [ACS41] Weekly schedule reminder...)

2013-01-28 Thread Donal Lafferty
I'm not comfortable with the instructions going into the user guide.  

Setup and deployment will be heavy touch.  A developer's page has an implicit 
warning and the ability to evolve through contribution.

I'll get cracking on a patch.  Better to be on the release train half-dressed 
than waiting four months for the next departure.

DL


 -Original Message-
 From: Chip Childers [mailto:chip.child...@sungard.com]
 Sent: 28 January 2013 20:12
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: [DISCUSS] HyperV feature (WAS: Re: [ACS41] Weekly schedule
 reminder...)
 
 On Mon, Jan 28, 2013 at 3:01 PM, Donal Lafferty donal.laffe...@citrix.com
 wrote:
  AFAIK, the plugin does not need Windows to compile.  Dependencies not
 captured by Java are encapsulated in Python scripts that are not checked by
 the build.
 
 
 My fault, thanks for clarifying!
 
  Instead, the unit tests are skipped by default.  These tests rely on Hyper-V
 2012, which is not on either Linux or Windows by default.
 
  Did you want Hyper-V to be a default off build option?  It does not seem
 like there is a need, but I can do that.
 
 Optional's great for me.  No need to change it.  I was actually confirming 
 that
 it *would be* optional.
 
  To make the plug-in more useful, the VHDX image type was added to the
 set of formats accepted by cloud-api.  The agent has to be deployed on the
 Hyper-V server along with Java, Python, and some support Python modules.
 
  Install steps and list of available options (network / secondary storage)
 needs to be captured somewhere.  I was going to follow the Windows
 Development environment example, but I'm open to suggestions.
 
 
 Installation should probably go into the CloudStack advanced installation
 guide.  You could consider doing a HyperV-specific one first, and we can
 advertise this as tech-preview for now (or not, depending on the level of
 QA we think we can get done).
 
  Finally, should I try to merge sooner rather than later?  I'd like to up 
  the unit
 tests, but I'm conscious that there's not much time left.
 
 
 I'd love if we could get the patch sooner rather than later.  That will let 
 us get
 a first round of feedback!
 
 
  DL
 
 
  -Original Message-
  From: Chip Childers [mailto:chip.child...@sungard.com]
  Sent: 28 January 2013 16:27
  To: cloudstack-dev@incubator.apache.org
  Subject: [DISCUSS] HyperV feature (WAS: Re: [ACS41] Weekly schedule
  reminder...)
 
  Donal,
 
  A couple of questions.  First, awesome to see that there are good
  unit tests in there.  I seem to remember you mentioning that the
  HyperV plugin has to be compiled on Windows.  Can you confirm this?
  If this is the case, can you confirm that the plugin is being setup as an
 optional build target?
 
  Also, what new dependencies are required for this feature to work?
 
  Last, do you need any help / direction on how add build / install
  documentation to the docs?
 
  Thanks for the update!
 
  -chip
 
  On Mon, Jan 28, 2013 at 10:44 AM, Donal Lafferty
  donal.laffe...@citrix.com
  wrote:
   WRT to Hyper-V Plugin,
  
   The public repo at https://github.com/lafferty/cshv3.git contains
   Phase 1
  source that passes unit tests a basic integration test involving
  template and VM creation.  The repo was synced to Master yesterday.
  
   So, I need to prepare a review and merge request.
  
   Other items:
  
   -Test and document ability to deploy from scratch.
   -Remove Hyper-V systemVM entry in existing deployments.  Is this an
   db
  upgrade step?
   -Fill in the QA test plan.
 


Re: Review Request: Hyper-V 2012 Plugin Phase 1

2013-01-28 Thread Donal Lafferty

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

(Updated Jan. 28, 2013, 9:56 p.m.)


Review request for cloudstack, Chip Childers and Alex Huang.


Description
---

First cut of HyperV plugin, cloud-api changes to support VHDX image type, and 
test changes to deal with Windows clock accuracy and URI semantics.
Large size due to inclusion of a disk image used for some of the unit testing.  
Not all unit test dependencies in place.  I'd rather download image files from 
a source than add them to the repo, but haven't found a link for this yet.


This addresses bug CLOUDSTACK-999.


Diffs
-


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


Testing
---


Thanks,

Donal Lafferty



RE: Review Request: Hyper-V 2012 Plugin Phase 1

2013-01-28 Thread Donal Lafferty
The patch was add as a file attachment.

Is that the correct procedure?

DL

 -Original Message-
 From: Donal Lafferty [mailto:nore...@reviews.apache.org] On Behalf Of
 Donal Lafferty
 Sent: 28 January 2013 21:56
 To: Chip Childers; Alex Huang
 Cc: cloudstack; Donal Lafferty
 Subject: Re: Review Request: Hyper-V 2012 Plugin Phase 1
 
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/9126/
 ---
 
 (Updated Jan. 28, 2013, 9:56 p.m.)
 
 
 Review request for cloudstack, Chip Childers and Alex Huang.
 
 
 Description
 ---
 
 First cut of HyperV plugin, cloud-api changes to support VHDX image type,
 and test changes to deal with Windows clock accuracy and URI semantics.
 Large size due to inclusion of a disk image used for some of the unit testing.
 Not all unit test dependencies in place.  I'd rather download image files from
 a source than add them to the repo, but haven't found a link for this yet.
 
 
 This addresses bug CLOUDSTACK-999.
 
 
 Diffs
 -
 
 
 Diff: https://reviews.apache.org/r/9126/diff/
 
 
 Testing
 ---
 
 
 Thanks,
 
 Donal Lafferty



RE: Review Request: Hyper-V 2012 Plugin Phase 1

2013-01-28 Thread Donal Lafferty
Hmm.  I must have created the patch incorrectly.

I'll have to do a bit more reading on patch creation and resubmit.  (tomorrow 
:( )


DL



 -Original Message-
 From: Chip Childers [mailto:chip.child...@sungard.com]
 Sent: 28 January 2013 22:19
 To: Donal Lafferty
 Cc: cloudstack; Alex Huang
 Subject: Re: Review Request: Hyper-V 2012 Plugin Phase 1
 
 It should have been the base diff, not an attachment.  Otherwise we can't
 use reviewboard to actually review the changes.
 
 On Mon, Jan 28, 2013 at 5:12 PM, Donal Lafferty donal.laffe...@citrix.com
 wrote:
  The patch was add as a file attachment.
 
  Is that the correct procedure?
 
  DL
 
  -Original Message-
  From: Donal Lafferty [mailto:nore...@reviews.apache.org] On Behalf Of
  Donal Lafferty
  Sent: 28 January 2013 21:56
  To: Chip Childers; Alex Huang
  Cc: cloudstack; Donal Lafferty
  Subject: Re: Review Request: Hyper-V 2012 Plugin Phase 1
 
 
  ---
  This is an automatically generated e-mail. To reply, visit:
  https://reviews.apache.org/r/9126/
  ---
 
  (Updated Jan. 28, 2013, 9:56 p.m.)
 
 
  Review request for cloudstack, Chip Childers and Alex Huang.
 
 
  Description
  ---
 
  First cut of HyperV plugin, cloud-api changes to support VHDX image
  type, and test changes to deal with Windows clock accuracy and URI
 semantics.
  Large size due to inclusion of a disk image used for some of the unit
 testing.
  Not all unit test dependencies in place.  I'd rather download image
  files from a source than add them to the repo, but haven't found a link for
 this yet.
 
 
  This addresses bug CLOUDSTACK-999.
 
 
  Diffs
  -
 
 
  Diff: https://reviews.apache.org/r/9126/diff/
 
 
  Testing
  ---
 
 
  Thanks,
 
  Donal Lafferty
 


Upload Diff to Review Board fails on 'file not found in the repository'

2013-01-29 Thread Donal Lafferty
Has anyone seen the complaint 'The file file (revision revision) was not 
found in the repository' ?

E.g. I get 'The file agent/src/com/cloud/agent/resource/HypervResource.java 
(revision 8b8e89d) was not found in the repository' when uploading a diff file 
created with git format-patch.

However, that file is part of my diff, and was never in the cloudstack-git 
referenced by my patch.



The background is that I created a patch for the master branch.  E.g.

$ git remote -v
hyperv  https://github.com/lafferty/cshv3.git (fetch)
hyperv  https://github.com/lafferty/cshv3.git (push)
origin  https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git (fetch)
origin  https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git (push)

$ git format-patch origin/master --stdout  ../hyperV-plugin_06.patch

The patch itself describes the creation of the file, an applies index 8b8e89d, 
as show below.

1.7.9


From 13f9c118c724afb52b0694de539b4e1b3c38e7f7 Mon Sep 17 00:00:00 2001
From: U-CC-SVR11\\Administrator Administrator@CC-SVR11.(none)
Date: Thu, 15 Nov 2012 19:19:08 +
Subject: [PATCH 07/96] Starting point for ServerResource for Hyper-V is
DummyResource.

---
.../com/cloud/agent/resource/HypervResource.java   |  227 
1 files changed, 227 insertions(+), 0 deletions(-)
create mode 100755 agent/src/com/cloud/agent/resource/HypervResource.java

diff --git a/agent/src/com/cloud/agent/resource/HypervResource.java 
b/agent/src/com/cloud/agent/resource/HypervResource.java
new file mode 100755
index 000..8b8e89d
--- /dev/null
+++ b/agent/src/com/cloud/agent/resource/HypervResource.java
@@ -0,0 +1,227 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// License); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at


Later, the file index changes when the file is edited.  E.g.

1.7.9


From fef4e3f291264224ed1430b3dff1e49bea7930c9 Mon Sep 17 00:00:00 2001
From: U-CC-SVR11\\Administrator Administrator@CC-SVR11.(none)
Date: Mon, 19 Nov 2012 15:41:26 +
Subject: [PATCH 09/96] Add min messages for host to register with the
management server when it starts up.

---
.../com/cloud/agent/resource/HypervResource.java   |  200 ++-
1 files changed, 189 insertions(+), 11 deletions(-)

diff --git a/agent/src/com/cloud/agent/resource/HypervResource.java 
b/agent/src/com/cloud/agent/resource/HypervResource.java
index 8b8e89d..e810ce4 100755
--- a/agent/src/com/cloud/agent/resource/HypervResource.java
+++ b/agent/src/com/cloud/agent/resource/HypervResource.java
@@ -20,14 +20,15 @@ import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
+import java.util.Set;
import java.util.UUID;


Upload Diff to Review Board fails on 'file not found in the repository'

2013-01-29 Thread Donal Lafferty
Has anyone seen the complaint 'The file file (revision revision) was not 
found in the repository' ?

E.g. I get 'The file agent/src/com/cloud/agent/resource/HypervResource.java 
(revision 8b8e89d) was not found in the repository' when uploading a diff file 
created with git format-patch.

However, that file is part of my diff, and was never in the cloudstack-git 
referenced by my patch.



The background is that I created a patch for the master branch.  E.g.

$ git remote -v
hyperv  https://github.com/lafferty/cshv3.git (fetch)
hyperv  https://github.com/lafferty/cshv3.git (push)
origin  https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git (fetch)
origin  https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git (push)

$ git format-patch origin/master --stdout  ../hyperV-plugin_06.patch

The patch itself describes the creation of the file, an applies index 8b8e89d, 
as show below.

1.7.9


From 13f9c118c724afb52b0694de539b4e1b3c38e7f7 Mon Sep 17 00:00:00 2001
From: U-CC-SVR11\\Administrator Administrator@CC-SVR11.(none)
Date: Thu, 15 Nov 2012 19:19:08 +
Subject: [PATCH 07/96] Starting point for ServerResource for Hyper-V is
DummyResource.

---
.../com/cloud/agent/resource/HypervResource.java   |  227 
1 files changed, 227 insertions(+), 0 deletions(-)
create mode 100755 agent/src/com/cloud/agent/resource/HypervResource.java

diff --git a/agent/src/com/cloud/agent/resource/HypervResource.java 
b/agent/src/com/cloud/agent/resource/HypervResource.java
new file mode 100755
index 000..8b8e89d
--- /dev/null
+++ b/agent/src/com/cloud/agent/resource/HypervResource.java
@@ -0,0 +1,227 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// License); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at


Later, the file index changes when the file is edited.  E.g.

1.7.9


From fef4e3f291264224ed1430b3dff1e49bea7930c9 Mon Sep 17 00:00:00 2001
From: U-CC-SVR11\\Administrator Administrator@CC-SVR11.(none)
Date: Mon, 19 Nov 2012 15:41:26 +
Subject: [PATCH 09/96] Add min messages for host to register with the
management server when it starts up.

---
.../com/cloud/agent/resource/HypervResource.java   |  200 ++-
1 files changed, 189 insertions(+), 11 deletions(-)

diff --git a/agent/src/com/cloud/agent/resource/HypervResource.java 
b/agent/src/com/cloud/agent/resource/HypervResource.java
index 8b8e89d..e810ce4 100755
--- a/agent/src/com/cloud/agent/resource/HypervResource.java
+++ b/agent/src/com/cloud/agent/resource/HypervResource.java
@@ -20,14 +20,15 @@ import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
+import java.util.Set;
import java.util.UUID;


RE: Jira Issue for Unit Test Fail? (ApiRateLimitTest)

2013-01-29 Thread Donal Lafferty
Hi Min,

That's one solution.  Another is to add a sleep.  It all depends on what you're 
trying to test.

There an issue with another test where the sleep is set to 1001.  IIRC, I 
changed that to 1020 or thereabouts.

These are in the patch that I've been trying to commit.


DL


 -Original Message-
 From: Min Chen [mailto:min.c...@citrix.com]
 Sent: 28 January 2013 17:24
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: Jira Issue for Unit Test Fail? (ApiRateLimitTest)
 
 Hi Donal, thanks for pointing to that link, was not aware of this on Windows.
 
 A simple fix is to change last line of the test as
 
 assertTrue(expiredAfter is incorrect, response.getExpireAfter() =
 1000);
 
 Is it possible for you to quickly verify on your setup to see if it works?
 
 Thanks
 -min
 
 
 
 On 1/28/13 6:39 AM, Donal Lafferty donal.laffe...@citrix.com wrote:
 
 Looks like an edge case.
 
 The test takes 0 seconds as measured by System.currentTimeMillis(),
 because the server is fast and Windows has limited accuracy.  See
 https://blogs.oracle.com/dholmes/entry/inside_the_hotspot_vm_clocks
 
 I'll added a 10ms sleep to the test.
 
 
 DL
 
  -Original Message-
  From: Min Chen [mailto:min.c...@citrix.com]
  Sent: 27 January 2013 17:21
  To: cloudstack-dev@incubator.apache.org
  Cc: cloudstack-dev@incubator.apache.org
  Subject: Re: Jira Issue for Unit Test Fail? (ApiRateLimitTest)
 
  Thanks Donal for reporting that issue. That is one of my unit
 testcases, since I  am using mac, it is always working fine for me.
 Does anybody out there using  windows experience the same issue?
 
  -min
 
  Sent from my iPhone
 
  On Jan 27, 2013, at 7:20 AM, Donal Lafferty
 donal.laffe...@citrix.com
  wrote:
 
   I have a couple of these, and I think they have to do with using a
 Windows
  environment.
  
   For the one discussed below, I have no domain knowledge.  It seems
   a
  better idea to get in touch with a developer, which I did by looking
 at the  github to see who was committing changes.
  
   The other failing unit test is in the 'cloud-agent'.  Here, I have
 enough
  knowledge to figure out the problem, or at least narrow down the cause.
  
   WRT to blocking, these tests aren't something that I rely on.
 However, as a
  good citizen, I've a duty to publish some sort of work around.
  
   DL
  
  
   -Original Message-
   From: prasanna [mailto:srivatsav.prasa...@gmail.com] On Behalf Of
   Prasanna Santhanam
   Sent: 27 January 2013 06:29
   To: cloudstack-dev@incubator.apache.org
   Subject: Re: Jira Issue for Unit Test Fail? (ApiRateLimitTest)
  
   On Sat, Jan 26, 2013 at 05:25:57PM -0500, Donal Lafferty wrote:
   I cloned Master to make sure I could build with 'mvn install build'
   in Cygwin (in a Windows development environment)
  
   In the cloud-plugin-api-limit-account-based, the ApiRateLimitTest
   fails with message:  Failed tests:
  
 verifySearchCounter(org.apache.cloudstack.ratelimit.ApiRateLimitTest):
   expiredAfter is incorrect
  
   This isn't a known Windows issue, i.e. nothing noted at
   https://cwiki.apache.org/CLOUDSTACK/setting-up-a-cloudstack-dev-
   enviro
   nment-on-windows.html
  
   Should I contact the developer directly, create an issue in Jira,
   both, or something else?
  
   I'm able to build fine with latest master (ddb794d) with mvn clean
   install. The build appears good too -
   https://builds.apache.org/view/A- F/view/Cloudstack/
  
   But for your question - you may post a ticket on jira and alert
   the list if it's blocking you. Or better yet if you can fix it and
   raise an rb request with your fix you get instant karma. :)
  
   --
   Prasanna.,



RE: Jira Issue for Unit Test Fail? (ApiRateLimitTest)

2013-01-29 Thread Donal Lafferty
Hi Min,

I think your plan works best.  It will be a while before I can get my fix in 
master :(

DL

PS  The diff to fix the second test was something like this:

plugins/api/rate-limit/test/org/apache/cloudstack/ratelimit/ApiRateLimitTest.java
@@ -181,7 +181,7 @@ public void expiryOfCounterIsSupported() throws Exception {
 assertTrue(The first request should be allowed, isUnderLimit(key));

 // Allow the token to expire
-Thread.sleep(1001);
+Thread.sleep(1020);



 -Original Message-
 From: Min Chen [mailto:min.c...@citrix.com]
 Sent: 29 January 2013 19:13
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: Jira Issue for Unit Test Fail? (ApiRateLimitTest)
 
 Thanks Donal. I am fine with either solution. I am going to commit it to 
 master.
 But if you have already had a patch for this, you can commit as well.
 
 -min
 
 On 1/29/13 11:07 AM, Donal Lafferty donal.laffe...@citrix.com wrote:
 
 Hi Min,
 
 That's one solution.  Another is to add a sleep.  It all depends on
 what you're trying to test.
 
 There an issue with another test where the sleep is set to 1001.  IIRC,
 I changed that to 1020 or thereabouts.
 
 These are in the patch that I've been trying to commit.
 
 
 DL
 
 
  -Original Message-
  From: Min Chen [mailto:min.c...@citrix.com]
  Sent: 28 January 2013 17:24
  To: cloudstack-dev@incubator.apache.org
  Subject: Re: Jira Issue for Unit Test Fail? (ApiRateLimitTest)
 
  Hi Donal, thanks for pointing to that link, was not aware of this on
 Windows.
 
  A simple fix is to change last line of the test as
 
  assertTrue(expiredAfter is incorrect,
 response.getExpireAfter() =
  1000);
 
  Is it possible for you to quickly verify on your setup to see if it
 works?
 
  Thanks
  -min
 
 
 
  On 1/28/13 6:39 AM, Donal Lafferty donal.laffe...@citrix.com wrote:
 
  Looks like an edge case.
  
  The test takes 0 seconds as measured by System.currentTimeMillis(),
  because the server is fast and Windows has limited accuracy.  See
  https://blogs.oracle.com/dholmes/entry/inside_the_hotspot_vm_clock
 s
  
  I'll added a 10ms sleep to the test.
  
  
  DL
  
   -Original Message-
   From: Min Chen [mailto:min.c...@citrix.com]
   Sent: 27 January 2013 17:21
   To: cloudstack-dev@incubator.apache.org
   Cc: cloudstack-dev@incubator.apache.org
   Subject: Re: Jira Issue for Unit Test Fail? (ApiRateLimitTest)
  
   Thanks Donal for reporting that issue. That is one of my unit
  testcases, since I  am using mac, it is always working fine for me.
  Does anybody out there using  windows experience the same issue?
  
   -min
  
   Sent from my iPhone
  
   On Jan 27, 2013, at 7:20 AM, Donal Lafferty
  donal.laffe...@citrix.com
   wrote:
  
I have a couple of these, and I think they have to do with using
a
  Windows
   environment.
   
For the one discussed below, I have no domain knowledge.  It
seems a
   better idea to get in touch with a developer, which I did by
  looking at the  github to see who was committing changes.
   
The other failing unit test is in the 'cloud-agent'.  Here, I
have
  enough
   knowledge to figure out the problem, or at least narrow down the
 cause.
   
WRT to blocking, these tests aren't something that I rely on.
  However, as a
   good citizen, I've a duty to publish some sort of work around.
   
DL
   
   
-Original Message-
From: prasanna [mailto:srivatsav.prasa...@gmail.com] On Behalf
Of Prasanna Santhanam
Sent: 27 January 2013 06:29
To: cloudstack-dev@incubator.apache.org
Subject: Re: Jira Issue for Unit Test Fail? (ApiRateLimitTest)
   
On Sat, Jan 26, 2013 at 05:25:57PM -0500, Donal Lafferty wrote:
I cloned Master to make sure I could build with 'mvn install
 build'
in Cygwin (in a Windows development environment)
   
In the cloud-plugin-api-limit-account-based, the
ApiRateLimitTest fails with message:  Failed tests:
   
  verifySearchCounter(org.apache.cloudstack.ratelimit.ApiRateLimitTest):
expiredAfter is incorrect
   
This isn't a known Windows issue, i.e. nothing noted at
https://cwiki.apache.org/CLOUDSTACK/setting-up-a-cloudstack-
 de
v-
enviro
nment-on-windows.html
   
Should I contact the developer directly, create an issue in
Jira, both, or something else?
   
I'm able to build fine with latest master (ddb794d) with mvn
clean install. The build appears good too -
https://builds.apache.org/view/A- F/view/Cloudstack/
   
But for your question - you may post a ticket on jira and alert
the list if it's blocking you. Or better yet if you can fix it
and raise an rb request with your fix you get instant karma. :)
   
--
Prasanna.,
 



Review Request: Hyper-V 2012 Plugin Phase 1

2013-01-29 Thread Donal Lafferty

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

Review request for cloudstack and Chip Childers.


Description
---

To include Hyper-V plugin in a build, add '-DhyperV' to the mvn options.  E.g. 
mvn clean install -DhyperV

Overview https://cwiki.apache.org/CLOUDSTACK/hyper-v-2012-30-support.html

tl;dr: First cut of HyperV plugin, cloud-api changes to support VHDX image 
type, and test changes to deal with Windows clock accuracy and URI semantics.


This addresses bug CLOUDSTACK-999.


Diffs
-

  agent/conf/agent.properties 74cfd1c21d6b2910be3859b4f570feee3ba172d5 
  agent/conf/log4j-cloud.xml PRE-CREATION 
  agent/src/com/cloud/agent/AgentShell.java 
e3d1063e6b8c148d765c2b185896ead2091769b3 
  agent/src/com/cloud/agent/resource/DummyResource.java 
573f639b06d92db614e0cc60eee63d94d1160426 
  agent/test/com/cloud/agent/TestAgentShell.java 
d7210acbef30044e86d734c31bea870381653557 
  api/src/com/cloud/storage/Storage.java 
fba12b62d3d5205ff32ab2f67065b45d011bcb05 
  client/pom.xml 7ebe50c48f9a692fc610871cfdb21c12370afd3a 
  client/tomcatconf/components.xml.in c41d4f4f18f3a505ea97a032d348718a915bbf10 
  core/src/com/cloud/hypervisor/hyperv/resource/HypervDummyResourceBase.java 
6e52924db28bf9dc4749287d2ccbb7836b6d55e3 
  core/src/com/cloud/hypervisor/hyperv/resource/HypervResource.java 
ede6301d9c354f69a3a9db85830d0d0d87008495 
  
plugins/api/rate-limit/test/org/apache/cloudstack/ratelimit/ApiRateLimitTest.java
 502b15cf316374104ff64eb5c7f3b9026303efc5 
  plugins/hypervisors/hyperv/conf/agent.properties PRE-CREATION 
  plugins/hypervisors/hyperv/conf/developer.properties.template PRE-CREATION 
  plugins/hypervisors/hyperv/conf/environment.properties.in PRE-CREATION 
  plugins/hypervisors/hyperv/conf/log4j-cloud.xml PRE-CREATION 
  plugins/hypervisors/hyperv/conf/log4j-cloud.xml.in PRE-CREATION 
  plugins/hypervisors/hyperv/pom.xml PRE-CREATION 
  plugins/hypervisors/hyperv/scripts/hyperv/.pydevproject PRE-CREATION 
  plugins/hypervisors/hyperv/scripts/hyperv/baseops.py PRE-CREATION 
  plugins/hypervisors/hyperv/scripts/hyperv/cloudstackcmds.py PRE-CREATION 
  plugins/hypervisors/hyperv/scripts/hyperv/constants.py PRE-CREATION 
  plugins/hypervisors/hyperv/scripts/hyperv/hypervlog.conf PRE-CREATION 
  plugins/hypervisors/hyperv/scripts/hyperv/log.py PRE-CREATION 
  plugins/hypervisors/hyperv/scripts/hyperv/power_state.py PRE-CREATION 
  plugins/hypervisors/hyperv/scripts/hyperv/vmops.py PRE-CREATION 
  plugins/hypervisors/hyperv/scripts/hyperv/vmutils.py PRE-CREATION 
  plugins/hypervisors/hyperv/scripts/hyperv/volumeops.py PRE-CREATION 
  
plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/discoverer/HypervServerDiscoverer.java
 PRE-CREATION 
  
plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/guru/HypervGuru.java 
PRE-CREATION 
  
plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/HypervDummyResourceBase.java
 PRE-CREATION 
  
plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/HypervResource.java
 PRE-CREATION 
  
plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/PythonUtils.java
 PRE-CREATION 
  
plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/storage/HypervPhysicalDisk.java
 PRE-CREATION 
  
plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/storage/HypervStoragePool.java
 PRE-CREATION 
  
plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/storage/HypervStoragePoolManager.java
 PRE-CREATION 
  
plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/storage/StorageAdaptor.java
 PRE-CREATION 
  
plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/storage/WindowsStorageAdaptor.java
 PRE-CREATION 
  
plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/storage/WindowsStoragePool.java
 PRE-CREATION 
  
plugins/hypervisors/hyperv/test/com/cloud/hypervisor/hyperv/test/HypervResourceTest.java
 PRE-CREATION 
  plugins/pom.xml 7bb60a990fbb3d65f514e8b53155162a61602a33 
  server/src/com/cloud/configuration/Config.java 
4ae144e6ce116b34f6a62b9bdfc5f9262984a448 
  server/src/com/cloud/hypervisor/guru/HypervGuru.java 
1d59afd93a7a6e989e49548741de263ad6626baf 
  server/src/com/cloud/hypervisor/hyperv/HypervServerDiscoverer.java 
6a1cd67d8f3d3b5d2ce99fae15ee58a9583795a2 
  server/src/com/cloud/resource/ResourceManagerImpl.java 
f82424a10c25aa7cd51acaed5744242c885920ee 
  server/src/com/cloud/storage/StorageManagerImpl.java 
07f4d8ac7cb3dcf7dbb57baf473dbe7b5f597b7b 
  server/src/com/cloud/template/HyervisorTemplateAdapter.java 
c80d1de0fbf1f7b58c5526ad7e3744ed382f0017 
  ui/scripts/templates.js 040ce4a92c145c7f79c474b7b722be1d019c42a7 

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


Testing
---


Thanks,

Donal Lafferty



RE: Upload Diff to Review Board fails on 'file not found in the repository'

2013-01-29 Thread Donal Lafferty
All these responses are correct.  For a multi-commit patch, create  via 
'post-review' and not the ReviewBoard GUI.

The problem is with adding a diff file that aggregates a bunch of patches.  In 
my case, I've ~97 commits.  Our old workflow suggests generating the patch with 
'git format-patch -s master', but that gives you 97 different patches to review 
(see 
http://wiki.cloudstack.org/display/dev/Git+workflow+in+the+brave+new+world).  
Apache suggests dumping the patches into a single file with 'git format-patch 
master --stdout  ~/patch-name.patch' (see 
http://incubator.apache.org/cloudstack/develop/non-contributors.html)  As 
Likitha and Min point out, this causes problems when one patch is dependent on 
another.

To avoid these issues, submit the commits as a single patch via RBTool's 
'post-review'.  See 
http://www.reviewboard.org/docs/manual/dev/users/tools/post-review/ for install 
instructions.  After installing, verify that your local git repo's 
origin/master is tracking Apache CloudStack's master.  E.g.

$ git remote -v
hyperv  https://github.com/lafferty/cshv3.git (fetch)
hyperv  https://github.com/lafferty/cshv3.git (push)
origin  
https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git (fetch)
origin  
https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git (push)

Also, set the target Review Board.  E.g. to set for a repo, use the following 
command in the repo's root folder.

git config reviewboard.url https://reviews.apache.org

From the root the your local repo, simply call 'post-review'.  It will gross 
up the changes between HEAD in the local repo and origin/master, create a 
review, and return the URL.  You then flesh out the comments/summary/group 
using a browser.

Enjoy!

 -Original Message-
 From: Likitha Shetty [mailto:likitha.she...@citrix.com]
 Sent: 29 January 2013 18:16
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: Upload Diff to Review Board fails on 'file not found in the
 repository'
 
 I forgot to add, it is an issue only when a patch is dependent on 2 or more
 your previous patches (that have been not been merged yet). Because if it is
 just two commits we mark the first one as the parent diff while uploading the
 second one.
 
 Thank you,
 Likitha
 
 -Original Message-
 From: Min Chen [mailto:min.c...@citrix.com]
 Sent: Tuesday, January 29, 2013 11:20 PM
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: Upload Diff to Review Board fails on 'file not found in the
 repository'
 
 Yes, that is also the case that happened to me when I encountered exactly
 the same error.
 
 Thanks
 -min
 
 On 1/29/13 9:41 AM, Likitha Shetty likitha.she...@citrix.com wrote:
 
 I have seen this error before. I faced it because I had generated 2
 patches from a set of local commits. So after the first patch was
 uploaded, review board complained when I tried to upload the second
 patch. And this was because the second patch was based on top of my
 first commit which wasn't in the repo yet.
 
 Thank you,
 Likitha
 
 -Original Message-
 From: Donal Lafferty [mailto:dlaffe...@gmail.com]
 Sent: Tuesday, January 29, 2013 9:01 PM
 To: cloudstack-dev@incubator.apache.org
 Subject: Upload Diff to Review Board fails on 'file not found in the
 repository'
 
 Has anyone seen the complaint 'The file file (revision revision)
 was not found in the repository' ?
 
 E.g. I get 'The file
 agent/src/com/cloud/agent/resource/HypervResource.java (revision
 8b8e89d) was not found in the repository' when uploading a diff file
 created with git format-patch.
 
 However, that file is part of my diff, and was never in the
 cloudstack-git referenced by my patch.
 
 
 
 The background is that I created a patch for the master branch.  E.g.
 
 $ git remote -v
 hyperv  https://github.com/lafferty/cshv3.git (fetch) hyperv
 https://github.com/lafferty/cshv3.git (push) origin
 https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git(fetch)
 origin
 https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git(push)
 
 $ git format-patch origin/master --stdout  ../hyperV-plugin_06.patch
 
 The patch itself describes the creation of the file, an applies index
 8b8e89d, as show below.
 
 1.7.9
 
 
 From 13f9c118c724afb52b0694de539b4e1b3c38e7f7 Mon Sep 17 00:00:00
 2001
 From: U-CC-SVR11\\Administrator Administrator@CC-SVR11.(none)
 Date: Thu, 15 Nov 2012 19:19:08 +
 Subject: [PATCH 07/96] Starting point for ServerResource for Hyper-V is
 DummyResource.
 
 ---
 .../com/cloud/agent/resource/HypervResource.java   |  227
 
 1 files changed, 227 insertions(+), 0 deletions(-) create mode 100755
 agent/src/com/cloud/agent/resource/HypervResource.java
 
 diff --git a/agent/src/com/cloud/agent/resource/HypervResource.java
 b/agent/src/com/cloud/agent/resource/HypervResource.java
 new file mode 100755
 index 000..8b8e89d
 --- /dev/null
 +++ b/agent/src/com/cloud/agent/resource

RE: github workflow for non-committers

2013-01-30 Thread Donal Lafferty
Can  someone confirm that email-based patches are no longer used?


 -Original Message-
 From: prasanna [mailto:srivatsav.prasa...@gmail.com] On Behalf Of
 Prasanna Santhanam
 Sent: 30 January 2013 10:59
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: github workflow for non-committers
 
 On Wed, Jan 30, 2013 at 04:25:05PM +0530, Donal Lafferty wrote:
  While yesterday's non-committer work is fresh in my mind, can I change
  the wiki at
  https://cwiki.apache.org/confluence/display/CLOUDSTACK/Git#Git-
 Patches
  to use ReviewBoard instead of emailing patches?
 
  Also, is anyone working to update
 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Collaborating+o
  n+Github
  ?
 
  It seems straightforward to merge it into
  https://cwiki.apache.org/confluence/display/CLOUDSTACK/Git#Git-
 Noncomm
  itterworkflow
 
 Merge them please - I updated the former with some additional steps.
 But it could be further improved to explain how a contributor sends over
 their github work for incremental review etc. Or should they work on their
 fork's master or a branch each time ...
 
 --
 Prasanna.,


RE: github workflow for non-committers

2013-01-30 Thread Donal Lafferty
Thanks for the background!

Seems recommending post-review  Review Board is okay for  Quick Start 
(especially for non-committers)  See 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Git#Git-QuickStart%28especiallyfornoncommitters%29

I'll mention should post-review and / Review Board in 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Git#Git-Patches, and 
leave it to the submit-by-email folks to clean up the section.

DL

 -Original Message-
 From: Chip Childers [mailto:chip.child...@sungard.com]
 Sent: 30 January 2013 14:04
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: github workflow for non-committers
 
 On Wed, Jan 30, 2013 at 7:18 AM, Donal Lafferty donal.laffe...@citrix.com
 wrote:
  Can  someone confirm that email-based patches are no longer used?
 
 A very relevant discussion is here:
 http://markmail.org/message/3vmfbvhbqwygy2qa
 
 I think that the consensus was never achieved really, but in practice we seem
 to be sending things through reviewboard more than any other method.
 
 -chip


Redistributing 3rd party code licensed under Apache License 2.0

2013-01-30 Thread Donal Lafferty
I have a specific question on incorporating existing code under Apache License 
2.0 that I forgot to ask earlier in the month.

My Hyper-V plugin calls down to modified versions of the OpenStack Nova driver 
for Hyper-V.

In my repo, I've:

1.   Retained the original copyright notice.

2.   Added an additional copyright notice mentioning the creator of the 
derivate work, which in this case is Citrix.

3.   Verified that OpenStack Nova's LICENSE is Apache License V2.0

Are these steps sufficient to add the code to Apache CloudStack?

E.g. does Apache Version 2.0 require that the original project be mentioned in 
our NOTICE file?


Re: Review Request: Hyper-V 2012 Plugin Phase 1

2013-01-30 Thread Donal Lafferty


 On Jan. 30, 2013, 1:18 p.m., Murali Reddy wrote:
  Donal,
  
  I need some details to review your change, which i could not find from the 
  FS. 
  
  How is Hyper-V host discovery is supposed to happen? Do you expect agent to 
  be started on the Hyper-V host by admin or agent is started by CloudStack?
  
  How does the bootstrapping happen to copy templates from secondary to 
  primary? Do you assume a secondary storage? 
  
  For phase 1, you plan to support only local storage as primary storage?
  
  Is there a notion of Hyper-V cluster or all of them are going to be 
  individual hosts?
  
  
  couple of comments and more questions?
  
 

The Hyper-V connected agent and Discoverer base the hosts GUID on the IP 
address used to manager the Hyper-V server.  When you add a Hyper-V server 
using the GUI, what should happen is that 'find' will look up the host by GUID 
and update the zone/pod/cluster identifiers to valid values.

Templates are copied to a Hyper-V server via the image motion service.  The 
default image motion service driver uses a PrimaryStorageDownloadCommand to 
send URLs to the agent, which it then downloads.  Two types of schema are 
supported:  nfs:// and http://.  HTTP URIs are downloaded.  NFS schemas are 
accessed via a mount.  The admin is responsible for mounting the NFS server on 
the Hyper-V server.  Where the Hyper-V server does not have an NFS client, I 
recommend mounting a Windows Server 2012 share exposed as NFS and SMB.  The 
admin must tell the agent on Hyper-V the name of this share using an option in 
the agent.properties file.

For Phase 1, the primary storage is local storage, and the name of the folder 
is given in agent.properties.  The admin can manually mount iSCSI, SMB, etc.

The cluster group is imposed by the management server.  The Hyper-V servers 
have no knowledge of who they're grouped with.


 On Jan. 30, 2013, 1:18 p.m., Murali Reddy wrote:
  plugins/api/rate-limit/test/org/apache/cloudstack/ratelimit/ApiRateLimitTest.java,
   line 219
  https://reviews.apache.org/r/9143/diff/1/?file=253041#file253041line219
 
  is this change intended?

Yes.  The fix overcomes platform-specific assumptions in the code WRT Java's 
clock.


 On Jan. 30, 2013, 1:18 p.m., Murali Reddy wrote:
  agent/src/com/cloud/agent/resource/DummyResource.java, line 171
  https://reviews.apache.org/r/9143/diff/1/?file=253034#file253034line171
 
  Why is dummy resource required in Hyper-V case? I think KVM code is no 
  longer using it.

KVM continues to use a Dummy resource.  AFAIK, the management server needs a 
reference to a plugin's ServerResource.  The dummy is a proxy for this resource 
when the resource sits on a remote server.


 On Jan. 30, 2013, 1:18 p.m., Murali Reddy wrote:
  agent/conf/agent.properties, line 39
  https://reviews.apache.org/r/9143/diff/1/?file=253031#file253031line39
 
  Why is cluster, pod etc details are required to be in agent.properties 
  by default?

This is inherited from the KVM approach.  The defaults are required to populate 
these values if the agent is not passed them in the agent command line 
parameters.  

With Hyper-V, we can't pass the options, so I've left them in the 
agent.properties to avoid making the command line launch complex.


 On Jan. 30, 2013, 1:18 p.m., Murali Reddy wrote:
  agent/src/com/cloud/agent/AgentShell.java, line 406
  https://reviews.apache.org/r/9143/diff/1/?file=253033#file253033line406
 
  why is this hard coded instead of getting version from package

AFAIK, there is no code in the package to generate the version number.  


 On Jan. 30, 2013, 1:18 p.m., Murali Reddy wrote:
  plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/discoverer/HypervServerDiscoverer.java,
   line 202
  https://reviews.apache.org/r/9143/diff/1/?file=253058#file253058line202
 
  How does find() launches the agent on Hyper-V host? I could not 
  understand how waitForHostConnect() will succeed.

find() can't launch the agent.  That has to be done by an admin.  What find 
should do is change the dc/pod/cluster values from the defaults given by the 
agent to the values that the 'find' method wants.


 On Jan. 30, 2013, 1:18 p.m., Murali Reddy wrote:
  plugins/hypervisors/hyperv/scripts/hyperv/baseops.py, line 4
  https://reviews.apache.org/r/9143/diff/1/?file=253049#file253049line4
 
  Check the license on all python files. there is Citrix copy  right on 
  them.

The notices reflect the OpenStack origins of the code.  I've sent an email to 
the mailing group to see whether anything needs to be done.


- Donal


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


On Jan. 29, 2013, 9:43 p.m., Donal Lafferty wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit

RE: Redistributing 3rd party code licensed under Apache License 2.0

2013-01-31 Thread Donal Lafferty
The code isn't entirely third party.

The source I incorporated is clearly derived from Cloud.com (now Citrix's) 
Hyper-V driver.  As soon as it was moved to a different file, the Cloud.com 
copyright was deleted.  However, the code I use is a copy/paste job from the 
original driver.

Rather than use the current driver, I could use the driver from Diablo, which 
is wholly copyright of Cloud.com (now Citrix) 

DL


 -Original Message-
 From: David Nalley [mailto:da...@gnsa.us]
 Sent: 31 January 2013 05:35
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: Redistributing 3rd party code licensed under Apache License 2.0
 
 On Wed, Jan 30, 2013 at 7:19 PM, Donal Lafferty donal.laffe...@citrix.com
 wrote:
  I have a specific question on incorporating existing code under Apache
 License 2.0 that I forgot to ask earlier in the month.
 
  My Hyper-V plugin calls down to modified versions of the OpenStack Nova
 driver for Hyper-V.
 
  In my repo, I've:
 
  1.   Retained the original copyright notice.
 
  2.   Added an additional copyright notice mentioning the creator of the
 derivate work, which in this case is Citrix.
 
  3.   Verified that OpenStack Nova's LICENSE is Apache License V2.0
 
  Are these steps sufficient to add the code to Apache CloudStack?
 
  E.g. does Apache Version 2.0 require that the original project be mentioned
 in our NOTICE file?
 
 sigh (and despite my sigh - thanks for bringing the issue up on the list, it
 would have been bad to find this out on review) This is effectively third 
 party
 code, if you are actually including it (as opposed to it being a dependency) 
 it
 needs to go through IP Clearance as well as be noted in our legal docs.
 
 --David


RE: Redistributing 3rd party code licensed under Apache License 2.0

2013-01-31 Thread Donal Lafferty
As a non-committer, developing in the Apache repository was never an option.

Would Citrix want the Hyper-V driver it bought with Cloud.com?  

Is there a NOTICE-based means of including Apache Licence 2.0 code in the 
repository that originated with the OpenStack project?

Should I put the driver in the 'extras' folder?

I'm not sure what procedures are available.


DL



 -Original Message-
 From: Chiradeep Vittal [mailto:chiradeep.vit...@citrix.com]
 Sent: 31 January 2013 18:04
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: Redistributing 3rd party code licensed under Apache License 2.0
 
 Doesn't matter who owns the copyright. It wasn't developed in the Apache
 repository and was never part of the original donation from Citrix.
 
 On 1/31/13 2:29 AM, Donal Lafferty donal.laffe...@citrix.com wrote:
 
 The code isn't entirely third party.
 
 The source I incorporated is clearly derived from Cloud.com (now
 Citrix's) Hyper-V driver.  As soon as it was moved to a different file,
 the Cloud.com copyright was deleted.  However, the code I use is a
 copy/paste job from the original driver.
 
 Rather than use the current driver, I could use the driver from Diablo,
 which is wholly copyright of Cloud.com (now Citrix)
 
 DL
 
 
  -Original Message-
  From: David Nalley [mailto:da...@gnsa.us]
  Sent: 31 January 2013 05:35
  To: cloudstack-dev@incubator.apache.org
  Subject: Re: Redistributing 3rd party code licensed under Apache
 License 2.0
 
  On Wed, Jan 30, 2013 at 7:19 PM, Donal Lafferty
 donal.laffe...@citrix.com
  wrote:
   I have a specific question on incorporating existing code under
   Apache
  License 2.0 that I forgot to ask earlier in the month.
  
   My Hyper-V plugin calls down to modified versions of the OpenStack
 Nova
  driver for Hyper-V.
  
   In my repo, I've:
  
   1.   Retained the original copyright notice.
  
   2.   Added an additional copyright notice mentioning the creator
 of the
  derivate work, which in this case is Citrix.
  
   3.   Verified that OpenStack Nova's LICENSE is Apache License V2.0
  
   Are these steps sufficient to add the code to Apache CloudStack?
  
   E.g. does Apache Version 2.0 require that the original project be
 mentioned
  in our NOTICE file?
 
  sigh (and despite my sigh - thanks for bringing the issue up on the
 list, it  would have been bad to find this out on review) This is
 effectively third party  code, if you are actually including it (as
 opposed to it being a
 dependency) it
  needs to go through IP Clearance as well as be noted in our legal docs.
 
  --David



RE: Redistributing 3rd party code licensed under Apache License 2.0

2013-01-31 Thread Donal Lafferty
Okay.

If you've any questions give me a shout.

DL


 -Original Message-
 From: David Nalley [mailto:da...@gnsa.us]
 Sent: 31 January 2013 18:17
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: Redistributing 3rd party code licensed under Apache License 2.0
 
 On Thu, Jan 31, 2013 at 1:11 PM, Donal Lafferty donal.laffe...@citrix.com
 wrote:
  As a non-committer, developing in the Apache repository was never an
 option.
 
  Would Citrix want the Hyper-V driver it bought with Cloud.com?
 
  Is there a NOTICE-based means of including Apache Licence 2.0 code in the
 repository that originated with the OpenStack project?
 
  Should I put the driver in the 'extras' folder?
 
  I'm not sure what procedures are available.
 
 
 So, quite honestly, we don't know either. We've sought out advice from
 mentors and they've pointed us to legal-discuss, and that conversation is
 happening there now. Lets not get too concerned until we find out what the
 folks who do know say and we can figure a path from there.
 
 --David


RE: Redistributing 3rd party code licensed under Apache License 2.0

2013-01-31 Thread Donal Lafferty
Calling WMI from Python is a short term solution to allow for proof of concept.

In the immediate term, the Python code in the repo can be changed out for a 
derivative of Cloud.com's work.  This would allow the owners of Cloud.com's IP 
to donate the code assuming the owners are Citrix and able to release the IP.

Chiradeep, you might know better what position the Cloud.com contributions to 
OpenStack are in.  I'm thinking of the OpenStack Hyper-V driver in the Diablo 
branch

For next release, the WMI calls are to be carried out directly from Java.  
Microsoft have suggested a Java stack for access to WMI via WS-Man.


DL


 -Original Message-
 From: Chiradeep Vittal [mailto:chiradeep.vit...@citrix.com]
 Sent: 31 January 2013 21:56
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: Redistributing 3rd party code licensed under Apache License 2.0
 
 I'd like Donal to offer up an alternative implementation if possible. Is this 
 the
 long-term supportable implementation? Or is it just a hack to get things
 moving?
 
 
 On 1/31/13 10:16 AM, David Nalley da...@gnsa.us wrote:
 
 On Thu, Jan 31, 2013 at 1:11 PM, Donal Lafferty
 donal.laffe...@citrix.com wrote:
  As a non-committer, developing in the Apache repository was never an
 option.
 
  Would Citrix want the Hyper-V driver it bought with Cloud.com?
 
  Is there a NOTICE-based means of including Apache Licence 2.0 code in
 the repository that originated with the OpenStack project?
 
  Should I put the driver in the 'extras' folder?
 
  I'm not sure what procedures are available.
 
 
 So, quite honestly, we don't know either. We've sought out advice from
 mentors and they've pointed us to legal-discuss, and that conversation
 is happening there now. Lets not get too concerned until we find out
 what the folks who do know say and we can figure a path from there.
 
 --David



RE: Redistributing 3rd party code licensed under Apache License 2.0

2013-01-31 Thread Donal Lafferty
Oh, and a final option is to split out the Plug-specific code into the extras 
repo, and commit only changes to other bits of CloudStack.

DL


 -Original Message-
 From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
 Sent: 31 January 2013 22:17
 To: cloudstack-dev@incubator.apache.org
 Subject: RE: Redistributing 3rd party code licensed under Apache License 2.0
 
 Calling WMI from Python is a short term solution to allow for proof of
 concept.
 
 In the immediate term, the Python code in the repo can be changed out for a
 derivative of Cloud.com's work.  This would allow the owners of Cloud.com's
 IP to donate the code assuming the owners are Citrix and able to release the
 IP.
 
 Chiradeep, you might know better what position the Cloud.com
 contributions to OpenStack are in.  I'm thinking of the OpenStack Hyper-V
 driver in the Diablo branch
 
 For next release, the WMI calls are to be carried out directly from Java.
 Microsoft have suggested a Java stack for access to WMI via WS-Man.
 
 
 DL
 
 
  -Original Message-
  From: Chiradeep Vittal [mailto:chiradeep.vit...@citrix.com]
  Sent: 31 January 2013 21:56
  To: cloudstack-dev@incubator.apache.org
  Subject: Re: Redistributing 3rd party code licensed under Apache
  License 2.0
 
  I'd like Donal to offer up an alternative implementation if possible.
  Is this the long-term supportable implementation? Or is it just a hack
  to get things moving?
 
 
  On 1/31/13 10:16 AM, David Nalley da...@gnsa.us wrote:
 
  On Thu, Jan 31, 2013 at 1:11 PM, Donal Lafferty
  donal.laffe...@citrix.com wrote:
   As a non-committer, developing in the Apache repository was never
  an option.
  
   Would Citrix want the Hyper-V driver it bought with Cloud.com?
  
   Is there a NOTICE-based means of including Apache Licence 2.0 code
  in the repository that originated with the OpenStack project?
  
   Should I put the driver in the 'extras' folder?
  
   I'm not sure what procedures are available.
  
  
  So, quite honestly, we don't know either. We've sought out advice
  from mentors and they've pointed us to legal-discuss, and that
  conversation is happening there now. Lets not get too concerned until
  we find out what the folks who do know say and we can figure a path
 from there.
  
  --David



RE: Redistributing 3rd party code licensed under Apache License 2.0

2013-02-05 Thread Donal Lafferty
To be clear, the 3rd party dependency is now limited to code written by 
Cloud.com, now owned by Citrix Systems.

The background is that in 2010, Chiradeep wrote hyperv.py for the Diablo 
release of OpenStack.  The source is clearly copyrighted Cloud.com (see 
https://github.com/openstack/nova/blob/stable/diablo/nova/virt/hyperv.py).  The 
contributors license doesn't assign the copyright (see 
https://rackspace.echosign.com/public/hostedForm?formid=XFNNZV3W23XE7N), rather 
it provides a perpetual license.  The code in this file was updated to remove 
dependencies on OpenStack and allow it to understand CloudStack commands, so it 
cannot be reused unmodified.

Since the code is going away after this release, a rewrite would have a very 
short lifetime.

Citrix has already donated a chunk of cloud.com IP to Apache CloudStack.  Can I 
not use the process for this file?


DL


 -Original Message-
 From: Ahmad Emneina [mailto:aemne...@gmail.com]
 Sent: 05 February 2013 20:49
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: Redistributing 3rd party code licensed under Apache License 2.0
 
 +1 for write new apache code as per spec. since thats what will
 +eventually
 have to happen.
 
 
 On Tue, Feb 5, 2013 at 12:47 PM, Sebastien Goasguen
 run...@gmail.comwrote:
 
 
  On Feb 5, 2013, at 8:46 PM, Chip Childers chip.child...@sungard.com
  wrote:
 
   On Thu, Jan 31, 2013 at 4:56 PM, Chiradeep Vittal
   chiradeep.vit...@citrix.com wrote:
   I'd like Donal to offer up an alternative implementation if
   possible. Is this the long-term supportable implementation? Or is
   it just a hack to
  get
   things moving?
  
   OK - the thread on legal-discuss@a.o seems to have wound down.  For
   those interested, you can read it at [1].
  
   The tl;dr version is:
  
   This isn't a legal problem, but it's a community issue.  We have the
   legal right to use that code, based on it's stated license.  We do
   NOT have the right to change the copyright headers, only to add our
   own for the specific files where there were material changes.
  
   The community issue is more important though (and by community, we
   are talking about the broader OSS community).  The suggestion is
   that we either (1) ask for permission before including this code in
   our repo, or (2) find a way to use it as a dependent library.
  
   Given it's source (and what Donal has told me offline), I think we
   are better off having this written as pure Apache code.  If that's
   not a possibility, then asking to include the code is important.
   And further, we need to determine if we are going to fork it or
   maintain an upstream relationship with the source.
  
   Thoughts?
 
  +1 to re-write as pure Apache code
 
 
  
   -chip
  
   [1] http://markmail.org/thread/ajmuxmxfdrcurswp
  
   On 1/31/13 10:16 AM, David Nalley da...@gnsa.us wrote:
  
   On Thu, Jan 31, 2013 at 1:11 PM, Donal Lafferty
   donal.laffe...@citrix.com wrote:
   As a non-committer, developing in the Apache repository was never
   an option.
  
   Would Citrix want the Hyper-V driver it bought with Cloud.com?
  
   Is there a NOTICE-based means of including Apache Licence 2.0
   code in the repository that originated with the OpenStack project?
  
   Should I put the driver in the 'extras' folder?
  
   I'm not sure what procedures are available.
  
  
   So, quite honestly, we don't know either. We've sought out advice
   from mentors and they've pointed us to legal-discuss, and that
   conversation is happening there now. Lets not get too concerned
   until we find out what the folks who do know say and we can figure a
 path from there.
  
   --David
  
  
 
 


RE: Redistributing 3rd party code licensed under Apache License 2.0

2013-02-06 Thread Donal Lafferty
Okay, so the context for adding the phase 1 Hyper-V plugin to the actual 
release was to smooth the way for newbies.  Adding features to the community 
code can be tricky for non-committers.  Recall that last week I posted details 
on how to submit a multi-commit patch for review :)

With that in mind, here are the latest issues:

1.  The IP concerns were a bit of a surprise, because IP expectations are not 
covered in the Design Doc template.  Would anyone object if I updated 
https://cwiki.apache.org/CLOUDSTACK/design-document-template.html with a 
heading on 'IP Clearance' and a summary of Chip's comments (with references to 
orginal mailing list discussions)?

2.  The Hyper-V patch includes fixes to cores CloudStack.  Is the submission 
process for these fixes a) raise a defect, b) submit patch?

3.  Feedback on the submission isn't captured in the Review Board submissions.  
Any objections to adding the points that David Nalley raises to the Review 
Board entry, and closing it?

4.  Finally, where is the best place for 3rd party plugins?  This point was 
raised in relation to the API client for C#.  Any preferences for leaving 3rd 
party material stay in the developer's repo, or the 'extras' repo?

DL


 -Original Message-
 From: David Nalley [mailto:da...@gnsa.us]
 Sent: 05 February 2013 21:46
 To: Donal Lafferty
 Cc: cloudstack-dev@incubator.apache.org; aemne...@gmail.com
 Subject: Re: Redistributing 3rd party code licensed under Apache License 2.0
 
 On Tue, Feb 5, 2013 at 4:37 PM, Donal Lafferty donal.laffe...@citrix.com
 wrote:
  To be clear, the 3rd party dependency is now limited to code written by
 Cloud.com, now owned by Citrix Systems.
 
  The background is that in 2010, Chiradeep wrote hyperv.py for the Diablo
 release of OpenStack.  The source is clearly copyrighted Cloud.com (see
 https://github.com/openstack/nova/blob/stable/diablo/nova/virt/hyperv.p
 y).  The contributors license doesn't assign the copyright (see
 https://rackspace.echosign.com/public/hostedForm?formid=XFNNZV3W23X
 E7N), rather it provides a perpetual license.  The code in this file was 
 updated
 to remove dependencies on OpenStack and allow it to understand
 CloudStack commands, so it cannot be reused unmodified.
 
  Since the code is going away after this release, a rewrite would have a very
 short lifetime.
 
  Citrix has already donated a chunk of cloud.com IP to Apache CloudStack.
 Can I not use the process for this file?
 
 
  DL
 
 
 So again, there is nothing legally wrong with it, but as Chip identified there
 are community issues - and a number of people, including Chiradeep (who,
 as you note, is the original author of the code you want to use) want to see
 this be a fresh implementation.
 We're already looking at 4.2 for this feature, and this is supposedly going to
 have a short lifetime as a rewrite seems to be in your plans anyway, so I am
 not sure of the efficacy of jumping through the process hoops in the short
 term. (And while it's legally fine, there's still plenty of effort in the 
 process -
 esp since the code you've identified is held by someone who is friendly to us
 and the preference in the ASF is for voluntary contributions, we'd likely
 'prefer' to get a SGA for the code in question from Citrix - but as Prasanna
 and Ram G can tell you - even simple things like that can linger on for months
 to get the agreements signed)
 
 --David


Participating in Hyper-V support [Was RE: Redistributing 3rd party code licensed under Apache License 2.0]

2013-02-06 Thread Donal Lafferty
Hi Alessandro,

With respect to CloudStack Hyper-V support, have a look at the design doc at 
https://cwiki.apache.org/CLOUDSTACK/original-feature-spec.html .  The design 
seeks to avoid installing an agent on the Hyper-V server, which differs 
OpenStack's approach.

With respect to source code donations, is it feasible to remove the Cloud.Com 
sections of the OpenStack driver?

DL


 -Original Message-
 From: Alessandro Pilotti [mailto:a...@pilotti.it]
 Sent: 06 February 2013 00:09
 To: cloudstack-dev@incubator.apache.org
 Subject: Re: Redistributing 3rd party code licensed under Apache License 2.0
 
 Hi guys,
 
 My company is writing and maintaining the current OpenStack Nova Hyper-V
 driver.  We are also working on a CloudStack Hyper-V driver, I'd be glad to
 contribute the code that we have and our experience with Hyper-V.
 Unfortunately due to our commitment on OpenStack, we didn't manage to
 finish it yet, but I'd be very glad if we could join your efforts on that.
 
 If possible, we would also be happy to contribute our OpenStack Python
 code referenced in this thread.
 
 My IRC nick on Freenode is alexpilotti in case you'd like to have a talk 
 about it.
 
 
 Thanks,
 
 Alessandro Pilotti
 Cloudbase Solutions | CEO
 -
 MVP ASP.Net / IIS
 Windows Azure Insider
 Red Hat Certified Engineer
 -
 
 
 
 On Feb 5, 2013, at 23:40 , Chip Childers chip.child...@sungard.com wrote:
 
  On Tue, Feb 5, 2013 at 4:37 PM, Donal Lafferty
  donal.laffe...@citrix.com wrote:
  To be clear, the 3rd party dependency is now limited to code written by
 Cloud.com, now owned by Citrix Systems.
 
  The background is that in 2010, Chiradeep wrote hyperv.py for the Diablo
 release of OpenStack.  The source is clearly copyrighted Cloud.com (see
 https://github.com/openstack/nova/blob/stable/diablo/nova/virt/hyperv.p
 y).  The contributors license doesn't assign the copyright (see
 https://rackspace.echosign.com/public/hostedForm?formid=XFNNZV3W23X
 E7N), rather it provides a perpetual license.  The code in this file was 
 updated
 to remove dependencies on OpenStack and allow it to understand
 CloudStack commands, so it cannot be reused unmodified.
 
  Since the code is going away after this release, a rewrite would have a
 very short lifetime.
 
 
  Honestly, this question caused the feature to not make it into 4.1.0
  (plus I believe there were other outstanding questions raised) .  So
  we are really talking about 4.2.0.
 
  Citrix has already donated a chunk of cloud.com IP to Apache CloudStack.
 Can I not use the process for this file?
 
  It could be, but you made it sound like we would move to another
  approach in the future.  Why don't we head down that path?
 
 
  DL
 
 
  -Original Message-
  From: Ahmad Emneina [mailto:aemne...@gmail.com]
  Sent: 05 February 2013 20:49
  To: cloudstack-dev@incubator.apache.org
  Subject: Re: Redistributing 3rd party code licensed under Apache License
 2.0
 
  +1 for write new apache code as per spec. since thats what will
  +eventually
  have to happen.
 
 
  On Tue, Feb 5, 2013 at 12:47 PM, Sebastien Goasguen
  run...@gmail.comwrote:
 
 
  On Feb 5, 2013, at 8:46 PM, Chip Childers chip.child...@sungard.com
  wrote:
 
  On Thu, Jan 31, 2013 at 4:56 PM, Chiradeep Vittal
  chiradeep.vit...@citrix.com wrote:
  I'd like Donal to offer up an alternative implementation if
  possible. Is this the long-term supportable implementation? Or is
  it just a hack to
  get
  things moving?
 
  OK - the thread on legal-discuss@a.o seems to have wound down.
 For
  those interested, you can read it at [1].
 
  The tl;dr version is:
 
  This isn't a legal problem, but it's a community issue.  We have the
  legal right to use that code, based on it's stated license.  We do
  NOT have the right to change the copyright headers, only to add our
  own for the specific files where there were material changes.
 
  The community issue is more important though (and by community,
 we
  are talking about the broader OSS community).  The suggestion is
  that we either (1) ask for permission before including this code in
  our repo, or (2) find a way to use it as a dependent library.
 
  Given it's source (and what Donal has told me offline), I think we
  are better off having this written as pure Apache code.  If that's
  not a possibility, then asking to include the code is important.
  And further, we need to determine if we are going to fork it or
  maintain an upstream relationship with the source.
 
  Thoughts?
 
  +1 to re-write as pure Apache code
 
 
 
  -chip
 
  [1] http://markmail.org/thread/ajmuxmxfdrcurswp
 
  On 1/31/13 10:16 AM, David Nalley da...@gnsa.us wrote:
 
  On Thu, Jan 31, 2013 at 1:11 PM, Donal Lafferty
  donal.laffe...@citrix.com wrote:
  As a non-committer, developing in the Apache repository was
 never
  an option.
 
  Would Citrix want the Hyper-V driver it bought with Cloud.com

Re: Review Request: Hyper-V 2012 Plugin Phase 1

2013-02-08 Thread Donal Lafferty


 On Feb. 5, 2013, 10:09 p.m., Noa Resare wrote:
  I got a bit curious about this code when I read about the licensing 
  uncertainty on the mailing list. Looking at it I have two questions to 
  begin with:
  
  What version of the cloudstack tree does this patch apply cleanly onto?
  
  It does not seem like the python code even attempts to adhere to pep8 as 
  perscribed by 
  http://incubator.apache.org/cloudstack/develop/coding-conventions.html
  Why is that?

Excellent feedback!

Thanks for pointing out the coding conventions page.  I'll update the code to 
reflect these requirements.

As for patch version, its Master at the time of submission.

I'll ask the newsgroup how to select the target more accurately.


- Donal


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


On Jan. 29, 2013, 9:43 p.m., Donal Lafferty wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/9143/
 ---
 
 (Updated Jan. 29, 2013, 9:43 p.m.)
 
 
 Review request for cloudstack and Chip Childers.
 
 
 Description
 ---
 
 To include Hyper-V plugin in a build, add '-DhyperV' to the mvn options.  
 E.g. mvn clean install -DhyperV
 
 Overview https://cwiki.apache.org/CLOUDSTACK/hyper-v-2012-30-support.html
 
 tl;dr: First cut of HyperV plugin, cloud-api changes to support VHDX image 
 type, and test changes to deal with Windows clock accuracy and URI semantics.
 
 
 This addresses bug CLOUDSTACK-999.
 
 
 Diffs
 -
 
   agent/conf/agent.properties 74cfd1c21d6b2910be3859b4f570feee3ba172d5 
   agent/conf/log4j-cloud.xml PRE-CREATION 
   agent/src/com/cloud/agent/AgentShell.java 
 e3d1063e6b8c148d765c2b185896ead2091769b3 
   agent/src/com/cloud/agent/resource/DummyResource.java 
 573f639b06d92db614e0cc60eee63d94d1160426 
   agent/test/com/cloud/agent/TestAgentShell.java 
 d7210acbef30044e86d734c31bea870381653557 
   api/src/com/cloud/storage/Storage.java 
 fba12b62d3d5205ff32ab2f67065b45d011bcb05 
   client/pom.xml 7ebe50c48f9a692fc610871cfdb21c12370afd3a 
   client/tomcatconf/components.xml.in 
 c41d4f4f18f3a505ea97a032d348718a915bbf10 
   core/src/com/cloud/hypervisor/hyperv/resource/HypervDummyResourceBase.java 
 6e52924db28bf9dc4749287d2ccbb7836b6d55e3 
   core/src/com/cloud/hypervisor/hyperv/resource/HypervResource.java 
 ede6301d9c354f69a3a9db85830d0d0d87008495 
   
 plugins/api/rate-limit/test/org/apache/cloudstack/ratelimit/ApiRateLimitTest.java
  502b15cf316374104ff64eb5c7f3b9026303efc5 
   plugins/hypervisors/hyperv/conf/agent.properties PRE-CREATION 
   plugins/hypervisors/hyperv/conf/developer.properties.template PRE-CREATION 
   plugins/hypervisors/hyperv/conf/environment.properties.in PRE-CREATION 
   plugins/hypervisors/hyperv/conf/log4j-cloud.xml PRE-CREATION 
   plugins/hypervisors/hyperv/conf/log4j-cloud.xml.in PRE-CREATION 
   plugins/hypervisors/hyperv/pom.xml PRE-CREATION 
   plugins/hypervisors/hyperv/scripts/hyperv/.pydevproject PRE-CREATION 
   plugins/hypervisors/hyperv/scripts/hyperv/baseops.py PRE-CREATION 
   plugins/hypervisors/hyperv/scripts/hyperv/cloudstackcmds.py PRE-CREATION 
   plugins/hypervisors/hyperv/scripts/hyperv/constants.py PRE-CREATION 
   plugins/hypervisors/hyperv/scripts/hyperv/hypervlog.conf PRE-CREATION 
   plugins/hypervisors/hyperv/scripts/hyperv/log.py PRE-CREATION 
   plugins/hypervisors/hyperv/scripts/hyperv/power_state.py PRE-CREATION 
   plugins/hypervisors/hyperv/scripts/hyperv/vmops.py PRE-CREATION 
   plugins/hypervisors/hyperv/scripts/hyperv/vmutils.py PRE-CREATION 
   plugins/hypervisors/hyperv/scripts/hyperv/volumeops.py PRE-CREATION 
   
 plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/discoverer/HypervServerDiscoverer.java
  PRE-CREATION 
   
 plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/guru/HypervGuru.java
  PRE-CREATION 
   
 plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/HypervDummyResourceBase.java
  PRE-CREATION 
   
 plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/HypervResource.java
  PRE-CREATION 
   
 plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/PythonUtils.java
  PRE-CREATION 
   
 plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/storage/HypervPhysicalDisk.java
  PRE-CREATION 
   
 plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/storage/HypervStoragePool.java
  PRE-CREATION 
   
 plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/storage/HypervStoragePoolManager.java
  PRE-CREATION 
   
 plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/storage/StorageAdaptor.java
  PRE-CREATION 
   
 plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/storage/WindowsStorageAdaptor.java
  PRE-CREATION

Re: Review Request: Hyper-V 2012 Plugin Phase 1

2013-02-08 Thread Donal Lafferty


 On Jan. 30, 2013, 1:18 p.m., Murali Reddy wrote:
  plugins/hypervisors/hyperv/scripts/hyperv/baseops.py, line 4
  https://reviews.apache.org/r/9143/diff/1/?file=253049#file253049line4
 
  Check the license on all python files. there is Citrix copy  right on 
  them.
 
 Donal Lafferty wrote:
 The notices reflect the OpenStack origins of the code.  I've sent an 
 email to the mailing group to see whether anything needs to be done.


The script was changed to be wholly based on Cloud.Com (now Citrix Systems) 
code.

However, the feeling from the mailing groups source code should be wholly 
Apache.  Therefore, 3rd party libraries can be referenced, butsource code 
should be donated.  Since the script is not needed long term, it does not make 
sense to go through the process required for a donation.

A second issue is that the design is to immature.  To get a POC in place, a 
remote agent based on KVM's design and using an OpenStack style script was 
used.  Long term, a remote access method on WS-Management would be much 
preferred.  The feeling on the mailing list is that the POC should not be 
included.

See http://markmail.org/message/2ebu77w427uratip


- Donal


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


On Jan. 29, 2013, 9:43 p.m., Donal Lafferty wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/9143/
 ---
 
 (Updated Jan. 29, 2013, 9:43 p.m.)
 
 
 Review request for cloudstack and Chip Childers.
 
 
 Description
 ---
 
 To include Hyper-V plugin in a build, add '-DhyperV' to the mvn options.  
 E.g. mvn clean install -DhyperV
 
 Overview https://cwiki.apache.org/CLOUDSTACK/hyper-v-2012-30-support.html
 
 tl;dr: First cut of HyperV plugin, cloud-api changes to support VHDX image 
 type, and test changes to deal with Windows clock accuracy and URI semantics.
 
 
 This addresses bug CLOUDSTACK-999.
 
 
 Diffs
 -
 
   agent/conf/agent.properties 74cfd1c21d6b2910be3859b4f570feee3ba172d5 
   agent/conf/log4j-cloud.xml PRE-CREATION 
   agent/src/com/cloud/agent/AgentShell.java 
 e3d1063e6b8c148d765c2b185896ead2091769b3 
   agent/src/com/cloud/agent/resource/DummyResource.java 
 573f639b06d92db614e0cc60eee63d94d1160426 
   agent/test/com/cloud/agent/TestAgentShell.java 
 d7210acbef30044e86d734c31bea870381653557 
   api/src/com/cloud/storage/Storage.java 
 fba12b62d3d5205ff32ab2f67065b45d011bcb05 
   client/pom.xml 7ebe50c48f9a692fc610871cfdb21c12370afd3a 
   client/tomcatconf/components.xml.in 
 c41d4f4f18f3a505ea97a032d348718a915bbf10 
   core/src/com/cloud/hypervisor/hyperv/resource/HypervDummyResourceBase.java 
 6e52924db28bf9dc4749287d2ccbb7836b6d55e3 
   core/src/com/cloud/hypervisor/hyperv/resource/HypervResource.java 
 ede6301d9c354f69a3a9db85830d0d0d87008495 
   
 plugins/api/rate-limit/test/org/apache/cloudstack/ratelimit/ApiRateLimitTest.java
  502b15cf316374104ff64eb5c7f3b9026303efc5 
   plugins/hypervisors/hyperv/conf/agent.properties PRE-CREATION 
   plugins/hypervisors/hyperv/conf/developer.properties.template PRE-CREATION 
   plugins/hypervisors/hyperv/conf/environment.properties.in PRE-CREATION 
   plugins/hypervisors/hyperv/conf/log4j-cloud.xml PRE-CREATION 
   plugins/hypervisors/hyperv/conf/log4j-cloud.xml.in PRE-CREATION 
   plugins/hypervisors/hyperv/pom.xml PRE-CREATION 
   plugins/hypervisors/hyperv/scripts/hyperv/.pydevproject PRE-CREATION 
   plugins/hypervisors/hyperv/scripts/hyperv/baseops.py PRE-CREATION 
   plugins/hypervisors/hyperv/scripts/hyperv/cloudstackcmds.py PRE-CREATION 
   plugins/hypervisors/hyperv/scripts/hyperv/constants.py PRE-CREATION 
   plugins/hypervisors/hyperv/scripts/hyperv/hypervlog.conf PRE-CREATION 
   plugins/hypervisors/hyperv/scripts/hyperv/log.py PRE-CREATION 
   plugins/hypervisors/hyperv/scripts/hyperv/power_state.py PRE-CREATION 
   plugins/hypervisors/hyperv/scripts/hyperv/vmops.py PRE-CREATION 
   plugins/hypervisors/hyperv/scripts/hyperv/vmutils.py PRE-CREATION 
   plugins/hypervisors/hyperv/scripts/hyperv/volumeops.py PRE-CREATION 
   
 plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/discoverer/HypervServerDiscoverer.java
  PRE-CREATION 
   
 plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/guru/HypervGuru.java
  PRE-CREATION 
   
 plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/HypervDummyResourceBase.java
  PRE-CREATION 
   
 plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/HypervResource.java
  PRE-CREATION 
   
 plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/resource/PythonUtils.java
  PRE-CREATION 
   
 plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/storage/HypervPhysicalDisk.java
  PRE-CREATION

How do Review Board Submissions reference the commit and branch?

2013-02-08 Thread Donal Lafferty
Quick question for git gurus / Review Board submitters.

When I used post-review to submit to Review Board, I assumed that the patch 
would include details on the branch and commit that it is based on.

Is that correct?



RE: 100 brownie points :P

2013-02-11 Thread Donal Lafferty
VMOp

I'll give half my points to whoever explains 'what it is used for' as opposed 
to 'what this is' :)

 -Original Message-
 From: rohityada...@gmail.com [mailto:rohityada...@gmail.com] On Behalf
 Of Rohit Yadav
 Sent: 11 February 2013 09:43
 To: cloudstack-dev@incubator.apache.org
 Subject: 100 brownie points :P
 
 Riddles in codebase: see SerialVersionUID in cloud-utils, git blame and claim
 your 100 brownie points.
 Will post my four liner python solution after the designated 72 hours :P
 
 public interface SerialVersionUID {
 public static final long Base = 0x564D4F70  32;  // 100 brownie points 
 if
 you guess what this is and tell me.
 
 Have fun!


RE: Note for plugin authors

2013-02-11 Thread Donal Lafferty
Thanks for the heads up!  A few questions...

'getCommand()'  or 'getCommands()' ?  I see it written both ways below.  Is one 
for the pluggable service and the other for the ApiServer?

Also, does this apply to Hypervisor plugins?  Or are Hypervisor plugins merely 
an implementation of said the 'pluggable service'?

DL  

 -Original Message-
 From: rohityada...@gmail.com [mailto:rohityada...@gmail.com] On Behalf
 Of Rohit Yadav
 Sent: 08 February 2013 09:26
 To: cloudstack-dev@incubator.apache.org
 Subject: Note for plugin authors
 
 Hi, just wanted to inform you that all plugins which are pluggable services 
 and
 expose some API, should implement getCommand() which returns a list of
 api cmd class. This is used by ApiServer and elsewhere to get information
 about available apis.
 While I had tried to fix this for most plugins, I wanted to bring this issue 
 after
 recent merges. The issue is filed in detail here, and we need to fix mgmt
 server's getCommands() as well;
 https://issues.apache.org/jira/browse/CLOUDSTACK-1210
 
 Regards.


QA Process Question

2013-02-11 Thread Donal Lafferty
How would a git patch equivalent work for JIRA?

Take the example of a plugin developed independently that will be donated to 
the project.  It is very handy to merge QA records that deal with known 
problems and recommendations for future changes.  How would you track these in 
such a way that they can be easily merged with CloudStack's JIRA?


DL


RE: QA Process Question

2013-02-11 Thread Donal Lafferty
Maybe it help to take the example of the Javelin refactor and ask where did 
it's QA issues get tracked before the code was merged to master?

DL

 Also, this raises a bit of a concern in my mind.  We really don't want lots of
 development outside the project, than then gets donated.  Can you be
 more specific about what you are talking about here?
 
 -chip


RE: 100 brownie points :P

2013-02-11 Thread Donal Lafferty
+1

 but you just never know what people
 would do.
 
 --Alex
 


Review Request: Support for VHDX image format, and update to RegisterTemplate UI to support Hyper-V 2012

2013-02-14 Thread Donal Lafferty

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

Review request for cloudstack.


Description
---

Add support for VHDX image type, and allow UI for RegisterTemplate to support 
both Hyper-V image types.


This addresses bug https://issues.apache.org/jira/browse/CLOUDSTACK-1032.


Diffs
-

  api/src/com/cloud/storage/Storage.java fba12b6 
  server/src/com/cloud/storage/StorageManagerImpl.java 05e0cfe 
  server/src/com/cloud/template/HyervisorTemplateAdapter.java 089f650 
  ui/scripts/templates.js 040ce4a 

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


Testing
---

Integration test on code when built for Hyper-V Phase 1 fork.

Not clear what unit tests can be updated to walk the code.


Thanks,

Donal Lafferty



  1   2   >