Jenkins build is unstable: simulator-singlerun #941

2015-01-29 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/941/changes

j.bac.o down ?

2015-01-29 Thread Pierre-Luc Dion
I was adding a new slave in the pool and now http://jenkins.buildacloud.org/ is not responding anymore. Can someone have a look at It? I don't have access to the server. Thanks,

Re: j.bac.o down ?

2015-01-29 Thread Pierre-Luc Dion
it's back. thanks On Thu, Jan 29, 2015 at 10:11 AM, Pierre-Luc Dion pdion...@apache.org wrote: I was adding a new slave in the pool and now http://jenkins.buildacloud.org/ is not responding anymore. Can someone have a look at It? I don't have access to the server. Thanks,

Database locking code

2015-01-29 Thread Jeff Hair
I have some code I've added to CloudStack that I am currently synchronizing on in the traditional manner (synchronized block, ExecutorService, etc). I'm currently running a single instance of CloudStack so I don't have to deal with clustering. I've read the Data Access Layer documentation and am

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

2015-01-29 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build/562/changes

Build failed in Jenkins: build-master #2199

2015-01-29 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master/2199/changes Changes: [Rohit Yadav] use a preferable protocol that works on most infra -- [...truncated 1408 lines...] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec - in

Re: Ghost glibc vulnerability and CloudStack

2015-01-29 Thread Nux!
As far as the SSVM is concerned, can this be exploited remotely? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: John Kinsella j...@stratosec.co To: dev@cloudstack.apache.org Sent: Wednesday, 28 January, 2015 21:17:42

Re: Ghost glibc vulnerability and CloudStack

2015-01-29 Thread Abhinandan Prateek
The only way a user can directly reach SSVM is by using download template. To be able to get SSVM do a DNS lookup for some host as desired by the attacker, by using download template functionality looks far fetched. -- Abhinandan Prateek M +919701199011 abhinandan.prat...@shapeblue.com On

Re: [VOTE] Apache CloudStack 4.5.0 RC2

2015-01-29 Thread Rohit Yadav
Please note the RC2 works fine on fresh installations but failed on upgrade for a packaging related issue (fixable manually CLOUDSTACK-7316, this has been fixed on 4.5 now). Before voting I want to confirm if anyone can reproduce the following: - Register new 4.5 template, upgrade from 4.3.2 to

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

2015-01-29 Thread jenkins
See http://jenkins.buildacloud.org/job/cloudstack-4.4-maven-build-noredist/439/changes

Build failed in Jenkins: simulator-singlerun #940

2015-01-29 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/940/changes Changes: [Rohit Yadav] use a preferable protocol that works on most infra -- [...truncated 3449 lines...] [INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @

Re: [DISCUSS] we need a better SSVM solution

2015-01-29 Thread Rohit Yadav
Good ideas John. I’m in fact already discussing a design I’m calling it agents framework” (suggestions for better name are welcome!), I will try to share and update the spec soon that aims for this feature and refactoring work for ACS 4.6/master. For now, I’ve shared an architecture diagram

Re: [DISCUSS] we need a better SSVM solution

2015-01-29 Thread Daan Hoogland
I don't like the puppet/chef idea but at Schuberg Philis we use ansible which negates most of my opposition :p I would rather have a 'upload or sysvmtemplate' the system vm template has some requirements so I think we would either require it to be build (on the ms?) or be checked during upload.

RE: quality improvement project status (fyi != just for your information)

2015-01-29 Thread Stephen Turner
Sorry, I was ill yesterday. But I wasn't sure what more we had to discuss before the hardware arrives. -- Stephen Turner -Original Message- From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] Sent: 28 January 2015 12:39 To: dev Subject: Re: quality improvement project status (fyi !=

Re: quality improvement project status (fyi != just for your information)

2015-01-29 Thread Daan Hoogland
no worries, everybody is busy with glibc anyway these days. I didn't have any feedback to our pages, however, That worries me more. On Thu, Jan 29, 2015 at 1:20 PM, Stephen Turner stephen.tur...@citrix.com wrote: Sorry, I was ill yesterday. But I wasn't sure what more we had to discuss before

Re: Ghost glibc vulnerability and CloudStack

2015-01-29 Thread Erik Weber
Is apache httpd configured to disable hostname lookups (for access/error log)? If not it is easy to trigger a reverse dns lookup just by connecting to it (which various scanners / exploiters do regularily). That's not to say that httpd is vulnerable though, has the httpd project given any info

Re: [DISCUSS] we need a better SSVM solution

2015-01-29 Thread John Kinsella
Interesting… Concur on having an open/standardized protocol. Something clustered like Serf/Consul could be attractive, but the overhead/requirements of those type of things usually scares me away. Having ACS act as a CA would be quite interesting for some things. It’s one of the reasons I’ve

RE: quality improvement project status (fyi != just for your information)

2015-01-29 Thread Stephen Turner
Agreed, I was hoping for some comments. Maybe an executive summary would help: * We would like to have a commit/review mechanism that is much easier for new contributors than the current one * Committers cannot be forced to use it, but the benefits should be so obvious that it's the norm

Re: [DISCUSS] we need a better SSVM solution

2015-01-29 Thread Andrei Mikhailovsky
I am also +1 on this. For large deployments it is a must feature to automatically upgrade a zone or region level system vms. I think that ACS should not only automatically upgrade the templates, but also have the option to automatically upgrade the running system vms. It would also be

Re: Database locking code

2015-01-29 Thread Mike Tutkowski
Does this work for you? GlobalLock lock = GlobalLock.getInternLock( someStringYouMadeUpThatIsUniqueForThisPurpose); try { if (!lock.lock(timeoutInSeconds)) { s_logger.debug(Couldn't lock the db on the string +

Re: Database locking code

2015-01-29 Thread Mike Tutkowski
I wrote that example code from memory, but now that I think about it, you wouldn't call the lock method in the try block. Call lock and if you're successful, entry a try block to do your work and have a finally to unlock and release the lock. On Thu, Jan 29, 2015 at 7:27 AM, Mike Tutkowski

Re: Database locking code

2015-01-29 Thread Mike Tutkowski
Like this: GlobalLock lock = GlobalLock.getInternLock( someStringYouMadeUpThatIsUniqueForThisPurpose); if (!lock.lock(timeoutInSeconds)) { s_logger.debug(Couldn't lock the db on the string + someStringYouMadeUpThatIsUniqueForThisPurpose);

jenkins new slave

2015-01-29 Thread Pierre-Luc Dion
I've added a new slave running on Azure for fastsimulator builds: msaz-slave-02 which is provided by Erik Weber. also, msaz-slave-01 now run centos7 rpm build job. so the build queue is empty now.

RBD snapshot format

2015-01-29 Thread Logan Barfield
I was doing some testing earlier this week on a KVM cluster, and noticed that when using S3 for secondary storage snapshots on RBD primary storage take a lot longer than they do with NFS primary storage. I think this is due to the NFS snapshots being output/uploaded in QCOW2 format, while RBD

Re: RBD snapshot format

2015-01-29 Thread Logan Barfield
Hi Wido, The relevant code for this is in: I saw that the destination format is set to QCOW2 for createTemplateFromVolume, but in backupSnapshot it's set to use the format of the source image destFile.setFormat(snapshotDisk.getFormat()); I believe just changing the backupSnapshot code to the

Jenkins build is still unstable: simulator-singlerun #942

2015-01-29 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/changes

eclipse build problems

2015-01-29 Thread Roger Crerie
Hello all, I am a new developer to the cloudstack source base and have been trying to get my development environment setup. I primarily use Eclipse as my IDE of choice but while I have been close at getting eclipse to compile cloudstack without error I am still seeing 757

Jenkins build is still unstable: simulator-singlerun #943

2015-01-29 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/changes

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

2015-01-29 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master/2201/changes

Re: RBD snapshot format

2015-01-29 Thread Wido den Hollander
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/29/2015 05:16 PM, Logan Barfield wrote: I was doing some testing earlier this week on a KVM cluster, and noticed that when using S3 for secondary storage snapshots on RBD primary storage take a lot longer than they do with NFS primary

Re: [VOTE] Apache CloudStack 4.5.0 RC2

2015-01-29 Thread Mike Tutkowski
It definitely wouldn't break my heart if we had until Monday close of business (say, Pacific Time) to vote. I haven't been able to focus as much on testing this build as I would have liked and could use the weekend. On Thursday, January 29, 2015, Rohit Yadav rohit.ya...@shapeblue.com wrote:

RE: [DISCUSS] we need a better SSVM solution

2015-01-29 Thread Paul Angus
Hi All, I think that there are 3 things people would like to see: 1. clear versioning of system vm templates, with some kind of compatibility matrix so they know which one(s) they can use with different versions of CloudStack 2. an easy way to update the system vm template 3. an easy(ish) way

Build failed in Jenkins: build-master-noredist #4058

2015-01-29 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master-noredist/4058/changes Changes: [marcus_sorensen] LibvirtComputingResource: make Oracle linux support virtio [Rohit Yadav] use a preferable protocol that works on most infra [marcus_sorensen] LibvirtComputingResource: GuestOSName for

Re: [DISCUSS] we need a better SSVM solution

2015-01-29 Thread Ahmad Emneina
Pauls suggestion reminds me of some awesome functionality I see in the aftermarket android ROM community. That is 'Kitchens'[1]. A utility/site that provides functionality that allows for admins to create customized system templates... Giving choices of: - OS - kernel - VPN server - various

Re: eclipse build problems

2015-01-29 Thread Mike Tutkowski
I currently see only 338 errors when I'm in Eclipse. :) I'd say the main thing is can you run this successfully from a command line (or kicked off from Eclipse)? mvn -P developer,systemvm clean install If you use VMware, then mvn -P developer,systemvm clean install -D noredist On Thu, Jan 29,

Re: [DISCUSS] we need a better SSVM solution

2015-01-29 Thread John Kinsella
Decent points. You think the difference between the VR/CP is different enough to have a second image? On Jan 29, 2015, at 1:41 PM, Paul Angus paul.an...@shapeblue.com wrote: Hi All, I think that there are 3 things people would like to see: 1. clear versioning of system vm templates,

Re: RBD snapshot format

2015-01-29 Thread Wido den Hollander
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/29/2015 10:05 PM, Logan Barfield wrote: Hi Wido, The relevant code for this is in: I saw that the destination format is set to QCOW2 for createTemplateFromVolume, but in backupSnapshot it's set to use the format of the source image

Re: eclipse build problems

2015-01-29 Thread Mike Tutkowski
Presumably there are dependencies in that Brocade code that you have to acquire yourself (not sure where to get them from) and the build command I listed must not build that project. On Thu, Jan 29, 2015 at 3:22 PM, Mike Tutkowski mike.tutkow...@solidfire.com wrote: I currently see only 338

Build failed in Jenkins: build-master #2202

2015-01-29 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master/2202/changes Changes: [mike.tutkowski] Adding/updating comments around the volume's hypervisor snapshot reserve field -- [...truncated 1408 lines...] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0,

Jenkins build is still unstable: simulator-singlerun #944

2015-01-29 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/changes

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

2015-01-29 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master/2203/changes

RE: [DISCUSS] we need a better SSVM solution

2015-01-29 Thread Adrian Lewis
From a non-dev user's perspective I think Paul's pretty much nailed the key issues I'd like to see improve with the system VMs. The big one for us is the ability to customise the VR template to add things like netflow export and other value-add services through additional software packages without

Any Plan of Distributed VR Within cloudstack?

2015-01-29 Thread Yitao Jiang
Hi,guys I just want to know is there any plan to develop distributed vr feature, and What's the progress now? --- Thanks, Yitao(依涛 姜) jiangyt.github.io

Jenkins build is still unstable: simulator-singlerun #945

2015-01-29 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/changes

Build failed in Jenkins: build-master-noredist #4059

2015-01-29 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master-noredist/4059/changes Changes: [mike.tutkowski] Adding/updating comments around the volume's hypervisor snapshot reserve field [mike.tutkowski] Don't allow managed (primary) storage to be deleted if it contains one or more snapshots.

Jenkins build is still unstable: simulator-singlerun #946

2015-01-29 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/changes

Re: [DISCUSS] we need a better SSVM solution

2015-01-29 Thread linux...@gmail.com
I thinks John's idea is very good. we should fource on the security ,not others. Another possible use case: * User installs new ACS system * User uploads SSVM template that has CM agent configured to talk to their CM server (I’ve been wanting to lab this for a while now) * As ACS creates system

Build failed in Jenkins: build-master #2204

2015-01-29 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master/2204/changes Changes: [mike.tutkowski] If the HypervisorType of a storage pool is Any, we need to retrieve hosts in the given zone for each HypervisorType. [mike.tutkowski] When canceling maintenance mode, the logic was looking at the id

problem with xapi command in cloudstack

2015-01-29 Thread Daan Hoogland
Tim, as you know something about xapi, Would you know if there is a reason a router may not spinup in cloudstack when its dhcp config is 272 k big? -- Daan

Jenkins build is still unstable: simulator-singlerun #947

2015-01-29 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/changes