Re: CentOS Cloud SIG effort

2015-04-02 Thread Nux!
Sure, I'll do my best to attend.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
 From: sebgoa run...@gmail.com
 To: dev@cloudstack.apache.org, Paul Angus paul.an...@shapeblue.com, 
 Nux! n...@li.nux.ro
 Sent: Thursday, 2 April, 2015 07:54:13
 Subject: Re: CentOS Cloud SIG effort

 All, and specially Paul and Nux,
 
 Any chance you can join this meeting, and see what we need to do on the CentOS
 front ?
 
 On Apr 1, 2015, at 5:03 PM, Rich Bowen rbo...@rcbowen.com wrote:
 
 
 
 On 03/27/2015 04:41 AM, Sebastien Goasguen wrote:
 On Mar 26, 2015, at 4:28 PM, Rich Bowenrbo...@rcbowen.com  wrote:
 
 A while back I mentioned to some folks (I think it was this list, but it 
 may
 have been a subset) that the CentOS community is working on a Cloud SIG
 (Special Interest Group) effort. You can read a little about it
 athttp://wiki.centos.org/SpecialInterestGroup/Cloud
 
 The idea is to ensure that cloud infrastructure software, like CloudStack,
 OpenStack, Open Nebula, and Eucalyptus, works solidly on CentOS, has all 
 of the
 prerequisite packages available, gets CI on the CentOS platform, and so 
 on.
 
 At the moment, this is*only*  OpenStack, with the other projects 
 unrepresented.
 
 If you are interested in adoption of CloudStack on CentOS (and, by side 
 effect,
 on Red Hat Enterprise Linux), we'd love to have your participation in this
 effort.
 
 Hi Rich, thanks for the ping again.
 
 We have been in touch with KB (Nux! and I mostly) and submitted our scripts 
 for
 building a cloudstack centOS templates upstream. It works and was merged at
 some point, but it got pulled back because we stick some scripts in there.
 
 Bottom line is that I feel we need to work further upstream in cloud-init to
 improve cloudstack support there, once that’s done, we can come back to the
 CentOS builds for cloudstack.
 
 fwiw, our install base is probably ~70% centOS and we already have centOS7
 support.
 
 In the OpenStack world, we see CentOS as a great way to get the message out
 about OpenStack. Wearing my ASF hat, I'd really like to see the same vehicle 
 be
 used to get the word out about CloudStack. CentOS goes to a lot of events, 
 and
 many of them are ones that CloudStack isn't at. I'd love to see the Cloud SIG
 be a way to get the word about CloudStack into audiences that typically only
 ever hear about OpenStack. (Yes, I have split loyalties here, and that's 
 fine.)
 
 Anyways, a reminder that we will be having this meeting on #centos-devel at
 15:00 UTC *tomorrow*, and it would be awesome to at least have some
 representation from the CloudStack community there to ask the right questions
 and see what we can do, on the CentOS side, to fix these cloud-init problems
 and bring CloudStack some more of the CentOS spotlight. Or even just show up 
 so
 that folks can meet you and we can figure out if there's anything we can do 
 to
 help one another.
 
 --Rich
 
 
 --
 Rich Bowen - rbo...@rcbowen.com - @rbowen
  http://apachecon.com/ - @apachecon


[GitHub] cloudstack pull request: fix yum install require java = 1.7.0 whe...

2015-04-02 Thread karuturi
Github user karuturi commented on the pull request:

https://github.com/apache/cloudstack/pull/108#issuecomment-88835845
  
Hi @ghxandsky 
After this change, if I install the rpm, its installing java 1.6. I am 
trying on centos6.3 machine.  if I give the version as java-1.7.0-openjdk it 
succeeds. Any idea why?


---
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.
---


Re: CentOS Cloud SIG effort

2015-04-02 Thread Nux!
BTW, if anyone has some concrete ideas/questions re Cloudstack and CentOS, 
please come forth so we can mention them during the meeting.

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
 From: Nux! n...@li.nux.ro
 To: sebgoa run...@gmail.com
 Cc: dev@cloudstack.apache.org, Paul Angus paul.an...@shapeblue.com
 Sent: Thursday, 2 April, 2015 09:08:57
 Subject: Re: CentOS Cloud SIG effort

 Sure, I'll do my best to attend.
 
 --
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
 www.nux.ro
 
 - Original Message -
 From: sebgoa run...@gmail.com
 To: dev@cloudstack.apache.org, Paul Angus paul.an...@shapeblue.com, 
 Nux!
 n...@li.nux.ro
 Sent: Thursday, 2 April, 2015 07:54:13
 Subject: Re: CentOS Cloud SIG effort
 
 All, and specially Paul and Nux,
 
 Any chance you can join this meeting, and see what we need to do on the 
 CentOS
 front ?
 
 On Apr 1, 2015, at 5:03 PM, Rich Bowen rbo...@rcbowen.com wrote:
 
 
 
 On 03/27/2015 04:41 AM, Sebastien Goasguen wrote:
 On Mar 26, 2015, at 4:28 PM, Rich Bowenrbo...@rcbowen.com  wrote:
 
 A while back I mentioned to some folks (I think it was this list, but it 
 may
 have been a subset) that the CentOS community is working on a Cloud SIG
 (Special Interest Group) effort. You can read a little about it
 athttp://wiki.centos.org/SpecialInterestGroup/Cloud
 
 The idea is to ensure that cloud infrastructure software, like 
 CloudStack,
 OpenStack, Open Nebula, and Eucalyptus, works solidly on CentOS, has all 
 of the
 prerequisite packages available, gets CI on the CentOS platform, and so 
 on.
 
 At the moment, this is*only*  OpenStack, with the other projects 
 unrepresented.
 
 If you are interested in adoption of CloudStack on CentOS (and, by side 
 effect,
 on Red Hat Enterprise Linux), we'd love to have your participation in 
 this
 effort.
 
 Hi Rich, thanks for the ping again.
 
 We have been in touch with KB (Nux! and I mostly) and submitted our 
 scripts for
 building a cloudstack centOS templates upstream. It works and was merged at
 some point, but it got pulled back because we stick some scripts in there.
 
 Bottom line is that I feel we need to work further upstream in cloud-init 
 to
 improve cloudstack support there, once that’s done, we can come back to the
 CentOS builds for cloudstack.
 
 fwiw, our install base is probably ~70% centOS and we already have centOS7
 support.
 
 In the OpenStack world, we see CentOS as a great way to get the message out
 about OpenStack. Wearing my ASF hat, I'd really like to see the same 
 vehicle be
 used to get the word out about CloudStack. CentOS goes to a lot of events, 
 and
 many of them are ones that CloudStack isn't at. I'd love to see the Cloud 
 SIG
 be a way to get the word about CloudStack into audiences that typically only
 ever hear about OpenStack. (Yes, I have split loyalties here, and that's 
 fine.)
 
 Anyways, a reminder that we will be having this meeting on #centos-devel at
 15:00 UTC *tomorrow*, and it would be awesome to at least have some
 representation from the CloudStack community there to ask the right 
 questions
 and see what we can do, on the CentOS side, to fix these cloud-init problems
 and bring CloudStack some more of the CentOS spotlight. Or even just show 
 up so
 that folks can meet you and we can figure out if there's anything we can do 
 to
 help one another.
 
 --Rich
 
 
 --
 Rich Bowen - rbo...@rcbowen.com - @rbowen
   http://apachecon.com/ - @apachecon


Re: CentOS Cloud SIG effort

2015-04-02 Thread sebgoa
All, and specially Paul and Nux,

Any chance you can join this meeting, and see what we need to do on the CentOS 
front ?

On Apr 1, 2015, at 5:03 PM, Rich Bowen rbo...@rcbowen.com wrote:

 
 
 On 03/27/2015 04:41 AM, Sebastien Goasguen wrote:
 On Mar 26, 2015, at 4:28 PM, Rich Bowenrbo...@rcbowen.com  wrote:
 
 A while back I mentioned to some folks (I think it was this list, but it 
 may have been a subset) that the CentOS community is working on a Cloud 
 SIG (Special Interest Group) effort. You can read a little about it 
 athttp://wiki.centos.org/SpecialInterestGroup/Cloud
 
 The idea is to ensure that cloud infrastructure software, like CloudStack, 
 OpenStack, Open Nebula, and Eucalyptus, works solidly on CentOS, has all 
 of the prerequisite packages available, gets CI on the CentOS platform, 
 and so on.
 
 At the moment, this is*only*  OpenStack, with the other projects 
 unrepresented.
 
 If you are interested in adoption of CloudStack on CentOS (and, by side 
 effect, on Red Hat Enterprise Linux), we'd love to have your participation 
 in this effort.
 
 Hi Rich, thanks for the ping again.
 
 We have been in touch with KB (Nux! and I mostly) and submitted our scripts 
 for building a cloudstack centOS templates upstream. It works and was merged 
 at some point, but it got pulled back because we stick some scripts in there.
 
 Bottom line is that I feel we need to work further upstream in cloud-init to 
 improve cloudstack support there, once that’s done, we can come back to the 
 CentOS builds for cloudstack.
 
 fwiw, our install base is probably ~70% centOS and we already have centOS7 
 support.
 
 In the OpenStack world, we see CentOS as a great way to get the message out 
 about OpenStack. Wearing my ASF hat, I'd really like to see the same vehicle 
 be used to get the word out about CloudStack. CentOS goes to a lot of events, 
 and many of them are ones that CloudStack isn't at. I'd love to see the Cloud 
 SIG be a way to get the word about CloudStack into audiences that typically 
 only ever hear about OpenStack. (Yes, I have split loyalties here, and that's 
 fine.)
 
 Anyways, a reminder that we will be having this meeting on #centos-devel at 
 15:00 UTC *tomorrow*, and it would be awesome to at least have some 
 representation from the CloudStack community there to ask the right questions 
 and see what we can do, on the CentOS side, to fix these cloud-init problems 
 and bring CloudStack some more of the CentOS spotlight. Or even just show up 
 so that folks can meet you and we can figure out if there's anything we can 
 do to help one another.
 
 --Rich
 
 
 -- 
 Rich Bowen - rbo...@rcbowen.com - @rbowen
 http://apachecon.com/ - @apachecon



RE: [ANNOUNCE] New committer: Rene Moser

2015-04-02 Thread Paul Angus
Congratulations Rene, well deserved!
(your round btw).

Regards

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

-Original Message-
From: ilya [mailto:ilya.mailing.li...@gmail.com]
Sent: 01 April 2015 22:24
To: dev@cloudstack.apache.org
Subject: Re: [ANNOUNCE] New committer: Rene Moser

Congrats Rene!

On 3/31/15 2:13 PM, sebgoa wrote:
 The Project Management Committee (PMC) for Apache CloudStack has asked
 Rene Moser to become a committer and we are pleased to announce that he has 
 accepted.

 Rene has committed several fixes to cloudstack and is the sole author of the 
 cloudstack ansible module.
 This module should make it to Ansible core quite soon

 Being a committer enables easier contribution to the project since
 there is no need to go via the patch submission process. This should
 enable better productivity.
 Being a PMC member enables assistance with the management and to guide
 the direction of the project.

 Join me in congratulating Rene and let's hope for more Ansible play books to 
 deploy cloudstack and associated workloads.

 -The CloudStack PMC

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software 
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://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 SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: [ANNOUNCE] New committer: Rene Moser

2015-04-02 Thread Daan Hoogland
welcome and congratulations, Rene, hope to hear a lot more of you in
the coming time. Am I to take Paul's word you as a suggestion you are
buying drinks?


Regards,

On Thu, Apr 2, 2015 at 4:53 PM, Paul Angus paul.an...@shapeblue.com wrote:
 Congratulations Rene, well deserved!
 (your round btw).

 Regards

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

 -Original Message-
 From: ilya [mailto:ilya.mailing.li...@gmail.com]
 Sent: 01 April 2015 22:24
 To: dev@cloudstack.apache.org
 Subject: Re: [ANNOUNCE] New committer: Rene Moser

 Congrats Rene!

 On 3/31/15 2:13 PM, sebgoa wrote:
 The Project Management Committee (PMC) for Apache CloudStack has asked
 Rene Moser to become a committer and we are pleased to announce that he has 
 accepted.

 Rene has committed several fixes to cloudstack and is the sole author of the 
 cloudstack ansible module.
 This module should make it to Ansible core quite soon

 Being a committer enables easier contribution to the project since
 there is no need to go via the patch submission process. This should
 enable better productivity.
 Being a PMC member enables assistance with the management and to guide
 the direction of the project.

 Join me in congratulating Rene and let's hope for more Ansible play books to 
 deploy cloudstack and associated workloads.

 -The CloudStack PMC

 Find out more about ShapeBlue and our range of CloudStack related services

 IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
 CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
 CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
 CloudStack Software 
 Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
 CloudStack Infrastructure 
 Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
 CloudStack Bootcamp Training 
 Courseshttp://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 SA Pty Ltd is a company 
 registered by The Republic of South Africa and is traded under license from 
 Shape Blue Ltd. ShapeBlue is a registered trademark.



-- 
Daan


Re: [ANNOUNCE] New committer Pierre-Yves Ritschard

2015-04-02 Thread Daan Hoogland
Congrats and welcome Pierr-Yves.

On Wed, Apr 1, 2015 at 1:59 PM, Erik Weber terbol...@gmail.com wrote:
 Congrats Pierre-Yves!

 --
 Erik

 Den tirsdag 31. mars 2015 skrev sebgoa run...@gmail.com følgende:

 The Project Management Committee (PMC) for Apache CloudStack
 has asked Pierre-Yves Rischard (@pyr) to become a committer and we are
 pleased to announce that he has accepted.

 Pierre-Yves is a great developer and I hear he was named one of the top
 100 french developers.
 He has contributed several fixes to cloudstack and more recently committed
 a Kafka listener, he has a big patch pending to remove the awsapi.

 Being a committer enables easier contribution to the
 project since there is no need to go via the patch
 submission process. This should enable better productivity.
 Being a PMC member enables assistance with the management
 and to guide the direction of the project.

 Join me in congratulating pyr and pray that he does not re-write
 cloudstack in clojure :)

 -The CloudStack PMC



-- 
Daan


Re: Migrating to VPC/Site-to-Site VPN

2015-04-02 Thread Sanjeev N
It is not possible to add existing network/VR to a VPC.

On Wed, Apr 1, 2015 at 8:03 PM, Logan Barfield lbarfi...@tqhosting.com
wrote:

 That's what I figured.  We were hoping to be able to set up
 site-to-site VPN on the existing network.  If a VPC is just a supernet
 to multiple virtual routers it seems like it would be feasible to
 seamlessly add an existing network/VR to a VPC.

 Since this isn't possible now I guess opening a feature request for it
 would be good, in case we run into a similar issue next year.  Before
 I do, does anyone know if this is technically possible, just not yet
 coded?  In other words, could I theoretically add an existing isolated
 network/VR to a VPC seamlessly via updating the database or manually
 changing something on the VR?  If so I would think adding the code to
 handle that task would be relatively easy.

 Thank You,

 Logan Barfield
 Tranquil Hosting


 On Wed, Apr 1, 2015 at 3:20 AM, Sanjeev N sanj...@apache.org wrote:
  As Erik mentioned, we can add nic from VPC network to existing vms so the
  vms will be in both isolated(non-vpc) and vpc networks.
 
  On Wed, Apr 1, 2015 at 11:56 AM, Erik Weber terbol...@gmail.com wrote:
 
  Haven't tried it myself, but i think you should be able to create the
 vpc
  and change nic on VMs.
 
  If you want to keep the ip addresses you might have to use the api
 
  Erik
 
  Den onsdag 1. april 2015 skrev Logan Barfield lbarfi...@tqhosting.com
  følgende:
 
   We have a customer that is currently set up in an isolated network in
   an advanced zone.  They recently mentioned that they have a need for
   site-to-site VPN connectivity for their application.
  
   Is it possible to move an existing isolated network into a VPC for
   site-to-site VPN functionality?  Or is there another way to set up a
   site-to-site VPN using the existing network?
  
  
   Thank You,
  
   Logan Barfield
   Tranquil Hosting
  
 



Re: Migrating to VPC/Site-to-Site VPN

2015-04-02 Thread Erik Weber
I believe you could use the same ip space and effectively create a new but
similar net.

Erik

Den onsdag 1. april 2015 skrev Logan Barfield lbarfi...@tqhosting.com
følgende:

 That's what I figured.  We were hoping to be able to set up
 site-to-site VPN on the existing network.  If a VPC is just a supernet
 to multiple virtual routers it seems like it would be feasible to
 seamlessly add an existing network/VR to a VPC.

 Since this isn't possible now I guess opening a feature request for it
 would be good, in case we run into a similar issue next year.  Before
 I do, does anyone know if this is technically possible, just not yet
 coded?  In other words, could I theoretically add an existing isolated
 network/VR to a VPC seamlessly via updating the database or manually
 changing something on the VR?  If so I would think adding the code to
 handle that task would be relatively easy.

 Thank You,

 Logan Barfield
 Tranquil Hosting


 On Wed, Apr 1, 2015 at 3:20 AM, Sanjeev N sanj...@apache.org
 javascript:; wrote:
  As Erik mentioned, we can add nic from VPC network to existing vms so the
  vms will be in both isolated(non-vpc) and vpc networks.
 
  On Wed, Apr 1, 2015 at 11:56 AM, Erik Weber terbol...@gmail.com
 javascript:; wrote:
 
  Haven't tried it myself, but i think you should be able to create the
 vpc
  and change nic on VMs.
 
  If you want to keep the ip addresses you might have to use the api
 
  Erik
 
  Den onsdag 1. april 2015 skrev Logan Barfield lbarfi...@tqhosting.com
 javascript:;
  følgende:
 
   We have a customer that is currently set up in an isolated network in
   an advanced zone.  They recently mentioned that they have a need for
   site-to-site VPN connectivity for their application.
  
   Is it possible to move an existing isolated network into a VPC for
   site-to-site VPN functionality?  Or is there another way to set up a
   site-to-site VPN using the existing network?
  
  
   Thank You,
  
   Logan Barfield
   Tranquil Hosting
  
 



Re: vim25.jar missing from mvn repo?

2015-04-02 Thread Jeronimo Garcia
Thanks guys , i was able to compile the needed projects excluding some
projects like f5 and netapp:
*mvn -P vmware,developer,-f5,-netapp,-srx -D noredist -DskipTests=true
clean instal*l

I'm yet to try *mvn -pl :cloud-client-ui jetty:run -Dnoredist* to see
weather i can select
vmware on cluster creation.

Thanks again!


On Thu, Apr 2, 2015 at 5:05 AM, Srikanteswararao Talluri 
srikanteswararao.tall...@citrix.com wrote:

 You need to get the dependencies before you build. Following links should
 help you.

 https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudSt
 ack#HowtobuildCloudStack-Dependencies

 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Hypervisor+VMWare

 Thanks,
 ~Talluri

 On 01/04/15 10:14 pm, Jeronimo Garcia garciaj...@gmail.com wrote:

 Hi list.
 
 I'm trying to build the master on git and I'm getting this:
 
 [ERROR] Failed to execute goal on project cloud-vmware-base: Could not
 resolve dependencies for project
 org.apache.cloudstack:cloud-vmware-base:jar:4.6.0-SNAPSHOT: Failure to
 find
 com.cloud.com.vmware:vmware-vim25:jar:5.1 in
 https://repo.maven.apache.org/maven2 was cached in the local repository,
 resolution will not be reattempted until the update interval of central
 has
 elapsed or updates are forced - [Help 1]
 
 command: mvn -DskipTests=true -P vmware clean install
 
 Am i missing something? the jar file is not in the remote maven repos ..
 
 Thanks!




Re: reset sshkeyforvirtualmachine also resets password

2015-04-02 Thread Harikrishna Patnala
Hi Nux,

As already mentioned we store the encrypted vm password using the ssh key, so 
we need to reset the password also.

Regarding the password field in the DB, we have an API to get the VM password 
(https://cloudstack.apache.org/docs/api/apidocs-4.5/root_admin/getVMPassword.html)
 which gets encrypted password from DB.

Thanks,
Harikrishna

On 02-Apr-2015, at 5:07 am, Nux! n...@li.nux.ro wrote:

 Somesh,
 
 Why wouldn't the root password field in the DB just be left alone?
 
 --
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
 www.nux.ro
 
 - Original Message -
 From: Somesh Naidu somesh.na...@citrix.com
 To: dev@cloudstack.apache.org
 Sent: Thursday, 2 April, 2015 00:06:54
 Subject: RE: reset sshkeyforvirtualmachine also resets password
 
 I believe so, since the VM's password (stored in the user_vm_details table)
 needs to be encrypted using the new keys and I believe encryption is a 
 one-way
 hash.
 
 Somesh
 CloudPlatform Escalations
 Citrix Systems, Inc.
 
 
 -Original Message-
 From: Nux! [mailto:n...@li.nux.ro]
 Sent: Wednesday, April 01, 2015 9:16 AM
 To: dev
 Subject: reset sshkeyforvirtualmachine also resets password
 
 Hi,
 
 I've just noticed resetsshkeyforvirtualmachine also resets the root password.
 This doesn't sound right. Is this supposed to happen?
 
 4.4.3 RC2 (4.4-RC20150324T1321) CentOS/KVM
 
 --
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
 www.nux.ro



Re: reset sshkeyforvirtualmachine also resets password

2015-04-02 Thread Erik Weber
Could it not simply be reencoded with the new key?

Erik

Den torsdag 2. april 2015 skrev Harikrishna Patnala 
harikrishna.patn...@citrix.com følgende:

 Hi Nux,

 As already mentioned we store the encrypted vm password using the ssh key,
 so we need to reset the password also.

 Regarding the password field in the DB, we have an API to get the VM
 password (
 https://cloudstack.apache.org/docs/api/apidocs-4.5/root_admin/getVMPassword.html)
 which gets encrypted password from DB.

 Thanks,
 Harikrishna

 On 02-Apr-2015, at 5:07 am, Nux! n...@li.nux.ro javascript:; wrote:

  Somesh,
 
  Why wouldn't the root password field in the DB just be left alone?
 
  --
  Sent from the Delta quadrant using Borg technology!
 
  Nux!
  www.nux.ro
 
  - Original Message -
  From: Somesh Naidu somesh.na...@citrix.com javascript:;
  To: dev@cloudstack.apache.org javascript:;
  Sent: Thursday, 2 April, 2015 00:06:54
  Subject: RE: reset sshkeyforvirtualmachine also resets password
 
  I believe so, since the VM's password (stored in the user_vm_details
 table)
  needs to be encrypted using the new keys and I believe encryption is a
 one-way
  hash.
 
  Somesh
  CloudPlatform Escalations
  Citrix Systems, Inc.
 
 
  -Original Message-
  From: Nux! [mailto:n...@li.nux.ro javascript:;]
  Sent: Wednesday, April 01, 2015 9:16 AM
  To: dev
  Subject: reset sshkeyforvirtualmachine also resets password
 
  Hi,
 
  I've just noticed resetsshkeyforvirtualmachine also resets the root
 password.
  This doesn't sound right. Is this supposed to happen?
 
  4.4.3 RC2 (4.4-RC20150324T1321) CentOS/KVM
 
  --
  Sent from the Delta quadrant using Borg technology!
 
  Nux!
  www.nux.ro




Re: reset sshkeyforvirtualmachine also resets password

2015-04-02 Thread Nux!
Thanks Harikrishna, I did not know the password would get encrypted with the 
ssh key.
What happens when there is no ssh key registered, how are the passwords 
encrypted then?

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
 From: Harikrishna Patnala harikrishna.patn...@citrix.com
 To: dev@cloudstack.apache.org dev@cloudstack.apache.org
 Sent: Thursday, 2 April, 2015 07:17:54
 Subject: Re: reset sshkeyforvirtualmachine also resets password

 Hi Nux,
 
 As already mentioned we store the encrypted vm password using the ssh key, so 
 we
 need to reset the password also.
 
 Regarding the password field in the DB, we have an API to get the VM password
 (https://cloudstack.apache.org/docs/api/apidocs-4.5/root_admin/getVMPassword.html)
 which gets encrypted password from DB.
 
 Thanks,
 Harikrishna
 
 On 02-Apr-2015, at 5:07 am, Nux! n...@li.nux.ro wrote:
 
 Somesh,
 
 Why wouldn't the root password field in the DB just be left alone?
 
 --
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
 www.nux.ro
 
 - Original Message -
 From: Somesh Naidu somesh.na...@citrix.com
 To: dev@cloudstack.apache.org
 Sent: Thursday, 2 April, 2015 00:06:54
 Subject: RE: reset sshkeyforvirtualmachine also resets password
 
 I believe so, since the VM's password (stored in the user_vm_details table)
 needs to be encrypted using the new keys and I believe encryption is a 
 one-way
 hash.
 
 Somesh
 CloudPlatform Escalations
 Citrix Systems, Inc.
 
 
 -Original Message-
 From: Nux! [mailto:n...@li.nux.ro]
 Sent: Wednesday, April 01, 2015 9:16 AM
 To: dev
 Subject: reset sshkeyforvirtualmachine also resets password
 
 Hi,
 
 I've just noticed resetsshkeyforvirtualmachine also resets the root 
 password.
 This doesn't sound right. Is this supposed to happen?
 
 4.4.3 RC2 (4.4-RC20150324T1321) CentOS/KVM
 
 --
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
  www.nux.ro


RE: [ANNOUNCE] New committer Pierre-Yves Ritschard

2015-04-02 Thread Koushik Das
Congrats Pierre-Yves!

-Original Message-
From: sebgoa [mailto:run...@gmail.com] 
Sent: Wednesday, 1 April 2015 2:41
To: dev@cloudstack.apache.org
Subject: [ANNOUNCE] New committer Pierre-Yves Ritschard

The Project Management Committee (PMC) for Apache CloudStack has asked 
Pierre-Yves Rischard (@pyr) to become a committer and we are pleased to 
announce that he has accepted.

Pierre-Yves is a great developer and I hear he was named one of the top 100 
french developers.
He has contributed several fixes to cloudstack and more recently committed a 
Kafka listener, he has a big patch pending to remove the awsapi.

Being a committer enables easier contribution to the project since there is no 
need to go via the patch submission process. This should enable better 
productivity.
Being a PMC member enables assistance with the management and to guide the 
direction of the project.

Join me in congratulating pyr and pray that he does not re-write cloudstack in 
clojure :)

-The CloudStack PMC


RE: [ANNOUNCE] New committer: Rene Moser

2015-04-02 Thread Koushik Das
Congrats Rene!

-Original Message-
From: sebgoa [mailto:run...@gmail.com] 
Sent: Wednesday, 1 April 2015 2:43
To: dev@cloudstack.apache.org
Subject: [ANNOUNCE] New committer: Rene Moser

The Project Management Committee (PMC) for Apache CloudStack has asked Rene 
Moser to become a committer and we are pleased to announce that he has accepted.

Rene has committed several fixes to cloudstack and is the sole author of the 
cloudstack ansible module.
This module should make it to Ansible core quite soon

Being a committer enables easier contribution to the project since there is no 
need to go via the patch submission process. This should enable better 
productivity.
Being a PMC member enables assistance with the management and to guide the 
direction of the project.

Join me in congratulating Rene and let's hope for more Ansible play books to 
deploy cloudstack and associated workloads.

-The CloudStack PMC


[GitHub] cloudstack pull request: Bump priority stragety is no longer used ...

2015-04-02 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:

https://github.com/apache/cloudstack/pull/142#issuecomment-89047515
  
Build passed fine and tests, including vm_life_cycle as well. Don't know 
why Travis complained about 1 of the builds.

My output:

[INFO] 

[INFO] BUILD SUCCESS
[INFO] 

[INFO] Total time: 10:04 min
[INFO] Finished at: 2015-04-02T22:16:08+02:00
[INFO] Final Memory: 116M/838M

Travis output:

No output has been received in the last 10 minutes, this potentially 
indicates a stalled build or something wrong with the build itself.

I will push the PR and keep an eye on Master.


---
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: simulator-singlerun #1076

2015-04-02 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/1076/changes

Changes:

[wrodrigues] Bump priority stragety is no longer used for redundant virtual 
routers

--
[...truncated 10390 lines...]
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_schema.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_multipart.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_index.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_multipart_alter.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_bucketpolicy.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_policy_alter.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_offering.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_offering_alter.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/developer-prefill.sql
 Processing upgrade: com.cloud.upgrade.DatabaseUpgradeChecker
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
cloud-developer ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
cloud-developer ---
[INFO] Installing 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/pom.xml 
to 
/var/lib/jenkins/.m2/repository/org/apache/cloudstack/cloud-developer/4.6.0-SNAPSHOT/cloud-developer-4.6.0-SNAPSHOT.pom
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 1:49.929s
[INFO] Finished at: Thu Apr 02 17:47:09 EDT 2015
[INFO] Final Memory: 45M/186M
[INFO] 
[WARNING] The requested profile simulator could not be activated because it 
does not exist.
[simulator-singlerun] $ mvn -P developer -pl developer -Ddeploydb-simulator
[INFO] Scanning for projects...
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Developer Mode 4.6.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-developer ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties 
(default) @ cloud-developer ---
[WARNING] Ignoring missing properties file: 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/../utils/conf/db.properties.override
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-developer ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (default) @ cloud-developer ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO]  exec-maven-plugin:1.2.1:java (create-schema-simulator) @ 
cloud-developer 
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-developer ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO]  exec-maven-plugin:1.2.1:java (create-schema-simulator) @ 
cloud-developer 
[INFO] 
[INFO] --- exec-maven-plugin:1.2.1:java (create-schema-simulator) @ 
cloud-developer ---
log4j:WARN No appenders could be found for logger 
(org.springframework.core.env.StandardEnvironment).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
 WARNING: Provided file does not exist: 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/../utils/conf/db.properties.override
 Initializing database=simulator with host=localhost port=3306 
username=cloud password=cloud
 Running query: drop database if exists `simulator`
 Running query: create database `simulator`
 Running query: GRANT ALL ON simulator.* to 'cloud'@`localhost` 
identified by 'cloud'
 Running query: GRANT ALL ON simulator.* to 'cloud'@`%` identified 
by 'cloud'
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/create-schema-simulator.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/templates.simulator.sql
 Processing SQL file at 

[GitHub] cloudstack pull request: Bump priority stragety is no longer used ...

2015-04-02 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cloudstack/pull/142


---
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.
---


[GitHub] cloudstack pull request: Bump priority stragety is no longer used ...

2015-04-02 Thread wilderrodrigues
GitHub user wilderrodrigues opened a pull request:

https://github.com/apache/cloudstack/pull/142

Bump priority stragety is no longer used for redundant virtual routers

   - With the changes added by the rVPC work, the bump priority became 
deprecated.
 This commit includes a refactor to get it removed from the following 
resources:
 * Java classes
 * domain_router table - removing the is_priority_bumpup column
 * Fixing unit tests

All changes were tested with:

XenServer 6.2 running under our VMWare zone
CloudStack Management Server running on MacBook Pro
MySql running on MackBook Pro
Storage Type: Local

Test Create Account and user for that account ... === TestName: 
test_01_create_account | Status : SUCCESS ===
ok
Test Sub domain allowed to launch VM  when a Domain level zone is created 
... === TestName: test_01_add_vm_to_subdomain | Status : SUCCESS ===
ok
Test delete domain without force option ... === TestName: test_DeleteDomain 
| Status : SUCCESS ===
ok
Test delete domain with force option ... === TestName: 
test_forceDeleteDomain | Status : SUCCESS ===
ok
Test update admin details ... === TestName: test_updateAdminDetails | 
Status : SUCCESS ===
ok
Test update domain admin details ... === TestName: 
test_updateDomainAdminDetails | Status : SUCCESS ===
ok
Test user update API ... === TestName: test_updateUserDetails | Status : 
SUCCESS ===
ok
Test login API with domain ... === TestName: test_LoginApiDomain | Status : 
SUCCESS ===
ok
Test if Login API does not return UUID's ... === TestName: 
test_LoginApiUuidResponse | Status : SUCCESS ===
ok

--
Ran 9 tests in 1165.016s

OK
/tmp//MarvinLogs/test_accounts_7Q4OAG/results.txt (END)




Test router internal advanced zone ... SKIP: Marvin configuration has no 
host credentials to check router services
Test restart network ... === TestName: test_03_restart_network_cleanup | 
Status : SUCCESS ===
ok
Test router basic setup ... === TestName: test_05_router_basic | Status : 
SUCCESS ===
ok
Test router advanced setup ... === TestName: test_06_router_advanced | 
Status : SUCCESS ===
ok
Test stop router ... === TestName: test_07_stop_router | Status : SUCCESS 
===
ok
Test start router ... === TestName: test_08_start_router | Status : SUCCESS 
===
ok
Test reboot router ... === TestName: test_09_reboot_router | Status : 
SUCCESS ===
ok

--
Ran 7 tests in 438.824s

OK (SKIP=1)
/tmp//MarvinLogs/test_routers_IYY39F/results.txt (END)




Test advanced zone virtual router ... === TestName: 
test_advZoneVirtualRouter | Status : SUCCESS ===
ok
Test Deploy Virtual Machine ... === TestName: test_deploy_vm | Status : 
SUCCESS ===
ok
Test Multiple Deploy Virtual Machine ... === TestName: 
test_deploy_vm_multiple | Status : SUCCESS ===
ok
Test Stop Virtual Machine ... === TestName: test_01_stop_vm | Status : 
SUCCESS ===
ok
Test Start Virtual Machine ... === TestName: test_02_start_vm | Status : 
SUCCESS ===
ok
Test Reboot Virtual Machine ... === TestName: test_03_reboot_vm | Status : 
SUCCESS ===
ok
Test destroy Virtual Machine ... === TestName: test_06_destroy_vm | Status 
: SUCCESS ===
ok
Test recover Virtual Machine ... === TestName: test_07_restore_vm | Status 
: SUCCESS ===
ok
Test migrate VM ... SKIP: At least two hosts should be present in the zone 
for migration
Test destroy(expunge) Virtual Machine ... === TestName: test_09_expunge_vm 
| Status : SUCCESS ===
ok

--
Ran 10 tests in 896.406s

OK (SKIP=1)
/tmp//MarvinLogs/test_vm_life_cycle_YMQT53/results.txt (END)




Test migrate of router after addition of one guest network ... SKIP: No 
host available for migration. Test requires atleast 2 hosts
Test to change service offering of router after addition of one guest 
network ... === TestName: 
test_07_chg_srv_off_router_after_addition_of_one_guest_network | Status : 
SUCCESS ===
ok
Test destroy of router after addition of one guest network ... === 
TestName: test_08_destroy_router_after_addition_of_one_guest_network | Status : 
SUCCESS ===
ok
Test to stop and start router after creation of VPC ... === TestName: 
test_01_stop_start_router_after_creating_vpc | Status : SUCCESS ===
ok
Test to reboot the router after creating a VPC ... === TestName: 
test_02_reboot_router_after_creating_vpc | Status : SUCCESS ===
ok
Test migration of router to another host after creating VPC ... SKIP: No 
host available for migration. Test requires 

Re: [GitHub] cloudstack pull request: fix yum install require java = 1.7.0 whe...

2015-04-02 Thread Star Guo
@karuturi

After I fix it Requires: java-1.7.0-openjdk , the snapshot picture of
attachment.

Best Regards,
Star Guo

===

Github user ghxandsky commented on the pull request:

https://github.com/apache/cloudstack/pull/108#issuecomment-89127744
  
@karuturi I'm sorry for this commit, it should be Requires:
java-1.7.0-openjdk . I make a mistake. :( 


---
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.
---


[GitHub] cloudstack pull request: fix yum install require java = 1.7.0 whe...

2015-04-02 Thread ghxandsky
Github user ghxandsky commented on the pull request:

https://github.com/apache/cloudstack/pull/108#issuecomment-89128055
  
@karuturi Can you craete a new commit and fix it ?


---
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.
---


[GitHub] cloudstack pull request: fix yum install require java = 1.7.0 whe...

2015-04-02 Thread ghxandsky
Github user ghxandsky commented on the pull request:

https://github.com/apache/cloudstack/pull/108#issuecomment-89127744
  
@karuturi I'm sorry for this commit, it should be Requires: 
java-1.7.0-openjdk . I make a mistake. :( 


---
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.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8380: Adding automation test c...

2015-04-02 Thread gauravaradhye
Github user gauravaradhye commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/117#discussion_r27650484
  
--- Diff: test/integration/testpaths/testpath_storage_migration.py ---
@@ -765,7 +597,7 @@ def test_01_migrate_root_and_data_disk_nonlive(self):
 
 # Ensure we can add data to newly added disks
 createChecksum(
-self,
+self.testdata,
--- End diff --

Mention parameterName=Value, same change for all functions calls.


---
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.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8380: Adding automation test c...

2015-04-02 Thread gauravaradhye
Github user gauravaradhye commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/117#discussion_r27651210
  
--- Diff: test/integration/testpaths/testpath_volume_recurring_snap.py ---
@@ -0,0 +1,1015 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# License); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+ Test cases for VM/Volume recurring snapshot Test Path
+
+from nose.plugins.attrib import attr
+from marvin.cloudstackTestCase import cloudstackTestCase, unittest
+from marvin.lib.utils import (cleanup_resources,
+  is_snapshot_on_nfs,
+  validateList
+  )
+from marvin.lib.base import (Account,
+ ServiceOffering,
+ DiskOffering,
+ VirtualMachine,
+ SnapshotPolicy,
+ Snapshot,
+ Configurations
+ )
+from marvin.lib.common import (get_domain,
+   get_zone,
+   get_template,
+   list_volumes,
+   list_snapshots,
+   list_snapshot_policy
+   )
+
+from marvin.codes import PASS
+
+import time
+
+
+class TestVolumeSnapshot(cloudstackTestCase):
+
+@classmethod
+def setUpClass(cls):
+testClient = super(TestVolumeSnapshot, cls).getClsTestClient()
+cls.apiclient = testClient.getApiClient()
+cls.testdata = testClient.getParsedTestDataConfig()
+cls.hypervisor = cls.testClient.getHypervisorInfo()
+
+# Get Zone, Domain and templates
+cls.domain = get_domain(cls.apiclient)
+cls.zone = get_zone(cls.apiclient, testClient.getZoneForTests())
+
+cls.template = get_template(
+cls.apiclient,
+cls.zone.id,
+cls.testdata[ostype])
+
+cls._cleanup = []
+
+if cls.hypervisor.lower() not in [
+vmware,
+kvm,
+xenserver]:
+raise unittest.SkipTest(
+Storage migration not supported on %s %
+cls.hypervisor)
+
+try:
+# Create an account
+cls.account = Account.create(
+cls.apiclient,
+cls.testdata[account],
+domainid=cls.domain.id
+)
+cls._cleanup.append(cls.account)
+# Create user api client of the account
+cls.userapiclient = testClient.getUserApiClient(
+UserName=cls.account.name,
+DomainName=cls.account.domain
+)
+# Create Service offering
+cls.service_offering = ServiceOffering.create(
+cls.apiclient,
+cls.testdata[service_offering],
+)
+cls._cleanup.append(cls.service_offering)
+# Create Disk offering
+cls.disk_offering = DiskOffering.create(
+cls.apiclient,
+cls.testdata[disk_offering],
+)
+cls._cleanup.append(cls.disk_offering)
+# Deploy A VM
+cls.vm_1 = VirtualMachine.create(
+cls.userapiclient,
+cls.testdata[small],
+templateid=cls.template.id,
+accountid=cls.account.name,
+domainid=cls.account.domainid,
+serviceofferingid=cls.service_offering.id,
+zoneid=cls.zone.id,
+diskofferingid=cls.disk_offering.id,
+mode=cls.zone.networktype
+)
+
+cls.volume = list_volumes(
+cls.apiclient,
+   

Re: vim25.jar missing from mvn repo?

2015-04-02 Thread Rohit Yadav
Jeronimo - if you need the jars I maintain them here: 
https://github.com/bhaisaab/cloudstack-nonoss

 On 02-Apr-2015, at 2:58 pm, Jeronimo Garcia garciaj...@gmail.com wrote:

 Thanks guys , i was able to compile the needed projects excluding some
 projects like f5 and netapp:
 *mvn -P vmware,developer,-f5,-netapp,-srx -D noredist -DskipTests=true
 clean instal*l

 I'm yet to try *mvn -pl :cloud-client-ui jetty:run -Dnoredist* to see
 weather i can select
 vmware on cluster creation.

 Thanks again!


 On Thu, Apr 2, 2015 at 5:05 AM, Srikanteswararao Talluri 
 srikanteswararao.tall...@citrix.com wrote:

 You need to get the dependencies before you build. Following links should
 help you.

 https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudSt
 ack#HowtobuildCloudStack-Dependencies

 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Hypervisor+VMWare

 Thanks,
 ~Talluri

 On 01/04/15 10:14 pm, Jeronimo Garcia garciaj...@gmail.com wrote:

 Hi list.

 I'm trying to build the master on git and I'm getting this:

 [ERROR] Failed to execute goal on project cloud-vmware-base: Could not
 resolve dependencies for project
 org.apache.cloudstack:cloud-vmware-base:jar:4.6.0-SNAPSHOT: Failure to
 find
 com.cloud.com.vmware:vmware-vim25:jar:5.1 in
 https://repo.maven.apache.org/maven2 was cached in the local repository,
 resolution will not be reattempted until the update interval of central
 has
 elapsed or updates are forced - [Help 1]

 command: mvn -DskipTests=true -P vmware clean install

 Am i missing something? the jar file is not in the remote maven repos ..

 Thanks!



Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software 
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://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 SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: CentOS Cloud SIG effort

2015-04-02 Thread Paul Angus

I'll try to attend too.

Regards

Paul Angus

Cloud Architect
ShapeBlue Ltd
M: 07711418784 | T: @CloudyAngus
paul.an...@shapeblue.com





 Original message 
From: Nux!
Date:02/04/2015 10:09 (GMT+01:00)
To: sebgoa
Cc: dev@cloudstack.apache.org,Paul Angus
Subject: Re: CentOS Cloud SIG effort

Sure, I'll do my best to attend.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
 From: sebgoa run...@gmail.com
 To: dev@cloudstack.apache.org, Paul Angus paul.an...@shapeblue.com, 
 Nux! n...@li.nux.ro
 Sent: Thursday, 2 April, 2015 07:54:13
 Subject: Re: CentOS Cloud SIG effort

 All, and specially Paul and Nux,

 Any chance you can join this meeting, and see what we need to do on the CentOS
 front ?

 On Apr 1, 2015, at 5:03 PM, Rich Bowen rbo...@rcbowen.com wrote:



 On 03/27/2015 04:41 AM, Sebastien Goasguen wrote:
 On Mar 26, 2015, at 4:28 PM, Rich Bowenrbo...@rcbowen.com  wrote:
 
 A while back I mentioned to some folks (I think it was this list, but it 
 may
 have been a subset) that the CentOS community is working on a Cloud SIG
 (Special Interest Group) effort. You can read a little about it
 athttp://wiki.centos.org/SpecialInterestGroup/Cloud
 
 The idea is to ensure that cloud infrastructure software, like CloudStack,
 OpenStack, Open Nebula, and Eucalyptus, works solidly on CentOS, has all 
 of the
 prerequisite packages available, gets CI on the CentOS platform, and so 
 on.
 
 At the moment, this is*only*  OpenStack, with the other projects 
 unrepresented.
 
 If you are interested in adoption of CloudStack on CentOS (and, by side 
 effect,
 on Red Hat Enterprise Linux), we'd love to have your participation in this
 effort.
 
 Hi Rich, thanks for the ping again.

 We have been in touch with KB (Nux! and I mostly) and submitted our scripts 
 for
 building a cloudstack centOS templates upstream. It works and was merged at
 some point, but it got pulled back because we stick some scripts in there.

 Bottom line is that I feel we need to work further upstream in cloud-init to
 improve cloudstack support there, once that’s done, we can come back to the
 CentOS builds for cloudstack.

 fwiw, our install base is probably ~70% centOS and we already have centOS7
 support.

 In the OpenStack world, we see CentOS as a great way to get the message out
 about OpenStack. Wearing my ASF hat, I'd really like to see the same vehicle 
 be
 used to get the word out about CloudStack. CentOS goes to a lot of events, 
 and
 many of them are ones that CloudStack isn't at. I'd love to see the Cloud SIG
 be a way to get the word about CloudStack into audiences that typically only
 ever hear about OpenStack. (Yes, I have split loyalties here, and that's 
 fine.)

 Anyways, a reminder that we will be having this meeting on #centos-devel at
 15:00 UTC *tomorrow*, and it would be awesome to at least have some
 representation from the CloudStack community there to ask the right questions
 and see what we can do, on the CentOS side, to fix these cloud-init problems
 and bring CloudStack some more of the CentOS spotlight. Or even just show up 
 so
 that folks can meet you and we can figure out if there's anything we can do 
 to
 help one another.

 --Rich


 --
 Rich Bowen - rbo...@rcbowen.com - @rbowen
  http://apachecon.com/ - @apachecon
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software 
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://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 SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


[GitHub] cloudstack pull request: reboot much faster in case of storage fai...

2015-04-02 Thread NuxRo
Github user NuxRo commented on the pull request:

https://github.com/apache/cloudstack/pull/140#issuecomment-8641
  
Looks OK to me, waiting for a dead NFS connection is a PITA.


---
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.
---


Re: reset sshkeyforvirtualmachine also resets password

2015-04-02 Thread Harikrishna Patnala
When we create or register ssh key with CS API, CS only stores public key.
So, cloudstack does not know the private key to decrypt the password and 
encrypt it with new ssh key.

Thanks,
Harikrishna
On 02-Apr-2015, at 11:59 am, Erik Weber terbol...@gmail.com wrote:

 Could it not simply be reencoded with the new key?
 
 Erik
 
 Den torsdag 2. april 2015 skrev Harikrishna Patnala 
 harikrishna.patn...@citrix.com følgende:
 
 Hi Nux,
 
 As already mentioned we store the encrypted vm password using the ssh key,
 so we need to reset the password also.
 
 Regarding the password field in the DB, we have an API to get the VM
 password (
 https://cloudstack.apache.org/docs/api/apidocs-4.5/root_admin/getVMPassword.html)
 which gets encrypted password from DB.
 
 Thanks,
 Harikrishna
 
 On 02-Apr-2015, at 5:07 am, Nux! n...@li.nux.ro javascript:; wrote:
 
 Somesh,
 
 Why wouldn't the root password field in the DB just be left alone?
 
 --
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
 www.nux.ro
 
 - Original Message -
 From: Somesh Naidu somesh.na...@citrix.com javascript:;
 To: dev@cloudstack.apache.org javascript:;
 Sent: Thursday, 2 April, 2015 00:06:54
 Subject: RE: reset sshkeyforvirtualmachine also resets password
 
 I believe so, since the VM's password (stored in the user_vm_details
 table)
 needs to be encrypted using the new keys and I believe encryption is a
 one-way
 hash.
 
 Somesh
 CloudPlatform Escalations
 Citrix Systems, Inc.
 
 
 -Original Message-
 From: Nux! [mailto:n...@li.nux.ro javascript:;]
 Sent: Wednesday, April 01, 2015 9:16 AM
 To: dev
 Subject: reset sshkeyforvirtualmachine also resets password
 
 Hi,
 
 I've just noticed resetsshkeyforvirtualmachine also resets the root
 password.
 This doesn't sound right. Is this supposed to happen?
 
 4.4.3 RC2 (4.4-RC20150324T1321) CentOS/KVM
 
 --
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
 www.nux.ro
 
 



[GitHub] cloudstack pull request: CLOUDSTACK-8380: Adding automation test c...

2015-04-02 Thread gauravaradhye
Github user gauravaradhye commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/117#discussion_r27650780
  
--- Diff: test/integration/testpaths/testpath_volume_recurring_snap.py ---
@@ -0,0 +1,1015 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# License); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+ Test cases for VM/Volume recurring snapshot Test Path
+
+from nose.plugins.attrib import attr
+from marvin.cloudstackTestCase import cloudstackTestCase, unittest
+from marvin.lib.utils import (cleanup_resources,
+  is_snapshot_on_nfs,
+  validateList
+  )
+from marvin.lib.base import (Account,
+ ServiceOffering,
+ DiskOffering,
+ VirtualMachine,
+ SnapshotPolicy,
+ Snapshot,
+ Configurations
+ )
+from marvin.lib.common import (get_domain,
+   get_zone,
+   get_template,
+   list_volumes,
+   list_snapshots,
+   list_snapshot_policy
+   )
+
+from marvin.codes import PASS
+
+import time
+
+
+class TestVolumeSnapshot(cloudstackTestCase):
+
+@classmethod
+def setUpClass(cls):
+testClient = super(TestVolumeSnapshot, cls).getClsTestClient()
+cls.apiclient = testClient.getApiClient()
+cls.testdata = testClient.getParsedTestDataConfig()
+cls.hypervisor = cls.testClient.getHypervisorInfo()
+
+# Get Zone, Domain and templates
+cls.domain = get_domain(cls.apiclient)
+cls.zone = get_zone(cls.apiclient, testClient.getZoneForTests())
+
+cls.template = get_template(
+cls.apiclient,
+cls.zone.id,
+cls.testdata[ostype])
+
+cls._cleanup = []
+
+if cls.hypervisor.lower() not in [
+vmware,
+kvm,
+xenserver]:
+raise unittest.SkipTest(
+Storage migration not supported on %s %
+cls.hypervisor)
+
+try:
+# Create an account
+cls.account = Account.create(
+cls.apiclient,
+cls.testdata[account],
+domainid=cls.domain.id
+)
+cls._cleanup.append(cls.account)
+# Create user api client of the account
+cls.userapiclient = testClient.getUserApiClient(
+UserName=cls.account.name,
+DomainName=cls.account.domain
+)
+# Create Service offering
+cls.service_offering = ServiceOffering.create(
+cls.apiclient,
+cls.testdata[service_offering],
+)
+cls._cleanup.append(cls.service_offering)
+# Create Disk offering
+cls.disk_offering = DiskOffering.create(
+cls.apiclient,
+cls.testdata[disk_offering],
+)
+cls._cleanup.append(cls.disk_offering)
+# Deploy A VM
+cls.vm_1 = VirtualMachine.create(
+cls.userapiclient,
+cls.testdata[small],
+templateid=cls.template.id,
+accountid=cls.account.name,
+domainid=cls.account.domainid,
+serviceofferingid=cls.service_offering.id,
+zoneid=cls.zone.id,
+diskofferingid=cls.disk_offering.id,
+mode=cls.zone.networktype
+)
+
+cls.volume = list_volumes(
+cls.apiclient,
+   

[GitHub] cloudstack pull request: CLOUDSTACK-8380: Adding automation test c...

2015-04-02 Thread gauravaradhye
Github user gauravaradhye commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/117#discussion_r27650755
  
--- Diff: test/integration/testpaths/testpath_volume_recurring_snap.py ---
@@ -0,0 +1,1015 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# License); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+ Test cases for VM/Volume recurring snapshot Test Path
+
+from nose.plugins.attrib import attr
+from marvin.cloudstackTestCase import cloudstackTestCase, unittest
+from marvin.lib.utils import (cleanup_resources,
+  is_snapshot_on_nfs,
+  validateList
+  )
+from marvin.lib.base import (Account,
+ ServiceOffering,
+ DiskOffering,
+ VirtualMachine,
+ SnapshotPolicy,
+ Snapshot,
+ Configurations
+ )
+from marvin.lib.common import (get_domain,
+   get_zone,
+   get_template,
+   list_volumes,
+   list_snapshots,
+   list_snapshot_policy
+   )
+
+from marvin.codes import PASS
+
+import time
+
+
+class TestVolumeSnapshot(cloudstackTestCase):
--- End diff --

Change class name according to functional group of tests.


---
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.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8380: Adding automation test c...

2015-04-02 Thread gauravaradhye
Github user gauravaradhye commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/117#discussion_r27650440
  
--- Diff: test/integration/testpaths/testpath_storage_migration.py ---
@@ -659,11 +478,11 @@ def test_01_migrate_root_and_data_disk_nonlive(self):
 vm_cluster.start(self.userapiclient)
 
 compareChecksum(
-self,
+self.apiclient,
+self.testdata,
 checksum_random_root_cluster,
--- End diff --

Please specify parameter names so as to understand what all data are we 
passing exactly.


---
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.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8380: Adding automation test c...

2015-04-02 Thread gauravaradhye
Github user gauravaradhye commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/117#discussion_r27650373
  
--- Diff: test/integration/testpaths/testpath_storage_migration.py ---
@@ -536,8 +353,10 @@ def test_01_migrate_root_and_data_disk_nonlive(self):
 
 In addition to this,
 Create snapshot of root and data disk after migration.
-For root disk, create template from snapshot, deploy Vm and 
compare checksum
-For data disk, Create volume from snapshot, attach to VM and 
compare checksum
+For root disk, create template from snapshot, \
--- End diff --

No need of backward slash as it is already in comment block.


---
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.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8380: Adding automation test c...

2015-04-02 Thread gauravaradhye
Github user gauravaradhye commented on the pull request:

https://github.com/apache/cloudstack/pull/117#issuecomment-0495
  
Will review remaining changes tomorrow. A quick question, running the test 
suite should not leave anything behind in the setup. Is this taken care of?


---
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.
---


Re: CentOS Cloud SIG effort

2015-04-02 Thread Nux!
Hi Adrian

 Pretty sure that if getting the management server up and running was as
 simple as...
 1. Install CentOS
 2. yum install cloudstack
 3. setup-cloudstack-all-in-one.sh
 ...we'd see many more people at least trying it out.
 
 Some might see the current installation options as easy enough but if
 someone could get it up and running without even looking at the docs, I
 reckon they'd be more likely to do it and then consult the docs when they
 got stuck.

This reminds me of https://github.com/thehyperadvisor/cldstk-deploy , though 
there could certainly more/better ideas on how to ease things up, at least for 
a PoC.
I'm sure Sebastien will quickly propose docker. :)

 
 If the packages could be put into the centos-extras repo that would do the
 trick. I'm sure there's more to it than my simplistic idea but could we
 discuss the viability of this?

I think this will be difficult to achieve, though I am short on proper details, 
I believe the way we (in cloudstack) ship some stuff - particularly java stuff 
- is not exactly kosher from a RedHat packaging point of view.
They have their own routine, practices and so on. Furthermore, let's say we get 
that right, keeping it up to date in their repo will also be quite an effort.
I think the idea is good and in an ideal world it's how we'd do it, but right 
now with the release cadence of Cloudstack and our few resources, it's 
something that - simply - it's not worth doing.

 We could do with a one-stop script that does
 everything for the user including installing the mysql/mariadb server aspect
  even setting up NFS shares on the same box (leaving the other more
 granular setup scripts for 'advanced' users. If centos-extras is not
 feasible, how about EPEL? Might even get some Fedora people interested as
 well (if it works on Fedora).

See the ansible link I gave above.
Re EPEL and Fedora, they're having trouble maintaining their own stuff, i.e. 
they removed openstack from there and are maintaining separate repositories at
https://repos.fedorapeople.org/repos/openstack/

 
 Pretty sure that this particular CentOS SIG is about running the
 management/infrastructure side of things as opposed to running centos as a
 guest in case anyone is unsure. Although clearly related, earlier comments
 about cloud-init are surely more related to another CentOS SIG (Cloud
 Instance) aren't they?

Yep, CentOS Cloud Instance SIG is a different project meant to get CentOS 
running on all major cloud platforms. This one is somehow successful in that 
their official image will boot in Cloudstack and get a ssh key if one is set, 
even execute user data, but there are many bugs and other problems. Far from 
ideal; it would be great if someone with python skills would take up polishing 
the cloud-init Cloudstack source a bit, perhaps as part of GSoC.

My stance on all this is, bother less with packaging or inclusion in CentOS 
official repos and focus more on getting it to work as smoothly as possible.

Also, attending the CentOS events with presentations on Cloudstack is a great 
idea to raise some awareness.

/imho

Lucian


Build failed in Jenkins: simulator-singlerun #1071

2015-04-02 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/1071/changes

Changes:

[Rajani Karuturi] reverted 555c4329462ac632890c7cde3bac8db8b6e8a682 for 
centos6.3 as the rpm installs java 1.6

--
[...truncated 10410 lines...]
 Running query: drop database if exists `cloud_usage`
 Running query: create database `cloud_usage`
 Running query: GRANT ALL ON cloud_usage.* to 'cloud'@`localhost` 
identified by 'cloud'
 Running query: GRANT ALL ON cloud_usage.* to 'cloud'@`%` 
identified by 'cloud'
 Initializing database=cloudbridge with host=localhost port=3306 
username=cloud password=cloud
 Running query: drop database if exists `cloudbridge`
 Running query: create database `cloudbridge`
 Running query: GRANT ALL ON cloudbridge.* to 'cloud'@`localhost` 
identified by 'cloud'
 Running query: GRANT ALL ON cloudbridge.* to 'cloud'@`%` 
identified by 'cloud'
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/create-schema.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/create-schema-premium.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/templates.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_schema.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_multipart.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_index.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_multipart_alter.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_bucketpolicy.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_policy_alter.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_offering.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_offering_alter.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/developer-prefill.sql
 Processing upgrade: com.cloud.upgrade.DatabaseUpgradeChecker
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
cloud-developer ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
cloud-developer ---
[INFO] Installing 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/pom.xml 
to 
/var/lib/jenkins/.m2/repository/org/apache/cloudstack/cloud-developer/4.6.0-SNAPSHOT/cloud-developer-4.6.0-SNAPSHOT.pom
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 2:02.566s
[INFO] Finished at: Thu Apr 02 05:58:54 EDT 2015
[INFO] Final Memory: 46M/201M
[INFO] 
[WARNING] The requested profile simulator could not be activated because it 
does not exist.
[simulator-singlerun] $ mvn -P developer -pl developer -Ddeploydb-simulator
[INFO] Scanning for projects...
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Developer Mode 4.6.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-developer ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties 
(default) @ cloud-developer ---
[WARNING] Ignoring missing properties file: 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/../utils/conf/db.properties.override
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-developer ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (default) @ cloud-developer ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO]  exec-maven-plugin:1.2.1:java (create-schema-simulator) @ 
cloud-developer 
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-developer ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO]  exec-maven-plugin:1.2.1:java (create-schema-simulator) @ 
cloud-developer 
[INFO] 
[INFO] --- exec-maven-plugin:1.2.1:java 

[GitHub] cloudstack pull request: reboot much faster in case of storage fai...

2015-04-02 Thread runseb
Github user runseb commented on the pull request:

https://github.com/apache/cloudstack/pull/140#issuecomment-6601
  
pinging @llambiel and @pyr @wido  LGTM.


---
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.
---


RE: CentOS Cloud SIG effort

2015-04-02 Thread Adrian Lewis
Pretty sure that if getting the management server up and running was as
simple as...
1. Install CentOS
2. yum install cloudstack
3. setup-cloudstack-all-in-one.sh
...we'd see many more people at least trying it out.

Some might see the current installation options as easy enough but if
someone could get it up and running without even looking at the docs, I
reckon they'd be more likely to do it and then consult the docs when they
got stuck.

If the packages could be put into the centos-extras repo that would do the
trick. I'm sure there's more to it than my simplistic idea but could we
discuss the viability of this? We could do with a one-stop script that does
everything for the user including installing the mysql/mariadb server aspect
 even setting up NFS shares on the same box (leaving the other more
granular setup scripts for 'advanced' users. If centos-extras is not
feasible, how about EPEL? Might even get some Fedora people interested as
well (if it works on Fedora).

Pretty sure that this particular CentOS SIG is about running the
management/infrastructure side of things as opposed to running centos as a
guest in case anyone is unsure. Although clearly related, earlier comments
about cloud-init are surely more related to another CentOS SIG (Cloud
Instance) aren't they?

Adrian

-Original Message-
From: Nux! [mailto:n...@li.nux.ro]
Sent: 02 April 2015 09:20
To: sebgoa
Cc: dev@cloudstack.apache.org; Paul Angus
Subject: Re: CentOS Cloud SIG effort

BTW, if anyone has some concrete ideas/questions re Cloudstack and CentOS,
please come forth so we can mention them during the meeting.

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
 From: Nux! n...@li.nux.ro
 To: sebgoa run...@gmail.com
 Cc: dev@cloudstack.apache.org, Paul Angus paul.an...@shapeblue.com
 Sent: Thursday, 2 April, 2015 09:08:57
 Subject: Re: CentOS Cloud SIG effort

 Sure, I'll do my best to attend.

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro

 - Original Message -
 From: sebgoa run...@gmail.com
 To: dev@cloudstack.apache.org, Paul Angus paul.an...@shapeblue.com,
 Nux!
 n...@li.nux.ro
 Sent: Thursday, 2 April, 2015 07:54:13
 Subject: Re: CentOS Cloud SIG effort

 All, and specially Paul and Nux,

 Any chance you can join this meeting, and see what we need to do on
 the CentOS front ?

 On Apr 1, 2015, at 5:03 PM, Rich Bowen rbo...@rcbowen.com wrote:



 On 03/27/2015 04:41 AM, Sebastien Goasguen wrote:
 On Mar 26, 2015, at 4:28 PM, Rich Bowenrbo...@rcbowen.com  wrote:
 
 A while back I mentioned to some folks (I think it was this list,
 but it may have been a subset) that the CentOS community is
 working on a Cloud SIG (Special Interest Group) effort. You can
 read a little about it
 athttp://wiki.centos.org/SpecialInterestGroup/Cloud
 
 The idea is to ensure that cloud infrastructure software, like
 CloudStack, OpenStack, Open Nebula, and Eucalyptus, works solidly
 on CentOS, has all of the prerequisite packages available, gets CI on
 the CentOS platform, and so on.
 
 At the moment, this is*only*  OpenStack, with the other projects
 unrepresented.
 
 If you are interested in adoption of CloudStack on CentOS (and,
 by side effect, on Red Hat Enterprise Linux), we'd love to have
 your participation in this effort.
 
 Hi Rich, thanks for the ping again.

 We have been in touch with KB (Nux! and I mostly) and submitted our
 scripts for building a cloudstack centOS templates upstream. It
 works and was merged at some point, but it got pulled back because we
 stick some scripts in there.

 Bottom line is that I feel we need to work further upstream in
 cloud-init to improve cloudstack support there, once that’s done,
 we can come back to the CentOS builds for cloudstack.

 fwiw, our install base is probably ~70% centOS and we already have
 centOS7 support.

 In the OpenStack world, we see CentOS as a great way to get the
 message out about OpenStack. Wearing my ASF hat, I'd really like to
 see the same vehicle be used to get the word out about CloudStack.
 CentOS goes to a lot of events, and many of them are ones that
 CloudStack isn't at. I'd love to see the Cloud SIG be a way to get
 the word about CloudStack into audiences that typically only ever
 hear about OpenStack. (Yes, I have split loyalties here, and that's
 fine.)

 Anyways, a reminder that we will be having this meeting on
 #centos-devel at
 15:00 UTC *tomorrow*, and it would be awesome to at least have some
 representation from the CloudStack community there to ask the right
 questions and see what we can do, on the CentOS side, to fix these
 cloud-init problems and bring CloudStack some more of the CentOS
 spotlight. Or even just show up so that folks can meet you and we
 can figure out if there's anything we can do to help one another.

 --Rich


 --
 Rich Bowen - rbo...@rcbowen.com - @rbowen
   http://apachecon.com/ - @apachecon


[GitHub] cloudstack pull request: CLOUDSTACK-8380: Adding automation test c...

2015-04-02 Thread gauravaradhye
Github user gauravaradhye commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/117#discussion_r27650336
  
--- Diff: test/integration/testpaths/testpath_storage_migration.py ---
@@ -479,6 +283,19 @@ def setUpClass(cls):
 )
 cls._cleanup.append(cls.disk_offering_cluster1)
 
+cls.new_virtual_machine = VirtualMachine.create(
+cls.apiclient,
+cls.testdata[small],
+templateid=cls.template.id,
+accountid=cls.account.name,
+domainid=cls.account.domainid,
+serviceofferingid=cls.service_offering.id,
+zoneid=cls.zone.id,
+mode=cls.zone.networktype
+)
+
+cls.new_virtual_machine.start(cls.apiclient)
--- End diff --

Vm is by default in running state as long as we do not pass startvm=False. 
Hence no need to start VM explicitly after deploying.


---
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.
---


Re: reset sshkeyforvirtualmachine also resets password

2015-04-02 Thread Harikrishna Patnala
Password is encrypted and stored only if the vm is deployed from password 
enabled template and ssh public key is provided, 
Otherwise we don’t encrypt or store the password.


-Harikrishna


On 02-Apr-2015, at 1:48 pm, Nux! n...@li.nux.ro wrote:

 Thanks Harikrishna, I did not know the password would get encrypted with the 
 ssh key.
 What happens when there is no ssh key registered, how are the passwords 
 encrypted then?
 
 Lucian
 
 --
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
 www.nux.ro
 
 - Original Message -
 From: Harikrishna Patnala harikrishna.patn...@citrix.com
 To: dev@cloudstack.apache.org dev@cloudstack.apache.org
 Sent: Thursday, 2 April, 2015 07:17:54
 Subject: Re: reset sshkeyforvirtualmachine also resets password
 
 Hi Nux,
 
 As already mentioned we store the encrypted vm password using the ssh key, 
 so we
 need to reset the password also.
 
 Regarding the password field in the DB, we have an API to get the VM password
 (https://cloudstack.apache.org/docs/api/apidocs-4.5/root_admin/getVMPassword.html)
 which gets encrypted password from DB.
 
 Thanks,
 Harikrishna
 
 On 02-Apr-2015, at 5:07 am, Nux! n...@li.nux.ro wrote:
 
 Somesh,
 
 Why wouldn't the root password field in the DB just be left alone?
 
 --
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
 www.nux.ro
 
 - Original Message -
 From: Somesh Naidu somesh.na...@citrix.com
 To: dev@cloudstack.apache.org
 Sent: Thursday, 2 April, 2015 00:06:54
 Subject: RE: reset sshkeyforvirtualmachine also resets password
 
 I believe so, since the VM's password (stored in the user_vm_details table)
 needs to be encrypted using the new keys and I believe encryption is a 
 one-way
 hash.
 
 Somesh
 CloudPlatform Escalations
 Citrix Systems, Inc.
 
 
 -Original Message-
 From: Nux! [mailto:n...@li.nux.ro]
 Sent: Wednesday, April 01, 2015 9:16 AM
 To: dev
 Subject: reset sshkeyforvirtualmachine also resets password
 
 Hi,
 
 I've just noticed resetsshkeyforvirtualmachine also resets the root 
 password.
 This doesn't sound right. Is this supposed to happen?
 
 4.4.3 RC2 (4.4-RC20150324T1321) CentOS/KVM
 
 --
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
 www.nux.ro



Re: vim25.jar missing from mvn repo?

2015-04-02 Thread Jeronimo Garcia
Thanks buddy  , saved on my puppet manifest , thanks again! .

I'm trying to set up a mini dev environment ,  using the Vmware VCSIM ...
its going well so far ... but as the VCSIM fails quite a lot i expect
cloudstack to fail accordingly too ,  having said that i keep you posted if
this works.
Has any of you played with this before?

On Thu, Apr 2, 2015 at 11:21 AM, Rohit Yadav rohit.ya...@shapeblue.com
wrote:

 Jeronimo - if you need the jars I maintain them here:
 https://github.com/bhaisaab/cloudstack-nonoss

  On 02-Apr-2015, at 2:58 pm, Jeronimo Garcia garciaj...@gmail.com
 wrote:
 
  Thanks guys , i was able to compile the needed projects excluding some
  projects like f5 and netapp:
  *mvn -P vmware,developer,-f5,-netapp,-srx -D noredist -DskipTests=true
  clean instal*l
 
  I'm yet to try *mvn -pl :cloud-client-ui jetty:run -Dnoredist* to see
  weather i can select
  vmware on cluster creation.
 
  Thanks again!
 
 
  On Thu, Apr 2, 2015 at 5:05 AM, Srikanteswararao Talluri 
  srikanteswararao.tall...@citrix.com wrote:
 
  You need to get the dependencies before you build. Following links
 should
  help you.
 
 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudSt
  ack#HowtobuildCloudStack-Dependencies
 
 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Hypervisor+VMWare
 
  Thanks,
  ~Talluri
 
  On 01/04/15 10:14 pm, Jeronimo Garcia garciaj...@gmail.com wrote:
 
  Hi list.
 
  I'm trying to build the master on git and I'm getting this:
 
  [ERROR] Failed to execute goal on project cloud-vmware-base: Could not
  resolve dependencies for project
  org.apache.cloudstack:cloud-vmware-base:jar:4.6.0-SNAPSHOT: Failure to
  find
  com.cloud.com.vmware:vmware-vim25:jar:5.1 in
  https://repo.maven.apache.org/maven2 was cached in the local
 repository,
  resolution will not be reattempted until the update interval of central
  has
  elapsed or updates are forced - [Help 1]
 
  command: mvn -DskipTests=true -P vmware clean install
 
  Am i missing something? the jar file is not in the remote maven repos
 ..
 
  Thanks!
 
 

 Regards,
 Rohit Yadav
 Software Architect, ShapeBlue
 M. +91 88 262 30892 | rohit.ya...@shapeblue.com
 Blog: bhaisaab.org | Twitter: @_bhaisaab



 Find out more about ShapeBlue and our range of CloudStack related services

 IaaS Cloud Design  Build
 http://shapeblue.com/iaas-cloud-design-and-build//
 CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
 CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
 CloudStack Software Engineering
 http://shapeblue.com/cloudstack-software-engineering/
 CloudStack Infrastructure Support
 http://shapeblue.com/cloudstack-infrastructure-support/
 CloudStack Bootcamp Training Courses
 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 SA Pty Ltd is
 a company registered by The Republic of South Africa and is traded under
 license from Shape Blue Ltd. ShapeBlue is a registered trademark.



[GitHub] cloudstack pull request: CLOUDSTACK-8380: Adding automation test c...

2015-04-02 Thread gauravaradhye
Github user gauravaradhye commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/117#discussion_r27650534
  
--- Diff: test/integration/testpaths/testpath_storage_migration.py ---
@@ -1771,17 +1666,17 @@ def 
test_03_migrate_root_and_data_disk_nonlive_cwps_vmware(self):
 vm_cluster.start(self.userapiclient)
 
 compareChecksum(
-self,
--- End diff --

Good to see self is not passed to external module function. Good work!


---
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.
---


Re: master branch: VR not starting

2015-04-02 Thread Abhinandan Prateek
Looks like the system vm template that you are using are not good.
Try the templates from http://packages.shapeblue.com/systemvmtemplate/4.5/

 On 02-Apr-2015, at 7:00 pm, Pierre-Luc Dion pd...@cloudops.com wrote:

 Hi Jayapal,

 Here is the management server log when I create a new VPC. I have the
 complete log file if you want.

 Thanks,

 2015-04-02 09:24:33,464 DEBUG [c.c.a.ApiServlet]
 (catalina-exec-13:ctx-d346aa74 ctx-cb3cf0b3) ===END===  172.16.11.102 --
 GET
 command=createNetworkresponse=jsonsessionkey=QVBoxMj48NpXdjom%2FGHN7OzZBWI%3DzoneId=6c2c1eb0-4466-4914-9c1c-ff73d716ed9aname=asddisplayText=asdnetworkOfferingId=8139494f-2036-4b06-87ea-2b635603196f_=1427981074407


 2015-04-02 09:26:33,842 ERROR [c.c.u.s.SshHelper]
 (DirectAgent-142:ctx-bc757c1a) SSH execution of command
 /opt/cloud/bin/router_proxy.sh update_config.py 169.254.3.118
 ip_associations.json has an error status code in return. result output:
 Traceback (most recent call last):
  File /opt/cloud/bin/update_config.py, line 20, in module
from merge import QueueFile
  File /opt/cloud/bin/merge.py, line 23, in module
import cs_ip
  File /opt/cloud/bin/cs_ip.py, line 19, in module
from netaddr import *
 ImportError: No module named netaddr

 2015-04-02 09:26:33,862 ERROR [c.c.n.r.VirtualNetworkApplianceManagerImpl]
 (Work-Job-Executor-10:ctx-15cd8652 job-43/job-44 ctx-6cbd18bc) null

 2015-04-02 09:26:39,999 ERROR [c.c.v.VirtualMachineManagerImpl]
 (Work-Job-Executor-10:ctx-15cd8652 job-43/job-44 ctx-6cbd18bc) Failed to
 start instance VM[DomainRouter|r-10-VM]
 com.cloud.utils.exception.ExecutionException: Unable to start
 VM[DomainRouter|r-10-VM] due to error in finalizeStart, not retrying
  at
 com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:1076)
  at
 com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:4503)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at
 com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
  at
 com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:4659)
  at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:103)
  at
 org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:537)
  at
 org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
  at
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
  at
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
  at
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
  at
 org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
  at
 org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:494)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
  at java.util.concurrent.FutureTask.run(FutureTask.java:262)
  at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  at java.lang.Thread.run(Thread.java:745)

 2015-04-02 09:26:40,179 ERROR [c.c.v.VmWorkJobDispatcher]
 (Work-Job-Executor-10:ctx-15cd8652 job-43/job-44) Unable to complete
 AsyncJobVO {id:44, userId: 2, accountId: 2, instanceType: null, instanceId:
 null, cmd: com.cloud.vm.VmWorkStart, cmdInfo:
 rO0ABXNyABhjb20uY2xvdWQudm0uVm1Xb3JrU3RhcnR9cMGsvxz73gIAC0oABGRjSWRMAAZhdm9pZHN0ADBMY29tL2Nsb3VkL2RlcGxveS9EZXBsb3ltZW50UGxhbm5lciRFeGNsdWRlTGlzdDtMAAljbHVzdGVySWR0ABBMamF2YS9sYW5nL0xvbmc7TAAGaG9zdElkcQB-AAJMAAtqb3VybmFsTmFtZXQAEkxqYXZhL2xhbmcvU3RyaW5nO0wAEXBoeXNpY2FsTmV0d29ya0lkcQB-AAJMAAdwbGFubmVycQB-AANMAAVwb2RJZHEAfgACTAAGcG9vbElkcQB-AAJMAAlyYXdQYXJhbXN0AA9MamF2YS91dGlsL01hcDtMAA1yZXNlcnZhdGlvbklkcQB-AAN4cgATY29tLmNsb3VkLnZtLlZtV29ya5-ZtlbwJWdrAgAESgAJYWNjb3VudElkSgAGdXNlcklkSgAEdm1JZEwAC2hhbmRsZXJOYW1lcQB-AAN4cAACAAIACnQAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAHBwcHBwcHBwc3IAEWphdmEudXRpbC5IYXNoTWFwBQfawcMWYNEDAAJGAApsb2FkRmFjdG9ySQAJdGhyZXNob2xkeHA_QAAADHcIEAF0AA5SZXN0YXJ0TmV0d29ya3QAP3JPMEFCWE55QUJGcVlYWmhMbXhoYm1jdVFtOXZiR1ZoYnMwZ2NvRFZuUHJ1QWdBQldnQUZkbUZzZFdWNGNBRXhw,
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
 result: null, initMsid: 7684065591473, completeMsid: null, lastUpdated:
 null, lastPolled: null, created: Thu Apr 02 09:25:24 EDT 2015}, job
 origin:43





 On Thu, Apr 2, 2015 at 12:31 AM, Jayapal Reddy Uradi 
 jayapalreddy.ur...@citrix.com wrote:


 Can you 

Re: master branch: VR not starting

2015-04-02 Thread Jayapal Reddy Uradi
The router start is failing because of the error (import error) in executing 
update_config.py.

Template that you are using seems older version of cloudstack.
As Abhi mentioned, Use the template which has the supported packages installed.

*
(DirectAgent-142:ctx-bc757c1a) SSH execution of command
/opt/cloud/bin/router_proxy.sh update_config.py 169.254.3.118
ip_associations.json has an error status code in return. result output:
Traceback (most recent call last):

Thanks,
Jayapal

On 03-Apr-2015, at 9:19 AM, Abhinandan Prateek 
abhinandan.prat...@shapeblue.com wrote:

 Looks like the system vm template that you are using are not good.
 Try the templates from http://packages.shapeblue.com/systemvmtemplate/4.5/
 
 On 02-Apr-2015, at 7:00 pm, Pierre-Luc Dion pd...@cloudops.com wrote:
 
 Hi Jayapal,
 
 Here is the management server log when I create a new VPC. I have the
 complete log file if you want.
 
 Thanks,
 
 2015-04-02 09:24:33,464 DEBUG [c.c.a.ApiServlet]
 (catalina-exec-13:ctx-d346aa74 ctx-cb3cf0b3) ===END===  172.16.11.102 --
 GET
 command=createNetworkresponse=jsonsessionkey=QVBoxMj48NpXdjom%2FGHN7OzZBWI%3DzoneId=6c2c1eb0-4466-4914-9c1c-ff73d716ed9aname=asddisplayText=asdnetworkOfferingId=8139494f-2036-4b06-87ea-2b635603196f_=1427981074407
 
 
 2015-04-02 09:26:33,842 ERROR [c.c.u.s.SshHelper]
 (DirectAgent-142:ctx-bc757c1a) SSH execution of command
 /opt/cloud/bin/router_proxy.sh update_config.py 169.254.3.118
 ip_associations.json has an error status code in return. result output:
 Traceback (most recent call last):
 File /opt/cloud/bin/update_config.py, line 20, in module
   from merge import QueueFile
 File /opt/cloud/bin/merge.py, line 23, in module
   import cs_ip
 File /opt/cloud/bin/cs_ip.py, line 19, in module
   from netaddr import *
 ImportError: No module named netaddr
 
 2015-04-02 09:26:33,862 ERROR [c.c.n.r.VirtualNetworkApplianceManagerImpl]
 (Work-Job-Executor-10:ctx-15cd8652 job-43/job-44 ctx-6cbd18bc) null
 
 2015-04-02 09:26:39,999 ERROR [c.c.v.VirtualMachineManagerImpl]
 (Work-Job-Executor-10:ctx-15cd8652 job-43/job-44 ctx-6cbd18bc) Failed to
 start instance VM[DomainRouter|r-10-VM]
 com.cloud.utils.exception.ExecutionException: Unable to start
 VM[DomainRouter|r-10-VM] due to error in finalizeStart, not retrying
 at
 com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:1076)
 at
 com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:4503)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at
 com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
 at
 com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:4659)
 at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:103)
 at
 org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:537)
 at
 org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
 at
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
 at
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
 at
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
 at
 org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
 at
 org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:494)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask.run(FutureTask.java:262)
 at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:745)
 
 2015-04-02 09:26:40,179 ERROR [c.c.v.VmWorkJobDispatcher]
 (Work-Job-Executor-10:ctx-15cd8652 job-43/job-44) Unable to complete
 AsyncJobVO {id:44, userId: 2, accountId: 2, instanceType: null, instanceId:
 null, cmd: com.cloud.vm.VmWorkStart, cmdInfo:
 

Build failed in Jenkins: simulator-singlerun #1075

2015-04-02 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/1075/changes

Changes:

[wrodrigues] First piece of the refactor of the CitrisResourceBase

[wrodrigues] Adding CitrixCreateCommandWrapper.java and basic unit tests

[wrodrigues] Adding the refactor of 
CitrixCheckConsoleProxyLoadCommandWrapper.java and 
CitrixWatchConsoleProxyLoadCommandWrapper.java

[wrodrigues] Refactoring the whole XsHost thing

[wrodrigues] Refactoring the GetHostStatsCommand

[wrodrigues] Refactoring the GetVmStatsCommand

[wrodrigues] Refactor the CheckHealthCommand and GetVmDiskStatsCommand classes 
in CitrixResourceBase

[wrodrigues] Refactoring the StopCommand on CitrixResourceBase to cope with new 
design

[wrodrigues] Renaming files

[wrodrigues] Refactoring the CitrixRebootCommand in order to have the new 
design applied

[wrodrigues] Refactoring the CitrixCheckVirtualMachineCommand toc ope with new 
design

[wrodrigues] Refactoring PrepareForMigrationCommand and MigrateCommand in order 
to cope with the new design

[wrodrigues] Refactoring DestroyCommand and CreateStoragePoolCommand wrappers 
to cope with the new design

[wrodrigues] Refactoring DeleteStoragePoolCommand, ModifyStoragePoolCommand and 
ResizeVolumeCommand to cope with new design

[wrodrigues] Refactoring AttachIsoCommand, AttachVolumeCommand and 
UpgradeSnapshotCommand to cope with new design

[wrodrigues] Refactoring GetStorageStatsCommand and 
PrimaryStorageDownloadCommand to cope with the new design

[wrodrigues] Refactoring GetVncPortCommand, MaintainCommand and SetupCommand to 
cope with new design.

[wrodrigues] Make methods in subclasses public.

[wrodrigues] Refactoring PingTestCommand to cope with new design

[wrodrigues] Refactoring CheckOnHostCommand, ModifySshKeysCommand, 
OvsSetTagAndFlowCommand and StartCommand to cope with new design

[wrodrigues] Refactoring CheckSshCommand, OvsFetchInterfaceCommand and 
SecurityGroupRulesCommand to cope with new design.

[wrodrigues] Refactoring CleanupNetworkRulesCmd, OvsCreateGreTunnelCommand, 
OvsDeleteFlowCommand, OvsVpcPhysicalTopologyConfigCommand and 
OvsVpcRoutingPolicyConfigCommand

[wrodrigues] Refactoring NetworkRulesSystemVmCommand, OvsCreateTunnelCommand, 
OvsDestroyBridgeCommand, OvsDestroyTunnelCommand, OvsSetupBridgeCommand in 
order to

[wrodrigues] Refactoring other 8 command wrapper in order to cope with the new 
design

[wrodrigues] Refactored the remaining commands

[wrodrigues] Removing all private/protected/public execute() methods from 
CitrixResourceBase class

[wrodrigues] Refactoring XenServer56 and 56FP1 Resources in order to cope with 
new FenceCommandWrapper

[wrodrigues] Refactoring XenServer56NetworkUsageCommandWrapper in order to cope 
with the new design

[wrodrigues] We don't need the Start, Stop, Reboot command in the 
CitrixRebaseClaas anymore.

[wrodrigues] Adding more tests to cover other possibilities concerning 
different versions of the XenServer

--
[...truncated 10378 lines...]
 Running query: drop database if exists `cloud_usage`
 Running query: create database `cloud_usage`
 Running query: GRANT ALL ON cloud_usage.* to 'cloud'@`localhost` 
identified by 'cloud'
 Running query: GRANT ALL ON cloud_usage.* to 'cloud'@`%` 
identified by 'cloud'
 Initializing database=cloudbridge with host=localhost port=3306 
username=cloud password=cloud
 Running query: drop database if exists `cloudbridge`
 Running query: create database `cloudbridge`
 Running query: GRANT ALL ON cloudbridge.* to 'cloud'@`localhost` 
identified by 'cloud'
 Running query: GRANT ALL ON cloudbridge.* to 'cloud'@`%` 
identified by 'cloud'
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/create-schema.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/create-schema-premium.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/templates.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_schema.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_multipart.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_index.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_multipart_alter.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_bucketpolicy.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_policy_alter.sql
 Processing 

Re: CentOS Cloud SIG effort

2015-04-02 Thread Sebastien Goasguen

 On Apr 2, 2015, at 3:46 PM, Adrian Lewis adr...@alsiconsulting.co.uk wrote:
 
 Hi Lucian,
 
 This is still a very devops/developer centric approach which in my opinion
 is rife within the ACS community (understandably) and which is inadvertently
 hostile/elitist to many who might otherwise be interested. I think that many
 regular sys admins who perhaps don't want to get involved with docker,
 github, compiling stuff, running 3rd party provisioning scripts etc and just
 want to run up a quick POC would end up being alienated by this - they don’t
 have the time to learn these sorts of technologies if they would never use
 them otherwise. Obviously to most of the audience in this list that's not
 the case but I really think that there are a lot of potential (albeit likely
 small) deployments out there where the admins run a mile if getting
 something to work involves the word 'git' or even 'mailing-list’.

So technically you don’t need git or mailing list to get this done. but you do 
need to read the docs.

I don’t want to find excuses here, but openstack is not easier to try. 
Installing the mgt server and the agent is not the tough part.
To me the tough part is to understand your datacenter and how you are gong to 
configure your network. That part is tough to simplify.

so bottom line I agree with you, and would love to see some patches to get this 
done.



 These
 people just go out and buy vCloud Director instead or do without. Citrix
 would probably get more customers for CloudPlatform as well if it were very
 simple to try out ACS

 
 ACS needs hobbyists and sys admins in SMBs as well in my opinion, not just
 devops people in large corporations or service providers. More people
 playing with it and in turn talking/blogging about it and raising its
 profile will help immensely. These people need to be convinced that
 #Cloudstackworks.
 
 Get packages into Debian/Ubuntu and there's an even greater audience. Grab
 the long tail and the rest of the beast comes with it.
 

We have made some progress there with a “re-factoring” of our debian packages.
But there is still work to be done

 Just my opinion btw - perhaps I'm too old-fashioned and need to learn more.
 
 Adrian
 
 -Original Message-
 From: Nux! [mailto:n...@li.nux.ro]
 Sent: 02 April 2015 13:01
 To: dev@cloudstack.apache.org
 Cc: sebgoa; Paul Angus
 Subject: Re: CentOS Cloud SIG effort
 
 Hi Adrian
 
 Pretty sure that if getting the management server up and running was
 as simple as...
 1. Install CentOS
 2. yum install cloudstack
 3. setup-cloudstack-all-in-one.sh
 ...we'd see many more people at least trying it out.
 
 Some might see the current installation options as easy enough but if
 someone could get it up and running without even looking at the docs,
 I reckon they'd be more likely to do it and then consult the docs when
 they got stuck.
 
 This reminds me of https://github.com/thehyperadvisor/cldstk-deploy , though
 there could certainly more/better ideas on how to ease things up, at least
 for a PoC.
 I'm sure Sebastien will quickly propose docker. :)
 
 
 If the packages could be put into the centos-extras repo that would do
 the trick. I'm sure there's more to it than my simplistic idea but
 could we discuss the viability of this?
 
 I think this will be difficult to achieve, though I am short on proper
 details, I believe the way we (in cloudstack) ship some stuff - particularly
 java stuff - is not exactly kosher from a RedHat packaging point of view.
 They have their own routine, practices and so on. Furthermore, let's say we
 get that right, keeping it up to date in their repo will also be quite an
 effort.
 I think the idea is good and in an ideal world it's how we'd do it, but
 right now with the release cadence of Cloudstack and our few resources, it's
 something that - simply - it's not worth doing.
 
 We could do with a one-stop script that does everything for the user
 including installing the mysql/mariadb server aspect  even setting up
 NFS shares on the same box (leaving the other more granular setup
 scripts for 'advanced' users. If centos-extras is not feasible, how
 about EPEL? Might even get some Fedora people interested as well (if
 it works on Fedora).
 
 See the ansible link I gave above.
 Re EPEL and Fedora, they're having trouble maintaining their own stuff, i.e.
 they removed openstack from there and are maintaining separate repositories
 at https://repos.fedorapeople.org/repos/openstack/
 
 
 Pretty sure that this particular CentOS SIG is about running the
 management/infrastructure side of things as opposed to running centos
 as a guest in case anyone is unsure. Although clearly related, earlier
 comments about cloud-init are surely more related to another CentOS
 SIG (Cloud
 Instance) aren't they?
 
 Yep, CentOS Cloud Instance SIG is a different project meant to get CentOS
 running on all major cloud platforms. This one is somehow successful in that
 their official image will boot in Cloudstack 

Re: CentOS Cloud SIG effort

2015-04-02 Thread Nux!
Adrian,

You're not too old-fashioned, in fact you have a good point that may not appear 
so obvious to others on this list.
I personally resigned to the idea that to do cloud you really, _really_ need 
to know what you're doing, otherwise it will end in tears. 
I experienced this first hand, but perhaps there is a way to make this easier 
the others.

Let's keep at this and perhaps we can come up with something to tease the 
hobbyists and the SMB admins.

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
 From: Adrian Lewis adr...@alsiconsulting.co.uk
 To: dev@cloudstack.apache.org
 Cc: sebgoa run...@gmail.com, Paul Angus paul.an...@shapeblue.com
 Sent: Thursday, 2 April, 2015 14:46:09
 Subject: RE: CentOS Cloud SIG effort

 Hi Lucian,
 
 This is still a very devops/developer centric approach which in my opinion
 is rife within the ACS community (understandably) and which is inadvertently
 hostile/elitist to many who might otherwise be interested. I think that many
 regular sys admins who perhaps don't want to get involved with docker,
 github, compiling stuff, running 3rd party provisioning scripts etc and just
 want to run up a quick POC would end up being alienated by this - they don’t
 have the time to learn these sorts of technologies if they would never use
 them otherwise. Obviously to most of the audience in this list that's not
 the case but I really think that there are a lot of potential (albeit likely
 small) deployments out there where the admins run a mile if getting
 something to work involves the word 'git' or even 'mailing-list'. These
 people just go out and buy vCloud Director instead or do without. Citrix
 would probably get more customers for CloudPlatform as well if it were very
 simple to try out ACS.
 
 ACS needs hobbyists and sys admins in SMBs as well in my opinion, not just
 devops people in large corporations or service providers. More people
 playing with it and in turn talking/blogging about it and raising its
 profile will help immensely. These people need to be convinced that
 #Cloudstackworks.
 
 Get packages into Debian/Ubuntu and there's an even greater audience. Grab
 the long tail and the rest of the beast comes with it.
 
 Just my opinion btw - perhaps I'm too old-fashioned and need to learn more.
 
 Adrian
 
 -Original Message-
 From: Nux! [mailto:n...@li.nux.ro]
 Sent: 02 April 2015 13:01
 To: dev@cloudstack.apache.org
 Cc: sebgoa; Paul Angus
 Subject: Re: CentOS Cloud SIG effort
 
 Hi Adrian
 
 Pretty sure that if getting the management server up and running was
 as simple as...
 1. Install CentOS
 2. yum install cloudstack
 3. setup-cloudstack-all-in-one.sh
 ...we'd see many more people at least trying it out.

 Some might see the current installation options as easy enough but if
 someone could get it up and running without even looking at the docs,
 I reckon they'd be more likely to do it and then consult the docs when
 they got stuck.
 
 This reminds me of https://github.com/thehyperadvisor/cldstk-deploy , though
 there could certainly more/better ideas on how to ease things up, at least
 for a PoC.
 I'm sure Sebastien will quickly propose docker. :)
 

 If the packages could be put into the centos-extras repo that would do
 the trick. I'm sure there's more to it than my simplistic idea but
 could we discuss the viability of this?
 
 I think this will be difficult to achieve, though I am short on proper
 details, I believe the way we (in cloudstack) ship some stuff - particularly
 java stuff - is not exactly kosher from a RedHat packaging point of view.
 They have their own routine, practices and so on. Furthermore, let's say we
 get that right, keeping it up to date in their repo will also be quite an
 effort.
 I think the idea is good and in an ideal world it's how we'd do it, but
 right now with the release cadence of Cloudstack and our few resources, it's
 something that - simply - it's not worth doing.
 
 We could do with a one-stop script that does everything for the user
 including installing the mysql/mariadb server aspect  even setting up
 NFS shares on the same box (leaving the other more granular setup
 scripts for 'advanced' users. If centos-extras is not feasible, how
 about EPEL? Might even get some Fedora people interested as well (if
 it works on Fedora).
 
 See the ansible link I gave above.
 Re EPEL and Fedora, they're having trouble maintaining their own stuff, i.e.
 they removed openstack from there and are maintaining separate repositories
 at https://repos.fedorapeople.org/repos/openstack/
 

 Pretty sure that this particular CentOS SIG is about running the
 management/infrastructure side of things as opposed to running centos
 as a guest in case anyone is unsure. Although clearly related, earlier
 comments about cloud-init are surely more related to another CentOS
 SIG (Cloud
 Instance) aren't they?
 
 Yep, CentOS Cloud Instance SIG is a different project meant to get 

Build failed in Jenkins: simulator-singlerun #1074

2015-04-02 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/1074/changes

Changes:

[github] reboot much faster in case of storage failure

--
[...truncated 10377 lines...]
 Running query: GRANT ALL ON cloudbridge.* to 'cloud'@`%` 
identified by 'cloud'
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/create-schema.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/create-schema-premium.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/templates.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_schema.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_multipart.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_index.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_multipart_alter.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_bucketpolicy.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_policy_alter.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_offering.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_offering_alter.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/developer-prefill.sql
 Processing upgrade: com.cloud.upgrade.DatabaseUpgradeChecker
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
cloud-developer ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
cloud-developer ---
[INFO] Installing 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/pom.xml 
to 
/var/lib/jenkins/.m2/repository/org/apache/cloudstack/cloud-developer/4.6.0-SNAPSHOT/cloud-developer-4.6.0-SNAPSHOT.pom
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 1:59.981s
[INFO] Finished at: Thu Apr 02 10:46:51 EDT 2015
[INFO] Final Memory: 45M/203M
[INFO] 
[WARNING] The requested profile simulator could not be activated because it 
does not exist.
[simulator-singlerun] $ mvn -P developer -pl developer -Ddeploydb-simulator
[INFO] Scanning for projects...
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Developer Mode 4.6.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-developer ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties 
(default) @ cloud-developer ---
[WARNING] Ignoring missing properties file: 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/../utils/conf/db.properties.override
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-developer ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (default) @ cloud-developer ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO]  exec-maven-plugin:1.2.1:java (create-schema-simulator) @ 
cloud-developer 
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-developer ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO]  exec-maven-plugin:1.2.1:java (create-schema-simulator) @ 
cloud-developer 
[INFO] 
[INFO] --- exec-maven-plugin:1.2.1:java (create-schema-simulator) @ 
cloud-developer ---
log4j:WARN No appenders could be found for logger 
(org.springframework.core.env.StandardEnvironment).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
 WARNING: Provided file does not exist: 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/../utils/conf/db.properties.override
 Initializing database=simulator with host=localhost port=3306 
username=cloud password=cloud
 Running query: drop database if exists `simulator`
 Running query: create database `simulator`
 Running query: GRANT ALL ON 

RE: Vms resource usage history

2015-04-02 Thread Somesh Naidu
AFAIK, it doesn't. VM stats are fetched from the hypervisor at specified 
frequency and only exist in memory.

Somesh
CloudPlatform Escalations
Citrix Systems, Inc.


-Original Message-
From: Rafael Weingartner [mailto:rafaelweingart...@gmail.com] 
Sent: Thursday, April 02, 2015 10:08 AM
To: us...@cloudstack.apache.org; dev@cloudstack.apache.org
Subject: Vms resource usage history

Hi folks,

Does Cloudstack store the resource usage of VMs?

I mean, when I call the API command:
https://cloudstack/client/api?command=listVirtualMachinesdetails=stats;...

It returns the resource usage statistics for a VM (the amount of resource
used in that moment/the last monitored resource usage), but I am wondering
if CS maintains a history of them.

-- 
Rafael Weingärtner


Re: Simulator failing

2015-04-02 Thread cs user
Fix for this was to use this command:

mvn -P simulator -pl :cloud-client-ui jetty:run

And not:

mvn -pl :cloud-client-ui jetty:run





On Thu, Apr 2, 2015 at 2:42 PM, cs user acldstk...@gmail.com wrote:

 Hi All,

 I'm trying to run the simulator, I've tried with git tags 4.3, 4.3.2 and
 4.4.1.

 Each time I hit this error when adding a cluster. Adding a zone and pod
 work fine.

  Deploy DC Started 
 Exception Occurred ['Traceback (most recent call last):\n', '  File
 marvin/deployDataCenter.py, line 185, in createClusters\n
  clusterresponse = self.__apiClient.addCluster(clustercmd)\n', '  File
 /usr/lib/python2.6/site-packages/Marvin-4.4.1-py2.6.egg/marvin/cloudstackAPI/cloudstackAPIClient.py,
 line 1506, in addCluster\nresponse =
 self.connection.marvinRequest(command, response_type=response,
 method=method)\n', '  File
 /usr/lib/python2.6/site-packages/Marvin-4.4.1-py2.6.egg/marvin/cloudstackConnection.py,
 line 378, in marvinRequest\nraise e\n', 'CloudstackAPIException:
 Execute cmd: addcluster failed, due to: errorCode: 431, errorText:Could not
 find corresponding resource manager for simulator\n']

 ===deploy dc failed, so cleaning the created entries===

 Specifically :
 errorCode: 431, errorText:Could not find corresponding resource manager
 for simulator

 Has anyone seen this before? Is there a fix?

 This thread talks about commenting out references to simulator in
 componentContext.xml


 http://mail-archives.apache.org/mod_mbox/incubator-cloudstack-dev/201302.mbox/%3c97f4356aea71904482cd192135c038f9011cc1d12...@banpmailbox01.citrite.net%3E

 But I've checked in there and I can't see any references.

 Cheers





[GitHub] cloudstack pull request: CLOUDSTACK-8357 Add Test cases for vMotio...

2015-04-02 Thread abhinavroy02
Github user abhinavroy02 commented on the pull request:

https://github.com/apache/cloudstack/pull/139#issuecomment-88910071
  
Thanks @wilderrodrigues :)


---
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.
---


RE: [ANNOUNCE] New committer Pierre-Yves Ritschard

2015-04-02 Thread Somesh Naidu
Congratulations Pierre-Yves!

Regards,
Somesh


-Original Message-
From: Koushik Das [mailto:koushik@citrix.com] 
Sent: Thursday, April 02, 2015 5:31 AM
To: dev@cloudstack.apache.org
Subject: RE: [ANNOUNCE] New committer Pierre-Yves Ritschard

Congrats Pierre-Yves!

-Original Message-
From: sebgoa [mailto:run...@gmail.com] 
Sent: Wednesday, 1 April 2015 2:41
To: dev@cloudstack.apache.org
Subject: [ANNOUNCE] New committer Pierre-Yves Ritschard

The Project Management Committee (PMC) for Apache CloudStack has asked 
Pierre-Yves Rischard (@pyr) to become a committer and we are pleased to 
announce that he has accepted.

Pierre-Yves is a great developer and I hear he was named one of the top 100 
french developers.
He has contributed several fixes to cloudstack and more recently committed a 
Kafka listener, he has a big patch pending to remove the awsapi.

Being a committer enables easier contribution to the project since there is no 
need to go via the patch submission process. This should enable better 
productivity.
Being a PMC member enables assistance with the management and to guide the 
direction of the project.

Join me in congratulating pyr and pray that he does not re-write cloudstack in 
clojure :)

-The CloudStack PMC


RE: CentOS Cloud SIG effort

2015-04-02 Thread Adrian Lewis
Hi Lucian,

This is still a very devops/developer centric approach which in my opinion
is rife within the ACS community (understandably) and which is inadvertently
hostile/elitist to many who might otherwise be interested. I think that many
regular sys admins who perhaps don't want to get involved with docker,
github, compiling stuff, running 3rd party provisioning scripts etc and just
want to run up a quick POC would end up being alienated by this - they don’t
have the time to learn these sorts of technologies if they would never use
them otherwise. Obviously to most of the audience in this list that's not
the case but I really think that there are a lot of potential (albeit likely
small) deployments out there where the admins run a mile if getting
something to work involves the word 'git' or even 'mailing-list'. These
people just go out and buy vCloud Director instead or do without. Citrix
would probably get more customers for CloudPlatform as well if it were very
simple to try out ACS.

ACS needs hobbyists and sys admins in SMBs as well in my opinion, not just
devops people in large corporations or service providers. More people
playing with it and in turn talking/blogging about it and raising its
profile will help immensely. These people need to be convinced that
#Cloudstackworks.

Get packages into Debian/Ubuntu and there's an even greater audience. Grab
the long tail and the rest of the beast comes with it.

Just my opinion btw - perhaps I'm too old-fashioned and need to learn more.

Adrian

-Original Message-
From: Nux! [mailto:n...@li.nux.ro]
Sent: 02 April 2015 13:01
To: dev@cloudstack.apache.org
Cc: sebgoa; Paul Angus
Subject: Re: CentOS Cloud SIG effort

Hi Adrian

 Pretty sure that if getting the management server up and running was
 as simple as...
 1. Install CentOS
 2. yum install cloudstack
 3. setup-cloudstack-all-in-one.sh
 ...we'd see many more people at least trying it out.

 Some might see the current installation options as easy enough but if
 someone could get it up and running without even looking at the docs,
 I reckon they'd be more likely to do it and then consult the docs when
 they got stuck.

This reminds me of https://github.com/thehyperadvisor/cldstk-deploy , though
there could certainly more/better ideas on how to ease things up, at least
for a PoC.
I'm sure Sebastien will quickly propose docker. :)


 If the packages could be put into the centos-extras repo that would do
 the trick. I'm sure there's more to it than my simplistic idea but
 could we discuss the viability of this?

I think this will be difficult to achieve, though I am short on proper
details, I believe the way we (in cloudstack) ship some stuff - particularly
java stuff - is not exactly kosher from a RedHat packaging point of view.
They have their own routine, practices and so on. Furthermore, let's say we
get that right, keeping it up to date in their repo will also be quite an
effort.
I think the idea is good and in an ideal world it's how we'd do it, but
right now with the release cadence of Cloudstack and our few resources, it's
something that - simply - it's not worth doing.

 We could do with a one-stop script that does everything for the user
 including installing the mysql/mariadb server aspect  even setting up
 NFS shares on the same box (leaving the other more granular setup
 scripts for 'advanced' users. If centos-extras is not feasible, how
 about EPEL? Might even get some Fedora people interested as well (if
 it works on Fedora).

See the ansible link I gave above.
Re EPEL and Fedora, they're having trouble maintaining their own stuff, i.e.
they removed openstack from there and are maintaining separate repositories
at https://repos.fedorapeople.org/repos/openstack/


 Pretty sure that this particular CentOS SIG is about running the
 management/infrastructure side of things as opposed to running centos
 as a guest in case anyone is unsure. Although clearly related, earlier
 comments about cloud-init are surely more related to another CentOS
 SIG (Cloud
 Instance) aren't they?

Yep, CentOS Cloud Instance SIG is a different project meant to get CentOS
running on all major cloud platforms. This one is somehow successful in that
their official image will boot in Cloudstack and get a ssh key if one is
set, even execute user data, but there are many bugs and other problems. Far
from ideal; it would be great if someone with python skills would take up
polishing the cloud-init Cloudstack source a bit, perhaps as part of GSoC.

My stance on all this is, bother less with packaging or inclusion in CentOS
official repos and focus more on getting it to work as smoothly as possible.

Also, attending the CentOS events with presentations on Cloudstack is a
great idea to raise some awareness.

/imho

Lucian


Build failed in Jenkins: simulator-singlerun #1072

2015-04-02 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/1072/changes

Changes:

[Will Stevens] Added the CONTRIBUTING.md doc to the project root

[Will Stevens] Fixed the pull request step to make sure the correct branch is 
selected

[Will Stevens] CONTRIBUTING.md: changed wording around modifying pull requests

--
[...truncated 10366 lines...]
 Running query: drop database if exists `cloud_usage`
 Running query: create database `cloud_usage`
 Running query: GRANT ALL ON cloud_usage.* to 'cloud'@`localhost` 
identified by 'cloud'
 Running query: GRANT ALL ON cloud_usage.* to 'cloud'@`%` 
identified by 'cloud'
 Initializing database=cloudbridge with host=localhost port=3306 
username=cloud password=cloud
 Running query: drop database if exists `cloudbridge`
 Running query: create database `cloudbridge`
 Running query: GRANT ALL ON cloudbridge.* to 'cloud'@`localhost` 
identified by 'cloud'
 Running query: GRANT ALL ON cloudbridge.* to 'cloud'@`%` 
identified by 'cloud'
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/create-schema.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/create-schema-premium.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/templates.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_schema.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_multipart.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_index.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_multipart_alter.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_bucketpolicy.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_policy_alter.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_offering.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_offering_alter.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/developer-prefill.sql
 Processing upgrade: com.cloud.upgrade.DatabaseUpgradeChecker
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
cloud-developer ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
cloud-developer ---
[INFO] Installing 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/pom.xml 
to 
/var/lib/jenkins/.m2/repository/org/apache/cloudstack/cloud-developer/4.6.0-SNAPSHOT/cloud-developer-4.6.0-SNAPSHOT.pom
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 1:52.309s
[INFO] Finished at: Thu Apr 02 09:57:51 EDT 2015
[INFO] Final Memory: 46M/235M
[INFO] 
[WARNING] The requested profile simulator could not be activated because it 
does not exist.
[simulator-singlerun] $ mvn -P developer -pl developer -Ddeploydb-simulator
[INFO] Scanning for projects...
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Developer Mode 4.6.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-developer ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties 
(default) @ cloud-developer ---
[WARNING] Ignoring missing properties file: 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/../utils/conf/db.properties.override
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-developer ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (default) @ cloud-developer ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO]  exec-maven-plugin:1.2.1:java (create-schema-simulator) @ 
cloud-developer 
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-developer ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO]  

[GitHub] cloudstack pull request: CLOUDSTACK-8357 Add Test cases for vMotio...

2015-04-02 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:

https://github.com/apache/cloudstack/pull/139#issuecomment-88902351
  
Hi @abhinavroy02,

Against which environment did you execute your tests?

I had a look at the code, and all looks fine, but just wanted to know if 
you tested it against XenServer/KVM or simulator only.

Cheers,
Wilder


---
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.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8357 Add Test cases for vMotio...

2015-04-02 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:

https://github.com/apache/cloudstack/pull/139#issuecomment-88909498
  
Hi Abhinav,

Cool! :)

I will close it.

Cheers,
Wilder


---
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.
---


Re: master branch: VR not starting

2015-04-02 Thread Pierre-Luc Dion
Hi Jayapal,

Here is the management server log when I create a new VPC. I have the
complete log file if you want.

Thanks,

2015-04-02 09:24:33,464 DEBUG [c.c.a.ApiServlet]
(catalina-exec-13:ctx-d346aa74 ctx-cb3cf0b3) ===END===  172.16.11.102 --
GET
 
command=createNetworkresponse=jsonsessionkey=QVBoxMj48NpXdjom%2FGHN7OzZBWI%3DzoneId=6c2c1eb0-4466-4914-9c1c-ff73d716ed9aname=asddisplayText=asdnetworkOfferingId=8139494f-2036-4b06-87ea-2b635603196f_=1427981074407


2015-04-02 09:26:33,842 ERROR [c.c.u.s.SshHelper]
(DirectAgent-142:ctx-bc757c1a) SSH execution of command
/opt/cloud/bin/router_proxy.sh update_config.py 169.254.3.118
ip_associations.json has an error status code in return. result output:
Traceback (most recent call last):
  File /opt/cloud/bin/update_config.py, line 20, in module
from merge import QueueFile
  File /opt/cloud/bin/merge.py, line 23, in module
import cs_ip
  File /opt/cloud/bin/cs_ip.py, line 19, in module
from netaddr import *
ImportError: No module named netaddr

2015-04-02 09:26:33,862 ERROR [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(Work-Job-Executor-10:ctx-15cd8652 job-43/job-44 ctx-6cbd18bc) null

2015-04-02 09:26:39,999 ERROR [c.c.v.VirtualMachineManagerImpl]
(Work-Job-Executor-10:ctx-15cd8652 job-43/job-44 ctx-6cbd18bc) Failed to
start instance VM[DomainRouter|r-10-VM]
com.cloud.utils.exception.ExecutionException: Unable to start
VM[DomainRouter|r-10-VM] due to error in finalizeStart, not retrying
  at
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:1076)
  at
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:4503)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at
com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
  at
com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:4659)
  at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:103)
  at
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:537)
  at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
  at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
  at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
  at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
  at
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
  at
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:494)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
  at java.util.concurrent.FutureTask.run(FutureTask.java:262)
  at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  at java.lang.Thread.run(Thread.java:745)

2015-04-02 09:26:40,179 ERROR [c.c.v.VmWorkJobDispatcher]
(Work-Job-Executor-10:ctx-15cd8652 job-43/job-44) Unable to complete
AsyncJobVO {id:44, userId: 2, accountId: 2, instanceType: null, instanceId:
null, cmd: com.cloud.vm.VmWorkStart, cmdInfo:
rO0ABXNyABhjb20uY2xvdWQudm0uVm1Xb3JrU3RhcnR9cMGsvxz73gIAC0oABGRjSWRMAAZhdm9pZHN0ADBMY29tL2Nsb3VkL2RlcGxveS9EZXBsb3ltZW50UGxhbm5lciRFeGNsdWRlTGlzdDtMAAljbHVzdGVySWR0ABBMamF2YS9sYW5nL0xvbmc7TAAGaG9zdElkcQB-AAJMAAtqb3VybmFsTmFtZXQAEkxqYXZhL2xhbmcvU3RyaW5nO0wAEXBoeXNpY2FsTmV0d29ya0lkcQB-AAJMAAdwbGFubmVycQB-AANMAAVwb2RJZHEAfgACTAAGcG9vbElkcQB-AAJMAAlyYXdQYXJhbXN0AA9MamF2YS91dGlsL01hcDtMAA1yZXNlcnZhdGlvbklkcQB-AAN4cgATY29tLmNsb3VkLnZtLlZtV29ya5-ZtlbwJWdrAgAESgAJYWNjb3VudElkSgAGdXNlcklkSgAEdm1JZEwAC2hhbmRsZXJOYW1lcQB-AAN4cAACAAIACnQAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAHBwcHBwcHBwc3IAEWphdmEudXRpbC5IYXNoTWFwBQfawcMWYNEDAAJGAApsb2FkRmFjdG9ySQAJdGhyZXNob2xkeHA_QAAADHcIEAF0AA5SZXN0YXJ0TmV0d29ya3QAP3JPMEFCWE55QUJGcVlYWmhMbXhoYm1jdVFtOXZiR1ZoYnMwZ2NvRFZuUHJ1QWdBQldnQUZkbUZzZFdWNGNBRXhw,
cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
result: null, initMsid: 7684065591473, completeMsid: null, lastUpdated:
null, lastPolled: null, created: Thu Apr 02 09:25:24 EDT 2015}, job
origin:43





On Thu, Apr 2, 2015 at 12:31 AM, Jayapal Reddy Uradi 
jayapalreddy.ur...@citrix.com wrote:


 Can you please check the MS logs for the VR start.
 You might be getting exception for VR start due which the MS is stopping
 the router.

 Can you please send the management server logs.

 Thanks,
 Jayapal
 On 02-Apr-2015, at 12:44 AM, Pierre-Luc Dion 

[GitHub] cloudstack pull request: CLOUDSTACK-8357 Add Test cases for vMotio...

2015-04-02 Thread abhinavroy02
Github user abhinavroy02 commented on the pull request:

https://github.com/apache/cloudstack/pull/139#issuecomment-88908912
  
Hi @wilderrodrigues ,

I have tested it on VMware environment as it is for the vMotion support on 
VMFS type primary storage.

Thanks,
Abhinav



---
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.
---


[GitHub] cloudstack pull request: reboot much faster in case of storage fai...

2015-04-02 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cloudstack/pull/140


---
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.
---


Vms resource usage history

2015-04-02 Thread Rafael Weingartner
Hi folks,

Does Cloudstack store the resource usage of VMs?

I mean, when I call the API command:
https://cloudstack/client/api?command=listVirtualMachinesdetails=stats;...

It returns the resource usage statistics for a VM (the amount of resource
used in that moment/the last monitored resource usage), but I am wondering
if CS maintains a history of them.

-- 
Rafael Weingärtner


[GitHub] cloudstack pull request: reboot much faster in case of storage fai...

2015-04-02 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/140#issuecomment-88928090
  
Yes, it is, but we should log somewhere. Now a machine just reboots. We 
should send something to syslog prior to rebooting.


---
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: simulator-singlerun #1073

2015-04-02 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/1073/changes

Changes:

[abhinav.roy] CLOUDSTACK-8357 Add Test cases for vMotion support on VMFS as 
primary storage

--
[...truncated 10369 lines...]
 Running query: drop database if exists `cloud_usage`
 Running query: create database `cloud_usage`
 Running query: GRANT ALL ON cloud_usage.* to 'cloud'@`localhost` 
identified by 'cloud'
 Running query: GRANT ALL ON cloud_usage.* to 'cloud'@`%` 
identified by 'cloud'
 Initializing database=cloudbridge with host=localhost port=3306 
username=cloud password=cloud
 Running query: drop database if exists `cloudbridge`
 Running query: create database `cloudbridge`
 Running query: GRANT ALL ON cloudbridge.* to 'cloud'@`localhost` 
identified by 'cloud'
 Running query: GRANT ALL ON cloudbridge.* to 'cloud'@`%` 
identified by 'cloud'
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/create-schema.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/create-schema-premium.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/templates.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_schema.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_multipart.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_index.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_multipart_alter.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_bucketpolicy.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_policy_alter.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_offering.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/target/db/cloudbridge_offering_alter.sql
 Processing SQL file at 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/developer-prefill.sql
 Processing upgrade: com.cloud.upgrade.DatabaseUpgradeChecker
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
cloud-developer ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
cloud-developer ---
[INFO] Installing 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/pom.xml 
to 
/var/lib/jenkins/.m2/repository/org/apache/cloudstack/cloud-developer/4.6.0-SNAPSHOT/cloud-developer-4.6.0-SNAPSHOT.pom
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 1:53.285s
[INFO] Finished at: Thu Apr 02 10:21:34 EDT 2015
[INFO] Final Memory: 45M/222M
[INFO] 
[WARNING] The requested profile simulator could not be activated because it 
does not exist.
[simulator-singlerun] $ mvn -P developer -pl developer -Ddeploydb-simulator
[INFO] Scanning for projects...
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Developer Mode 4.6.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-developer ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties 
(default) @ cloud-developer ---
[WARNING] Ignoring missing properties file: 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/developer/../utils/conf/db.properties.override
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-developer ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (default) @ cloud-developer ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO]  exec-maven-plugin:1.2.1:java (create-schema-simulator) @ 
cloud-developer 
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-developer ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO]  exec-maven-plugin:1.2.1:java (create-schema-simulator) @ 
cloud-developer 
[INFO] 
[INFO] --- exec-maven-plugin:1.2.1:java (create-schema-simulator) @ 

RE: [ANNOUNCE] New committer: Rene Moser

2015-04-02 Thread Somesh Naidu
Congratulation Rene!

Somesh
CloudPlatform Escalations
Citrix Systems, Inc.

-Original Message-
From: Koushik Das [mailto:koushik@citrix.com] 
Sent: Thursday, April 02, 2015 5:31 AM
To: dev@cloudstack.apache.org
Subject: RE: [ANNOUNCE] New committer: Rene Moser

Congrats Rene!

-Original Message-
From: sebgoa [mailto:run...@gmail.com] 
Sent: Wednesday, 1 April 2015 2:43
To: dev@cloudstack.apache.org
Subject: [ANNOUNCE] New committer: Rene Moser

The Project Management Committee (PMC) for Apache CloudStack has asked Rene 
Moser to become a committer and we are pleased to announce that he has accepted.

Rene has committed several fixes to cloudstack and is the sole author of the 
cloudstack ansible module.
This module should make it to Ansible core quite soon

Being a committer enables easier contribution to the project since there is no 
need to go via the patch submission process. This should enable better 
productivity.
Being a PMC member enables assistance with the management and to guide the 
direction of the project.

Join me in congratulating Rene and let's hope for more Ansible play books to 
deploy cloudstack and associated workloads.

-The CloudStack PMC


[GitHub] cloudstack pull request: Added the CONTRIBUTING.md doc to the proj...

2015-04-02 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cloudstack/pull/141


---
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.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8357 Add Test cases for vMotio...

2015-04-02 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cloudstack/pull/139


---
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.
---


Simulator failing

2015-04-02 Thread cs user
Hi All,

I'm trying to run the simulator, I've tried with git tags 4.3, 4.3.2 and
4.4.1.

Each time I hit this error when adding a cluster. Adding a zone and pod
work fine.

 Deploy DC Started 
Exception Occurred ['Traceback (most recent call last):\n', '  File
marvin/deployDataCenter.py, line 185, in createClusters\n
 clusterresponse = self.__apiClient.addCluster(clustercmd)\n', '  File
/usr/lib/python2.6/site-packages/Marvin-4.4.1-py2.6.egg/marvin/cloudstackAPI/cloudstackAPIClient.py,
line 1506, in addCluster\nresponse =
self.connection.marvinRequest(command, response_type=response,
method=method)\n', '  File
/usr/lib/python2.6/site-packages/Marvin-4.4.1-py2.6.egg/marvin/cloudstackConnection.py,
line 378, in marvinRequest\nraise e\n', 'CloudstackAPIException:
Execute cmd: addcluster failed, due to: errorCode: 431, errorText:Could not
find corresponding resource manager for simulator\n']

===deploy dc failed, so cleaning the created entries===

Specifically :
errorCode: 431, errorText:Could not find corresponding resource manager for
simulator

Has anyone seen this before? Is there a fix?

This thread talks about commenting out references to simulator in
componentContext.xml

http://mail-archives.apache.org/mod_mbox/incubator-cloudstack-dev/201302.mbox/%3c97f4356aea71904482cd192135c038f9011cc1d12...@banpmailbox01.citrite.net%3E

But I've checked in there and I can't see any references.

Cheers


RE: [ANNOUNCE] Rohit Yadav as new PMC member of CloudStack

2015-04-02 Thread Somesh Naidu
Congratulations Rohit! Very well deserved!

Regards,
Somesh


-Original Message-
From: Francois Gaudreault [mailto:fgaudrea...@cloudops.com] 
Sent: Wednesday, April 01, 2015 11:44 PM
To: dev@cloudstack.apache.org
Subject: Re: [ANNOUNCE] Rohit Yadav as new PMC member of CloudStack

On 2015-03-27 4:07 AM, Sebastien Goasguen wrote:
 The Project Management Committee (PMC) for Apache CloudStack are pleased to
 announce that Rohit Yadav has accepted our invitation to join the PMC.

 Please join me in congratulating him.

 On behalf of the Apache CloudStack PMC

Was about time! :) Congrats Rohit!

-- 
Francois Gaudreault
Gestionnaire de Produit | Product Manager - Cloud Platform  Services
t:514-629-6775

CloudOps Votre partenaire infonuagique | Cloud Solutions Experts
420 rue Guy | Montreal | Quebec | H3J 1S6
w: cloudops.com | tw: @CloudOps_



[GIT] Apache.org timing out

2015-04-02 Thread Wilder Rodrigues
Hi all,

Has anyone else noticed that?

https://git-wip-us.apache.org/repos/asf/cloudstack.git/': Failed connect to 
git-wip-us.apache.orghttp://git-wip-us.apache.org:443; Operation timed out

It was working fine 1h ago.

Cheers,
Wilder


Re: [GIT] Apache.org timing out

2015-04-02 Thread Sebastien Goasguen
yes, David is on it

 On Apr 2, 2015, at 6:42 PM, Wilder Rodrigues wrodrig...@schubergphilis.com 
 wrote:
 
 Hi all,
 
 Has anyone else noticed that?
 
 https://git-wip-us.apache.org/repos/asf/cloudstack.git/': Failed connect to 
 git-wip-us.apache.orghttp://git-wip-us.apache.org:443; Operation timed out
 
 It was working fine 1h ago.
 
 Cheers,
 Wilder



Re: [GIT] Apache.org timing out

2015-04-02 Thread David Nalley
Yes.
See: http://status.apache.org

--David

On Thu, Apr 2, 2015 at 12:42 PM, Wilder Rodrigues
wrodrig...@schubergphilis.com wrote:
 Hi all,

 Has anyone else noticed that?

 https://git-wip-us.apache.org/repos/asf/cloudstack.git/': Failed connect to 
 git-wip-us.apache.orghttp://git-wip-us.apache.org:443; Operation timed out

 It was working fine 1h ago.

 Cheers,
 Wilder


Re: [GIT] Apache.org timing out

2015-04-02 Thread Prashant s
last week there was a ddos attack on github  not sure if its still ongoin
issue

https://threatpost.com/ddos-attack-on-github-linked-to-earlier-one-against-greatfire-org/111919


On Thu, Apr 2, 2015 at 1:11 PM, David Nalley da...@gnsa.us wrote:

 Yes.
 See: http://status.apache.org

 --David

 On Thu, Apr 2, 2015 at 12:42 PM, Wilder Rodrigues
 wrodrig...@schubergphilis.com wrote:
  Hi all,
 
  Has anyone else noticed that?
 
  https://git-wip-us.apache.org/repos/asf/cloudstack.git/': Failed
 connect to git-wip-us.apache.orghttp://git-wip-us.apache.org:443;
 Operation timed out
 
  It was working fine 1h ago.
 
  Cheers,
  Wilder



[GitHub] cloudstack pull request: reboot much faster in case of storage fai...

2015-04-02 Thread remibergsma
Github user remibergsma commented on the pull request:

https://github.com/apache/cloudstack/pull/140#issuecomment-89006232
  
Ok, check! I will add it like that. 

Although you can never be sure log packets go out over the network because 
if the storage is unavailable due to local host having network issues (or 
switch died, or,...) remote logging is most likely to fail as well. But logging 
locally should succeed this way. :-)

Regards, Remi 

 On 02 Apr 2015, at 17:35, NuxRo notificati...@github.com wrote:
 
 Cool. Then it seems like we have a deal. It remains to test if the actual 
log entry survives the sudden reboot.
 
 —
 Reply to this email directly or view it on GitHub.
 



---
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.
---


[GitHub] cloudstack pull request: Refactor/citrix resource base rebase

2015-04-02 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/cloudstack/pull/137


---
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.
---


[GitHub] cloudstack pull request: Refactor/citrix resource base rebase

2015-04-02 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/137#issuecomment-88999899
  
Skimmed over diff, looks good. Built after merging branch and was able to 
deploy a basic zone and do basic vm lifecycle tests. TravisCI is green as well, 
so merging.

@wilderrodrigues thanks for the PR, in case this breaks master (after 
merge) please watch out :)


---
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.
---


[GitHub] cloudstack pull request: Refactor/citrix resource base rebase

2015-04-02 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:

https://github.com/apache/cloudstack/pull/137#issuecomment-89023853
  
Thanks a lot, man!

Will keep an eye on Master.

Cheers,
Wilder


---
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.
---