Re: Review Request 19612: Added fix for CLOUDSTACK-6269

2014-03-26 Thread Kishan Kavala

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

Ship it!


Ship It!

- Kishan Kavala


On March 25, 2014, 7:24 p.m., Santhosh Edukulla wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19612/
 ---
 
 (Updated March 25, 2014, 7:24 p.m.)
 
 
 Review request for cloudstack, daan Hoogland and Kishan Kavala.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Added fix for the mentioned bug.More details in the bug.
 
 
 Diffs
 -
 
   
 plugins/hypervisors/simulator/src/com/cloud/agent/manager/MockVmManagerImpl.java
  27002f2 
 
 Diff: https://reviews.apache.org/r/19612/diff/
 
 
 Testing
 ---
 
 Tested and post this, issue is not observed.
 
 
 Thanks,
 
 Santhosh Edukulla
 




Re: Review Request 18677: CLOUDSTACK-3272

2014-03-26 Thread Murali Reddy

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


Thanks for the patch. Could you please ensure patch can be applied to master, 
its fails to apply.

- Murali Reddy


On March 24, 2014, 12:46 p.m., Sonal Ojha wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/18677/
 ---
 
 (Updated March 24, 2014, 12:46 p.m.)
 
 
 Review request for cloudstack, Chiradeep Vittal and Murali Reddy.
 
 
 Bugs: CLOUDSTACK-3272
 https://issues.apache.org/jira/browse/CLOUDSTACK-3272
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 At present, there are multiple event types that are generated by CS, action 
 events,usage events, resource state change events and alerts. Current problem 
 is
 all the events gets published on the event bus when event bus is enabled. 
 Intent is to introduce global setting config parameters to specify which 
 category of events to be published or not be published on the event bus.
 
 
 Diffs
 -
 
   server/src/com/cloud/configuration/Config.java 2d55f46 
   server/src/com/cloud/event/ActionEventUtils.java 00122de 
   server/src/com/cloud/test/DatabaseConfig.java 9370218 
 
 Diff: https://reviews.apache.org/r/18677/diff/
 
 
 Testing
 ---
 
 Successfully tested publishing / not publishing of various events based on 
 the global parameter publish.*.events.
 
 
 File Attachments
 
 
 0001-CLOUDSTACK-3272-Changes-to-allow-publishing-of-event.patch
   
 https://reviews.apache.org/media/uploaded/files/2014/03/24/4deb6544-5515-4a99-9f1c-f927c88d3014__0001-CLOUDSTACK-3272-Changes-to-allow-publishing-of-event.patch
 
 
 Thanks,
 
 Sonal Ojha
 




[Jenkins] centos slaves offline

2014-03-26 Thread Paul Angus
Hi,

I've noticed this morning that a large number of jobs in the 4.4 branch and 
some in the Master branch haven't run for a week.  There seems to be a queue 
built up because some of the nodes are offline.

Is this deliberate - or can someone fix it.

cloudstack-buildslave-centos6-609http://jenkins.buildacloud.org/computer/cloudstack-buildslave-centos6-609/
  (offline)

cloudstack-buildslave-centos6-715http://jenkins.buildacloud.org/computer/cloudstack-buildslave-centos6-715/
  (offline)


Regards

Paul Angus
Senior Consultant / Cloud Architect

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540tel:+442036030540 | M: +4tel:+44796816158147711418784 | 
T: @CloudyAngus
paul.an...@shapeblue.commailto:paul.an...@shapeblue.com | 
www.shapeblue.comhttp://www.shapeblue.com/ | 
Twitter:@shapebluehttps://twitter.com/
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
18th-19th February 2014, Brazil. 
Classroomhttp://shapeblue.com/cloudstack-training/
17th-23rd March 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
24th-28th March 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: [Jenkins] centos slaves offline

2014-03-26 Thread Hugo Trippaers
I'll have a look.

Thanks for the heads-up.

Hugo

Sent from my iPhone

 On 26 mrt. 2014, at 07:35, Paul Angus paul.an...@shapeblue.com wrote:
 
 Hi,
  
 I’ve noticed this morning that a large number of jobs in the 4.4 branch and 
 some in the Master branch haven’t run for a week.  There seems to be a queue 
 built up because some of the nodes are offline.
  
 Is this deliberate – or can someone fix it.
  
 cloudstack-buildslave-centos6-609  (offline)
 cloudstack-buildslave-centos6-715  (offline)
  
 Regards
  
 Paul Angus
 Senior Consultant / Cloud Architect
  
 
  
 S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
 paul.an...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
 ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
  
 Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack Infrastructure Support offers the best 24/7 SLA for CloudStack 
 Environments.
 
 Apache CloudStack Bootcamp training courses
 
 **NEW!** CloudStack 4.2.1 training
 18th-19th February 2014, Brazil. Classroom
 17th-23rd March 2014, Region A. Instructor led, On-line
 24th-28th March 2014, Region B. Instructor led, On-line
 16th-20th June 2014, Region A. Instructor led, On-line
 23rd-27th June 2014, Region B. Instructor led, On-line
 
 This email and any attachments to it may be confidential and are intended 
 solely for the use of the individual to whom it is addressed. Any views or 
 opinions expressed are solely those of the author and do not necessarily 
 represent those of Shape Blue Ltd or related companies. If you are not the 
 intended recipient of this email, you must neither take any action based upon 
 its contents, nor copy or show it to anyone. Please contact the sender if you 
 believe you have received this email in error. Shape Blue Ltd is a company 
 incorporated in England  Wales. ShapeBlue Services India LLP is a company 
 incorporated in India and is operated under license from Shape Blue Ltd. 
 Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
 operated under license from Shape Blue Ltd. ShapeBlue is a registered 
 trademark.


Re: [ANNOUNCE] Apache CloudStack 4.3.0 Released

2014-03-26 Thread Ryan Lei
Please allow me to confirm again. Are the packages in these repos non-OSS
(should I call it noredist?) and will continue to be so in future
releases, too?

DEB package repository: http://cloudstack.apt-get.eu/ubuntu
RPM package repository: http://cloudstack.apt-get.eu/rhel/4.3/



---
Yu-Heng (Ryan) Lei, Associate Researcher
Cloud Computing Dept, Chunghwa Telecom Labs
ryan...@cht.com.tw or ryanlei750...@gmail.com



On Tue, Mar 25, 2014 at 11:40 PM, Wido den Hollander w...@widodh.nl wrote:



 On 03/25/2014 04:25 PM, benoit lair wrote:

 Super! The rpms are now available !


 Indeed. Currently the mirror is pumping out 300Mbit of CloudStack
 downloads with peaks to 500Mbit.

 Great to see so many downloads!

 Wido


  Thanks à lot guys.


 2014-03-25 16:00 GMT+01:00 Antone Heyward thehyperadvi...@gmail.com:

  @Wido - Thanks for the info, i did not know that.


 On Tue, Mar 25, 2014 at 10:49 AM, Wido den Hollander w...@widodh.nl
 wrote:



 On 03/25/2014 03:47 PM, Antone Heyward wrote:

  There should be a checklist to verify certain things are in place
 before
 the release announcement.



  Well, officially Apache projects only release source. The DEB and RPM
 packages are something from the community, not the project itself.

 While I get your point, it's not a part of the official release.

 Wido



 On Tue, Mar 25, 2014 at 10:42 AM, Wido den Hollander w...@widodh.nl
 wrote:



 On 03/25/2014 03:40 PM, Nux! wrote:

   On 25.03.2014 14:28, Chip Childers wrote:


   Website issues should all be resolved now.  Thanks for noticing
 this.



  Also http://cloudstack.apt-get.eu/rhel/4.3/ doesn't work (404).

 Nobody

 built the RPMs?


   Seems like it. I don't have RHEL systems available to build the

 packages
 one. Usually David build them.

 Wido







 --
 Antone
 @thehyperadvisor
 http://thehyperadvisor.com





Re: Review Request 19616: Added check for null return.

2014-03-26 Thread Daan Hoogland
h Lazlo,

Is this advocacy for proper use of exceptions?

On Tue, Mar 25, 2014 at 11:17 PM, Laszlo Hornyak
laszlo.horn...@gmail.com wrote:
 Hi,

 I have just looked into this, looks quite safe to me and follows the
 conventions of the code.

 However, what about a little change in the conventions? Wouldn't it be more
 simple not to return null if the operation failed?
 This could help simplifying the code by eliminating lots of null-checks,
 and also the service implementations could become more simple.




 On Tue, Mar 25, 2014 at 4:04 PM, Alex Hitchins
 alex.hitch...@shapeblue.comwrote:


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

 Review request for cloudstack.


 Repository: cloudstack-git


 Description
 ---

 Added check for returned null, if received then throw exception.


 Diffs
 -

   server/src/com/cloud/storage/VolumeApiServiceImpl.java 5ffa99b

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


 Testing
 ---

 Compiled  ran.


 Thanks,

 Alex Hitchins




 --

 EOF



-- 
Daan


Re: [ANNOUNCE] Apache CloudStack 4.3.0 Released

2014-03-26 Thread Wido den Hollander



On 03/26/2014 08:10 AM, Ryan Lei wrote:

Please allow me to confirm again. Are the packages in these repos non-OSS
(should I call it noredist?) and will continue to be so in future
releases, too?



They are OSS only. I however have to repeat. The Apache CloudStack 
project officially only releases source. I'm hosting this mirror as a 
convenience for users, but they are not official packages from the project.


As a community we understand that people want packages, so we provide 
them as members of the project.



DEB package repository: http://cloudstack.apt-get.eu/ubuntu
RPM package repository: http://cloudstack.apt-get.eu/rhel/4.3/



---
Yu-Heng (Ryan) Lei, Associate Researcher
Cloud Computing Dept, Chunghwa Telecom Labs
ryan...@cht.com.tw or ryanlei750...@gmail.com



On Tue, Mar 25, 2014 at 11:40 PM, Wido den Hollander w...@widodh.nl wrote:




On 03/25/2014 04:25 PM, benoit lair wrote:


Super! The rpms are now available !



Indeed. Currently the mirror is pumping out 300Mbit of CloudStack
downloads with peaks to 500Mbit.

Great to see so many downloads!

Wido


  Thanks à lot guys.



2014-03-25 16:00 GMT+01:00 Antone Heyward thehyperadvi...@gmail.com:

  @Wido - Thanks for the info, i did not know that.



On Tue, Mar 25, 2014 at 10:49 AM, Wido den Hollander w...@widodh.nl
wrote:




On 03/25/2014 03:47 PM, Antone Heyward wrote:

  There should be a checklist to verify certain things are in place

before
the release announcement.



  Well, officially Apache projects only release source. The DEB and RPM

packages are something from the community, not the project itself.

While I get your point, it's not a part of the official release.

Wido




On Tue, Mar 25, 2014 at 10:42 AM, Wido den Hollander w...@widodh.nl
wrote:




On 03/25/2014 03:40 PM, Nux! wrote:

   On 25.03.2014 14:28, Chip Childers wrote:



   Website issues should all be resolved now.  Thanks for noticing
this.




  Also http://cloudstack.apt-get.eu/rhel/4.3/ doesn't work (404).



Nobody



built the RPMs?



   Seems like it. I don't have RHEL systems available to build the


packages
one. Usually David build them.

Wido









--
Antone
@thehyperadvisor
http://thehyperadvisor.com








FW: Review Request 19616: Added check for null return.

2014-03-26 Thread Alex Hitchins

Hi there,

I did look a that initially, however it meant making a change to the parent 
method. Not knowing where else this was called from, I didn't want to introduce 
more bugs elsewhere. I agree It's the best thing to do, however I saw the 
immediate need to not have the situation where an error occurs and the log says 
it all went smoothly.

If this patch is committed, it won't break when the parent method does get 
resolved, it will just be redundant. I hope to get the suggested more 
encompassing fix done when I can see all the instances where it's used.

I hope my thought process makes sense?


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540tel:+442036030540 | M: 
+44tel:+447968161581 7788 423 969

alex.hitch...@shapeblue.commailto:alex.hitch...@shapeblue.com

From: Laszlo Hornyak [mailto:laszlo.horn...@gmail.com]
Sent: 25 March 2014 22:18
To: dev@cloudstack.apache.orgmailto:dev@cloudstack.apache.org; Alex Hitchins
Subject: Re: Review Request 19616: Added check for null return.

Hi,
I have just looked into this, looks quite safe to me and follows the 
conventions of the code.
However, what about a little change in the conventions? Wouldn't it be more 
simple not to return null if the operation failed?
This could help simplifying the code by eliminating lots of null-checks, and 
also the service implementations could become more simple.

On Tue, Mar 25, 2014 at 4:04 PM, Alex Hitchins 
alex.hitch...@shapeblue.commailto:alex.hitch...@shapeblue.com wrote:

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

Review request for cloudstack.


Repository: cloudstack-git


Description
---

Added check for returned null, if received then throw exception.


Diffs
-

  server/src/com/cloud/storage/VolumeApiServiceImpl.java 5ffa99b

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


Testing
---

Compiled  ran.


Thanks,

Alex Hitchins



--

EOF
Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
18th-19th February 2014, Brazil. 
Classroomhttp://shapeblue.com/cloudstack-training/
17th-23rd March 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
24th-28th March 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Review Request 19676: CLOUDSTACK-5674: Added few fixes for the bug

2014-03-26 Thread Santhosh Edukulla

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

Review request for cloudstack and Girish Shilamkar.


Bugs: CLOUDSTACK-5674
https://issues.apache.org/jira/browse/CLOUDSTACK-5674


Repository: cloudstack-git


Description
---

Added few changes for CLOUDSTACK-5674


Diffs
-

  tools/marvin/marvin/lib/common.py 77527ad 
  tools/marvin/marvin/marvinInit.py 5059cdb 
  tools/marvin/marvin/marvinPlugin.py 222b357 

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


Testing
---

Tested locally to run changes and it works.


Thanks,

Santhosh Edukulla



Review Request 19675: [CLOUDSTACK-6228] Added the ability to show warning (exclamation mark) icon on confirmation dialogs

2014-03-26 Thread Mihaela Stoica

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

Review request for cloudstack and Brian Federle.


Repository: cloudstack-git


Description
---

Added the ability to display a warning icon on confirmation dialogs, rendered 
via both dialog.createForm() and dialog.confirm():

dialog.js: confirm() and createForm() functions:
– added isWarning parameter.
– when used with isWarning: true, will show the warning icon in title bar (see 
.ui-dialog.warning .ui-dialog-title in cloudstack3.css).

detailView.js:
- passing isWarning argument to dialog.confirm().

cloudstack3.css:
- added .ui-dialog.warning .ui-dialog-title for the title bar with warning 
(white exclamation mark on orange circle) icon.

instances.js:
- using isWarning for destroy instance action.

network.js:
- using isWarning for delete network action.

My intention is to change all ‘delete’ confirmation dialogs to display the 
warning icon. Maybe other dialogs could use this as well, especially disruptive 
actions , like for example ‘restart network’.


Diffs
-

  ui/css/cloudstack3.css f5582b6 
  ui/scripts/instances.js d219e6d 
  ui/scripts/network.js f82a295 
  ui/scripts/ui/dialog.js 82e7fd4 
  ui/scripts/ui/widgets/detailView.js 4c5aeea 

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


Testing
---


Thanks,

Mihaela Stoica



Re: [Jenkins] centos slaves offline

2014-03-26 Thread Hugo Trippaers
Hey Paul,

It’s all fixed now. 

Cheers,

Hugo


On 26 mrt. 2014, at 07:35, Paul Angus paul.an...@shapeblue.com wrote:

 Hi,
  
 I’ve noticed this morning that a large number of jobs in the 4.4 branch and 
 some in the Master branch haven’t run for a week.  There seems to be a queue 
 built up because some of the nodes are offline.
  
 Is this deliberate – or can someone fix it.
  
 cloudstack-buildslave-centos6-609  (offline)
 cloudstack-buildslave-centos6-715  (offline)
  
 Regards
  
 Paul Angus
 Senior Consultant / Cloud Architect
  
 
  
 S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
 paul.an...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
 ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
  
 Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack Infrastructure Support offers the best 24/7 SLA for CloudStack 
 Environments.
 
 Apache CloudStack Bootcamp training courses
 
 **NEW!** CloudStack 4.2.1 training
 18th-19th February 2014, Brazil. Classroom
 17th-23rd March 2014, Region A. Instructor led, On-line
 24th-28th March 2014, Region B. Instructor led, On-line
 16th-20th June 2014, Region A. Instructor led, On-line
 23rd-27th June 2014, Region B. Instructor led, On-line
 
 This email and any attachments to it may be confidential and are intended 
 solely for the use of the individual to whom it is addressed. Any views or 
 opinions expressed are solely those of the author and do not necessarily 
 represent those of Shape Blue Ltd or related companies. If you are not the 
 intended recipient of this email, you must neither take any action based upon 
 its contents, nor copy or show it to anyone. Please contact the sender if you 
 believe you have received this email in error. Shape Blue Ltd is a company 
 incorporated in England  Wales. ShapeBlue Services India LLP is a company 
 incorporated in India and is operated under license from Shape Blue Ltd. 
 Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
 operated under license from Shape Blue Ltd. ShapeBlue is a registered 
 trademark.



[JENKINS] Updates

2014-03-26 Thread Hugo Trippaers
Hey,

While working on the problem Paul reported i also performed all pending Linux 
updates and i upgrade Jenkins to version 1.556.

~190 packages updated

Cheers,

Hugo

Re: [ANNOUNCE] Apache CloudStack 4.3.0 Released

2014-03-26 Thread Hugo Trippaers
To get the semantics right, all our sources and packages are OSS, we are an 
Apache project and all our software is available with the Apache License V2.

The only reason we are not releasing packages with the “noredist” flag is not 
because they are not open source (because they are open source! ), but because 
they depend on libraries with licenses that we can’t distribute with the 
policies set by the ASF. Hence the name “noredist”ributable packages.

You can use profiles to enable specific features during the maven build like 
mysqlha, vmware, f5 or use the convenience flag “noredist” to enable all 
profiles that require libraries that we can’t redistribute.

Cheers,

Hugo

On 26 mrt. 2014, at 10:27, Wido den Hollander w...@widodh.nl wrote:

 
 
 On 03/26/2014 08:10 AM, Ryan Lei wrote:
 Please allow me to confirm again. Are the packages in these repos non-OSS
 (should I call it noredist?) and will continue to be so in future
 releases, too?
 
 
 They are OSS only. I however have to repeat. The Apache CloudStack project 
 officially only releases source. I'm hosting this mirror as a convenience for 
 users, but they are not official packages from the project.
 
 As a community we understand that people want packages, so we provide them as 
 members of the project.
 
 DEB package repository: http://cloudstack.apt-get.eu/ubuntu
 RPM package repository: http://cloudstack.apt-get.eu/rhel/4.3/
 
 
 
 ---
 Yu-Heng (Ryan) Lei, Associate Researcher
 Cloud Computing Dept, Chunghwa Telecom Labs
 ryan...@cht.com.tw or ryanlei750...@gmail.com
 
 
 
 On Tue, Mar 25, 2014 at 11:40 PM, Wido den Hollander w...@widodh.nl wrote:
 
 
 
 On 03/25/2014 04:25 PM, benoit lair wrote:
 
 Super! The rpms are now available !
 
 
 Indeed. Currently the mirror is pumping out 300Mbit of CloudStack
 downloads with peaks to 500Mbit.
 
 Great to see so many downloads!
 
 Wido
 
 
  Thanks à lot guys.
 
 
 2014-03-25 16:00 GMT+01:00 Antone Heyward thehyperadvi...@gmail.com:
 
  @Wido - Thanks for the info, i did not know that.
 
 
 On Tue, Mar 25, 2014 at 10:49 AM, Wido den Hollander w...@widodh.nl
 wrote:
 
 
 
 On 03/25/2014 03:47 PM, Antone Heyward wrote:
 
  There should be a checklist to verify certain things are in place
 before
 the release announcement.
 
 
 
  Well, officially Apache projects only release source. The DEB and RPM
 packages are something from the community, not the project itself.
 
 While I get your point, it's not a part of the official release.
 
 Wido
 
 
 
 On Tue, Mar 25, 2014 at 10:42 AM, Wido den Hollander w...@widodh.nl
 wrote:
 
 
 
 On 03/25/2014 03:40 PM, Nux! wrote:
 
   On 25.03.2014 14:28, Chip Childers wrote:
 
 
   Website issues should all be resolved now.  Thanks for noticing
 this.
 
 
 
  Also http://cloudstack.apt-get.eu/rhel/4.3/ doesn't work (404).
 
 Nobody
 
 built the RPMs?
 
 
   Seems like it. I don't have RHEL systems available to build the
 
 packages
 one. Usually David build them.
 
 Wido
 
 
 
 
 
 
 
 --
 Antone
 @thehyperadvisor
 http://thehyperadvisor.com
 
 
 
 



Re: [JENKINS] Updates

2014-03-26 Thread Daan Hoogland
wow,

can you doc on cwiki what you did? In case you are to busy with heavy
duty vp business, next time.

Thanks,
Daan

On Wed, Mar 26, 2014 at 11:51 AM, Hugo Trippaers h...@trippaers.nl wrote:
 Hey,

 While working on the problem Paul reported i also performed all pending Linux 
 updates and i upgrade Jenkins to version 1.556.

 ~190 packages updated

 Cheers,

 Hugo



-- 
Daan


Re: [JENKINS] Updates

2014-03-26 Thread Hugo Trippaers

sudo yum update


Hardly worth the space on confluence ;-)

On 26 mrt. 2014, at 12:00, Daan Hoogland daan.hoogl...@gmail.com wrote:

 wow,
 
 can you doc on cwiki what you did? In case you are to busy with heavy
 duty vp business, next time.
 
 Thanks,
 Daan
 
 On Wed, Mar 26, 2014 at 11:51 AM, Hugo Trippaers h...@trippaers.nl wrote:
 Hey,
 
 While working on the problem Paul reported i also performed all pending 
 Linux updates and i upgrade Jenkins to version 1.556.
 
 ~190 packages updated
 
 Cheers,
 
 Hugo
 
 
 
 -- 
 Daan



Build failed in Jenkins: build-master #502

2014-03-26 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master/502/changes

Changes:

[jayapal] CLOUDSTACK-6240 Fixed updating advanced SG rules for vm nic secondary 
ip

[prachi] Adding support for 'readOnly' access. AccessType.ListEntry introduced.

[prachi] More changes to support 'readOnly' access

[prachi] IAMEntityType change in the test after merge

[koushik] simulator manager impl changes to handle SetMonitorServiceCommand 
This fixes some of the test cases in the integration test test_assign_vm.py 
when run against a simulator

[muralimmreddy] fix scripts that handle setting up bridge for tunnel network 
and for

[muralimmreddy] region level VPC support

[muralimmreddy] persist fact that network can span multiple zones, if network 
offering

[jayapal] CLOUDSTACK-6250 Review comments fixes for CLOUDSTACK-2692

[talluri] CLOUDSTACK-5113: temporary fix to return first template in the list

[chris.suich] Issue CS-5825 Part Resolution

[brian.federle] UI: Applied localization function to labels on Zone Chart page

[chris.suich] Revert Issue CS-5825 Part Resolution

[mike.tutkowski] CLOUDSTACK-6170

[min.chen] Revert CLOUDSTACK-6170 due to unit test failure.

[min.chen] Add newly separated admin cmd class in 
ManagementServerImpl.getCommands.

[mike.tutkowski] CLOUDSTACK-6170

[muralimmreddy] fix schema issue

[Alena Prokharchyk] Renamed static fields to comply with coding conventions.

[Alena Prokharchyk] Added version info to command and response parameters 
introduced in 4.4. Renamed newly introduced parameter 
StoragePoolReponse.overProvisionFactor to comply with coding conventions.

[bfederle] CLOUDSTACK-6272: Fix recover/restore VM actions

[jessicawang] CLOUDSTACK-6272: UI  Instance  actions  replace internal 
action name restore with recover, reset with reinstall.

[brian.federle] CLOUDSTACK-6272: Fix icons for recover/restore VM

[mike.tutkowski] CLOUDSTACK-6273 (Text changed slightly for a confirmation 
dialog)

[mike.tutkowski] CLOUDSTACK-6170 (Fixed an issue where custom compute offering 
and custom storage IOPS were leading to custom storage IOPS that were specified 
not being used)

[laszlo.hornyak] removed some redundant Boolean isntantiations

[laszlo.hornyak] new unit test for ApiResponseHelper

[laszlo.hornyak] Removed commented-out code

[laszlo.hornyak] Basic tests for ApiServlet

[laszlo.hornyak] added license header (build fix)

[mike.tutkowski] CLOUDSTACK-6170 (when the No Thanks radio button is 
selected, remove controls related to custom size and custom IOPS)

[girish] CLOUDSTACK-4840: Final set of test cases for Multiple IPs

[aprateek] CLOUDSTACK-6105: Initial version Windowsfication of the management 
server

[Devdeep Singh] CLOUDSTACK-5440: Add missing guestos types got centos 6.5, 
windows 8.1 and windows server 2012 r2.

[jayapal] CLOUDSTACK-6250: updated review comments, added unit test case

[runseb] cloudstack api post and ssl fix

[wido] rbd: Use qemu-img to convert from QCOW2 templates to RBD directly.

[runseb] Fix license headers and remove @author tag

[brian.federle] CLOUDSTACK-6227: Fix IE9 instance wizard

[laszlo.hornyak] Tests for ApiServlet

[laszlo.hornyak] removed commented-out code

[laszlo.hornyak] StringBuffer replaced with StringBuilder in ApiServlet

[laszlo.hornyak] StringBuffer replaced with StringBuilder in ApiServerService

[anthony.xu] fixed ssh execution log

[anthony.xu] vm meta sync sync xstoolsversion as well

[anthony.xu] addHostCmd will try to load all hosts in a pool

[anthony.xu] use vm instance name in log

[anthony.xu] when start vm times out, check VM status, if it is running , 
return succeed.

[girish] CLOUDSTACK-6279: Fix egress rules tests failed due to comparison 
between string and unicode

[mike.tutkowski] CLOUDSTACK-6170 (fixing a GUI formatting issue)

[talluri] CLOUDSTACK-6125: added smoke tests with following tags 1. selfservice 
- tests which can be run on simulator. 2. provisioning - tests that need actual 
hypervisor resource.

[muralimmreddy] CLOUDSTACK-6281: OVS distributed routing: exclude non 
implemented

[anthony.xu] check_heartbeat and pingtest execute through ssh, not XAPI, 
because XAPI may hang when master host is downi

[anthony.xu] make sure XS host is enabled when creating XAPI connection

[mike.tutkowski] CLOUDSTACK-6170 (fixing a GUI formatting issue)

[wido] debian: cloudstack-management requires libmysql-java for SQL connection

[brian.federle] Instances UI: Truncate name, displayname fields to prevent 
overflow

[sheng.yang] CLOUDSTACK-6285: Fix savepassword.sh script for clear out old 
entries

[alex.huang] Added a config to enable checking whether a db transaction is 
wrapped around communications with the agent.  If it is, an exception is 
thrown.  This assert has actually been there because it is part of CloudStack's 
design principle to not use db transactions as a way to enforce atomicity in 
executing things on hardware resources.  However, the assert has been ignored 
since the move to maven which is not 

Build failed in Jenkins: build-master #503

2014-03-26 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master/503/

--
[...truncated 5295 lines...]
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[271,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[292,8]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[292,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[334,8]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[334,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[384,8]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[384,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[411,8]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[411,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[459,8]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[459,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[506,8]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[506,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[535,8]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[535,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[553,8]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[553,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[578,8]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[578,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[616,8]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[616,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[643,8]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class 

Re: Review Request 19676: CLOUDSTACK-5674: Added few fixes for the bug

2014-03-26 Thread raja sekhar
hii,
can any one tell  How to sign an API call with Python or give any link
regarding this.

regards,
rajasekhar





On Wed, Mar 26, 2014 at 4:14 PM, Santhosh Edukulla 
santhosh.eduku...@citrix.com wrote:


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

 Review request for cloudstack and Girish Shilamkar.


 Bugs: CLOUDSTACK-5674
 https://issues.apache.org/jira/browse/CLOUDSTACK-5674


 Repository: cloudstack-git


 Description
 ---

 Added few changes for CLOUDSTACK-5674


 Diffs
 -

   tools/marvin/marvin/lib/common.py 77527ad
   tools/marvin/marvin/marvinInit.py 5059cdb
   tools/marvin/marvin/marvinPlugin.py 222b357

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


 Testing
 ---

 Tested locally to run changes and it works.


 Thanks,

 Santhosh Edukulla




Re: 4.5 version is missing in Jira

2014-03-26 Thread raja sekhar
hii,
can any one tell  How to sign an API call with Python or give any link
regarding this.

regards,
rajasekhar



On Wed, Mar 26, 2014 at 2:24 AM, David Nalley da...@gnsa.us wrote:

 Done


 On Tue, Mar 25, 2014 at 1:33 PM, Alena Prokharchyk
 alena.prokharc...@citrix.com wrote:
  I've noticed that 4.5 version is missing in Apache CS Jira. Whoever has
 an admin privileges, can you please add it?
 
  Thanks!
  Alena.



Re: Review Request 19635: CLOUDSTACK-6015: Add tests for adding/deleting new user account, adding/deleting user.

2014-03-26 Thread raja sekhar
hii,
can any one tell  How to sign an API call with Python or give any link
regarding this.

regards,
rajasekhar



On Wed, Mar 26, 2014 at 2:28 AM, Yichi Lu yichi...@sungard.com wrote:


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

 Review request for cloudstack and Sebastien Goasguen.


 Repository: cloudstack-git


 Description
 ---

 CLOUDSTACK-6015
 Following tests are new (need to be run in the order displayed):
 adduseraccount_test.py
 adduser_test.py
 login_logout_as_JohnD_test.py(new account's username is JohnD)
 deleteuser_test.py
 deleteuseraccount_test.py


 Diffs
 -

   test/selenium/common/shared.py b4f537f
   test/selenium/cspages/accounts/accountspage.py PRE-CREATION
   test/selenium/cspages/accounts/userspage.py PRE-CREATION
   test/selenium/cspages/cspage.py PRE-CREATION
   test/selenium/cspages/dashboard/dashboardpage.py 4394199
   test/selenium/cspages/login/loginpage.py e7795d9
   test/selenium/cstests/smoketests/adduser_test.py PRE-CREATION
   test/selenium/cstests/smoketests/adduseraccount_test.py PRE-CREATION
   test/selenium/cstests/smoketests/deleteuser_test.py PRE-CREATION
   test/selenium/cstests/smoketests/deleteuseraccount_test.py PRE-CREATION
   test/selenium/cstests/smoketests/login_logout_as_JohnD_test.py
 PRE-CREATION
   test/selenium/cstests/smoketests/smokecfg.py 8bbb350

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


 Testing
 ---

 tested against CloudStack 4.5.0-SNAPSHOT. Patch generated against the
 latest master.
 (Hope this time I did it right)


 Thanks,

 Yichi Lu




Re: [QUESTION] Unsupported operation on VMware?

2014-03-26 Thread raja sekhar
hii,
can any one tell  How to sign an API call with Python or give any link
regarding this.

regards,
rajasekhar



On Wed, Mar 26, 2014 at 2:30 AM, Mike Tutkowski 
mike.tutkow...@solidfire.com wrote:

 I can create a VM from an ISO, but I don't think the CopyCommand is
 involved there.


 On Tue, Mar 25, 2014 at 2:59 PM, Mike Tutkowski 
 mike.tutkow...@solidfire.com wrote:

  I assume - regardless of the hosts in my VMware cluster - that the
  commands the management server sends should be to the vCenter Server,
 right?
 
 
  On Tue, Mar 25, 2014 at 2:58 PM, Mike Tutkowski 
  mike.tutkow...@solidfire.com wrote:
 
  Hi,
 
  I've noticed the following exception on VMware on 4.4 (when trying to
  create a VM from a template and when trying to create a template from a
  volume):
 
  Unsupported command
  issued:org.apache.cloudstack.storage.command.CopyCommand. Are you sure
 you
  got the right type of server?
 
  Any thoughts on why I might be getting this error?
 
  Thanks,
 
  --
  *Mike Tutkowski*
  *Senior CloudStack Developer, SolidFire Inc.*
  e: mike.tutkow...@solidfire.com
  o: 303.746.7302
  Advancing the way the world uses the cloud
 http://solidfire.com/solution/overview/?video=play
  *(tm)*
 
 
 
 
  --
  *Mike Tutkowski*
  *Senior CloudStack Developer, SolidFire Inc.*
  e: mike.tutkow...@solidfire.com
  o: 303.746.7302
  Advancing the way the world uses the cloud
 http://solidfire.com/solution/overview/?video=play
  *(tm)*
 



 --
 *Mike Tutkowski*
 *Senior CloudStack Developer, SolidFire Inc.*
 e: mike.tutkow...@solidfire.com
 o: 303.746.7302
 Advancing the way the world uses the
 cloudhttp://solidfire.com/solution/overview/?video=play
 *(tm)*



Re: Simulator : Error while creating a snapshot from a VM

2014-03-26 Thread Meghna Kale
Thanks Santhosh.

A bug is already present in cloudstack jira
https://issues.apache.org/jira/browse/CLOUDSTACK-5219.

Thanks
Meghna.





On Fri, Mar 21, 2014 at 1:55 PM, Santhosh Edukulla 
santhosh.eduku...@citrix.com wrote:

 Meghna,

 Please check the code from master or 4.4, there were few fixes added to
 simulator code, few cases failing in earlier versions were now working.

 Also, not all cases are possible with simulator i believe, few cases still
 has dependencies inbuilt. first check simulator code from master\4.4 first
 and then see if it works, else log a bug, so we can look at it.

 Santhosh
 
 From: Meghna Kale [meghna.k...@sungard.com]
 Sent: Friday, March 21, 2014 4:19 AM
 To: dev@cloudstack.apache.org
 Subject: Re: Simulator : Error while creating a snapshot from a VM

 David,


 I tried applying the changes from the commit mentioned by you and re-build
 the code. But still the problem is not solved.

 Need help.

 Thanks
 Meghna.


 On Thu, Mar 20, 2014 at 10:22 PM, David Grizzanti 
 david.grizza...@sungard.com wrote:

  Meghna,
 
  I realized one thing that is missing from 4.3 and 4.2 that I added (it's
 on
  4.4 and master though).  Here is the commit
 
 
 https://github.com/apache/cloudstack/commit/dfb81ac1274d8ebe4a47223d10f3de44aa9091bf
  .
 
  If you apply that and re-build, it should fix the create VM snapshot
 issue.
 
 
  On Thu, Mar 20, 2014 at 6:56 AM, Meghna Kale meghna.k...@sungard.com
  wrote:
 
   Hi All,
  
   I have been seeing an error while creating a snapshot from a VM in the
   Simulator.
   I faced this issue on both the versions 4.2 and 4.3.
  
   Can anyone help me or provide pointers.
  
   A similar NullPointer error is also thrown while creating a VM from a
   personal template created from an existing VM.
  
   Error from vmops.log :
  
   ERROR [cloud.api.ApiServer] (31312594@qtp-24163675-2:) unhandled
  exception
   executing api command: createVMSnapshot
   java.lang.NullPointerException
   at
  
  
 
 com.cloud.hypervisor.dao.HypervisorCapabilitiesDaoImpl.isVmSnapshotEnabled(HypervisorCapabilitiesDaoImpl.java:103)
   at
  
  
 
 com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
   at
  
  
 
 com.cloud.vm.snapshot.VMSnapshotManagerImpl.allocVMSnapshot(VMSnapshotManagerImpl.java:257)
   at
  
  
 
 org.apache.cloudstack.api.command.user.vmsnapshot.CreateVMSnapshotCmd.create(CreateVMSnapshotCmd.java:78)
   at
   com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:104)
   at com.cloud.api.ApiServer.queueCommand(ApiServer.java:461)
   at com.cloud.api.ApiServer.handleRequest(ApiServer.java:373)
   at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305)
   at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
   at
   org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
   at
  
 org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
   at
  
 
 org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
   at
  
 org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
   at
  
 org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
   at
   org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
   at
  
  
 
 org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
   at
  
  
 
 org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
   at
  
 org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
   at org.mortbay.jetty.Server.handle(Server.java:326)
   at
   org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
   at
  
  
 
 org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
   at
  org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
   at
  org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
   at
  
  
 
 org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
   at
  
  
 
 org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
  
   Thanks
   Meghna.
  
 
 
 
  --
  David Grizzanti
  Software Engineer
  Sungard Availability Services
 
  e: david.grizza...@sungard.com
  w: 215.446.1431
  c: 570.575.0315
 




Re: [JENKINS] Updates

2014-03-26 Thread Daan Hoogland
On Wed, Mar 26, 2014 at 12:03 PM, Hugo Trippaers h...@trippaers.nl wrote:
 sudo yum update


wow, i tried it immedeately:
\\ebi\daan:~ sudo yum update
sudo: yum: command not found

just kidding. I found
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Build+systems

I guess first step will be to request access to be allowed to execute;)

-- 
Daan


Re: Simulator : Error while creating a snapshot from a VM

2014-03-26 Thread Meghna Kale
Hi,

I need permissions to assign the jira id
https://issues.apache.org/jira/browse/CLOUDSTACK-5219 to me. Can anyone
help me.

Thanks
Meghna.


On Wed, Mar 26, 2014 at 5:54 PM, Meghna Kale meghna.k...@sungard.comwrote:

 Thanks Santhosh.

 A bug is already present in cloudstack jira
 https://issues.apache.org/jira/browse/CLOUDSTACK-5219.

 Thanks
 Meghna.





 On Fri, Mar 21, 2014 at 1:55 PM, Santhosh Edukulla 
 santhosh.eduku...@citrix.com wrote:

 Meghna,

 Please check the code from master or 4.4, there were few fixes added to
 simulator code, few cases failing in earlier versions were now working.

 Also, not all cases are possible with simulator i believe, few cases
 still has dependencies inbuilt. first check simulator code from master\4.4
 first and then see if it works, else log a bug, so we can look at it.

 Santhosh
 
 From: Meghna Kale [meghna.k...@sungard.com]
 Sent: Friday, March 21, 2014 4:19 AM
 To: dev@cloudstack.apache.org
 Subject: Re: Simulator : Error while creating a snapshot from a VM

 David,


 I tried applying the changes from the commit mentioned by you and re-build
 the code. But still the problem is not solved.

 Need help.

 Thanks
 Meghna.


 On Thu, Mar 20, 2014 at 10:22 PM, David Grizzanti 
 david.grizza...@sungard.com wrote:

  Meghna,
 
  I realized one thing that is missing from 4.3 and 4.2 that I added
 (it's on
  4.4 and master though).  Here is the commit
 
 
 https://github.com/apache/cloudstack/commit/dfb81ac1274d8ebe4a47223d10f3de44aa9091bf
  .
 
  If you apply that and re-build, it should fix the create VM snapshot
 issue.
 
 
  On Thu, Mar 20, 2014 at 6:56 AM, Meghna Kale meghna.k...@sungard.com
  wrote:
 
   Hi All,
  
   I have been seeing an error while creating a snapshot from a VM in the
   Simulator.
   I faced this issue on both the versions 4.2 and 4.3.
  
   Can anyone help me or provide pointers.
  
   A similar NullPointer error is also thrown while creating a VM from a
   personal template created from an existing VM.
  
   Error from vmops.log :
  
   ERROR [cloud.api.ApiServer] (31312594@qtp-24163675-2:) unhandled
  exception
   executing api command: createVMSnapshot
   java.lang.NullPointerException
   at
  
  
 
 com.cloud.hypervisor.dao.HypervisorCapabilitiesDaoImpl.isVmSnapshotEnabled(HypervisorCapabilitiesDaoImpl.java:103)
   at
  
  
 
 com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
   at
  
  
 
 com.cloud.vm.snapshot.VMSnapshotManagerImpl.allocVMSnapshot(VMSnapshotManagerImpl.java:257)
   at
  
  
 
 org.apache.cloudstack.api.command.user.vmsnapshot.CreateVMSnapshotCmd.create(CreateVMSnapshotCmd.java:78)
   at
   com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:104)
   at com.cloud.api.ApiServer.queueCommand(ApiServer.java:461)
   at com.cloud.api.ApiServer.handleRequest(ApiServer.java:373)
   at
 com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305)
   at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
   at
 javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
   at
 javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
   at
   org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
   at
  
 org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
   at
  
 
 org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
   at
  
 org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
   at
  
 org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
   at
   org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
   at
  
  
 
 org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
   at
  
  
 
 org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
   at
  
 org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
   at org.mortbay.jetty.Server.handle(Server.java:326)
   at
  
 org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
   at
  
  
 
 org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
   at
  org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
   at
  org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
   at
  
  
 
 org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
   at
  
  
 
 org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
  
   Thanks
   Meghna.
  
 
 
 
  --
  David Grizzanti
  Software Engineer
  Sungard Availability Services
 
  e: 

Re: [QUESTION] Unsupported operation on VMware?

2014-03-26 Thread Daan Hoogland
Raja,

people won't be more willing to answer your question if you hijack
other mailthreads. Please start your own with a clear subject.
preferably tagged with [QUESTION].

On Wed, Mar 26, 2014 at 1:17 PM, raja sekhar rajsekhar@gmail.com wrote:
 hii,
 can any one tell  How to sign an API call with Python or give any link
 regarding this.

 regards,
 rajasekhar



 On Wed, Mar 26, 2014 at 2:30 AM, Mike Tutkowski 
 mike.tutkow...@solidfire.com wrote:

 I can create a VM from an ISO, but I don't think the CopyCommand is
 involved there.


 On Tue, Mar 25, 2014 at 2:59 PM, Mike Tutkowski 
 mike.tutkow...@solidfire.com wrote:

  I assume - regardless of the hosts in my VMware cluster - that the
  commands the management server sends should be to the vCenter Server,
 right?
 
 
  On Tue, Mar 25, 2014 at 2:58 PM, Mike Tutkowski 
  mike.tutkow...@solidfire.com wrote:
 
  Hi,
 
  I've noticed the following exception on VMware on 4.4 (when trying to
  create a VM from a template and when trying to create a template from a
  volume):
 
  Unsupported command
  issued:org.apache.cloudstack.storage.command.CopyCommand. Are you sure
 you
  got the right type of server?
 
  Any thoughts on why I might be getting this error?
 
  Thanks,
 
  --
  *Mike Tutkowski*
  *Senior CloudStack Developer, SolidFire Inc.*
  e: mike.tutkow...@solidfire.com
  o: 303.746.7302
  Advancing the way the world uses the cloud
 http://solidfire.com/solution/overview/?video=play
  *(tm)*
 
 
 
 
  --
  *Mike Tutkowski*
  *Senior CloudStack Developer, SolidFire Inc.*
  e: mike.tutkow...@solidfire.com
  o: 303.746.7302
  Advancing the way the world uses the cloud
 http://solidfire.com/solution/overview/?video=play
  *(tm)*
 



 --
 *Mike Tutkowski*
 *Senior CloudStack Developer, SolidFire Inc.*
 e: mike.tutkow...@solidfire.com
 o: 303.746.7302
 Advancing the way the world uses the
 cloudhttp://solidfire.com/solution/overview/?video=play
 *(tm)*




-- 
Daan


Re: Simulator : Error while creating a snapshot from a VM

2014-03-26 Thread Daan Hoogland
On Wed, Mar 26, 2014 at 1:26 PM, Meghna Kale meghna.k...@sungard.com wrote:
 meghna.k...@sungard.com

your in

-- 
Daan


checkin forgotten on master?

2014-03-26 Thread Daan Hoogland
jenkins is failing with

[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[271,36]
error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi

anybody didn't git-add a file?

-- 
Daan


Build failed in Jenkins: build-master #504

2014-03-26 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master/504/changes

Changes:

[wido] debian: Add JNA flag when starting agent

--
[...truncated 5294 lines...]
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[271,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[292,8]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[292,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[334,8]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[334,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[384,8]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[384,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[411,8]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[411,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[459,8]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[459,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[506,8]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[506,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[535,8]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[535,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[553,8]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[553,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[578,8]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[578,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[616,8]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[616,36]
 error: cannot find symbol
[ERROR] symbol:   class CloudStackCommand
[ERROR] location: class CloudStackApi
[ERROR] 
http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[643,8]
 error: cannot find symbol
[ERROR] 

Re: checkin forgotten on master?

2014-03-26 Thread Daan Hoogland
Sebastien,

looks like d5333f4596460c7123b66ad5c19fc69442696ea2 removed the
CloudStackCommand but not all refs to it.

commit d5333f4596460c7123b66ad5c19fc69442696ea2
Author: Dmitry Batkovich batya...@gmail.com 2014-03-24 15:46:45
Committer: Sebastien Goasguen run...@gmail.com 2014-03-24 15:59:10

On Wed, Mar 26, 2014 at 1:45 PM, Daan Hoogland daan.hoogl...@gmail.com wrote:
 jenkins is failing with

 [ERROR] 
 http://jenkins.buildacloud.org/job/build-master/ws/awsapi/src/com/cloud/stack/CloudStackApi.java:[271,36]
 error: cannot find symbol
 [ERROR] symbol:   class CloudStackCommand
 [ERROR] location: class CloudStackApi

 anybody didn't git-add a file?

 --
 Daan



-- 
Daan


Re: [ANNOUNCE] Apache CloudStack 4.3.0 Released

2014-03-26 Thread David Nalley
The RPM packages are noredist. The deb packages are not.
Will they remain that way? I don't know, it's really up to whoever
packages and puts them up. The packages are not an artifact from the
Apache CloudStack project.

On Wed, Mar 26, 2014 at 3:10 AM, Ryan Lei ryan...@cht.com.tw wrote:
 Please allow me to confirm again. Are the packages in these repos non-OSS
 (should I call it noredist?) and will continue to be so in future
 releases, too?

 DEB package repository: http://cloudstack.apt-get.eu/ubuntu
 RPM package repository: http://cloudstack.apt-get.eu/rhel/4.3/



 ---
 Yu-Heng (Ryan) Lei, Associate Researcher
 Cloud Computing Dept, Chunghwa Telecom Labs
 ryan...@cht.com.tw or ryanlei750...@gmail.com



 On Tue, Mar 25, 2014 at 11:40 PM, Wido den Hollander w...@widodh.nl wrote:



 On 03/25/2014 04:25 PM, benoit lair wrote:

 Super! The rpms are now available !


 Indeed. Currently the mirror is pumping out 300Mbit of CloudStack
 downloads with peaks to 500Mbit.

 Great to see so many downloads!

 Wido


  Thanks à lot guys.


 2014-03-25 16:00 GMT+01:00 Antone Heyward thehyperadvi...@gmail.com:

  @Wido - Thanks for the info, i did not know that.


 On Tue, Mar 25, 2014 at 10:49 AM, Wido den Hollander w...@widodh.nl
 wrote:



 On 03/25/2014 03:47 PM, Antone Heyward wrote:

  There should be a checklist to verify certain things are in place
 before
 the release announcement.



  Well, officially Apache projects only release source. The DEB and RPM
 packages are something from the community, not the project itself.

 While I get your point, it's not a part of the official release.

 Wido



 On Tue, Mar 25, 2014 at 10:42 AM, Wido den Hollander w...@widodh.nl
 wrote:



 On 03/25/2014 03:40 PM, Nux! wrote:

   On 25.03.2014 14:28, Chip Childers wrote:


   Website issues should all be resolved now.  Thanks for noticing
 this.



  Also http://cloudstack.apt-get.eu/rhel/4.3/ doesn't work (404).

 Nobody

 built the RPMs?


   Seems like it. I don't have RHEL systems available to build the

 packages
 one. Usually David build them.

 Wido







 --
 Antone
 @thehyperadvisor
 http://thehyperadvisor.com





Re: Review Request 17790: Domain-Account-User Sync Up Among Multiple Regions

2014-03-26 Thread Alex Ough

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

(Updated March 26, 2014, 1:32 p.m.)


Review request for cloudstack.


Changes
---

1. removed 'domain path' from AccountResponse  UserResponse
2. added 'Simulator' to the names of the classes in simulator folder


Repository: cloudstack-git


Description
---

Currently, under the environment of cloudstack with multiple regions, each 
region has its own management server running with a separate database, which 
will cause data discrepancies when users create/update/delete 
domain/account/user data independently in each management server. So to support 
multiple regions and provide one point of entry for each customer, this 
implementation duplicates domain/account/user information of customers in one 
region to all of the regions independently whenever there is any change.

https://issues.apache.org/jira/browse/CLOUDSTACK-4992
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Domain-Account-User+Sync+Up+Among+Multiple+Regions


Diffs (updated)
-

  api/src/com/cloud/domain/Domain.java c4755d7 
  api/src/com/cloud/event/EventTypes.java ec54ea1 
  api/src/com/cloud/user/Account.java 99ef954 
  api/src/com/cloud/user/AccountService.java a9be292 
  api/src/com/cloud/user/User.java 36e9028 
  api/src/com/cloud/user/UserAccount.java c5a0637 
  api/src/org/apache/cloudstack/api/ApiConstants.java 14df653 
  api/src/org/apache/cloudstack/api/BaseCmd.java e869ddf 
  api/src/org/apache/cloudstack/api/command/admin/region/AddRegionCmd.java 
f6743ba 
  api/src/org/apache/cloudstack/api/command/admin/region/UpdateRegionCmd.java 
b08cbbb 
  api/src/org/apache/cloudstack/api/response/AccountResponse.java b7d30ca 
  api/src/org/apache/cloudstack/api/response/DomainResponse.java 0c0281e 
  api/src/org/apache/cloudstack/api/response/RegionResponse.java 6c74fa6 
  api/src/org/apache/cloudstack/api/response/UserResponse.java 40e1561 
  api/src/org/apache/cloudstack/region/Region.java df64e44 
  api/src/org/apache/cloudstack/region/RegionService.java afefcc7 
  api/test/org/apache/cloudstack/api/command/test/RegionCmdTest.java 10c3d85 
  
engine/schema/resources/META-INF/cloudstack/core/spring-engine-schema-core-daos-context.xml
 08efb83 
  engine/schema/src/com/cloud/domain/DomainVO.java f6494b3 
  engine/schema/src/com/cloud/rmap/RmapVO.java PRE-CREATION 
  engine/schema/src/com/cloud/rmap/dao/RmapDao.java PRE-CREATION 
  engine/schema/src/com/cloud/rmap/dao/RmapDaoImpl.java PRE-CREATION 
  engine/schema/src/com/cloud/user/AccountVO.java fb1b58a 
  engine/schema/src/com/cloud/user/UserAccountVO.java cef9239 
  engine/schema/src/com/cloud/user/UserVO.java 68879f6 
  engine/schema/src/org/apache/cloudstack/region/RegionVO.java 608bd2b 
  framework/db/src/com/cloud/utils/db/Attribute.java 82c2bdb 
  framework/db/src/com/cloud/utils/db/GenericDao.java cb401cd 
  framework/db/src/com/cloud/utils/db/GenericDaoBase.java cecea84 
  framework/db/src/com/cloud/utils/db/SqlGenerator.java befe34b 
  
plugins/event-bus/rabbitmq/src/org/apache/cloudstack/mom/rabbitmq/AccountSubscriber.java
 PRE-CREATION 
  
plugins/event-bus/rabbitmq/src/org/apache/cloudstack/mom/rabbitmq/DomainSubscriber.java
 PRE-CREATION 
  
plugins/event-bus/rabbitmq/src/org/apache/cloudstack/mom/rabbitmq/MultiRegionEventBus.java
 PRE-CREATION 
  
plugins/event-bus/rabbitmq/src/org/apache/cloudstack/mom/rabbitmq/MultiRegionSubscriber.java
 PRE-CREATION 
  
plugins/event-bus/rabbitmq/src/org/apache/cloudstack/mom/rabbitmq/UserSubscriber.java
 PRE-CREATION 
  
plugins/event-bus/rabbitmq/test/org/apache/cloudstack/mom/rabbitmq/AccountSubscriberTest.java
 PRE-CREATION 
  
plugins/event-bus/rabbitmq/test/org/apache/cloudstack/mom/rabbitmq/DomainSubscriberTest.java
 PRE-CREATION 
  
plugins/event-bus/rabbitmq/test/org/apache/cloudstack/mom/rabbitmq/MultiRegionSubscriberTest.java
 PRE-CREATION 
  
plugins/event-bus/rabbitmq/test/org/apache/cloudstack/mom/rabbitmq/UserSubscriberTest.java
 PRE-CREATION 
  
plugins/network-elements/juniper-contrail/test/org/apache/cloudstack/network/contrail/management/MockAccountManager.java
 fa7be58 
  server/src/com/cloud/api/ApiDispatcher.java 5bdefe7 
  server/src/com/cloud/api/ApiResponseHelper.java 81bfe21 
  server/src/com/cloud/api/query/dao/AccountJoinDaoImpl.java 5e087fd 
  server/src/com/cloud/api/query/dao/UserAccountJoinDaoImpl.java 923a238 
  server/src/com/cloud/api/query/vo/AccountJoinVO.java 8d642ed 
  server/src/com/cloud/api/query/vo/UserAccountJoinVO.java ed29284 
  server/src/com/cloud/event/ActionEventUtils.java 9724d99 
  server/src/com/cloud/projects/ProjectManagerImpl.java 5a0ed1c 
  server/src/com/cloud/server/StatsCollector.java 548587c 
  server/src/com/cloud/user/AccountManager.java 983caf1 
  server/src/com/cloud/user/AccountManagerImpl.java 186cfb2 
  

Re: [DISCUSS]{BEHAVIORAL-CHANGE]Domain-Account-User Sync Up Among Multiple Regions

2014-03-26 Thread Alex Ough
Alena,

It took a little time to update the patch because I had a vacation last
week.
Now I uploaded the updated patch for review with below status, so please
check them and let me know what you think.
I hope it to be merged soon to wrap this up asap.

1. no change with waiting for comments on my recommendation.

2. The two things to turn on the sync-up among multiple regions is to
change the class name of eventNotificationBus into MultiRegionEventBus
from RabbitMQEventBus as below and change the value of
'region.full.scan.interval' in Global Settings. And the new classes are
never used unless the feature is turned on, so I'm not sure if auto wiring
is necessary here and Chiradeep asked not to use @inject in his initial
review, so I removed them.
 bean id=eventNotificationBus
class=org.apache.cloudstack.mom.rabbitmq.MultiRegionEventBus

3. They are not adaptors, but inherited classes to process
domain/account/user objects separately.

4. Done

5. Same

6. I removed 'domain path' from AccountResponse  UserResponse.

Thanks
Alex Ough


On Thu, Mar 13, 2014 at 9:48 PM, Alex Ough alex.o...@sungard.com wrote:

 What I think based on your comments are

 1. Well, I have a different thought. I'd rather have separated classes
 instead of having a class with lots of methods, which makes the maintenance
 easier. And as you show as an example, it is possible to create a method
 and merge them, but I think it is better to provide separate methods that
 are exposed outside so that the callers can know what to call with ease.

 2. Let me look at that.

 3. I'm not sure why you think they are adapters, but let me look at that
 class.

 4. OK, let me work on this.

 5. The urls are stored in the region table along with username and
 password. Please see 'RegionVO' under
 'engine/schema/src/org/apache/cloudstack/region'.

 Thanks
 Alex Ough


 On Thu, Mar 13, 2014 at 5:49 PM, Alena Prokharchyk 
 alena.prokharc...@citrix.com wrote:

 Alex,

 There are so many classes, and it makes it hard to see/review the feature.
 Can you come up with some sort of visual diagram, so its easier to see
 which component is responsible for what task, and how they interact with
 each other.

 My suggestions:

 1) I think it would make sense to merge all the classes doing utils tasks
 (forming and sending Apis to CS) - UserInterface, AccountInterface,
 DomainInterface - to a single util class. They do return generic types
 anyway - JsonArray/JsonObject, and they do perform a generic util task -
 forming and sending the request to the CS. I would merge them all with the
 BaseInterface and name it with the name indicating that this class is
 responsible for sending API calls against CS. And this would be your util
 class.


 You should also come up with some generic method that forms the requests
 to CS APIs to make the code cleaner.

 For example, look at these 2:


  public JSONObject lockUser(String userId) throws Exception {
 String paramStr = command=lockUserid= + userId +
 response=jsonsessionkey= + URLEncoder.encode(getSessionKey(),
 UTF-8);
 return sendApacheGet(paramStr);
 }


 public JSONObject disableUser(String userId) throws Exception {

 String paramStr = command=disableUserid= + userId +
 response=jsonsessionkey= + URLEncoder.encode(getSessionKey(),
 UTF-8);
 return sendApacheGet(paramStr);
 }


 You repeat appending json and session key in all of them. Why not create
 some generic method where you pass a) commandName 2) map of parameters,
 and make that method return JsonObject/JsonArray?


 2) I would suggest you utilize Spring framework in your code and auto wire
 all the dependencies by using @Inject rather than locating them with the
 components lifecycle. Please refer to Apache Wiki:


 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Using+Spring+in+Clou
 dStack




 3) AccountFullSyncProcessor/DomainFullSyncProcessor/other processors.
 These looks like adaptors to me. Have you looked at how AdapterBase is
 utilized in CS? You should take a look at it.


 4) I see that you have a folder called simulator. Does this folder
 contain Test classes used by some kind of simulator? Or would they be used
 in production? If its just for testing, please rename them by putting the
 word Simulator in the name. Look at how other simulator classes are
 named in CS (SimulatorImageStoreLifeCycleImpl.java for example)

 5) In the code, I haven't noticed where you store/read the end point URL
 to the CS Management server - the server address you are gonna send your
 requests to. If for example, you have MS1 and MS2, will your plugin from
 MS1 ever sends a request to MS2? And if it sends the request only to MS1,
 what ip address it uses?



 -Alena.

 On 3/13/14, 2:58 PM, Alex Ough alex.o...@sungard.com wrote:

 They are not called outside and only called from 'subscriber' classes and
 FullScanner class.
 
 Do you think these name changes are ok?
 
 - BaseInterface - UserInterface, AccountInterface, DomainInterface

Jenkins build is back to normal : build-master #505

2014-03-26 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master/505/changes



[GitHub] cloudstack-docs-install pull request: fix some URLs, internal link...

2014-03-26 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cloudstack-docs-install/pull/5


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Build failed in Jenkins: build-master-slowbuild #446

2014-03-26 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master-slowbuild/446/changes

Changes:

[jayapal] CLOUDSTACK-6240 Fixed updating advanced SG rules for vm nic secondary 
ip

[prachi] Adding support for 'readOnly' access. AccessType.ListEntry introduced.

[prachi] More changes to support 'readOnly' access

[prachi] IAMEntityType change in the test after merge

[koushik] simulator manager impl changes to handle SetMonitorServiceCommand 
This fixes some of the test cases in the integration test test_assign_vm.py 
when run against a simulator

[muralimmreddy] fix scripts that handle setting up bridge for tunnel network 
and for

[muralimmreddy] region level VPC support

[muralimmreddy] persist fact that network can span multiple zones, if network 
offering

[jayapal] CLOUDSTACK-6250 Review comments fixes for CLOUDSTACK-2692

[talluri] CLOUDSTACK-5113: temporary fix to return first template in the list

[chris.suich] Issue CS-5825 Part Resolution

[brian.federle] UI: Applied localization function to labels on Zone Chart page

[chris.suich] Revert Issue CS-5825 Part Resolution

[mike.tutkowski] CLOUDSTACK-6170

[min.chen] Revert CLOUDSTACK-6170 due to unit test failure.

[min.chen] Add newly separated admin cmd class in 
ManagementServerImpl.getCommands.

[mike.tutkowski] CLOUDSTACK-6170

[muralimmreddy] fix schema issue

[Alena Prokharchyk] Renamed static fields to comply with coding conventions.

[Alena Prokharchyk] Added version info to command and response parameters 
introduced in 4.4. Renamed newly introduced parameter 
StoragePoolReponse.overProvisionFactor to comply with coding conventions.

[bfederle] CLOUDSTACK-6272: Fix recover/restore VM actions

[jessicawang] CLOUDSTACK-6272: UI  Instance  actions  replace internal 
action name restore with recover, reset with reinstall.

[brian.federle] CLOUDSTACK-6272: Fix icons for recover/restore VM

[mike.tutkowski] CLOUDSTACK-6273 (Text changed slightly for a confirmation 
dialog)

[mike.tutkowski] CLOUDSTACK-6170 (Fixed an issue where custom compute offering 
and custom storage IOPS were leading to custom storage IOPS that were specified 
not being used)

[laszlo.hornyak] removed some redundant Boolean isntantiations

[laszlo.hornyak] new unit test for ApiResponseHelper

[laszlo.hornyak] Removed commented-out code

[laszlo.hornyak] Basic tests for ApiServlet

[laszlo.hornyak] added license header (build fix)

[mike.tutkowski] CLOUDSTACK-6170 (when the No Thanks radio button is 
selected, remove controls related to custom size and custom IOPS)

[girish] CLOUDSTACK-4840: Final set of test cases for Multiple IPs

[aprateek] CLOUDSTACK-6105: Initial version Windowsfication of the management 
server

[Devdeep Singh] CLOUDSTACK-5440: Add missing guestos types got centos 6.5, 
windows 8.1 and windows server 2012 r2.

[jayapal] CLOUDSTACK-6250: updated review comments, added unit test case

[runseb] cloudstack api post and ssl fix

[wido] rbd: Use qemu-img to convert from QCOW2 templates to RBD directly.

[runseb] Fix license headers and remove @author tag

[brian.federle] CLOUDSTACK-6227: Fix IE9 instance wizard

[laszlo.hornyak] Tests for ApiServlet

[laszlo.hornyak] removed commented-out code

[laszlo.hornyak] StringBuffer replaced with StringBuilder in ApiServlet

[laszlo.hornyak] StringBuffer replaced with StringBuilder in ApiServerService

[anthony.xu] fixed ssh execution log

[anthony.xu] vm meta sync sync xstoolsversion as well

[anthony.xu] addHostCmd will try to load all hosts in a pool

[anthony.xu] use vm instance name in log

[anthony.xu] when start vm times out, check VM status, if it is running , 
return succeed.

[girish] CLOUDSTACK-6279: Fix egress rules tests failed due to comparison 
between string and unicode

[mike.tutkowski] CLOUDSTACK-6170 (fixing a GUI formatting issue)

[talluri] CLOUDSTACK-6125: added smoke tests with following tags 1. selfservice 
- tests which can be run on simulator. 2. provisioning - tests that need actual 
hypervisor resource.

[muralimmreddy] CLOUDSTACK-6281: OVS distributed routing: exclude non 
implemented

[anthony.xu] check_heartbeat and pingtest execute through ssh, not XAPI, 
because XAPI may hang when master host is downi

[anthony.xu] make sure XS host is enabled when creating XAPI connection

[mike.tutkowski] CLOUDSTACK-6170 (fixing a GUI formatting issue)

[wido] debian: cloudstack-management requires libmysql-java for SQL connection

[brian.federle] Instances UI: Truncate name, displayname fields to prevent 
overflow

[sheng.yang] CLOUDSTACK-6285: Fix savepassword.sh script for clear out old 
entries

[alex.huang] Added a config to enable checking whether a db transaction is 
wrapped around communications with the agent.  If it is, an exception is 
thrown.  This assert has actually been there because it is part of CloudStack's 
design principle to not use db transactions as a way to enforce atomicity in 
executing things on hardware resources.  However, the assert has been ignored 
since the move to maven which 

Build failed in Jenkins: cloudstack-4.4-maven-build #58

2014-03-26 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/58/changes

Changes:

[Daan Hoogland] CLOUDSTACK-5432: potential bugs in case of stop mgt server while

[Daan Hoogland] Revert Fix license headers and remove @author tag

[Daan Hoogland] Revert cloudstack api post and ssl fix

--
[...truncated 1406 lines...]
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
Running com.cloud.ha.KVMFencerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec
Running org.apache.cloudstack.networkoffering.CreateNetworkOfferingTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.622 sec
Running org.apache.cloudstack.privategw.AclOnPrivateGwTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.181 sec
Running org.apache.cloudstack.service.ServiceOfferingVOTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.cloudstack.affinity.AffinityApiUnitTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.158 sec
Running org.apache.cloudstack.network.lb.ApplicationLoadBalancerTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.264 sec
Running org.apache.cloudstack.network.lb.CertServiceTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.542 sec
Running 
org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImplTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 sec
Running org.apache.cloudstack.region.RegionManagerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec

Results :

Tests run: 139, Failures: 0, Errors: 0, Skipped: 1

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Usage Server 4.4.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-usage ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/usage 
(includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-usage ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-usage ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (generate-resource) @ cloud-usage ---
[INFO] Executing tasks

main:
 [copy] Copying 2 files to 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/usage/target/transformed
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-usage ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-usage 
---
[INFO] Compiling 18 source files to 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/usage/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-usage ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-usage ---
[INFO] Compiling 4 source files to 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/usage/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-usage ---
[INFO] Surefire report directory: 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/usage/target/surefire-reports

---
 T E S T S
---
Running com.cloud.usage.UsageSanityCheckerTest
log4j:WARN No appenders could be found for logger 
(com.cloud.utils.crypt.EncryptionSecretKeyChecker).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.72 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] 
[INFO] Building Apache XenSource XAPI 6.2.0-1-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ xapi ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/deps/XenServerJava
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 

Build failed in Jenkins: cloudstack-4.4-maven-build #59

2014-03-26 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/59/

--
[...truncated 1429 lines...]
Running org.apache.cloudstack.networkoffering.CreateNetworkOfferingTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.755 sec
Running org.apache.cloudstack.privategw.AclOnPrivateGwTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.183 sec
Running org.apache.cloudstack.service.ServiceOfferingVOTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.cloudstack.affinity.AffinityApiUnitTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.149 sec
Running org.apache.cloudstack.network.lb.ApplicationLoadBalancerTest
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.31 sec
Running org.apache.cloudstack.network.lb.CertServiceTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.557 sec
Running 
org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImplTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 sec
Running org.apache.cloudstack.region.RegionManagerTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec

Results :

Tests run: 139, Failures: 0, Errors: 0, Skipped: 1

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Usage Server 4.4.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-usage ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/usage/target 
(includes = [**/*], excludes = [])
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/usage 
(includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-usage ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-usage ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (generate-resource) @ cloud-usage ---
[INFO] Executing tasks

main:
 [copy] Copying 2 files to 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/usage/target/transformed
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-usage ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-usage 
---
[INFO] Compiling 18 source files to 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/usage/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-usage ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-usage ---
[INFO] Compiling 4 source files to 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/usage/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-usage ---
[INFO] Surefire report directory: 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/usage/target/surefire-reports

---
 T E S T S
---
Running com.cloud.usage.UsageSanityCheckerTest
log4j:WARN No appenders could be found for logger 
(com.cloud.utils.crypt.EncryptionSecretKeyChecker).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.699 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] 
[INFO] Building Apache XenSource XAPI 6.2.0-1-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ xapi ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/deps/XenServerJava/target
 (includes = [**/*], excludes = [])
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/deps/XenServerJava
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ xapi ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ xapi ---
[debug] execute contextualize
[INFO] 

Build failed in Jenkins: cloudstack-4.4-maven-build #60

2014-03-26 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/60/changes

Changes:

[Daan Hoogland] checkstyle: trailing whitespace

--
[...truncated 1522 lines...]
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ xapi ---
[INFO] Compiling 51 source files to 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/deps/XenServerJava/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
xapi ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/deps/XenServerJava/test/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ xapi 
---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ xapi ---
[INFO] Surefire report directory: 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/deps/XenServerJava/target/surefire-reports

---
 T E S T S
---

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Cloud Engine Orchestration Component 
4.4.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloud-engine-orchestration ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/engine/orchestration/target
 (includes = [**/*], excludes = [])
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/engine/orchestration
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-engine-orchestration ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-engine-orchestration ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-engine-orchestration ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-engine-orchestration ---
[INFO] Compiling 68 source files to 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/engine/orchestration/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-engine-orchestration ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/engine/orchestration/test/resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-engine-orchestration ---
[INFO] Compiling 5 source files to 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/engine/orchestration/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ 
cloud-engine-orchestration ---
[INFO] Tests are skipped.
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Cloud Services 4.4.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloudstack-services 
---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/services 
(includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloudstack-services ---
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Secondary Storage 4.4.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 
cloudstack-service-secondary-storage ---
[INFO] Deleting 
http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/ws/services/secondary-storage
 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloudstack-service-secondary-storage ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 

Need jira item privileges for CLOUDSTACK-5150

2014-03-26 Thread Girish Chaudhari
Hello,

 Can someone please grant me privileges to assign the jira item to myself?

Thanks,

-- 
Girish Chaudhari
● Senior Engineer -  Product Development ● SunGard Availability Services, India
● Mobile: +91 9890647815 ●  Email: girish.chaudh...@sungard.com ●
Website: http://www.sungardas.in/


Re: Need jira item privileges for CLOUDSTACK-5150

2014-03-26 Thread Daan Hoogland
I can find no Girish Chaudhari in the system. What is your jira id?

On Wed, Mar 26, 2014 at 3:25 PM, Girish Chaudhari
girish.chaudh...@sungard.com wrote:
 Hello,

  Can someone please grant me privileges to assign the jira item to myself?

 Thanks,

 --
 Girish Chaudhari
 ● Senior Engineer -  Product Development ● SunGard Availability Services, 
 India
 ● Mobile: +91 9890647815 ●  Email: girish.chaudh...@sungard.com ●
 Website: http://www.sungardas.in/



-- 
Daan


Jenkins build is back to normal : cloudstack-4.4-maven-build #61

2014-03-26 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/61/changes



Review Request 19686: Implementation of the issue CLOUDSTACK 6139 - System.vm.use.local.storage global setting to zone setting

2014-03-26 Thread Wilder Rodrigues

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

Review request for cloudstack, daan Hoogland and Hugo Trippaers.


Bugs: CLOUDSTACK-6139
https://issues.apache.org/jira/browse/CLOUDSTACK-6139


Repository: cloudstack-git


Description
---

I changed the following code in order to accomplish what is expected by the 
issue:

Config enum:

SystemVMUseLocalStorage(
Advanced,
ManagementServer.class,
Boolean.class,
system.vm.use.local.storage,
false,
Indicates whether to use local storage pools or shared storage 
pools for system VMs.,
null, ConfigKey.Scope.Zone.toString()),

DeploymentPlanningManagerImpl:


* I injected the DataCenterDao in order to check if the Zone uses local 
storage

 String ssvmUseLocalStorage = 
_configDao.getValue(Config.SystemVMUseLocalStorage.key());
 DataCenterVO zone = _zoneDao.findById(plan.getDataCenterId());
 boolean zoneUsesLocalStorage = zone.isLocalStorageEnabled();

 if (ssvmUseLocalStorage.equalsIgnoreCase(true)  zoneUsesLocalStorage) {
useLocalStorage = true;
 }


Diffs
-

  server/src/com/cloud/configuration/Config.java af1f062 
  server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java 9cbbb10 

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


Testing
---

I have tested those changes running multiple zones (2 with local storage and 1 
without). Instances, networks, and all the rest are working fine. I ran the 
tests against 3 hosts running XenServer, where one of them has an extra disk 
which is used as NFS primary storage. From the 2 instances using local storage, 
one was created with Cloudtack 4.3 RC (9th round). In order to make it clear, 
below the steps I followed to test it:

Global settings: system.vm.use.local.storage == true


1.  Deploy Cloudstack 4.3.0 RC (9th round)

2.  Create a zone (local storage enabled)

a.   Create an instance and network

3.  Test firewalling and port forwarding

4.  Upgrade Cloudstack 4.3.0 RC (9th round) to Cloudstack 4.5.0-SNAPSHOT

5.  Test firewalling and port forwarding

6.  Create a zone (local storage enabled)

a.   Create an instance and network

7.  Create a zone (local storage disabled) + NFS primary storage

a.   Create an instance and network

8.  Test firewalling and port forwarding

With the steps above, I was able to set up the whole environment and make sure 
the VMs were running properly and ACL/Port-Forwarding were also working as 
expected.

Global settings: system.vm.use.local.storage == false


1.  Deploy Cloudstack 4.3.0 RC (9th round)

2.  Create a zone (local storage disabled) + NFS primary storage

a.   Create an instance and network

3.  Test firewalling and port forwarding

4.  Upgrade Cloudstack 4.3.0 RC (9th round) to Cloudstack 4.5.0-SNAPSHOT

5.  Test firewalling and port forwarding

6.  Set system.vm.use.local.storage to true

7.  Create a zone (local storage enabled)

a.   Create an instance and network

8.  Create a zone (local storage enabled)

a.   Create an instance and network

9.  Create new instance under the Zone which does not use local storage

10.  Test firewalling and port forwarding

Again, everything worked as expected.

With the steps provided above, I can make sure that resources created with 
version prior to master (4.5.0-SNAPSHOT) won't have problems when performing an 
update.


Thanks,

Wilder Rodrigues



Upgrade problems 3.0.7 - 4.2.1

2014-03-26 Thread Geoff Higginbottom
Hi,

I am trying to upgrade a CloudPlatfom 3.0.7 build to Apache CloudStack 4.2.1

The DB upgrade keeps failing with the logs highlighting a 'system integrity 
check failure'

Any help would be greatly appreciated


2014-03-26 14:53:31,883 DEBUG [utils.db.ScriptRunner] (Timer-2:null) --   
http://www.apache.org/licenses/LICENSE-2.0
2014-03-26 14:53:31,883 DEBUG [utils.db.ScriptRunner] (Timer-2:null) --
2014-03-26 14:53:31,883 DEBUG [utils.db.ScriptRunner] (Timer-2:null) -- Unless 
required by applicable law or agreed to in writing,
2014-03-26 14:53:31,884 DEBUG [utils.db.ScriptRunner] (Timer-2:null) -- 
software distributed under the License is distributed on an
2014-03-26 14:53:31,884 DEBUG [utils.db.ScriptRunner] (Timer-2:null) -- AS IS 
BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
2014-03-26 14:53:31,884 DEBUG [utils.db.ScriptRunner] (Timer-2:null) -- KIND, 
either express or implied.  See the License for the
2014-03-26 14:53:31,884 DEBUG [utils.db.ScriptRunner] (Timer-2:null) -- 
specific language governing permissions and limitations
2014-03-26 14:53:31,884 DEBUG [utils.db.ScriptRunner] (Timer-2:null) -- under 
the License.
2014-03-26 14:53:31,884 DEBUG [utils.db.ScriptRunner] (Timer-2:null) INSERT 
IGNORE INTO `cloud`.`configuration` VALUES ('Network', 'DEFAULT', 
'management-server', 'network.loadbalancer.haproxy.max.conn', '4096', 'Load 
Balancer(haproxy) maximum number of concurrent connections(global max)')
2014-03-26 14:53:31,885 DEBUG [utils.db.ScriptRunner] (Timer-2:null) ALTER 
TABLE `cloud`.`network_offerings` ADD COLUMN `concurrent_connections` int(10) 
unsigned COMMENT 'concurrent connections supported on this network'
2014-03-26 14:53:31,912 DEBUG [db.Transaction.Transaction] (Timer-2:null) 
Rolling back the transaction: Time = 36 Name =  
-CloudStartupServlet$1.run:52-TimerThread.mainLoop:534-TimerThread.run:484; 
called by 
-Transaction.rollback:897-Transaction.removeUpTo:840-Transaction.close:664-DatabaseUpgradeChecker.upgrade:298-DatabaseUpgradeChecker.check:394-ComponentContext.initComponentsLifeCycle:90-CloudStartupServlet$1.run:54-TimerThread.mainLoop:534-TimerThread.run:484
2014-03-26 14:53:31,916 ERROR [utils.component.ComponentContext] (Timer-2:null) 
System integrity check failed. Refuse to startup
javax.persistence.EntityExistsException: Entity already exists:
at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1346)
at 
com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:290)
at 
com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:394)
at 
com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:90)
   at 
com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
at java.util.TimerThread.mainLoop(Timer.java:534)
at java.util.TimerThread.run(Timer.java:484)
Caused by: 
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: 
Duplicate entry '3.0.7' for key 'version'
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:534)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1040)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4074)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4006)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2468)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2629)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2719)
at 
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at 
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2450)
at 
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2371)
at 
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2355)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1311)
... 6 more




Regards

Geoff Higginbottom
CTO / Cloud Architect

[Description: Mail Logo Bottom Align]

D: +44 20 3603 0542tel:+442036030542 | S: +44 20 3603 0540tel:+442036030540 
| M: +447968161581tel:+447968161581

geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com | 
www.shapeblue.comhtp://www.shapeblue.com/ | 

Re: Google Analytics

2014-03-26 Thread Milamber

Hello,

Piwik (http://piwik.org/, see demo link) can be a solution (it works 
like google analytics).


If GA is preferred, I can do the work (add the snippet on CMS template).

Milamber


Le 25/03/2014 21:36, David Nalley a ecrit :

Hi folks,

Many many moons ago we discussed doing some website analytics. At the
time we were discussing requesting a VM and using open source software
to do this. We never got that built out. I don't really have the
cycles (or inclination) at the moment for such a project, but I do
think there is a value in measuring various things about our web
traffic. As such, I'd like to stand up a Google Analytics account and
add the snipped of code to our CMS template so that every page gets a
copy of it. I'm happy to grant access to any committer who wishes to
spend their time looking at the data. Anyone offended by this?

I'll let this set for a few days and if no one becomes violently ill
I'll move forward and make the changes.

--David
.





RE: Upgrade problems 3.0.7 - 4.2.1

2014-03-26 Thread Alex Hitchins
It looks like the licence header hasn't been commented out in that script file. 
I will take a look.


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540tel:+442036030540 | M: 
+44tel:+447968161581 7788 423 969

alex.hitch...@shapeblue.commailto:alex.hitch...@shapeblue.com

From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
Sent: 26 March 2014 15:10
To: dev@cloudstack.apache.org
Subject: Upgrade problems 3.0.7 - 4.2.1

Hi,

I am trying to upgrade a CloudPlatfom 3.0.7 build to Apache CloudStack 4.2.1

The DB upgrade keeps failing with the logs highlighting a 'system integrity 
check failure'

Any help would be greatly appreciated


2014-03-26 14:53:31,883 DEBUG [utils.db.ScriptRunner] (Timer-2:null) --   
http://www.apache.org/licenses/LICENSE-2.0
2014-03-26 14:53:31,883 DEBUG [utils.db.ScriptRunner] (Timer-2:null) --
2014-03-26 14:53:31,883 DEBUG [utils.db.ScriptRunner] (Timer-2:null) -- Unless 
required by applicable law or agreed to in writing,
2014-03-26 14:53:31,884 DEBUG [utils.db.ScriptRunner] (Timer-2:null) -- 
software distributed under the License is distributed on an
2014-03-26 14:53:31,884 DEBUG [utils.db.ScriptRunner] (Timer-2:null) -- AS IS 
BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
2014-03-26 14:53:31,884 DEBUG [utils.db.ScriptRunner] (Timer-2:null) -- KIND, 
either express or implied.  See the License for the
2014-03-26 14:53:31,884 DEBUG [utils.db.ScriptRunner] (Timer-2:null) -- 
specific language governing permissions and limitations
2014-03-26 14:53:31,884 DEBUG [utils.db.ScriptRunner] (Timer-2:null) -- under 
the License.
2014-03-26 14:53:31,884 DEBUG [utils.db.ScriptRunner] (Timer-2:null) INSERT 
IGNORE INTO `cloud`.`configuration` VALUES ('Network', 'DEFAULT', 
'management-server', 'network.loadbalancer.haproxy.max.conn', '4096', 'Load 
Balancer(haproxy) maximum number of concurrent connections(global max)')
2014-03-26 14:53:31,885 DEBUG [utils.db.ScriptRunner] (Timer-2:null) ALTER 
TABLE `cloud`.`network_offerings` ADD COLUMN `concurrent_connections` int(10) 
unsigned COMMENT 'concurrent connections supported on this network'
2014-03-26 14:53:31,912 DEBUG [db.Transaction.Transaction] (Timer-2:null) 
Rolling back the transaction: Time = 36 Name =  
-CloudStartupServlet$1.run:52-TimerThread.mainLoop:534-TimerThread.run:484; 
called by 
-Transaction.rollback:897-Transaction.removeUpTo:840-Transaction.close:664-DatabaseUpgradeChecker.upgrade:298-DatabaseUpgradeChecker.check:394-ComponentContext.initComponentsLifeCycle:90-CloudStartupServlet$1.run:54-TimerThread.mainLoop:534-TimerThread.run:484
2014-03-26 14:53:31,916 ERROR [utils.component.ComponentContext] (Timer-2:null) 
System integrity check failed. Refuse to startup
javax.persistence.EntityExistsException: Entity already exists:
at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1346)
at 
com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:290)
at 
com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:394)
at 
com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:90)
   at 
com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
at java.util.TimerThread.mainLoop(Timer.java:534)
at java.util.TimerThread.run(Timer.java:484)
Caused by: 
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: 
Duplicate entry '3.0.7' for key 'version'
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:534)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1040)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4074)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4006)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2468)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2629)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2719)
at 
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at 
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2450)
at 
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2371)
at 
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2355)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at 

Re: [DISCUSS]{BEHAVIORAL-CHANGE]Domain-Account-User Sync Up Among Multiple Regions

2014-03-26 Thread Alex Ough
Sure, I'm looking forward to it.

Thanks
Alex Ough


On Wed, Mar 26, 2014 at 9:39 AM, Alena Prokharchyk 
alena.prokharc...@citrix.com wrote:

  Alex, I'm attending a conference today, will review the patch tomorrow.

  -Alena

   From: Alex Ough alex.o...@sungard.com
 Date: Wednesday, March 26, 2014 at 6:35 AM
 To: Alena Prokharchyk alena.prokharc...@citrix.com
 Cc: dev@cloudstack.apache.org dev@cloudstack.apache.org, Chiradeep
 Vittal chiradeep.vit...@citrix.com

 Subject: Re: [DISCUSS]{BEHAVIORAL-CHANGE]Domain-Account-User Sync Up
 Among Multiple Regions

   Alena,

  It took a little time to update the patch because I had a vacation last
 week.
 Now I uploaded the updated patch for review with below status, so please
 check them and let me know what you think.
 I hope it to be merged soon to wrap this up asap.

  1. no change with waiting for comments on my recommendation.

  2. The two things to turn on the sync-up among multiple regions is to
 change the class name of eventNotificationBus into MultiRegionEventBus
 from RabbitMQEventBus as below and change the value of
 'region.full.scan.interval' in Global Settings. And the new classes are
 never used unless the feature is turned on, so I'm not sure if auto wiring
 is necessary here and Chiradeep asked not to use @inject in his initial
 review, so I removed them.
   bean id=eventNotificationBus
 class=org.apache.cloudstack.mom.rabbitmq.MultiRegionEventBus

  3. They are not adaptors, but inherited classes to process
 domain/account/user objects separately.

  4. Done

  5. Same

  6. I removed 'domain path' from AccountResponse  UserResponse.

  Thanks
 Alex Ough


 On Thu, Mar 13, 2014 at 9:48 PM, Alex Ough alex.o...@sungard.com wrote:

 What I think based on your comments are

  1. Well, I have a different thought. I'd rather have separated classes
 instead of having a class with lots of methods, which makes the maintenance
 easier. And as you show as an example, it is possible to create a method
 and merge them, but I think it is better to provide separate methods that
 are exposed outside so that the callers can know what to call with ease.

  2. Let me look at that.

  3. I'm not sure why you think they are adapters, but let me look at
 that class.

  4. OK, let me work on this.

  5. The urls are stored in the region table along with username and
 password. Please see 'RegionVO' under
 'engine/schema/src/org/apache/cloudstack/region'.

  Thanks
  Alex Ough


 On Thu, Mar 13, 2014 at 5:49 PM, Alena Prokharchyk 
 alena.prokharc...@citrix.com wrote:

 Alex,

 There are so many classes, and it makes it hard to see/review the
 feature.
 Can you come up with some sort of visual diagram, so its easier to see
 which component is responsible for what task, and how they interact with
 each other.

 My suggestions:

 1) I think it would make sense to merge all the classes doing utils tasks
 (forming and sending Apis to CS) - UserInterface, AccountInterface,
 DomainInterface - to a single util class. They do return generic types
 anyway - JsonArray/JsonObject, and they do perform a generic util task -
 forming and sending the request to the CS. I would merge them all with
 the
 BaseInterface and name it with the name indicating that this class is
 responsible for sending API calls against CS. And this would be your util
 class.


 You should also come up with some generic method that forms the requests
 to CS APIs to make the code cleaner.

 For example, look at these 2:


  public JSONObject lockUser(String userId) throws Exception {
 String paramStr = command=lockUserid= + userId +
 response=jsonsessionkey= + URLEncoder.encode(getSessionKey(),
 UTF-8);
 return sendApacheGet(paramStr);
 }


 public JSONObject disableUser(String userId) throws Exception {

 String paramStr = command=disableUserid= + userId +
 response=jsonsessionkey= + URLEncoder.encode(getSessionKey(),
 UTF-8);
 return sendApacheGet(paramStr);
 }


 You repeat appending json and session key in all of them. Why not create
 some generic method where you pass a) commandName 2) map of parameters,
 and make that method return JsonObject/JsonArray?


 2) I would suggest you utilize Spring framework in your code and auto
 wire
 all the dependencies by using @Inject rather than locating them with the
 components lifecycle. Please refer to Apache Wiki:


 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Using+Spring+in+Clou
 dStack




 3) AccountFullSyncProcessor/DomainFullSyncProcessor/other processors.
 These looks like adaptors to me. Have you looked at how AdapterBase is
 utilized in CS? You should take a look at it.


 4) I see that you have a folder called simulator. Does this folder
 contain Test classes used by some kind of simulator? Or would they be
 used
 in production? If its just for testing, please rename them by putting the
 word Simulator in the name. Look at how other simulator classes are
 named in CS (SimulatorImageStoreLifeCycleImpl.java for example)


RE: Upgrade problems 3.0.7 - 4.2.1

2014-03-26 Thread Alex Hitchins
Ignore my last comment - I now see the -- prefx!


Regards

Alex Hitchins

D: +44 1892 523 587 | S: +44 2036 030 540tel:+442036030540 | M: 
+44tel:+447968161581 7788 423 969

alex.hitch...@shapeblue.commailto:alex.hitch...@shapeblue.com

From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
Sent: 26 March 2014 15:10
To: dev@cloudstack.apache.org
Subject: Upgrade problems 3.0.7 - 4.2.1

Hi,

I am trying to upgrade a CloudPlatfom 3.0.7 build to Apache CloudStack 4.2.1

The DB upgrade keeps failing with the logs highlighting a 'system integrity 
check failure'

Any help would be greatly appreciated


2014-03-26 14:53:31,883 DEBUG [utils.db.ScriptRunner] (Timer-2:null) --   
http://www.apache.org/licenses/LICENSE-2.0
2014-03-26 14:53:31,883 DEBUG [utils.db.ScriptRunner] (Timer-2:null) --
2014-03-26 14:53:31,883 DEBUG [utils.db.ScriptRunner] (Timer-2:null) -- Unless 
required by applicable law or agreed to in writing,
2014-03-26 14:53:31,884 DEBUG [utils.db.ScriptRunner] (Timer-2:null) -- 
software distributed under the License is distributed on an
2014-03-26 14:53:31,884 DEBUG [utils.db.ScriptRunner] (Timer-2:null) -- AS IS 
BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
2014-03-26 14:53:31,884 DEBUG [utils.db.ScriptRunner] (Timer-2:null) -- KIND, 
either express or implied.  See the License for the
2014-03-26 14:53:31,884 DEBUG [utils.db.ScriptRunner] (Timer-2:null) -- 
specific language governing permissions and limitations
2014-03-26 14:53:31,884 DEBUG [utils.db.ScriptRunner] (Timer-2:null) -- under 
the License.
2014-03-26 14:53:31,884 DEBUG [utils.db.ScriptRunner] (Timer-2:null) INSERT 
IGNORE INTO `cloud`.`configuration` VALUES ('Network', 'DEFAULT', 
'management-server', 'network.loadbalancer.haproxy.max.conn', '4096', 'Load 
Balancer(haproxy) maximum number of concurrent connections(global max)')
2014-03-26 14:53:31,885 DEBUG [utils.db.ScriptRunner] (Timer-2:null) ALTER 
TABLE `cloud`.`network_offerings` ADD COLUMN `concurrent_connections` int(10) 
unsigned COMMENT 'concurrent connections supported on this network'
2014-03-26 14:53:31,912 DEBUG [db.Transaction.Transaction] (Timer-2:null) 
Rolling back the transaction: Time = 36 Name =  
-CloudStartupServlet$1.run:52-TimerThread.mainLoop:534-TimerThread.run:484; 
called by 
-Transaction.rollback:897-Transaction.removeUpTo:840-Transaction.close:664-DatabaseUpgradeChecker.upgrade:298-DatabaseUpgradeChecker.check:394-ComponentContext.initComponentsLifeCycle:90-CloudStartupServlet$1.run:54-TimerThread.mainLoop:534-TimerThread.run:484
2014-03-26 14:53:31,916 ERROR [utils.component.ComponentContext] (Timer-2:null) 
System integrity check failed. Refuse to startup
javax.persistence.EntityExistsException: Entity already exists:
at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1346)
at 
com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:290)
at 
com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:394)
at 
com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:90)
   at 
com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
at java.util.TimerThread.mainLoop(Timer.java:534)
at java.util.TimerThread.run(Timer.java:484)
Caused by: 
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: 
Duplicate entry '3.0.7' for key 'version'
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:534)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1040)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4074)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4006)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2468)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2629)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2719)
at 
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at 
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2450)
at 
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2371)
at 
com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2355)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at 

Build failed in Jenkins: build-master-slowbuild #447

2014-03-26 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master-slowbuild/447/changes

Changes:

[Daan Hoogland] Revert Fix license headers and remove @author tag

[Daan Hoogland] Revert cloudstack api post and ssl fix

--
[...truncated 18195 lines...]

[INFO] 
[INFO]  cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi 
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi ---
[INFO] Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/ec2/AmazonEC2SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/s3/AmazonS3SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SAcl.java.  Ensure this class was instrumented, and this 
data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SBucket.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SHost.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/BucketPolicyDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackAccountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackConfigurationDao.java.  Ensure this 
class was instrumented, and this data file contains the instrumentation 
information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackSvcOfferingDao.java.  Ensure this class 
was instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackUserDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostMountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartPartsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartUploadsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultipartMetaDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] 

Re: Review Request 19635: CLOUDSTACK-6015: Add tests for adding/deleting new user account, adding/deleting user.

2014-03-26 Thread Yichi Lu
Take a look at cloudmonkey source code, cloudmonkey/requester.py::def
make_request(command, args, logger, host, port, apikey, secretkey,
protocol, path).



On Wed, Mar 26, 2014 at 7:17 AM, raja sekhar rajsekhar@gmail.comwrote:

 hii,
 can any one tell  How to sign an API call with Python or give any link
 regarding this.

 regards,
 rajasekhar



 On Wed, Mar 26, 2014 at 2:28 AM, Yichi Lu yichi...@sungard.com wrote:


 ---

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


 Review request for cloudstack and Sebastien Goasguen.


 Repository: cloudstack-git


 Description
 ---


 CLOUDSTACK-6015
 Following tests are new (need to be run in the order displayed):
 adduseraccount_test.py
 adduser_test.py
 login_logout_as_JohnD_test.py(new account's username is JohnD)
 deleteuser_test.py
 deleteuseraccount_test.py


 Diffs
 -

   test/selenium/common/shared.py b4f537f
   test/selenium/cspages/accounts/accountspage.py PRE-CREATION
   test/selenium/cspages/accounts/userspage.py PRE-CREATION
   test/selenium/cspages/cspage.py PRE-CREATION
   test/selenium/cspages/dashboard/dashboardpage.py 4394199
   test/selenium/cspages/login/loginpage.py e7795d9
   test/selenium/cstests/smoketests/adduser_test.py PRE-CREATION
   test/selenium/cstests/smoketests/adduseraccount_test.py PRE-CREATION
   test/selenium/cstests/smoketests/deleteuser_test.py PRE-CREATION
   test/selenium/cstests/smoketests/deleteuseraccount_test.py PRE-CREATION
   test/selenium/cstests/smoketests/login_logout_as_JohnD_test.py
 PRE-CREATION
   test/selenium/cstests/smoketests/smokecfg.py 8bbb350

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


 Testing
 ---


 tested against CloudStack 4.5.0-SNAPSHOT. Patch generated against the
 latest master.
 (Hope this time I did it right)


 Thanks,

 Yichi Lu





RE: [Jenkins] centos slaves offline

2014-03-26 Thread Paul Angus
Cool. thanks

Regards

Paul Angus
Cloud Architect
S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus
paul.an...@shapeblue.com

-Original Message-
From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers
Sent: 26 March 2014 10:49
To: dev@cloudstack.apache.org
Subject: Re: [Jenkins] centos slaves offline

Hey Paul,

It's all fixed now.

Cheers,

Hugo


On 26 mrt. 2014, at 07:35, Paul Angus paul.an...@shapeblue.com wrote:

 Hi,

 I've noticed this morning that a large number of jobs in the 4.4 branch and 
 some in the Master branch haven't run for a week.  There seems to be a queue 
 built up because some of the nodes are offline.

 Is this deliberate - or can someone fix it.

 cloudstack-buildslave-centos6-609  (offline)
 cloudstack-buildslave-centos6-715  (offline)

 Regards

 Paul Angus
 Senior Consultant / Cloud Architect



 S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus
 paul.an...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
 ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

 Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack Infrastructure Support offers the best 24/7 SLA for CloudStack 
 Environments.

 Apache CloudStack Bootcamp training courses

 **NEW!** CloudStack 4.2.1 training
 18th-19th February 2014, Brazil. Classroom 17th-23rd March 2014,
 Region A. Instructor led, On-line 24th-28th March 2014, Region B.
 Instructor led, On-line 16th-20th June 2014, Region A. Instructor led,
 On-line 23rd-27th June 2014, Region B. Instructor led, On-line

 This email and any attachments to it may be confidential and are intended 
 solely for the use of the individual to whom it is addressed. Any views or 
 opinions expressed are solely those of the author and do not necessarily 
 represent those of Shape Blue Ltd or related companies. If you are not the 
 intended recipient of this email, you must neither take any action based upon 
 its contents, nor copy or show it to anyone. Please contact the sender if you 
 believe you have received this email in error. Shape Blue Ltd is a company 
 incorporated in England  Wales. ShapeBlue Services India LLP is a company 
 incorporated in India and is operated under license from Shape Blue Ltd. 
 Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
 operated under license from Shape Blue Ltd. ShapeBlue is a registered 
 trademark.

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


CloudMonkey - Exit Status and Print Parameters Support

2014-03-26 Thread ilya musayev

Hi Rohit,

What is your thought on tracking exit code of CloudMonkey, as it stands 
- even if CloudMonkey prints Error: message, no exit code is passed 
back to a shell.
I know this may conflict if someone is using interactive shell, but 
perhaps we can have a batch mode that can push exit codes to a shell?


One other suggestion, as it stands if i do list zone (or any other 
object), i get a list of 10-20 parameters, while i can grep through what 
i need, it is rather painful and in some cases - grep just does not work 
because of funky unseen chars i assume. It would be nice to have on 
option that only prints user chosen parameters.


Example, cloudmonkey list zones :print id,dns,something-else - or any 
other way - as long as we get this functionality.


Thanks
ilya


Re: Review Request 18677: CLOUDSTACK-3272

2014-03-26 Thread Sonal Ojha

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

(Updated March 26, 2014, 5 p.m.)


Review request for cloudstack, Chiradeep Vittal and Murali Reddy.


Changes
---

Changes to work on master.


Bugs: CLOUDSTACK-3272
https://issues.apache.org/jira/browse/CLOUDSTACK-3272


Repository: cloudstack-git


Description
---

At present, there are multiple event types that are generated by CS, action 
events,usage events, resource state change events and alerts. Current problem is
all the events gets published on the event bus when event bus is enabled. 
Intent is to introduce global setting config parameters to specify which 
category of events to be published or not be published on the event bus.


Diffs
-

  server/src/com/cloud/configuration/Config.java 2d55f46 
  server/src/com/cloud/event/ActionEventUtils.java 00122de 
  server/src/com/cloud/test/DatabaseConfig.java 9370218 

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


Testing
---

Successfully tested publishing / not publishing of various events based on the 
global parameter publish.*.events.


File Attachments (updated)


0001-CLOUDSTACK-3272-Changes-to-allow-publishing-of-event.patch
  
https://reviews.apache.org/media/uploaded/files/2014/03/24/4deb6544-5515-4a99-9f1c-f927c88d3014__0001-CLOUDSTACK-3272-Changes-to-allow-publishing-of-event.patch
Patch File for master
  
https://reviews.apache.org/media/uploaded/files/2014/03/26/6e14c1e6-9d10-4689-88a5-320473dc2806__0001-CLOUDSTACK-3272-Changes-to-allow-publishing-of-event.patch
Patch File for master
  
https://reviews.apache.org/media/uploaded/files/2014/03/26/e412646f-9ab3-4376-9c08-e2c8b5ab25cb__0001-CLOUDSTACK-3272-Changes-to-allow-publishing-of-event.patch


Thanks,

Sonal Ojha



Re: Review Request 18677: CLOUDSTACK-3272

2014-03-26 Thread Sonal Ojha


 On March 26, 2014, 6:36 a.m., Murali Reddy wrote:
  Thanks for the patch. Could you please ensure patch can be applied to 
  master, its fails to apply.

Please try the latest one attached, let me know if you see any issue.


- Sonal


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


On March 26, 2014, 5 p.m., Sonal Ojha wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/18677/
 ---
 
 (Updated March 26, 2014, 5 p.m.)
 
 
 Review request for cloudstack, Chiradeep Vittal and Murali Reddy.
 
 
 Bugs: CLOUDSTACK-3272
 https://issues.apache.org/jira/browse/CLOUDSTACK-3272
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 At present, there are multiple event types that are generated by CS, action 
 events,usage events, resource state change events and alerts. Current problem 
 is
 all the events gets published on the event bus when event bus is enabled. 
 Intent is to introduce global setting config parameters to specify which 
 category of events to be published or not be published on the event bus.
 
 
 Diffs
 -
 
   server/src/com/cloud/configuration/Config.java 2d55f46 
   server/src/com/cloud/event/ActionEventUtils.java 00122de 
   server/src/com/cloud/test/DatabaseConfig.java 9370218 
 
 Diff: https://reviews.apache.org/r/18677/diff/
 
 
 Testing
 ---
 
 Successfully tested publishing / not publishing of various events based on 
 the global parameter publish.*.events.
 
 
 File Attachments
 
 
 0001-CLOUDSTACK-3272-Changes-to-allow-publishing-of-event.patch
   
 https://reviews.apache.org/media/uploaded/files/2014/03/24/4deb6544-5515-4a99-9f1c-f927c88d3014__0001-CLOUDSTACK-3272-Changes-to-allow-publishing-of-event.patch
 Patch File for master
   
 https://reviews.apache.org/media/uploaded/files/2014/03/26/6e14c1e6-9d10-4689-88a5-320473dc2806__0001-CLOUDSTACK-3272-Changes-to-allow-publishing-of-event.patch
 Patch File for master
   
 https://reviews.apache.org/media/uploaded/files/2014/03/26/e412646f-9ab3-4376-9c08-e2c8b5ab25cb__0001-CLOUDSTACK-3272-Changes-to-allow-publishing-of-event.patch
 
 
 Thanks,
 
 Sonal Ojha
 




Build failed in Jenkins: build-master-slowbuild #448

2014-03-26 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master-slowbuild/448/changes

Changes:

[wido] debian: Do not restart libvirt after agent upgrade.

--
[...truncated 18195 lines...]

[INFO] 
[INFO]  cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi 
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi ---
[INFO] Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/ec2/AmazonEC2SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/s3/AmazonS3SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SAcl.java.  Ensure this class was instrumented, and this 
data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SBucket.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SHost.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/BucketPolicyDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackAccountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackConfigurationDao.java.  Ensure this 
class was instrumented, and this data file contains the instrumentation 
information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackSvcOfferingDao.java.  Ensure this class 
was instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackUserDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostMountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartPartsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartUploadsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultipartMetaDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] 

Re: Need jira item privileges for CLOUDSTACK-5150

2014-03-26 Thread Girish Chaudhari
My Jira id is - girish.chaudhari

On Wed, Mar 26, 2014 at 8:03 PM, Daan Hoogland daan.hoogl...@gmail.com wrote:
 I can find no Girish Chaudhari in the system. What is your jira id?

 On Wed, Mar 26, 2014 at 3:25 PM, Girish Chaudhari
 girish.chaudh...@sungard.com wrote:
 Hello,

  Can someone please grant me privileges to assign the jira item to myself?

 Thanks,

 --
 Girish Chaudhari
 ● Senior Engineer -  Product Development ● SunGard Availability Services, 
 India
 ● Mobile: +91 9890647815 ●  Email: girish.chaudh...@sungard.com ●
 Website: http://www.sungardas.in/



 --
 Daan




-- 
Girish Chaudhari
● Senior Engineer -  Product Development ● SunGard Availability Services, India
● Mobile: +91 9890647815 ●  Email: girish.chaudh...@sungard.com ●
Website: http://www.sungardas.in/


Re: CloudMonkey - Exit Status and Print Parameters Support

2014-03-26 Thread Sebastien Goasguen

On Mar 26, 2014, at 12:55 PM, ilya musayev ilya.mailing.li...@gmail.com wrote:

 Hi Rohit,
 
 What is your thought on tracking exit code of CloudMonkey, as it stands - 
 even if CloudMonkey prints Error: message, no exit code is passed back to a 
 shell.
 I know this may conflict if someone is using interactive shell, but perhaps 
 we can have a batch mode that can push exit codes to a shell?
 
 One other suggestion, as it stands if i do list zone (or any other object), i 
 get a list of 10-20 parameters, while i can grep through what i need, it is 
 rather painful and in some cases - grep just does not work because of funky 
 unseen chars i assume. It would be nice to have on option that only prints 
 user chosen parameters.
 
 Example, cloudmonkey list zones :print id,dns,something-else - or any other 
 way - as long as we get this functionality.
 

list zones filter=id,name

try that :)

 Thanks
 ilya



Re: [DISCUSS]{BEHAVIORAL-CHANGE]Domain-Account-User Sync Up Among Multiple Regions

2014-03-26 Thread Chiradeep Vittal
I didn’t say “do not use auto wiring”. I said the convention is to use @Inject 
which you didn’t have.

From: Alena Prokharchyk 
alena.prokharc...@citrix.commailto:alena.prokharc...@citrix.com
Date: Wednesday, March 26, 2014 at 7:39 AM
To: Alex Ough alex.o...@sungard.commailto:alex.o...@sungard.com, 
dev@cloudstack.apache.orgmailto:dev@cloudstack.apache.org 
dev@cloudstack.apache.orgmailto:dev@cloudstack.apache.org
Cc: Chiradeep Vittal 
chiradeep.vit...@citrix.commailto:chiradeep.vit...@citrix.com
Subject: Re: [DISCUSS]{BEHAVIORAL-CHANGE]Domain-Account-User Sync Up Among 
Multiple Regions

Alex, I’m attending a conference today, will review the patch tomorrow.

-Alena

From: Alex Ough alex.o...@sungard.commailto:alex.o...@sungard.com
Date: Wednesday, March 26, 2014 at 6:35 AM
To: Alena Prokharchyk 
alena.prokharc...@citrix.commailto:alena.prokharc...@citrix.com
Cc: dev@cloudstack.apache.orgmailto:dev@cloudstack.apache.org 
dev@cloudstack.apache.orgmailto:dev@cloudstack.apache.org, Chiradeep Vittal 
chiradeep.vit...@citrix.commailto:chiradeep.vit...@citrix.com
Subject: Re: [DISCUSS]{BEHAVIORAL-CHANGE]Domain-Account-User Sync Up Among 
Multiple Regions

Alena,

It took a little time to update the patch because I had a vacation last week.
Now I uploaded the updated patch for review with below status, so please check 
them and let me know what you think.
I hope it to be merged soon to wrap this up asap.

1. no change with waiting for comments on my recommendation.

2. The two things to turn on the sync-up among multiple regions is to change 
the class name of eventNotificationBus into MultiRegionEventBus from 
RabbitMQEventBus as below and change the value of 'region.full.scan.interval' 
in Global Settings. And the new classes are never used unless the feature is 
turned on, so I'm not sure if auto wiring is necessary here and Chiradeep asked 
not to use @inject in his initial review, so I removed them.
 bean id=eventNotificationBus 
class=org.apache.cloudstack.mom.rabbitmq.MultiRegionEventBus

3. They are not adaptors, but inherited classes to process domain/account/user 
objects separately.

4. Done

5. Same

6. I removed 'domain path' from AccountResponse  UserResponse.

Thanks
Alex Ough


On Thu, Mar 13, 2014 at 9:48 PM, Alex Ough 
alex.o...@sungard.commailto:alex.o...@sungard.com wrote:
What I think based on your comments are

1. Well, I have a different thought. I'd rather have separated classes instead 
of having a class with lots of methods, which makes the maintenance easier. And 
as you show as an example, it is possible to create a method and merge them, 
but I think it is better to provide separate methods that are exposed outside 
so that the callers can know what to call with ease.

2. Let me look at that.

3. I'm not sure why you think they are adapters, but let me look at that class.

4. OK, let me work on this.

5. The urls are stored in the region table along with username and password. 
Please see 'RegionVO' under 'engine/schema/src/org/apache/cloudstack/region'.

Thanks
Alex Ough


On Thu, Mar 13, 2014 at 5:49 PM, Alena Prokharchyk 
alena.prokharc...@citrix.commailto:alena.prokharc...@citrix.com wrote:
Alex,

There are so many classes, and it makes it hard to see/review the feature.
Can you come up with some sort of visual diagram, so its easier to see
which component is responsible for what task, and how they interact with
each other.

My suggestions:

1) I think it would make sense to merge all the classes doing utils tasks
(forming and sending Apis to CS) - UserInterface, AccountInterface,
DomainInterface - to a single util class. They do return generic types
anyway - JsonArray/JsonObject, and they do perform a generic util task -
forming and sending the request to the CS. I would merge them all with the
BaseInterface and name it with the name indicating that this class is
responsible for sending API calls against CS. And this would be your util
class.


You should also come up with some generic method that forms the requests
to CS APIs to make the code cleaner.

For example, look at these 2:


 public JSONObject lockUser(String userId) throws Exception {
String paramStr = command=lockUserid= + userId +
response=jsonsessionkey= + URLEncoder.encode(getSessionKey(), UTF-8);
return sendApacheGet(paramStr);
}


public JSONObject disableUser(String userId) throws Exception {

String paramStr = command=disableUserid= + userId +
response=jsonsessionkey= + URLEncoder.encode(getSessionKey(), UTF-8);
return sendApacheGet(paramStr);
}


You repeat appending json and session key in all of them. Why not create
some generic method where you pass a) commandName 2) map of parameters,
and make that method return JsonObject/JsonArray?


2) I would suggest you utilize Spring framework in your code and auto wire
all the dependencies by using @Inject rather than locating them with the
components lifecycle. Please refer to Apache Wiki:


Re: Review Request 19676: CLOUDSTACK-5674: Added few fixes for the bug

2014-03-26 Thread ASF Subversion and Git Services

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


Commit e4053bc32b6a522f94e69d12406fca46f51e03cf in cloudstack's branch 
refs/heads/marvin from Santhosh Edukulla
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=e4053bc ]

CLOUDSTACK-5674: Added few fixes for CLOUDSTACK-5674


- ASF Subversion and Git Services


On March 26, 2014, 10:44 a.m., Santhosh Edukulla wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19676/
 ---
 
 (Updated March 26, 2014, 10:44 a.m.)
 
 
 Review request for cloudstack and Girish Shilamkar.
 
 
 Bugs: CLOUDSTACK-5674
 https://issues.apache.org/jira/browse/CLOUDSTACK-5674
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Added few changes for CLOUDSTACK-5674
 
 
 Diffs
 -
 
   tools/marvin/marvin/lib/common.py 77527ad 
   tools/marvin/marvin/marvinInit.py 5059cdb 
   tools/marvin/marvin/marvinPlugin.py 222b357 
 
 Diff: https://reviews.apache.org/r/19676/diff/
 
 
 Testing
 ---
 
 Tested locally to run changes and it works.
 
 
 Thanks,
 
 Santhosh Edukulla
 




Re: Review Request 19676: CLOUDSTACK-5674: Added few fixes for the bug

2014-03-26 Thread ASF Subversion and Git Services

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


Commit e4053bc32b6a522f94e69d12406fca46f51e03cf in cloudstack's branch 
refs/heads/marvin from Santhosh Edukulla
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=e4053bc ]

CLOUDSTACK-5674: Added few fixes for CLOUDSTACK-5674


- ASF Subversion and Git Services


On March 26, 2014, 10:44 a.m., Santhosh Edukulla wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/19676/
 ---
 
 (Updated March 26, 2014, 10:44 a.m.)
 
 
 Review request for cloudstack and Girish Shilamkar.
 
 
 Bugs: CLOUDSTACK-5674
 https://issues.apache.org/jira/browse/CLOUDSTACK-5674
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Added few changes for CLOUDSTACK-5674
 
 
 Diffs
 -
 
   tools/marvin/marvin/lib/common.py 77527ad 
   tools/marvin/marvin/marvinInit.py 5059cdb 
   tools/marvin/marvin/marvinPlugin.py 222b357 
 
 Diff: https://reviews.apache.org/r/19676/diff/
 
 
 Testing
 ---
 
 Tested locally to run changes and it works.
 
 
 Thanks,
 
 Santhosh Edukulla
 




Re: [DISCUSS]{BEHAVIORAL-CHANGE]Domain-Account-User Sync Up Among Multiple Regions

2014-03-26 Thread Alex Ough
Sorry, my bad. I mis-read your comment.

Thanks for pointing it out.
Alex Ough


On Wed, Mar 26, 2014 at 12:25 PM, Chiradeep Vittal 
chiradeep.vit...@citrix.com wrote:

  I didn't say do not use auto wiring. I said the convention is to use
 @Inject which you didn't have.

   From: Alena Prokharchyk alena.prokharc...@citrix.com
 Date: Wednesday, March 26, 2014 at 7:39 AM
 To: Alex Ough alex.o...@sungard.com, dev@cloudstack.apache.org 
 dev@cloudstack.apache.org
 Cc: Chiradeep Vittal chiradeep.vit...@citrix.com

 Subject: Re: [DISCUSS]{BEHAVIORAL-CHANGE]Domain-Account-User Sync Up
 Among Multiple Regions

   Alex, I'm attending a conference today, will review the patch tomorrow.

  -Alena

   From: Alex Ough alex.o...@sungard.com
 Date: Wednesday, March 26, 2014 at 6:35 AM
 To: Alena Prokharchyk alena.prokharc...@citrix.com
 Cc: dev@cloudstack.apache.org dev@cloudstack.apache.org, Chiradeep
 Vittal chiradeep.vit...@citrix.com
 Subject: Re: [DISCUSS]{BEHAVIORAL-CHANGE]Domain-Account-User Sync Up
 Among Multiple Regions

   Alena,

  It took a little time to update the patch because I had a vacation last
 week.
 Now I uploaded the updated patch for review with below status, so please
 check them and let me know what you think.
 I hope it to be merged soon to wrap this up asap.

  1. no change with waiting for comments on my recommendation.

  2. The two things to turn on the sync-up among multiple regions is to
 change the class name of eventNotificationBus into MultiRegionEventBus
 from RabbitMQEventBus as below and change the value of
 'region.full.scan.interval' in Global Settings. And the new classes are
 never used unless the feature is turned on, so I'm not sure if auto wiring
 is necessary here and Chiradeep asked not to use @inject in his initial
 review, so I removed them.
   bean id=eventNotificationBus
 class=org.apache.cloudstack.mom.rabbitmq.MultiRegionEventBus

  3. They are not adaptors, but inherited classes to process
 domain/account/user objects separately.

  4. Done

  5. Same

  6. I removed 'domain path' from AccountResponse  UserResponse.

  Thanks
 Alex Ough


 On Thu, Mar 13, 2014 at 9:48 PM, Alex Ough alex.o...@sungard.com wrote:

 What I think based on your comments are

  1. Well, I have a different thought. I'd rather have separated classes
 instead of having a class with lots of methods, which makes the maintenance
 easier. And as you show as an example, it is possible to create a method
 and merge them, but I think it is better to provide separate methods that
 are exposed outside so that the callers can know what to call with ease.

  2. Let me look at that.

  3. I'm not sure why you think they are adapters, but let me look at
 that class.

  4. OK, let me work on this.

  5. The urls are stored in the region table along with username and
 password. Please see 'RegionVO' under
 'engine/schema/src/org/apache/cloudstack/region'.

  Thanks
  Alex Ough


 On Thu, Mar 13, 2014 at 5:49 PM, Alena Prokharchyk 
 alena.prokharc...@citrix.com wrote:

 Alex,

 There are so many classes, and it makes it hard to see/review the
 feature.
 Can you come up with some sort of visual diagram, so its easier to see
 which component is responsible for what task, and how they interact with
 each other.

 My suggestions:

 1) I think it would make sense to merge all the classes doing utils tasks
 (forming and sending Apis to CS) - UserInterface, AccountInterface,
 DomainInterface - to a single util class. They do return generic types
 anyway - JsonArray/JsonObject, and they do perform a generic util task -
 forming and sending the request to the CS. I would merge them all with
 the
 BaseInterface and name it with the name indicating that this class is
 responsible for sending API calls against CS. And this would be your util
 class.


 You should also come up with some generic method that forms the requests
 to CS APIs to make the code cleaner.

 For example, look at these 2:


  public JSONObject lockUser(String userId) throws Exception {
 String paramStr = command=lockUserid= + userId +
 response=jsonsessionkey= + URLEncoder.encode(getSessionKey(),
 UTF-8);
 return sendApacheGet(paramStr);
 }


 public JSONObject disableUser(String userId) throws Exception {

 String paramStr = command=disableUserid= + userId +
 response=jsonsessionkey= + URLEncoder.encode(getSessionKey(),
 UTF-8);
 return sendApacheGet(paramStr);
 }


 You repeat appending json and session key in all of them. Why not create
 some generic method where you pass a) commandName 2) map of parameters,
 and make that method return JsonObject/JsonArray?


 2) I would suggest you utilize Spring framework in your code and auto
 wire
 all the dependencies by using @Inject rather than locating them with the
 components lifecycle. Please refer to Apache Wiki:


 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Using+Spring+in+Clou
 dStack




 3) AccountFullSyncProcessor/DomainFullSyncProcessor/other processors.
 These 

Re: Need jira item privileges for CLOUDSTACK-5150

2014-03-26 Thread Daan Hoogland
On Wed, Mar 26, 2014 at 6:06 PM, Girish Chaudhari
girish.chaudh...@sungard.com wrote:
 girish.chaudhari

You are allready there!?!

@david: should Girish have rights to assign tickets to himself?

-- 
Daan


Review Request 19695: CLOUDSTACK-6227 (Add copy-paste support for detail view fields)

2014-03-26 Thread Gabor Apati-Nagy

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

Review request for cloudstack, Brian Federle and Jessica Wang.


Bugs: CLOUDSTACK-6227
https://issues.apache.org/jira/browse/CLOUDSTACK-6227


Repository: cloudstack-git


Description
---

CLOUDSTACK-6227 (Add copy-paste support for detail view fields):
DetailView widget now supports bool isCopyPaste property that can be set for 
fields. If this is set to true, the text of this field is displayed using 
ellipsis formatting* and a copy-paste icon is available right next to it. On 
clicking this icon, the full text is displayed and auto-selected in scrollable 
control so the user can use Ctrl-C or can view the original value.
*: tooltip is also enabled showing the original non-ellipsed value


Diffs
-

  ui/css/cloudstack3.css 4aab13b 
  ui/images/sprites.png ee640476efab85e6ec91fd9b09a0ac179f4d259b 
  ui/scripts/accounts.js aff780e 
  ui/scripts/ui/widgets/detailView.js 4c5aeea 

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


Testing
---


Thanks,

Gabor Apati-Nagy



[4.4] can't start management server on centos6.5

2014-03-26 Thread Paul Angus
I created a repo from the RPMs Jenkins built, but the management server bombs 
out almost immediately when the service tries to start.

Mar 26, 2014 6:20:18 PM org.apache.catalina.loader.WebappClassLoader 
validateJarFile
INFO: 
validateJarFile(/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/servlet-api-2.5-20081211.jar)
 - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: 
javax/servlet/Servlet.class
Mar 26, 2014 6:20:18 PM org.apache.catalina.loader.WebappClassLoader 
validateJarFile
INFO: 
validateJarFile(/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/tomcat-embed-core-7.0.30.jar)
 - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: 
javax/servlet/Servlet.class
Mar 26, 2014 6:20:19 PM org.apache.tomcat.util.modeler.Registry 
registerComponent
SEVERE: Null component 
Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/client,J2EEApplication=none,J2EEServer=none
Mar 26, 2014 6:20:19 PM org.apache.catalina.startup.HostConfig deployDirectory
SEVERE: Error deploying web application directory client
java.lang.UnsupportedClassVersionError: 
org/apache/cloudstack/spring/module/web/CloudStackContextLoaderListener : 
Unsupported major.minor version 51.0 (unable to load class 
org.apache.cloudstack.spring.module.web.CloudStackContextLoaderListener)

any ideas?


Regards,

Paul Angus
Senior Consultant / Cloud Architect
[cid:image003.png@01CEF0F0.9C9104D0]

S: +44 20 3603 0540tel:+442036030540 | M: +4tel:+44796816158147711418784 | 
T: @CloudyAngus
paul.an...@shapeblue.commailto:paul.an...@shapeblue.com | 
www.shapeblue.comhtp://www.shapeblue.com/ | 
Twitter:@shapebluehttps://twitter.com/
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
18th-19th February 2014, Brazil. 
Classroomhttp://shapeblue.com/cloudstack-training/
17th-23rd March 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
24th-28th March 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Build failed in Jenkins: build-master-slowbuild #449

2014-03-26 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master-slowbuild/449/

--
[...truncated 18195 lines...]

[INFO] 
[INFO]  cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi 
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi ---
[INFO] Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/ec2/AmazonEC2SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/s3/AmazonS3SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SAcl.java.  Ensure this class was instrumented, and this 
data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SBucket.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SHost.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/BucketPolicyDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackAccountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackConfigurationDao.java.  Ensure this 
class was instrumented, and this data file contains the instrumentation 
information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackSvcOfferingDao.java.  Ensure this class 
was instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackUserDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostMountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartPartsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartUploadsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultipartMetaDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 

Eclipse setup assistance

2014-03-26 Thread Alex Hitchins
All,


I'm setting up a new development environment on Ubuntu (moving away from 
Windows). Everthing seems sorted except when I try to import the project using 
the Maven Import setting. I get to the screen asking to install some components 
(Checkstyle configuration plugin for M2Eclipse - 1.0.0.201307281919, m2e 
connector for mavenarchiver pom properties - 0.16.0.201401211452, m2e-liferay - 
Maven Integration for Liferay IDE - 2.0.1.201401270944-ga2). When clicking 
next, I get the following error message.

Is the issue I need a to remove the Maven Integration I have currently and 
reinstall the other version? I was hoping there would be an easier way around 
the issue.

Cannot complete the install because of a conflicting dependency.
  Software being installed: Checkstyle configuration plugin for M2Eclipse 
1.0.0.201307281919 
(com.basistech.m2e.code.quality.checkstyle.feature.feature.group 
1.0.0.201307281919)
  Software being installed: m2e-liferay - Maven Integration for Liferay IDE 
2.0.1.201401270944-ga2 (com.liferay.ide.maven.feature.group 
2.0.1.201401270944-ga2)
  Only one of the following can be installed at once:
Maven Integration for Eclipse JDT 1.4.0.20130601-0317 (org.eclipse.m2e.jdt 
1.4.0.20130601-0317)
Maven Integration for Eclipse JDT 1.5.0.20131218-1208 (org.eclipse.m2e.jdt 
1.5.0.20131218-1208)
  Cannot satisfy dependency:
From: M2Eclipse Project Configurator for Eclipse Checkstyle 
1.0.0.201307281919 (com.basistech.m2e.code.quality.checkstyle 
1.0.0.201307281919)
To: bundle org.eclipse.m2e.jdt [1.0.0,1.5.0)
  Cannot satisfy dependency:
From: Checkstyle configuration plugin for M2Eclipse 1.0.0.201307281919 
(com.basistech.m2e.code.quality.checkstyle.feature.feature.group 
1.0.0.201307281919)
To: com.basistech.m2e.code.quality.checkstyle [1.0.0.201307281919]
  Cannot satisfy dependency:
From: m2e-liferay - Maven Integration for Liferay IDE 
2.0.1.201401270944-ga2 (com.liferay.ide.maven.feature.group 
2.0.1.201401270944-ga2)
To: org.eclipse.m2e.feature.feature.group 1.5.0
  Cannot satisfy dependency: From: m2e - Maven Integration for Eclipse 
(includes Incubating components) 1.5.0.20131218-1208 
(org.eclipse.m2e.feature.feature.group 1.5.0.20131218-1208)
To: org.eclipse.m2e.jdt [1.5.0.20131218-1208]


Regards,

Alex Hitchins

D: +44 1892 523 587 | S: +44 20 3603 0540tel:+442036030540 | M: 
+44tel:+447968161581 7788 423 969

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS



.

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
18th-19th February 2014, Brazil. 
Classroomhttp://shapeblue.com/cloudstack-training/
17th-23rd March 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
24th-28th March 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
16th-20th June 2014, Region A. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
23rd-27th June 2014, Region B. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: [4.4] can't start management server on centos6.5

2014-03-26 Thread Erik Weber
Got java7 installed?

Erik
26. mars 2014 20:18 skrev Paul Angus paul.an...@shapeblue.com følgende:

  I created a repo from the RPMs Jenkins built, but the management server
 bombs out almost immediately when the service tries to start.



 Mar 26, 2014 6:20:18 PM org.apache.catalina.loader.WebappClassLoader
 validateJarFile

 INFO:
 validateJarFile(/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/servlet-api-2.5-20081211.jar)
 - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
 javax/servlet/Servlet.class

 Mar 26, 2014 6:20:18 PM org.apache.catalina.loader.WebappClassLoader
 validateJarFile

 INFO:
 validateJarFile(/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/tomcat-embed-core-7.0.30.jar)
 - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
 javax/servlet/Servlet.class

 Mar 26, 2014 6:20:19 PM org.apache.tomcat.util.modeler.Registry
 registerComponent

 SEVERE: Null component
 Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/client,J2EEApplication=none,J2EEServer=none

 Mar 26, 2014 6:20:19 PM org.apache.catalina.startup.HostConfig
 deployDirectory

 SEVERE: Error deploying web application directory client

 java.lang.UnsupportedClassVersionError:
 org/apache/cloudstack/spring/module/web/CloudStackContextLoaderListener :
 Unsupported major.minor version 51.0 (unable to load class
 org.apache.cloudstack.spring.module.web.CloudStackContextLoaderListener)



 any ideas?





 Regards,



 Paul Angus

 *Senior Consultant / Cloud Architect*

 [image: cid:image003.png@01CEF0F0.9C9104D0]



 S: +44 20 3603 0540 +442036030540 | M: +4 +44796816158147711418784 |
 T: @CloudyAngus

 paul.an...@shapeblue.com | www.shapeblue.com | 
 Twitter:@shapebluehttps://twitter.com/

 ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS


  Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack Infrastructure 
 Supporthttp://shapeblue.com/cloudstack-infrastructure-support/offers the 
 best 24/7 SLA for CloudStack Environments.

 Apache CloudStack Bootcamp training courses

 **NEW!** CloudStack 4.2.1 traininghttp://shapeblue.com/cloudstack-training/
 18th-19th February 2014, Brazil. 
 Classroomhttp://shapeblue.com/cloudstack-training/
 17th-23rd March 2014, Region A. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 24th-28th March 2014, Region B. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 16th-20th June 2014, Region A. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/
 23rd-27th June 2014, Region B. Instructor led, 
 On-linehttp://shapeblue.com/cloudstack-training/

 This email and any attachments to it may be confidential and are intended
 solely for the use of the individual to whom it is addressed. Any views or
 opinions expressed are solely those of the author and do not necessarily
 represent those of Shape Blue Ltd or related companies. If you are not the
 intended recipient of this email, you must neither take any action based
 upon its contents, nor copy or show it to anyone. Please contact the sender
 if you believe you have received this email in error. Shape Blue Ltd is a
 company incorporated in England  Wales. ShapeBlue Services India LLP is a
 company incorporated in India and is operated under license from Shape Blue
 Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
 and is operated under license from Shape Blue Ltd. ShapeBlue is a
 registered trademark.



Re: Review Request 19446: CLOUDSTACK-6191: Volume provisioning type option

2014-03-26 Thread Yoshikazu Nojima

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

(Updated March 26, 2014, 11:24 p.m.)


Review request for cloudstack, Mike Tutkowski, Marcus Sorensen, and Wido den 
Hollander.


Changes
---

rebase to origin/master


Bugs: CLOUDSTACK-6191
https://issues.apache.org/jira/browse/CLOUDSTACK-6191


Repository: cloudstack-git


Description
---

purpose:
Thin provisioning of a volume saves consumption of a storage, and fat 
provisioning minimizes IOPS performance overhead.
This feature adds a disk offering parameter to provide users an option to 
select how to provision volumes.
Especially, qcow2 format is known that its performance can be improved by 
deploying a volume as a sparse file.[1] This feature also supports sparse 
provisioning.


http://itscblog.tamu.edu/improve-disk-io-performance-in-kvm/#.232---preallocation

Scope:
First, start with KVM+NFS installation.
Leave rooms to support other hypervisors.

For more details please refer fs: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Volume+provisioning+type+option


Diffs (updated)
-

  api/src/com/cloud/offering/DiskOffering.java 4641b9a 
  api/src/com/cloud/storage/Storage.java 8ab2463 
  api/src/com/cloud/storage/Volume.java 304dbcf 
  api/src/com/cloud/vm/DiskProfile.java 5fdacf2 
  api/src/org/apache/cloudstack/api/ApiConstants.java 87fa8ee 
  
api/src/org/apache/cloudstack/api/command/admin/offering/CreateDiskOfferingCmd.java
 67c9792 
  
api/src/org/apache/cloudstack/api/command/admin/offering/CreateServiceOfferingCmd.java
 6cd5d84 
  api/src/org/apache/cloudstack/api/response/DiskOfferingResponse.java 91bd441 
  api/src/org/apache/cloudstack/api/response/ServiceOfferingResponse.java 
764ade5 
  api/src/org/apache/cloudstack/api/response/VolumeResponse.java 27e95de 
  client/WEB-INF/classes/resources/messages.properties 8abe874 
  core/src/org/apache/cloudstack/storage/to/VolumeObjectTO.java 11a3324 
  
engine/orchestration/src/org/apache/cloudstack/engine/orchestration/VolumeOrchestrator.java
 4ebde04 
  engine/orchestration/test/com/cloud/vm/VirtualMachineManagerImplTest.java 
49b2fc5 
  engine/schema/src/com/cloud/service/ServiceOfferingVO.java 3be0aaa 
  engine/schema/src/com/cloud/storage/DiskOfferingVO.java 99214b2 
  engine/schema/src/com/cloud/storage/VolumeVO.java 9f27c23 
  
engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeObject.java
 385f8e6 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
 1d7d1b2 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtStorageVolumeDef.java
 35777cf 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/IscsiAdmStorageAdaptor.java
 761bb37 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/IscsiAdmStoragePool.java
 2cecfa3 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/KVMStoragePool.java
 ca3d32f 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/KVMStoragePoolManager.java
 583d48a 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/KVMStorageProcessor.java
 9813389 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
 c1a5043 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStoragePool.java
 550bd01 
  
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/StorageAdaptor.java
 c751aab 
  plugins/hypervisors/kvm/src/org/apache/cloudstack/utils/qemu/QemuImg.java 
4bec375 
  
plugins/hypervisors/kvm/test/org/apache/cloudstack/utils/qemu/QemuImgTest.java 
8bdff4d 
  
plugins/network-elements/elastic-loadbalancer/src/com/cloud/network/lb/ElasticLoadBalancerManagerImpl.java
 2a7bcac 
  
plugins/network-elements/internal-loadbalancer/src/org/apache/cloudstack/network/lb/InternalLoadBalancerVMManagerImpl.java
 aa763d5 
  
plugins/network-elements/internal-loadbalancer/test/org/apache/cloudstack/internallbvmmgr/InternalLBVMManagerTest.java
 f418586 
  
plugins/network-elements/internal-loadbalancer/test/org/apache/cloudstack/internallbvmmgr/InternalLBVMServiceTest.java
 62ca09b 
  server/src/com/cloud/api/query/dao/DiskOfferingJoinDaoImpl.java bf28c03 
  server/src/com/cloud/api/query/dao/ServiceOfferingJoinDaoImpl.java 7fcc5c6 
  server/src/com/cloud/api/query/dao/VolumeJoinDaoImpl.java 8a0431b 
  server/src/com/cloud/api/query/vo/DiskOfferingJoinVO.java e3e0a9e 
  server/src/com/cloud/api/query/vo/ServiceOfferingJoinVO.java dbeb530 
  server/src/com/cloud/api/query/vo/VolumeJoinVO.java 8165d68 
  server/src/com/cloud/configuration/ConfigurationManagerImpl.java bdceed7 
  server/src/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java 0512096 
  server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java 
c692491 
  server/src/com/cloud/server/ConfigurationServerImpl.java 13135b0 

Build failed in Jenkins: build-master-slowbuild #450

2014-03-26 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master-slowbuild/450/changes

Changes:

[anthony.xu] use correct interval for cleanTask and transitionTask

[anthony.xu] in XenServer, host eject may fail due to diffent reasons, it's 
hard for CS to handle all failure.

[anthony.xu] set nosubdir for NFS SR

--
[...truncated 25196 lines...]

[INFO] 
[INFO]  cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi 
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi ---
[INFO] Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/ec2/AmazonEC2SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/s3/AmazonS3SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SAcl.java.  Ensure this class was instrumented, and this 
data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SBucket.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SHost.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/BucketPolicyDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackAccountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackConfigurationDao.java.  Ensure this 
class was instrumented, and this data file contains the instrumentation 
information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackSvcOfferingDao.java.  Ensure this class 
was instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackUserDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostMountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartPartsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartUploadsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultipartMetaDao.java.  Ensure this 

RE: CloudMonkey - Exit Status and Print Parameters Support

2014-03-26 Thread Alex Huang
I prefer having exit codes.  Is always nicer to use that than to grep for error 
messages.

--Alex

 -Original Message-
 From: ilya musayev [mailto:ilya.mailing.li...@gmail.com]
 Sent: Wednesday, March 26, 2014 9:56 AM
 To: Rohit Yadav; dev@cloudstack.apache.org
 Subject: CloudMonkey - Exit Status and Print Parameters Support
 
 Hi Rohit,
 
 What is your thought on tracking exit code of CloudMonkey, as it stands
 - even if CloudMonkey prints Error: message, no exit code is passed back to
 a shell.
 I know this may conflict if someone is using interactive shell, but perhaps we
 can have a batch mode that can push exit codes to a shell?
 
 One other suggestion, as it stands if i do list zone (or any other object), i 
 get a
 list of 10-20 parameters, while i can grep through what i need, it is rather
 painful and in some cases - grep just does not work because of funky unseen
 chars i assume. It would be nice to have on option that only prints user
 chosen parameters.
 
 Example, cloudmonkey list zones :print id,dns,something-else - or any other
 way - as long as we get this functionality.
 
 Thanks
 ilya


Re: Review Request 18552: Internal LB support for Juniper contrail VPC implementation

2014-03-26 Thread Suresh Balineni

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

(Updated March 27, 2014, 12:42 a.m.)


Review request for cloudstack and Alena Prokharchyk.


Changes
---

Thanks Alena. You are right. I don't need to introduce a new provider/element 
in this case.
Please find the new diff attached.


Repository: cloudstack-git


Description
---

Internal LB support for Juniper contrail VPC implementation.

- This implementation just extends the existing implementation of internal lb.
- New element  uses juniper contrail network offering so that nics are 
impelemented by contrail element. 
- LB VM deployment functionality is reused (new element is extended from 
existing Internal LB element implementation).


Diffs (updated)
-

  plugins/network-elements/juniper-contrail/pom.xml 8c6877d 
  
plugins/network-elements/juniper-contrail/src/org/apache/cloudstack/network/contrail/management/ContrailManagerImpl.java
 01be7db 
  server/src/com/cloud/network/vpc/VpcManagerImpl.java fe49981 

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


Testing
---

Tested LB VM deployment. Traffic tests are done.


Thanks,

Suresh Balineni



Re: Eclipse setup assistance

2014-03-26 Thread Nguyen Anh Tu
Alex,

You can use eclipse kepler with maven already built-in.

--Tuna

Sent from my GT-N7000
On Mar 27, 2014 5:16 AM, Alex Hitchins alex.hitch...@shapeblue.com
wrote:

 All,


 I'm setting up a new development environment on Ubuntu (moving away from
 Windows). Everthing seems sorted except when I try to import the project
 using the Maven Import setting. I get to the screen asking to install some
 components (Checkstyle configuration plugin for M2Eclipse -
 1.0.0.201307281919, m2e connector for mavenarchiver pom properties -
 0.16.0.201401211452, m2e-liferay - Maven Integration for Liferay IDE -
 2.0.1.201401270944-ga2). When clicking next, I get the following error
 message.

 Is the issue I need a to remove the Maven Integration I have currently and
 reinstall the other version? I was hoping there would be an easier way
 around the issue.

 Cannot complete the install because of a conflicting dependency.
   Software being installed: Checkstyle configuration plugin for M2Eclipse
 1.0.0.201307281919
 (com.basistech.m2e.code.quality.checkstyle.feature.feature.group
 1.0.0.201307281919)
   Software being installed: m2e-liferay - Maven Integration for Liferay
 IDE 2.0.1.201401270944-ga2 (com.liferay.ide.maven.feature.group
 2.0.1.201401270944-ga2)
   Only one of the following can be installed at once:
 Maven Integration for Eclipse JDT 1.4.0.20130601-0317
 (org.eclipse.m2e.jdt 1.4.0.20130601-0317)
 Maven Integration for Eclipse JDT 1.5.0.20131218-1208
 (org.eclipse.m2e.jdt 1.5.0.20131218-1208)
   Cannot satisfy dependency:
 From: M2Eclipse Project Configurator for Eclipse Checkstyle
 1.0.0.201307281919 (com.basistech.m2e.code.quality.checkstyle
 1.0.0.201307281919)
 To: bundle org.eclipse.m2e.jdt [1.0.0,1.5.0)
   Cannot satisfy dependency:
 From: Checkstyle configuration plugin for M2Eclipse 1.0.0.201307281919
 (com.basistech.m2e.code.quality.checkstyle.feature.feature.group
 1.0.0.201307281919)
 To: com.basistech.m2e.code.quality.checkstyle [1.0.0.201307281919]
   Cannot satisfy dependency:
 From: m2e-liferay - Maven Integration for Liferay IDE
 2.0.1.201401270944-ga2 (com.liferay.ide.maven.feature.group
 2.0.1.201401270944-ga2)
 To: org.eclipse.m2e.feature.feature.group 1.5.0
   Cannot satisfy dependency: From: m2e - Maven Integration for Eclipse
 (includes Incubating components) 1.5.0.20131218-1208
 (org.eclipse.m2e.feature.feature.group 1.5.0.20131218-1208)
 To: org.eclipse.m2e.jdt [1.5.0.20131218-1208]


 Regards,

 Alex Hitchins

 D: +44 1892 523 587 | S: +44 20 3603 0540tel:+442036030540 | M:
 +44tel:+447968161581 7788 423 969

 ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS



 .

 Need Enterprise Grade Support for Apache CloudStack?
 Our CloudStack Infrastructure Support
 http://shapeblue.com/cloudstack-infrastructure-support/ offers the best
 24/7 SLA for CloudStack Environments.

 Apache CloudStack Bootcamp training courses

 **NEW!** CloudStack 4.2.1 training
 http://shapeblue.com/cloudstack-training/
 18th-19th February 2014, Brazil. Classroom
 http://shapeblue.com/cloudstack-training/
 17th-23rd March 2014, Region A. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 24th-28th March 2014, Region B. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 16th-20th June 2014, Region A. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/
 23rd-27th June 2014, Region B. Instructor led, On-line
 http://shapeblue.com/cloudstack-training/

 This email and any attachments to it may be confidential and are intended
 solely for the use of the individual to whom it is addressed. Any views or
 opinions expressed are solely those of the author and do not necessarily
 represent those of Shape Blue Ltd or related companies. If you are not the
 intended recipient of this email, you must neither take any action based
 upon its contents, nor copy or show it to anyone. Please contact the sender
 if you believe you have received this email in error. Shape Blue Ltd is a
 company incorporated in England  Wales. ShapeBlue Services India LLP is a
 company incorporated in India and is operated under license from Shape Blue
 Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
 and is operated under license from Shape Blue Ltd. ShapeBlue is a
 registered trademark.



Build failed in Jenkins: build-master-slowbuild #451

2014-03-26 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master-slowbuild/451/changes

Changes:

[anthony.xu] in XS, joining a host to a XS pool may not work as expected, 
especially when there are multiple nics, binding devices.

[min.chen] CLOUDSTACK-5922:Incorrect handling RHEL guests for 5.5 to 5.9

--
[...truncated 18195 lines...]

[INFO] 
[INFO]  cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi 
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi ---
[INFO] Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/ec2/AmazonEC2SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/s3/AmazonS3SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SAcl.java.  Ensure this class was instrumented, and this 
data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SBucket.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SHost.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/BucketPolicyDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackAccountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackConfigurationDao.java.  Ensure this 
class was instrumented, and this data file contains the instrumentation 
information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackSvcOfferingDao.java.  Ensure this class 
was instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackUserDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostMountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartPartsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartUploadsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultipartMetaDao.java.  Ensure this class was 

Build failed in Jenkins: build-master-slowbuild #452

2014-03-26 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master-slowbuild/452/changes

Changes:

[anthony.xu] get rrd through http directly instead of xapi plugins

--
[...truncated 18197 lines...]

[INFO] 
[INFO]  cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi 
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ cloud-awsapi ---
[INFO] Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/ec2/AmazonEC2SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/amazon/s3/AmazonS3SkeletonInterface.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SAcl.java.  Ensure this class was instrumented, and this 
data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SBucket.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/model/SHost.java.  Ensure this class was instrumented, and 
this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/BucketPolicyDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackAccountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackConfigurationDao.java.  Ensure this 
class was instrumented, and this data file contains the instrumentation 
information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackSvcOfferingDao.java.  Ensure this class 
was instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/CloudStackUserDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MHostMountDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartPartsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultiPartUploadsDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport - 
Data file does not contain instrumentation information for the file 
com/cloud/bridge/persist/dao/MultipartMetaDao.java.  Ensure this class was 
instrumented, and this data file contains the instrumentation information.
[cobertura] INFO  [main] 

CLOUDSTACK-5859 [HA] Shared storage failure results in reboot loop; VMs with Local storage brought offline

2014-03-26 Thread Bjoern Teipel
Hi folks,

in light of Cloudstack issue #5859 I would like to know what the
intention was for the kvmheartbeat.sh script, which ultimately can
reboot (fence) machines.
I had the unfortunate position to found 10 hypervisor in an unknown
state after the NFS volume became unresponsive while CMAN/CLVM and
fenced were running and everything went south. Because a reboot by
this script caused the hypervisor to fence and after over 50% of the
cluster nodes left, the cluster was in an state without quorum.
I personally can't see why anyone want a booting hypervisor,
especially if other storage pools like CLVM or local where serving
fine and would have increased the availability of those VMs.

Usually you fix your NFS,Storage or network problem and reboot the
affected VMs

Thanks,
Bjoern


Alert Email must be SSL?

2014-03-26 Thread zcsu
Hi 
 
I configured Alert Email in Global Setting, but i don't receive any alert,
I find ERROR info in management-server.log as below,
 
2014-03-27 13:31:45,687 ERROR [cloud.alert.AlertManagerImpl] 
(Email-Alerts-Sender-1:null)  Failed to send email alert 
javax.mail.MessagingException: Exception reading response 
(javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?)
 
 
CloudStack 4.2 +CentOS 6.4
 
[Question] How to correctly Alert Email? Anybody answer me, thank a million.