Re: vmware dependency error in DEB package build?

2015-04-07 Thread Kuang-Ching Wang
Forgot to add that the vmware jar actually does not exist on 
http://repo.maven.apache.org/maven2.

KC

On Apr 7, 2015, at 1:03 AM, Kuang-Ching Wang kuangching.w...@gmail.com wrote:

 Hi, is the following issue already reported?
 
 With latest ACS master, when doing 'mvn clean install -P deps -Dnoredist 
 -Dnonoss' following the usual procedure (get the jars, run 
 install-non-oss.sh), the build would succeed.  However, when proceeding to 
 build the DEB package with dpkg-buildpackage, it always tries to download the 
 vmware jar from central repo
 
 [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: Could not find 
 artifact com.cloud.com.vmware:vmware-vim25:jar:5.1 in central 
 (http://repo.maven.apache.org/maven2) - [Help 1]
 
 But the vmware jar is actually correctly installed in the maven repository 
 already:
 find . -name vmware-vim25-5.1.jar
 ./com/cloud/com/vmware/vmware-vim25/5.1/vmware-vim25-5.1.jar
 
 Does this look like a bug in the DEB build scripts?  
 
 Thanks,
 KC
 



[GSoC][IMPORTANT] proposal ranking phase 1: indicate willingness to mentor by April 6 19:00 UTC

2015-04-07 Thread sebgoa
Folks who have asked to be mentors of GSoC projects.

Please check the proposals to ASF in google melange and indicated willingness 
to mentor.
Please engage the students to improve their proposal and make themselves known 
on the list.

Cheers,

-sebastien

Begin forwarded message:

 From: Ulrich Stärk u...@apache.org
 Subject: [IMPORTANT] proposal ranking phase 1: indicate willingness to mentor 
 by April 6 19:00 UTC
 Date: April 2, 2015 12:03:33 AM GMT+02:00
 To: ment...@community.apache.org
 Reply-To: ment...@community.apache.org
 
 Hi Mentors,
 
 It’s finally time to start ranking the proposals. Please excuse my quietness 
 the last few days. We
 will start by getting a rough overview of the proposals that we want to 
 accept if we had an
 unlimited amount of slots.
 
 For this I now ask you to go through the proposals and slide the „Wish to 
 mentor slider“ to Yes if
 you want to spend time mentoring a specific proposal. You have time for this 
 until
 
  April 12 00:00 UTC
 
 (failing to meet this deadline will result in a reduction in score for that 
 proposal). No ranking
 yet please.
 
 Please also acquaint yourself with the guidelines at [1]. We are now in the 
 „pre-selection phase“.
 
 To answer the question whether it is possible to mentor more than one project 
 up-front: yes, but.
 I’ll quote myself from last year:
 
 quote
 1. We strive for a 100% success rate. Google is investing money and they want 
 to see something in
 return (successful projects). That means that we can't just treat our GSoC 
 projects like ordinary
 study projects were we are OK with some projects failing. That in turn means 
 we need to put in more
 mentoring effort than for the ordinary university student.
 
 2. You can mentor more than one student if you convince me that you know what 
 you are doing and that
 you will strive for a 100% success rate.
 
 3. Mentors with more than one student will name backup mentors for their 
 projects.
 
 4. In case of two projects competing for a slot, the slot will be awarded to 
 the project mentored by
 the mentor with less projects.
 /quote
 
 As always, if you have questions, please ask on this list.
 
 Cheers,
 
 Uli
 
 [1] http://community.apache.org/mentee-ranking-process.html



Re: [VOTE] Accept the donation of gstack to apache cloudstack

2015-04-07 Thread Abhinandan Prateek
+1


 On 05-Apr-2015, at 2:42 pm, Ian Duffy i...@ianduffy.ie wrote:

 Hi All,

 As stated in a previous thread [1], myself, Sebastien and Darren are
 proposing the donation of gstack [2].

 I would like to call a vote, so that we have formal consensus on
 accepting the code into the project. I suggest that it be accepted
 into a separate repository like we do with cloudmonkey.

 VOTING will be left open for 72 hours.

 Thanks,
 Ian

 [1] http://markmail.org/thread/g6iuceghdd37qpr7
 [2] https://github.com/nopping/gstack

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.


vmware dependency error in DEB package build?

2015-04-07 Thread Kuang-Ching Wang
Hi, is the following issue already reported?

With latest ACS master, when doing 'mvn clean install -P deps -Dnoredist 
-Dnonoss' following the usual procedure (get the jars, run install-non-oss.sh), 
the build would succeed.  However, when proceeding to build the DEB package 
with dpkg-buildpackage, it always tries to download the vmware jar from central 
repo

[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: Could not find 
artifact com.cloud.com.vmware:vmware-vim25:jar:5.1 in central 
(http://repo.maven.apache.org/maven2) - [Help 1]

But the vmware jar is actually correctly installed in the maven repository 
already:
find . -name vmware-vim25-5.1.jar
./com/cloud/com/vmware/vmware-vim25/5.1/vmware-vim25-5.1.jar

Does this look like a bug in the DEB build scripts?  

Thanks,
KC



Re: vmware dependency error in DEB package build?

2015-04-07 Thread Wido den Hollander
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On 04/07/2015 10:03 AM, Kuang-Ching Wang wrote:
 Hi, is the following issue already reported?
 
 With latest ACS master, when doing 'mvn clean install -P deps
 -Dnoredist -Dnonoss' following the usual procedure (get the jars,
 run install-non-oss.sh), the build would succeed.  However, when
 proceeding to build the DEB package with dpkg-buildpackage, it
 always tries to download the vmware jar from central repo
 
 [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: Could
 not find artifact com.cloud.com.vmware:vmware-vim25:jar:5.1 in
 central (http://repo.maven.apache.org/maven2) - [Help 1]
 
 But the vmware jar is actually correctly installed in the maven
 repository already: find . -name vmware-vim25-5.1.jar 
 ./com/cloud/com/vmware/vmware-vim25/5.1/vmware-vim25-5.1.jar
 
 Does this look like a bug in the DEB build scripts?
 

It seems like a maven thing. The DEB packages do not build with VMWare
enabled, but Maven still wants to download the JAR.

 Thanks, KC
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJVI5SPAAoJEAGbWC3bPspCHxsP/16LTe5RVUi1VqyzcUISvv1e
1Q8n89Usv9mWmzQrJYDohPxKKF9Z02FZHSVkbJbId31rQQVs89ToTetPYBY6O4i5
vuLoXiTbJi5EoLG/i//wuyaNRh6BBCfQApQmxOlv+zRerU9x6cCgo8F5TT3b/fLc
3fdX+ThCdn8tUKGPu0XaS35MlDiN/Vq/OKDSIzzGOAl/CLEGIZ58dt83Eotw1X9A
qsSZADv5JAfoh+IdbzJ64AcfyZhS6nm8whCZArF3eNqm2tcRKLHE/E295FFlIpBk
+Oc3u2zktvF+WMMN3VOUEh4CM474vOhhLCEymSiOvYEiNHdem2KBd0y17DbnrsUK
RC/B6JoqRQdesjNZKl51zluvfypE0uuQYYj6b/ZOe78HR9MCdbe+4/OMR2ni5LAR
/uSWCTQTQ0mSnCyB81zBeWfjJi7znkCxa/NP1UVhZNtOfUUq3cznh5+HMGSPiUUB
nf8e2wvsu+rIe7JcGy1KYE6OZUqe0qRbY4Oj4C8kJtZC2f4IoZQO8wsXnv3g6RJR
jtG9PS5LlxUdMDvRFh4HCxb+YFIsW5YxX6Y1qIvo4qkFQMbOkfg78ekpd/y/tflD
X1lq9Zc7yEuCN9ff1iL36UFM0/W/b7U9ERL4HDVBZ2cI+i19683vf/sAyajVE4ki
5hT3WIx6WB7IL1hK/gMq
=bqnN
-END PGP SIGNATURE-


Re: vmware dependency error in DEB package build?

2015-04-07 Thread Kuang-Ching Wang
I do want the vmware jar built into the DEB package though.  I did set  
ACS_BUILD_OPTS=-Dnonoss -Dnoredist before running  dpkg-buildpackage.  It 
should however know to locate the jar in the local repository rather than going 
out to http://repo.maven.apache.org/maven2.

This has always worked till I tried the latest master. 

KC


On Apr 7, 2015, at 1:25 AM, Wido den Hollander w...@widodh.nl wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 
 
 On 04/07/2015 10:03 AM, Kuang-Ching Wang wrote:
 Hi, is the following issue already reported?
 
 With latest ACS master, when doing 'mvn clean install -P deps
 -Dnoredist -Dnonoss' following the usual procedure (get the jars,
 run install-non-oss.sh), the build would succeed.  However, when
 proceeding to build the DEB package with dpkg-buildpackage, it
 always tries to download the vmware jar from central repo
 
 [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: Could
 not find artifact com.cloud.com.vmware:vmware-vim25:jar:5.1 in
 central (http://repo.maven.apache.org/maven2) - [Help 1]
 
 But the vmware jar is actually correctly installed in the maven
 repository already: find . -name vmware-vim25-5.1.jar 
 ./com/cloud/com/vmware/vmware-vim25/5.1/vmware-vim25-5.1.jar
 
 Does this look like a bug in the DEB build scripts?
 
 
 It seems like a maven thing. The DEB packages do not build with VMWare
 enabled, but Maven still wants to download the JAR.
 
 Thanks, KC
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1
 
 iQIcBAEBAgAGBQJVI5SPAAoJEAGbWC3bPspCHxsP/16LTe5RVUi1VqyzcUISvv1e
 1Q8n89Usv9mWmzQrJYDohPxKKF9Z02FZHSVkbJbId31rQQVs89ToTetPYBY6O4i5
 vuLoXiTbJi5EoLG/i//wuyaNRh6BBCfQApQmxOlv+zRerU9x6cCgo8F5TT3b/fLc
 3fdX+ThCdn8tUKGPu0XaS35MlDiN/Vq/OKDSIzzGOAl/CLEGIZ58dt83Eotw1X9A
 qsSZADv5JAfoh+IdbzJ64AcfyZhS6nm8whCZArF3eNqm2tcRKLHE/E295FFlIpBk
 +Oc3u2zktvF+WMMN3VOUEh4CM474vOhhLCEymSiOvYEiNHdem2KBd0y17DbnrsUK
 RC/B6JoqRQdesjNZKl51zluvfypE0uuQYYj6b/ZOe78HR9MCdbe+4/OMR2ni5LAR
 /uSWCTQTQ0mSnCyB81zBeWfjJi7znkCxa/NP1UVhZNtOfUUq3cznh5+HMGSPiUUB
 nf8e2wvsu+rIe7JcGy1KYE6OZUqe0qRbY4Oj4C8kJtZC2f4IoZQO8wsXnv3g6RJR
 jtG9PS5LlxUdMDvRFh4HCxb+YFIsW5YxX6Y1qIvo4qkFQMbOkfg78ekpd/y/tflD
 X1lq9Zc7yEuCN9ff1iL36UFM0/W/b7U9ERL4HDVBZ2cI+i19683vf/sAyajVE4ki
 5hT3WIx6WB7IL1hK/gMq
 =bqnN
 -END PGP SIGNATURE-



ACS database on Galera/Percona XtraDB cluster

2015-04-07 Thread Andrija Panic
Hi folks,

wondering if anyone is running ACS databases on Galera cluster ?

I see some MEMORY tables on my standalone installation, and the rest seems
like InnoDB, so wondering if anyone can confirm this runs fine on Galera ?

THanks,

-- 

Andrija Panić


Re: [DOCKER] cloudstack organisation

2015-04-07 Thread cs user
Thanks for creating this, much appreciated. Works great. It doesn't appear
to have any zones/pods/hosts setup though, as you can do with the
cloudstack simulator for the dev environment.

Could we add some info on this page about how to run it and perhaps login?

https://registry.hub.docker.com/u/apachecloudstack/simulator/

I was able to start it with the following:

docker run -p 8080:8080 apachecloudstack/simulator

Cheers!

On Tue, Mar 24, 2015 at 7:29 PM, Pierre-Luc Dion pd...@cloudops.com wrote:

 LOL,  look like Docker support is efficient :-P

 I'll update jenkins jobs and destroy apachecloudstack org.

 Thanks!




 On Tue, Mar 24, 2015 at 3:18 PM, Sebastien Goasguen run...@gmail.com
 wrote:

  PL,
 
  So my bad, I actually own the cloudstack org on Docker hub. I just added
  you as a member.
  You can publish your images there and delete the apachecloudstack org. I
  think it’s better to just use ‘cloudstack'
 
   On Mar 24, 2015, at 2:26 PM, Pierre-Luc Dion pd...@cloudops.com
 wrote:
  
   some addition inline:
  
   On Tue, Mar 24, 2015 at 9:13 AM, Sebastien Goasguen run...@gmail.com
   wrote:
  
  
   On Mar 24, 2015, at 1:58 PM, Pierre-Luc Dion pd...@cloudops.com
  wrote:
  
   I've played a little with Docker over the weekend,  here are some
  thought
   and I'd like to have some input from community around this,
  
   1.  simulator:
   I'v create a Jenkins[1] job that build a simulator container an push
 it
   to
   the docker org: apachecloudstack [2]. It is only done for master
 branch
   at
   the moment and the image is fairly big, ~2GB, using  Sebastien's
   Dockerfile.
  
  
   Cool.
   And yes the image is big, we can modify the Dockerfile to remove some
   maven stuff and make it smaller.
   Maybe even just run the jar like Ian has done for devcloud.
  
   This will be perform for other branches but based on commit instead
 of
   daily, probably.
  
   2. cloudstack-management + database
  
   As the current simulator image contain MySQL, Maven, CloudStack git
   repo,..
   it's quite big and not the Docker way, IMO.
  
   Correct. I just did it for devs…this is not meant for any type of prod
  
   This should be clear that it is not for prod since the DB would have
 been
   pre-installed
  
  
   So I'd like to see how it
   would make sense provide two containers instead of one:
   1. cloudstack-database: mysql database with the initialized DB's
  (cloud,
   cloud_usage)...
   2. cloudstack-management: pre installed cloudstack-management server
   including tomcat dependencies,...
   3. cloudstack-usage: pre installed cloudstack-usage
  
  
   You can create a mgt server image and then link it to two or one mysql
   containers.
   the mgt server image can be setup with the packages.
  
   I ran into problems with IP tables etc. since our setup scripts are
 not
   meant for containers.
  
   I've experience this too, the container would be prepared without
   cloudstack-setup-management as it expect to modify firewall which is
  not
   available into container.
  
  
  
  
   This imply that build of those containers would be done thru Jenkins
  for
   the most part and use of Dockerfile might be difficult, which
 wouldn't
   allow to use dockers automatic builds.
  
  
   you could have dockerfiles and an auto  build in docker hub.
   Just use the build trigger in docker hub to setup a hook in the
 jenkins
   job that builds the latest packages.
  
  
   The way I'm seeing things,  because the DB would pre-initiated and
 into a
   separate container, I would not use dockerfile to build it, unless
 there
  is
   a way to create link at build, this is to provide the smallest
 container
  as
   possible.
  
   Also, I would use package (RPM,deb) to install cloudstack-management so
  it
   will enforce the test/validation of packaging, and would make
 containers
   more close to prod like deployement.
  
  
  
   You could put the dockerfile in /tools or something
  
   Good Idea I'll place Dockerfiles into /tools/docker
  
  
  
  
  
   [1]
 http://jenkins.buildacloud.org/job/build-master-simulator-docker/
   [2] https://registry.hub.docker.com/repos/apachecloudstack/
  
  
   On Fri, Mar 20, 2015 at 4:04 AM, Sebastien Goasguen 
 run...@gmail.com
   wrote:
  
  
   On Mar 20, 2015, at 2:43 AM, Pierre-Luc Dion pd...@cloudops.com
   wrote:
  
   Look like some work as been done to have a Dockerfile in our repo
  which
   build a CloudStack container easily. I'm curious to know if one of
 us
   own
   the cloudstack organisation and if so, if it would make sense to
  start
   to
   have our own automated build of container for CloudStack. I would
   easily
   see 2 build job for two containers:  cloudstack-management and
   cloudstack-simulator.
   we could easily build a nightly build of master and offer latest GA
   releases.
  
   Look like it would be easy to automate builds and the simulator
   container
   could be use for the CI as it is for the fast-simulator jenkins
  tasks.
 

Re: [VOTE] Accept the donation of ec2stack to apache cloudstack

2015-04-07 Thread Koushik Das
+1

-Koushik

On 05-Apr-2015, at 2:44 PM, Ian Duffy i...@ianduffy.ie wrote:

 Hi All,
 
 As stated in a previous thread [1], myself, Sebastien and Darren are
 proposing the donation of ec2stack [2].
 
 I would like to call a vote, so that we have formal consensus on
 accepting the code into the project. I suggest that it be accepted
 into a separate repository like we do with cloudmonkey.
 
 VOTING will be left open for 72 hours.
 
 Thanks,
 Ian
 
 [1] http://markmail.org/thread/g6iuceghdd37qpr7
 [2] https://github.com/BroganD1993/ec2stack



[GitHub] cloudstack pull request: Resetvm

2015-04-07 Thread shwetaag
GitHub user shwetaag opened a pull request:

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

Resetvm

Added two tests to verify reset vm functionality. 

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/shwetaag/cloudstack resetvm

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack/pull/148.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #148


commit 433e6a2bd4634f3a1ce8525ccd5601b7e27190b7
Author: shweta agarwal shweta.agar...@citrix.com
Date:   2015-03-16T07:25:41Z

added two test case related to restore VM functionality

commit 62a4c74007fab83124f36acb20c74013f9a89c96
Author: shweta agarwal shweta.agar...@citrix.com
Date:   2015-04-07T05:07:53Z

Restore VM verification 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.
---


Re: [DOCKER] cloudstack organisation

2015-04-07 Thread sebgoa

On Apr 7, 2015, at 10:54 AM, cs user acldstk...@gmail.com wrote:

 Thanks for creating this, much appreciated. Works great. It doesn't appear
 to have any zones/pods/hosts setup though, as you can do with the
 cloudstack simulator for the dev environment.
 
 Could we add some info on this page about how to run it and perhaps login?
 

I assume you mean, log into the container. the cloudstack ui works with the 
usual password.

 https://registry.hub.docker.com/u/apachecloudstack/simulator/
 
 I was able to start it with the following:
 
 docker run -p 8080:8080 apachecloudstack/simulator

so from there:

docker exec -ti CONTAINER_ID bash

and once in the container use Marvin to configure your zone.


 
 Cheers!
 
 On Tue, Mar 24, 2015 at 7:29 PM, Pierre-Luc Dion pd...@cloudops.com wrote:
 
 LOL,  look like Docker support is efficient :-P
 
 I'll update jenkins jobs and destroy apachecloudstack org.
 
 Thanks!
 
 
 
 
 On Tue, Mar 24, 2015 at 3:18 PM, Sebastien Goasguen run...@gmail.com
 wrote:
 
 PL,
 
 So my bad, I actually own the cloudstack org on Docker hub. I just added
 you as a member.
 You can publish your images there and delete the apachecloudstack org. I
 think it’s better to just use ‘cloudstack'
 
 On Mar 24, 2015, at 2:26 PM, Pierre-Luc Dion pd...@cloudops.com
 wrote:
 
 some addition inline:
 
 On Tue, Mar 24, 2015 at 9:13 AM, Sebastien Goasguen run...@gmail.com
 wrote:
 
 
 On Mar 24, 2015, at 1:58 PM, Pierre-Luc Dion pd...@cloudops.com
 wrote:
 
 I've played a little with Docker over the weekend,  here are some
 thought
 and I'd like to have some input from community around this,
 
 1.  simulator:
 I'v create a Jenkins[1] job that build a simulator container an push
 it
 to
 the docker org: apachecloudstack [2]. It is only done for master
 branch
 at
 the moment and the image is fairly big, ~2GB, using  Sebastien's
 Dockerfile.
 
 
 Cool.
 And yes the image is big, we can modify the Dockerfile to remove some
 maven stuff and make it smaller.
 Maybe even just run the jar like Ian has done for devcloud.
 
 This will be perform for other branches but based on commit instead
 of
 daily, probably.
 
 2. cloudstack-management + database
 
 As the current simulator image contain MySQL, Maven, CloudStack git
 repo,..
 it's quite big and not the Docker way, IMO.
 
 Correct. I just did it for devs…this is not meant for any type of prod
 
 This should be clear that it is not for prod since the DB would have
 been
 pre-installed
 
 
 So I'd like to see how it
 would make sense provide two containers instead of one:
 1. cloudstack-database: mysql database with the initialized DB's
 (cloud,
 cloud_usage)...
 2. cloudstack-management: pre installed cloudstack-management server
 including tomcat dependencies,...
 3. cloudstack-usage: pre installed cloudstack-usage
 
 
 You can create a mgt server image and then link it to two or one mysql
 containers.
 the mgt server image can be setup with the packages.
 
 I ran into problems with IP tables etc. since our setup scripts are
 not
 meant for containers.
 
 I've experience this too, the container would be prepared without
 cloudstack-setup-management as it expect to modify firewall which is
 not
 available into container.
 
 
 
 
 This imply that build of those containers would be done thru Jenkins
 for
 the most part and use of Dockerfile might be difficult, which
 wouldn't
 allow to use dockers automatic builds.
 
 
 you could have dockerfiles and an auto  build in docker hub.
 Just use the build trigger in docker hub to setup a hook in the
 jenkins
 job that builds the latest packages.
 
 
 The way I'm seeing things,  because the DB would pre-initiated and
 into a
 separate container, I would not use dockerfile to build it, unless
 there
 is
 a way to create link at build, this is to provide the smallest
 container
 as
 possible.
 
 Also, I would use package (RPM,deb) to install cloudstack-management so
 it
 will enforce the test/validation of packaging, and would make
 containers
 more close to prod like deployement.
 
 
 
 You could put the dockerfile in /tools or something
 
 Good Idea I'll place Dockerfiles into /tools/docker
 
 
 
 
 
 [1]
 http://jenkins.buildacloud.org/job/build-master-simulator-docker/
 [2] https://registry.hub.docker.com/repos/apachecloudstack/
 
 
 On Fri, Mar 20, 2015 at 4:04 AM, Sebastien Goasguen 
 run...@gmail.com
 wrote:
 
 
 On Mar 20, 2015, at 2:43 AM, Pierre-Luc Dion pd...@cloudops.com
 wrote:
 
 Look like some work as been done to have a Dockerfile in our repo
 which
 build a CloudStack container easily. I'm curious to know if one of
 us
 own
 the cloudstack organisation and if so, if it would make sense to
 start
 to
 have our own automated build of container for CloudStack. I would
 easily
 see 2 build job for two containers:  cloudstack-management and
 cloudstack-simulator.
 we could easily build a nightly build of master and offer latest GA
 releases.
 
 Look like it would be easy to automate builds and the 

Re: [DOCKER] cloudstack organisation

2015-04-07 Thread cs user
Thanks Sebgoa, yes, pretty much. But for someone completely new to both
docker and cloudstack, having all the steps you need to:

1. Start the container, with port mappings
2. Connect locally http://localhost:8080/client
3. Login details
4. Steps to attach to the container and use Marvin to setup the simulator

Would be really useful I think, in the information tab on this page:
https://registry.hub.docker.com/u/apachecloudstack/simulator/

People then searching for cloudstack on the docker registry would then have
everything they need to fire up the container and have a play around.



On Tue, Apr 7, 2015 at 10:22 AM, sebgoa run...@gmail.com wrote:


 On Apr 7, 2015, at 10:54 AM, cs user acldstk...@gmail.com wrote:

  Thanks for creating this, much appreciated. Works great. It doesn't
 appear
  to have any zones/pods/hosts setup though, as you can do with the
  cloudstack simulator for the dev environment.
 
  Could we add some info on this page about how to run it and perhaps
 login?
 

 I assume you mean, log into the container. the cloudstack ui works with
 the usual password.

  https://registry.hub.docker.com/u/apachecloudstack/simulator/
 
  I was able to start it with the following:
 
  docker run -p 8080:8080 apachecloudstack/simulator

 so from there:

 docker exec -ti CONTAINER_ID bash

 and once in the container use Marvin to configure your zone.


 
  Cheers!
 
  On Tue, Mar 24, 2015 at 7:29 PM, Pierre-Luc Dion pd...@cloudops.com
 wrote:
 
  LOL,  look like Docker support is efficient :-P
 
  I'll update jenkins jobs and destroy apachecloudstack org.
 
  Thanks!
 
 
 
 
  On Tue, Mar 24, 2015 at 3:18 PM, Sebastien Goasguen run...@gmail.com
  wrote:
 
  PL,
 
  So my bad, I actually own the cloudstack org on Docker hub. I just
 added
  you as a member.
  You can publish your images there and delete the apachecloudstack org.
 I
  think it’s better to just use ‘cloudstack'
 
  On Mar 24, 2015, at 2:26 PM, Pierre-Luc Dion pd...@cloudops.com
  wrote:
 
  some addition inline:
 
  On Tue, Mar 24, 2015 at 9:13 AM, Sebastien Goasguen run...@gmail.com
 
  wrote:
 
 
  On Mar 24, 2015, at 1:58 PM, Pierre-Luc Dion pd...@cloudops.com
  wrote:
 
  I've played a little with Docker over the weekend,  here are some
  thought
  and I'd like to have some input from community around this,
 
  1.  simulator:
  I'v create a Jenkins[1] job that build a simulator container an push
  it
  to
  the docker org: apachecloudstack [2]. It is only done for master
  branch
  at
  the moment and the image is fairly big, ~2GB, using  Sebastien's
  Dockerfile.
 
 
  Cool.
  And yes the image is big, we can modify the Dockerfile to remove some
  maven stuff and make it smaller.
  Maybe even just run the jar like Ian has done for devcloud.
 
  This will be perform for other branches but based on commit instead
  of
  daily, probably.
 
  2. cloudstack-management + database
 
  As the current simulator image contain MySQL, Maven, CloudStack git
  repo,..
  it's quite big and not the Docker way, IMO.
 
  Correct. I just did it for devs…this is not meant for any type of
 prod
 
  This should be clear that it is not for prod since the DB would have
  been
  pre-installed
 
 
  So I'd like to see how it
  would make sense provide two containers instead of one:
  1. cloudstack-database: mysql database with the initialized DB's
  (cloud,
  cloud_usage)...
  2. cloudstack-management: pre installed cloudstack-management server
  including tomcat dependencies,...
  3. cloudstack-usage: pre installed cloudstack-usage
 
 
  You can create a mgt server image and then link it to two or one
 mysql
  containers.
  the mgt server image can be setup with the packages.
 
  I ran into problems with IP tables etc. since our setup scripts are
  not
  meant for containers.
 
  I've experience this too, the container would be prepared without
  cloudstack-setup-management as it expect to modify firewall which is
  not
  available into container.
 
 
 
 
  This imply that build of those containers would be done thru Jenkins
  for
  the most part and use of Dockerfile might be difficult, which
  wouldn't
  allow to use dockers automatic builds.
 
 
  you could have dockerfiles and an auto  build in docker hub.
  Just use the build trigger in docker hub to setup a hook in the
  jenkins
  job that builds the latest packages.
 
 
  The way I'm seeing things,  because the DB would pre-initiated and
  into a
  separate container, I would not use dockerfile to build it, unless
  there
  is
  a way to create link at build, this is to provide the smallest
  container
  as
  possible.
 
  Also, I would use package (RPM,deb) to install cloudstack-management
 so
  it
  will enforce the test/validation of packaging, and would make
  containers
  more close to prod like deployement.
 
 
 
  You could put the dockerfile in /tools or something
 
  Good Idea I'll place Dockerfiles into /tools/docker
 
 
 
 
 
  [1]
  

Re: ACS database on Galera/Percona XtraDB cluster

2015-04-07 Thread Andrija Panic
Thanks for confirmation people !
Cheers
 On Apr 7, 2015 1:07 PM, sebgoa run...@gmail.com wrote:

 I believe paul has run that setup as well


 On Apr 7, 2015, at 12:51 PM, Nux! n...@li.nux.ro wrote:

  Andrija,
 
  I've run ACS on MariaDB+Galera at some point without any issues. I no
 longer run that setup, but it's not because of any problems.
 
  This is also a good read on the subject, some handy tips there:
 
 http://www.severalnines.com/blog/how-deploy-high-availability-cloudstackcloudplatform-mariadb-galera-cluster
 
 
  Lucian
 
  --
  Sent from the Delta quadrant using Borg technology!
 
  Nux!
  www.nux.ro
 
  - Original Message -
  From: Andrija Panic andrija.pa...@gmail.com
  To: us...@cloudstack.apache.org, dev@cloudstack.apache.org
  Sent: Tuesday, 7 April, 2015 09:39:48
  Subject: ACS database on Galera/Percona XtraDB cluster
 
  Hi folks,
 
  wondering if anyone is running ACS databases on Galera cluster ?
 
  I see some MEMORY tables on my standalone installation, and the rest
 seems
  like InnoDB, so wondering if anyone can confirm this runs fine on
 Galera ?
 
  THanks,
 
  --
 
  Andrija Panić




Simulator.

2015-04-07 Thread Jeronimo Garcia
Hi guys.

When using the simulator , Do you need to have a real host connected to
your cluster to get mocked results? seems a bit odd.

Thanks!!


Re: ACS database on Galera/Percona XtraDB cluster

2015-04-07 Thread Nux!
Andrija,

I've run ACS on MariaDB+Galera at some point without any issues. I no longer 
run that setup, but it's not because of any problems.

This is also a good read on the subject, some handy tips there:
http://www.severalnines.com/blog/how-deploy-high-availability-cloudstackcloudplatform-mariadb-galera-cluster


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
 From: Andrija Panic andrija.pa...@gmail.com
 To: us...@cloudstack.apache.org, dev@cloudstack.apache.org
 Sent: Tuesday, 7 April, 2015 09:39:48
 Subject: ACS database on Galera/Percona XtraDB cluster

 Hi folks,
 
 wondering if anyone is running ACS databases on Galera cluster ?
 
 I see some MEMORY tables on my standalone installation, and the rest seems
 like InnoDB, so wondering if anyone can confirm this runs fine on Galera ?
 
 THanks,
 
 --
 
 Andrija Panić


Re: ACS database on Galera/Percona XtraDB cluster

2015-04-07 Thread sebgoa
I believe paul has run that setup as well


On Apr 7, 2015, at 12:51 PM, Nux! n...@li.nux.ro wrote:

 Andrija,
 
 I've run ACS on MariaDB+Galera at some point without any issues. I no longer 
 run that setup, but it's not because of any problems.
 
 This is also a good read on the subject, some handy tips there:
 http://www.severalnines.com/blog/how-deploy-high-availability-cloudstackcloudplatform-mariadb-galera-cluster
 
 
 Lucian
 
 --
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
 www.nux.ro
 
 - Original Message -
 From: Andrija Panic andrija.pa...@gmail.com
 To: us...@cloudstack.apache.org, dev@cloudstack.apache.org
 Sent: Tuesday, 7 April, 2015 09:39:48
 Subject: ACS database on Galera/Percona XtraDB cluster
 
 Hi folks,
 
 wondering if anyone is running ACS databases on Galera cluster ?
 
 I see some MEMORY tables on my standalone installation, and the rest seems
 like InnoDB, so wondering if anyone can confirm this runs fine on Galera ?
 
 THanks,
 
 --
 
 Andrija Panić



Re: Simulator.

2015-04-07 Thread Rohit Yadav
Hi Jeronimo,

Simulator does not require any external hardware, storage/network/compute. See 
the TravisCI builds too use simulator and they don’t connect with any external 
resource at all: travis-ci.org/apache/cloudstack

Can you also send emails to dev@cloudstack.apache.org as the one with incubator 
is deprecated.

 On 07-Apr-2015, at 4:56 pm, Jeronimo Garcia garciaj...@gmail.com wrote:

 Hi guys.

 When using the simulator , Do you need to have a real host connected to
 your cluster to get mocked results? seems a bit odd.

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

2015-04-07 Thread Abhinandan Prateek
Check this wiki 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Validating+check-ins+for+your+local+changes%2C+using+Simulator

With simulator you do not need any real hardware/hosts.

-abhi

 On 07-Apr-2015, at 4:56 pm, Jeronimo Garcia garciaj...@gmail.com wrote:

 Hi guys.

 When using the simulator , Do you need to have a real host connected to
 your cluster to get mocked results? seems a bit odd.

 Thanks!!

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

2015-04-07 Thread Jeronimo Garcia
One more:
Why Simulator isn't available on the gui (in the cluster creation part) ,
i know automated tests don't use the GUI but it would be handy anyways..
Having said that the api call supports it:
[image: Inline image 1]

On Tue, Apr 7, 2015 at 12:43 PM, Jeronimo Garcia garciaj...@gmail.com
wrote:

 fantastic , i got it running using the basic marvin file:
 python ../marvin/marvin/deployDataCenter.py -i ../../setup/dev/basic.cfg

 Thanks again!

 On Tue, Apr 7, 2015 at 12:40 PM, Abhinandan Prateek 
 abhinandan.prat...@shapeblue.com wrote:

 Check this wiki
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Validating+check-ins+for+your+local+changes%2C+using+Simulator

 With simulator you do not need any real hardware/hosts.

 -abhi

  On 07-Apr-2015, at 4:56 pm, Jeronimo Garcia garciaj...@gmail.com
 wrote:
 
  Hi guys.
 
  When using the simulator , Do you need to have a real host connected to
  your cluster to get mocked results? seems a bit odd.
 
  Thanks!!

 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.





Re: Simulator.

2015-04-07 Thread Jeronimo Garcia
fantastic , i got it running using the basic marvin file:
python ../marvin/marvin/deployDataCenter.py -i ../../setup/dev/basic.cfg

Thanks again!

On Tue, Apr 7, 2015 at 12:40 PM, Abhinandan Prateek 
abhinandan.prat...@shapeblue.com wrote:

 Check this wiki
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Validating+check-ins+for+your+local+changes%2C+using+Simulator

 With simulator you do not need any real hardware/hosts.

 -abhi

  On 07-Apr-2015, at 4:56 pm, Jeronimo Garcia garciaj...@gmail.com
 wrote:
 
  Hi guys.
 
  When using the simulator , Do you need to have a real host connected to
  your cluster to get mocked results? seems a bit odd.
 
  Thanks!!

 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.



Re: [VOTE] Apache CloudStack 4.5.1-rc1

2015-04-07 Thread Pierre-Luc Dion
Are we going to do a new RC soon?

Le vendredi 27 mars 2015, ilya ilya.mailing.li...@gmail.com a écrit :

 +1 binding on future ACS 4.5.1 RC2

 To report back, I've tested ACS 4.5.1 on limited scale with vmware.

 No issues observed so far, test cases covered:

 vm created
 disk attached
 snapshots work
 deletion works
 console works
 etc..




 On 3/24/15 10:13 PM, Rohit Yadav wrote:

 HI Ilya - I've added a SecureSSLFactory implementation (POODLE fix) after
 4.5.0 that is used by VmwareClient and other clients. Other than that I
 don’t see any Vmware specific changes.

  On 25-Mar-2015, at 7:05 am, ilya ilya.mailing.li...@gmail.com wrote:

 I'll see if i can spin up another test. Based on fixes i've seen post
 4.5.0, they are not VmWare specific (unless i'm wrong).

 I have several vmware test environments running in 4.5 - we are yet to
 see any issue.



 On 3/23/15 11:36 PM, Rohit Yadav wrote:

 Hi Ilya - Yes, I think we’ll need a RC2 but I don’t want another RC3 so
 let’s wait at least for today to see if anyone reports anything.

 Meanwhile, let’s continue testing and let’s report/fix any issues we
 find. I think we’ve tested RC1 with KVM and Xen, it would be great if
 someone could share their test results against VMWare and report
 success/failures before we do RC2 if possible?

  On 24-Mar-2015, at 7:21 am, David Nalley da...@gnsa.us wrote:

 Very likely - just waiting to see if anyone uncovers anything else
 before I do so.

 On Mon, Mar 23, 2015 at 7:35 PM, ilya ilya.mailing.li...@gmail.com
 wrote:

 Rohit,

 While we have fixes and I hate to do this to David, but i think this
 warrants RC2 release.

 David, how likely are you to spin up another vote for RC2?

 Thanks
 ilya


 On 3/20/15 10:31 AM, Rohit Yadav wrote:

 Hi everyone,

 Don’t get discouraged by the minor regressions found as they are
 fixed.
 Note: they would only affect VMWare/Xen and the rpm bug will affect
 only
 CentOS6 users.

 In case you’re building from source, apply these two patches on top
 of RC1
 and please continue testing:


 https://github.com/apache/cloudstack/commit/
 53ca0b1861c743caf61ec04f776c87eac334f185

 https://github.com/apache/cloudstack/commit/
 d70937aeb92e89efa8fcc39d7f89bdd8c885b2a2

  On 20-Mar-2015, at 7:51 pm, Paul Angus paul.an...@shapeblue.com
 wrote:

 -1
 Regression caused by
 https://issues.apache.org/jira/browse/CLOUDSTACK-8312
 Causes:
 Unable to start instance due to can't find mapping in
 ObjectInDataStore
 table for: org.apache.cloudstack.storage.image.store.TemplateObject

 When trying to deploy system VM templates.

 Template gets copied to primary storage but no entries appear to be
 added
 to the db
 Systemvm.iso not copied to secondary storage.
 SSVM and CPVM do not get created

 Rohit has created a fix for RC2 - testing on that now.

 Regards,

 Paul Angus
 Cloud Architect
 D: +44 20 3468 5163 |S: +44 20 3603 0540 | M: +44 7711 418 784 | T:
 @CloudyAngus
 paul.an...@shapeblue.com

 -Original Message-
 From: Nux! [mailto:n...@li.nux.ro]
 Sent: 20 March 2015 14:12
 To: dev@cloudstack.apache.org
 Subject: Re: [VOTE] Apache CloudStack 4.5.1-rc1

 +1 from me as well based on upgrade from 4.4.1 and ADV+SG zone
 tests.

 Thanks Rohit for the packages.

 Lucian

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro

 - Original Message -

 From: Rohit Yadav rohit.ya...@shapeblue.com
 To: dev@cloudstack.apache.org
 Sent: Friday, 20 March, 2015 11:38:42
 Subject: Re: [VOTE] Apache CloudStack 4.5.1-rc1
 +1 (with one centos6 rpm build fix required, read below)

 Advance zone testing with/without local storage, KVM:

 - VM lifecycle with and without local storage and vm's volume
 migrations (after vm was stopped) across 2 hosts
 - Password server, reset password. Stress tested password server,
 served
 1000 req/second with 95.7% successful http request completion
 (though
 I realize ab is not really a good tool)
 - Egress rules, Firewall rules, port forwarding SNAT usage, load
 balancing
 - Register template and ISO
 - VM statistics, dashboard capacity values
 - Observed normal CPVM, SSVM behaviours
 - Use of both NFS and local primary storage
 - Download volume, iso, template
 - VPC: multiple tiers, password server + load tests, vm lifecycle
 with/without local storage, SNAT for vms in tiers, ACL rules
 create/update/delete/apply etc

 Basic Zone testing with/without local storage, KVM:

 - Basic zone with local storage, vm lifecycle
 - Volume migration (after stopped)
 - Attach/detach volumes
 - NFS primary+secondary and local storage primary
 - Normal CPVM, SSVM behaviour seen
 - Register template/iso worked
 - Download volume, iso, template
 - Shared network with SG worked
 - Password server tested, reset password

 Minor issues:

 - RC1 will require this minor centos6 rpm build fix that we can
 slip
 in
 https://github.com/apache/cloudstack/commit/
 d70937aeb92e89efa8fcc39d7f
 89bdd8c885b2a2
 Note: centos7 builds are fine.
 - UI logs out on refresh (due 

extract a snapshot

2015-04-07 Thread S . Brüseke - proIO GmbH
Hello,

is somebody already working on a solution to extract a snapshot of a volume 
directly without the need to create a new volume before extracting?
As far as I understand CS is creating a symlink on the secondary storage in 
/var/www/html/userdata which points to the corresponding vhd file on the 
secondary storage. Snapshots are also stored as vhd file on the same storage, 
so a direct symlink to the snapshot should not be a problem.

Mit freundlichen Grüßen / With kind regards,

Swen Brüseke



- proIO GmbH -
Geschäftsführer: Swen Brüseke
Sitz der Gesellschaft: Frankfurt am Main

USt-IdNr. DE 267 075 918
Registergericht: Frankfurt am Main - HRB 86239

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, 
informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht 
gestattet. 

This e-mail may contain confidential and/or privileged information. 
If you are not the intended recipient (or have received this e-mail in error) 
please notify 
the sender immediately and destroy this e-mail.  
Any unauthorized copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden. 




Re: extract a snapshot

2015-04-07 Thread Rajani Karuturi
I dont think so. Can you log an enhancement request in jira?

~Rajani

On Tue, Apr 7, 2015 at 5:56 PM, S. Brüseke - proIO GmbH 
s.brues...@proio.com wrote:

 Hello,

 is somebody already working on a solution to extract a snapshot of a
 volume directly without the need to create a new volume before extracting?
 As far as I understand CS is creating a symlink on the secondary storage
 in /var/www/html/userdata which points to the corresponding vhd file on the
 secondary storage. Snapshots are also stored as vhd file on the same
 storage, so a direct symlink to the snapshot should not be a problem.

 Mit freundlichen Grüßen / With kind regards,

 Swen Brüseke



 - proIO GmbH -
 Geschäftsführer: Swen Brüseke
 Sitz der Gesellschaft: Frankfurt am Main

 USt-IdNr. DE 267 075 918
 Registergericht: Frankfurt am Main - HRB 86239

 Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
 Informationen.
 Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
 erhalten haben,
 informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
 Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind
 nicht gestattet.

 This e-mail may contain confidential and/or privileged information.
 If you are not the intended recipient (or have received this e-mail in
 error) please notify
 the sender immediately and destroy this e-mail.
 Any unauthorized copying, disclosure or distribution of the material in
 this e-mail is strictly forbidden.





Re: Compute offering Host tag

2015-04-07 Thread Simon Weller
Erik, 

Is there something in particular you can point to that demonstrates what you're 
seeing?
I have a few compute offerings that have multiple host tags separate by commas. 






From: Erik Weber terbol...@gmail.com
Sent: Tuesday, April 07, 2015 8:26 AM
To: dev
Subject: Compute offering Host tag

Been troubleshooting the usage of host tags and compute offerings for a
bit, and it strikes me that compute offerings seems to only allow 1 host
tag.

1) is my finding correct?
2) is there a good reason for it?

--
Erik

Re: Compute offering Host tag

2015-04-07 Thread Erik Weber
On Tue, Apr 7, 2015 at 3:34 PM, Simon Weller swel...@ena.com wrote:

 Erik,

 Is there something in particular you can point to that demonstrates what
 you're seeing?
 I have a few compute offerings that have multiple host tags separate by
 commas.


I've tried the same.. Should mention that this is on the 4.5 branch

Log: http://pastebin.com/ug08Vhvc (see line 16)

List serviceofferings (filter=id,hosttags): http://pastebin.com/7qzbZfh1
List hosts (filter=id,hosttags): http://pastebin.com/8dp2wNpN

The one where I use underscore (ndla_h3) works as expected, however if I
try to use any of the service offerings with more than one host tag it
fails.

-- 
Erik


Compute offering Host tag

2015-04-07 Thread Erik Weber
Been troubleshooting the usage of host tags and compute offerings for a
bit, and it strikes me that compute offerings seems to only allow 1 host
tag.

1) is my finding correct?
2) is there a good reason for it?

-- 
Erik


AW: extract a snapshot

2015-04-07 Thread S . Brüseke - proIO GmbH
Hi Rajani,

no problem, you can find it here: 
https://issues.apache.org/jira/browse/CLOUDSTACK-8369

Mit freundlichen Grüßen / With kind regards,

Swen Brüseke

 
proIO GmbH   
Kleyerstr. 79 - 89 / Tor 13   
D-60326 Frankfurt am Main 
 
Mail: s.brues...@proio.com
Tel:  +(49) (0) 69 739049-15
Fax:  +(49) (0) 69 739049-25  
Web:  www.proio.com
 
- Support -
Mail: supp...@proio.com
24h:  +(49) (0) 1805 522 855


-Ursprüngliche Nachricht-
Von: Rajani Karuturi [mailto:raj...@apache.org] 
Gesendet: Dienstag, 7. April 2015 16:20
An: dev@cloudstack.apache.org; S. Brüseke - proIO GmbH
Betreff: Re: extract a snapshot

I dont think so. Can you log an enhancement request in jira?

~Rajani

On Tue, Apr 7, 2015 at 5:56 PM, S. Brüseke - proIO GmbH  s.brues...@proio.com 
wrote:

 Hello,

 is somebody already working on a solution to extract a snapshot of a 
 volume directly without the need to create a new volume before extracting?
 As far as I understand CS is creating a symlink on the secondary 
 storage in /var/www/html/userdata which points to the corresponding 
 vhd file on the secondary storage. Snapshots are also stored as vhd 
 file on the same storage, so a direct symlink to the snapshot should not be a 
 problem.

 Mit freundlichen Grüßen / With kind regards,

 Swen Brüseke



 - proIO GmbH -
 Geschäftsführer: Swen Brüseke
 Sitz der Gesellschaft: Frankfurt am Main

 USt-IdNr. DE 267 075 918
 Registergericht: Frankfurt am Main - HRB 86239

 Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
 Informationen.
 Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich 
 erhalten haben, informieren Sie bitte sofort den Absender und 
 vernichten Sie diese Mail.
 Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail 
 sind nicht gestattet.

 This e-mail may contain confidential and/or privileged information.
 If you are not the intended recipient (or have received this e-mail in
 error) please notify
 the sender immediately and destroy this e-mail.
 Any unauthorized copying, disclosure or distribution of the material 
 in this e-mail is strictly forbidden.






- proIO GmbH -
Geschäftsführer: Swen Brüseke
Sitz der Gesellschaft: Frankfurt am Main

USt-IdNr. DE 267 075 918
Registergericht: Frankfurt am Main - HRB 86239

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, 
informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht 
gestattet. 

This e-mail may contain confidential and/or privileged information. 
If you are not the intended recipient (or have received this e-mail in error) 
please notify 
the sender immediately and destroy this e-mail.  
Any unauthorized copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden. 




Re: Compute offering Host tag

2015-04-07 Thread Erik Weber
Thanks for trying and verifying the behavior.


Anyone know why this is done this way?

Erik

Den tirsdag 7. april 2015 skrev Simon Weller swel...@ena.com følgende:

 ok, well I thought we were using multiple host tags, but it doesn't appear
 we are.
 I just tested this on a 4.3 system, and I'm seeing the same result as you.
 If the service offering has multiple host tags, it seems the allocator is
 trying to match the entire string, rather than the individual tags.

 http://pastebin.com/wSrnXLED

 - Si


 
 From: Erik Weber terbol...@gmail.com javascript:;
 Sent: Tuesday, April 07, 2015 8:53 AM
 To: dev
 Subject: Re: Compute offering Host tag

 On Tue, Apr 7, 2015 at 3:34 PM, Simon Weller swel...@ena.com
 javascript:; wrote:

  Erik,
 
  Is there something in particular you can point to that demonstrates what
  you're seeing?
  I have a few compute offerings that have multiple host tags separate by
  commas.
 
 
 I've tried the same.. Should mention that this is on the 4.5 branch

 Log: http://pastebin.com/ug08Vhvc (see line 16)

 List serviceofferings (filter=id,hosttags): http://pastebin.com/7qzbZfh1
 List hosts (filter=id,hosttags): http://pastebin.com/8dp2wNpN

 The one where I use underscore (ndla_h3) works as expected, however if I
 try to use any of the service offerings with more than one host tag it
 fails.

 --
 Erik



Re: Compute offering Host tag

2015-04-07 Thread Simon Weller
ok, well I thought we were using multiple host tags, but it doesn't appear we 
are.
I just tested this on a 4.3 system, and I'm seeing the same result as you. 
If the service offering has multiple host tags, it seems the allocator is 
trying to match the entire string, rather than the individual tags.

http://pastebin.com/wSrnXLED

- Si



From: Erik Weber terbol...@gmail.com
Sent: Tuesday, April 07, 2015 8:53 AM
To: dev
Subject: Re: Compute offering Host tag

On Tue, Apr 7, 2015 at 3:34 PM, Simon Weller swel...@ena.com wrote:

 Erik,

 Is there something in particular you can point to that demonstrates what
 you're seeing?
 I have a few compute offerings that have multiple host tags separate by
 commas.


I've tried the same.. Should mention that this is on the 4.5 branch

Log: http://pastebin.com/ug08Vhvc (see line 16)

List serviceofferings (filter=id,hosttags): http://pastebin.com/7qzbZfh1
List hosts (filter=id,hosttags): http://pastebin.com/8dp2wNpN

The one where I use underscore (ndla_h3) works as expected, however if I
try to use any of the service offerings with more than one host tag it
fails.

--
Erik


{HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

2015-04-07 Thread Andrija Panic
Hi guys,

our SSL just expired, and I needed to upload new ROOT CA, Intemediata ROOT
CA, and at the end SSL for sever and a private key.

I uploaded new ROOT CA, and after CPVM rebooted, also uploaded Intermediate
ROOT CA, via API, with URL encoded stuff - checked in database all seems OK.

But after uploading new SSL and private key, destroyed CPVM and SSVM - my
Console Proxy shows *.realiphost.com as the domain for the SSL wjen I
access

Any clues what I did wrong ?
Should I have somehow removed first old ROOT CA and old Intermediate CA,
and upload new ones ?

Here is database content from cloud.keystore:
http://snag.gy/LMA4h.jpg

This means that for some reason, original realiphost.com SSL is now used
inside CPVM...

Any help greatly appreciated, since this is live system...

Thanks,



-- 

Andrija Panić


[VOTE] Apache CloudStack 4.5.1-rc2

2015-04-07 Thread David Nalley
Hi All,

I've created a 4.5.1 release candidate, with the following artifacts
up for a vote:

Git Branch and Commit SH:
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.5-RC20150407T1726
Commit: 930d1fcba2abdb8229441fd0344518ca679f3d22

Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/4.5.1-rc2/

PGP release keys (signed using 0x6fe50f1c):
https://dist.apache.org/repos/dist/release/cloudstack/KEYS

Vote will be open for 72 hours.

For sanity in tallying the vote, can PMC members please be sure to
indicate (binding) with their vote?

[ ] +1  approve
[ ] +0  no opinion
[ ] -1  disapprove (and reason why)


RE: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

2015-04-07 Thread Suresh Sadhu
 If you have taken backup of  your  table(keystore) before upload then you 
revert to previous state then upload the certificates again.

Encode(url ecode) the  root and intermediate keys while uploading through api
Root - seq 1 
Intermediate  seq 2

 And while uploading server certificate  through UI  don 't  encode the keys  
,enter only  server certificate and private key(it should be PKCS#8 format) and 
domain name  because you have already uploaded root and intermediate through 
API.( how to check certificate uploaded correctly or not on system vms ,just 
run the keytool  -list on system vms --for syntax/description   ref this blog 
it might useful to you : 
http://sadhusuresh.blogspot.in/2015/01/t-hings-you-should-consider-while.html)

Regards
Sadhu


-Original Message-
From: Andrija Panic [mailto:andrija.pa...@gmail.com] 
Sent: 07 April 2015 23:19
To: dev@cloudstack.apache.org
Cc: us...@cloudstack.apache.org
Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Thanks Suresh.

2 identical sequence numbers means:  first occurence is OLD Intermediate 
CA(from 1 year ago), and the second occurence is the new one just uploaded (it 
happened I used different names)

for ROOT CA - it happened I used the same name ROOT1 so the old one got 
overwriten with seq number 1

Do you expect I should delete the old Intermediate1 CA manually (and leave only 
the new one) ?
Or am I expected to upload again ROOT/intermediate with exact same names and 
seq numbers ?

Thanks

On 7 April 2015 at 19:43, Suresh Sadhu suresh.sa...@citrix.com wrote:

 I see same sequence number for 2 intermediate certificates. does your 
 certificate has multiple  intermediate certificate or it has only one.

 The reason for getting realhost ip is . your certificate is not 
 applied correctly  that is reason it's still refer the old certificate.


 Regards
 sadhu

 -Original Message-
 From: Andrija Panic [mailto:andrija.pa...@gmail.com]
 Sent: 07 April 2015 22:56
 To: us...@cloudstack.apache.org
 Cc: dev@cloudstack.apache.org
 Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

 Hi Lucian

 yes it is *.domain.com (from 4.3.1 onwards)...

 If you can check my attached image, keystore tableseems messed a 
 little bit
 :)
 http://snag.gy/LMA4h.jpg


 On 7 April 2015 at 19:12, Nux! n...@li.nux.ro wrote:

  Can you check secstorage.ssl.cert.domain in global settings and see 
  if it's the correct one?
  Should be *.blah.tld or whatever your domain is.
 
 
  HTH
  Lucian
 
  --
  Sent from the Delta quadrant using Borg technology!
 
  Nux!
  www.nux.ro
 
  - Original Message -
   From: Andrija Panic andrija.pa...@gmail.com
   To: us...@cloudstack.apache.org, dev@cloudstack.apache.org
   Sent: Tuesday, 7 April, 2015 17:42:35
   Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
 
   Hi guys,
  
   our SSL just expired, and I needed to upload new ROOT CA, 
   Intemediata
  ROOT
   CA, and at the end SSL for sever and a private key.
  
   I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
  Intermediate
   ROOT CA, via API, with URL encoded stuff - checked in database all 
   seems
  OK.
  
   But after uploading new SSL and private key, destroyed CPVM and 
   SSVM
   - my Console Proxy shows *.realiphost.com as the domain for the 
   SSL wjen I access
  
   Any clues what I did wrong ?
   Should I have somehow removed first old ROOT CA and old 
   Intermediate CA, and upload new ones ?
  
   Here is database content from cloud.keystore:
   http://snag.gy/LMA4h.jpg
  
   This means that for some reason, original realiphost.com SSL is 
   now used inside CPVM...
  
   Any help greatly appreciated, since this is live system...
  
   Thanks,
  
  
  
   --
  
   Andrija Panić
 



 --

 Andrija Panić




-- 

Andrija Panić


Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

2015-04-07 Thread Nux!
Can you check secstorage.ssl.cert.domain in global settings and see if it's the 
correct one?
Should be *.blah.tld or whatever your domain is.


HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
 From: Andrija Panic andrija.pa...@gmail.com
 To: us...@cloudstack.apache.org, dev@cloudstack.apache.org
 Sent: Tuesday, 7 April, 2015 17:42:35
 Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

 Hi guys,
 
 our SSL just expired, and I needed to upload new ROOT CA, Intemediata ROOT
 CA, and at the end SSL for sever and a private key.
 
 I uploaded new ROOT CA, and after CPVM rebooted, also uploaded Intermediate
 ROOT CA, via API, with URL encoded stuff - checked in database all seems OK.
 
 But after uploading new SSL and private key, destroyed CPVM and SSVM - my
 Console Proxy shows *.realiphost.com as the domain for the SSL wjen I
 access
 
 Any clues what I did wrong ?
 Should I have somehow removed first old ROOT CA and old Intermediate CA,
 and upload new ones ?
 
 Here is database content from cloud.keystore:
 http://snag.gy/LMA4h.jpg
 
 This means that for some reason, original realiphost.com SSL is now used
 inside CPVM...
 
 Any help greatly appreciated, since this is live system...
 
 Thanks,
 
 
 
 --
 
 Andrija Panić


RE: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

2015-04-07 Thread Suresh Sadhu
I see same sequence number for 2 intermediate certificates. does your 
certificate has multiple  intermediate certificate or it has only one.

The reason for getting realhost ip is . your certificate is not applied 
correctly  that is reason it's still refer the old certificate.


Regards
sadhu

-Original Message-
From: Andrija Panic [mailto:andrija.pa...@gmail.com] 
Sent: 07 April 2015 22:56
To: us...@cloudstack.apache.org
Cc: dev@cloudstack.apache.org
Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

Hi Lucian

yes it is *.domain.com (from 4.3.1 onwards)...

If you can check my attached image, keystore tableseems messed a little bit
:)
http://snag.gy/LMA4h.jpg


On 7 April 2015 at 19:12, Nux! n...@li.nux.ro wrote:

 Can you check secstorage.ssl.cert.domain in global settings and see if 
 it's the correct one?
 Should be *.blah.tld or whatever your domain is.


 HTH
 Lucian

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro

 - Original Message -
  From: Andrija Panic andrija.pa...@gmail.com
  To: us...@cloudstack.apache.org, dev@cloudstack.apache.org
  Sent: Tuesday, 7 April, 2015 17:42:35
  Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

  Hi guys,
 
  our SSL just expired, and I needed to upload new ROOT CA, 
  Intemediata
 ROOT
  CA, and at the end SSL for sever and a private key.
 
  I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
 Intermediate
  ROOT CA, via API, with URL encoded stuff - checked in database all 
  seems
 OK.
 
  But after uploading new SSL and private key, destroyed CPVM and SSVM 
  - my Console Proxy shows *.realiphost.com as the domain for the SSL 
  wjen I access
 
  Any clues what I did wrong ?
  Should I have somehow removed first old ROOT CA and old Intermediate 
  CA, and upload new ones ?
 
  Here is database content from cloud.keystore:
  http://snag.gy/LMA4h.jpg
 
  This means that for some reason, original realiphost.com SSL is now 
  used inside CPVM...
 
  Any help greatly appreciated, since this is live system...
 
  Thanks,
 
 
 
  --
 
  Andrija Panić




-- 

Andrija Panić


Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

2015-04-07 Thread Andrija Panic
Thanks Suresh.

2 identical sequence numbers means:  first occurence is OLD Intermediate
CA(from 1 year ago), and the second occurence is the new one just uploaded
(it happened I used different names)

for ROOT CA - it happened I used the same name ROOT1 so the old one got
overwriten with seq number 1

Do you expect I should delete the old Intermediate1 CA manually (and leave
only the new one) ?
Or am I expected to upload again ROOT/intermediate with exact same names
and seq numbers ?

Thanks

On 7 April 2015 at 19:43, Suresh Sadhu suresh.sa...@citrix.com wrote:

 I see same sequence number for 2 intermediate certificates. does your
 certificate has multiple  intermediate certificate or it has only one.

 The reason for getting realhost ip is . your certificate is not applied
 correctly  that is reason it's still refer the old certificate.


 Regards
 sadhu

 -Original Message-
 From: Andrija Panic [mailto:andrija.pa...@gmail.com]
 Sent: 07 April 2015 22:56
 To: us...@cloudstack.apache.org
 Cc: dev@cloudstack.apache.org
 Subject: Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

 Hi Lucian

 yes it is *.domain.com (from 4.3.1 onwards)...

 If you can check my attached image, keystore tableseems messed a little bit
 :)
 http://snag.gy/LMA4h.jpg


 On 7 April 2015 at 19:12, Nux! n...@li.nux.ro wrote:

  Can you check secstorage.ssl.cert.domain in global settings and see if
  it's the correct one?
  Should be *.blah.tld or whatever your domain is.
 
 
  HTH
  Lucian
 
  --
  Sent from the Delta quadrant using Borg technology!
 
  Nux!
  www.nux.ro
 
  - Original Message -
   From: Andrija Panic andrija.pa...@gmail.com
   To: us...@cloudstack.apache.org, dev@cloudstack.apache.org
   Sent: Tuesday, 7 April, 2015 17:42:35
   Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM
 
   Hi guys,
  
   our SSL just expired, and I needed to upload new ROOT CA,
   Intemediata
  ROOT
   CA, and at the end SSL for sever and a private key.
  
   I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
  Intermediate
   ROOT CA, via API, with URL encoded stuff - checked in database all
   seems
  OK.
  
   But after uploading new SSL and private key, destroyed CPVM and SSVM
   - my Console Proxy shows *.realiphost.com as the domain for the SSL
   wjen I access
  
   Any clues what I did wrong ?
   Should I have somehow removed first old ROOT CA and old Intermediate
   CA, and upload new ones ?
  
   Here is database content from cloud.keystore:
   http://snag.gy/LMA4h.jpg
  
   This means that for some reason, original realiphost.com SSL is now
   used inside CPVM...
  
   Any help greatly appreciated, since this is live system...
  
   Thanks,
  
  
  
   --
  
   Andrija Panić
 



 --

 Andrija Panić




-- 

Andrija Panić


Re: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

2015-04-07 Thread Andrija Panic
Hi Lucian

yes it is *.domain.com (from 4.3.1 onwards)...

If you can check my attached image, keystore tableseems messed a little bit
:)
http://snag.gy/LMA4h.jpg


On 7 April 2015 at 19:12, Nux! n...@li.nux.ro wrote:

 Can you check secstorage.ssl.cert.domain in global settings and see if
 it's the correct one?
 Should be *.blah.tld or whatever your domain is.


 HTH
 Lucian

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro

 - Original Message -
  From: Andrija Panic andrija.pa...@gmail.com
  To: us...@cloudstack.apache.org, dev@cloudstack.apache.org
  Sent: Tuesday, 7 April, 2015 17:42:35
  Subject: {HELP-NEEDED] Replace Root CA etc, for CPVM and SSVM

  Hi guys,
 
  our SSL just expired, and I needed to upload new ROOT CA, Intemediata
 ROOT
  CA, and at the end SSL for sever and a private key.
 
  I uploaded new ROOT CA, and after CPVM rebooted, also uploaded
 Intermediate
  ROOT CA, via API, with URL encoded stuff - checked in database all seems
 OK.
 
  But after uploading new SSL and private key, destroyed CPVM and SSVM - my
  Console Proxy shows *.realiphost.com as the domain for the SSL wjen I
  access
 
  Any clues what I did wrong ?
  Should I have somehow removed first old ROOT CA and old Intermediate CA,
  and upload new ones ?
 
  Here is database content from cloud.keystore:
  http://snag.gy/LMA4h.jpg
 
  This means that for some reason, original realiphost.com SSL is now used
  inside CPVM...
 
  Any help greatly appreciated, since this is live system...
 
  Thanks,
 
 
 
  --
 
  Andrija Panić




-- 

Andrija Panić


CloudStack Ansible Plays

2015-04-07 Thread Paul Angus
All,

As part of the effort to make CloudStack more accessible, I'm updating the 
CloudStack Ansible plays to run on the current version of Ansible. And will 
include a mgmt. server based NFS server and Cloudmonkey.

I'm going to put this version in Ansible Galaxy and update the article in the 
Docs.
I'll also donate the source files.  What/where is the best way to make these 
available ?

Regards,

Paul Angus
Cloud Architect
[cid:image001.png@01CFD9AB.6EFF8BF0]

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

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: CloudStack Ansible Plays

2015-04-07 Thread David Nalley
On Tue, Apr 7, 2015 at 4:05 PM, Paul Angus paul.an...@shapeblue.com wrote:

  All,



 As part of the effort to make CloudStack more accessible, I’m updating the
 CloudStack Ansible plays to run on the current version of Ansible. And will
 include a mgmt. server based NFS server and Cloudmonkey.



 I’m going to put this version in Ansible Galaxy and update the article in
 the Docs.

 I’ll also donate the source files.  What/where is the best way to make
 these available ?





Upstream with Ansible perhaps?


Re: [DOCKER] cloudstack organisation

2015-04-07 Thread Pierre-Luc Dion
Please note,  the org: apachecloudstack as been removed and is now
available at:

https://registry.hub.docker.com/u/cloudstack/simulator

tags,  latest and 4.5 are automatically build on jenkins
thru build-master-simulator-docker and build-4.5-simulator-docker jobs

readme also updated.


On Tue, Apr 7, 2015 at 7:13 AM, cs user acldstk...@gmail.com wrote:

 Thanks Sebgoa, yes, pretty much. But for someone completely new to both
 docker and cloudstack, having all the steps you need to:

 1. Start the container, with port mappings
 2. Connect locally http://localhost:8080/client
 3. Login details
 4. Steps to attach to the container and use Marvin to setup the simulator

 Would be really useful I think, in the information tab on this page:
 https://registry.hub.docker.com/u/apachecloudstack/simulator/

 People then searching for cloudstack on the docker registry would then have
 everything they need to fire up the container and have a play around.



 On Tue, Apr 7, 2015 at 10:22 AM, sebgoa run...@gmail.com wrote:

 
  On Apr 7, 2015, at 10:54 AM, cs user acldstk...@gmail.com wrote:
 
   Thanks for creating this, much appreciated. Works great. It doesn't
  appear
   to have any zones/pods/hosts setup though, as you can do with the
   cloudstack simulator for the dev environment.
  
   Could we add some info on this page about how to run it and perhaps
  login?
  
 
  I assume you mean, log into the container. the cloudstack ui works with
  the usual password.
 
   https://registry.hub.docker.com/u/apachecloudstack/simulator/
  
   I was able to start it with the following:
  
   docker run -p 8080:8080 apachecloudstack/simulator
 
  so from there:
 
  docker exec -ti CONTAINER_ID bash
 
  and once in the container use Marvin to configure your zone.
 
 
  
   Cheers!
  
   On Tue, Mar 24, 2015 at 7:29 PM, Pierre-Luc Dion pd...@cloudops.com
  wrote:
  
   LOL,  look like Docker support is efficient :-P
  
   I'll update jenkins jobs and destroy apachecloudstack org.
  
   Thanks!
  
  
  
  
   On Tue, Mar 24, 2015 at 3:18 PM, Sebastien Goasguen run...@gmail.com
 
   wrote:
  
   PL,
  
   So my bad, I actually own the cloudstack org on Docker hub. I just
  added
   you as a member.
   You can publish your images there and delete the apachecloudstack
 org.
  I
   think it’s better to just use ‘cloudstack'
  
   On Mar 24, 2015, at 2:26 PM, Pierre-Luc Dion pd...@cloudops.com
   wrote:
  
   some addition inline:
  
   On Tue, Mar 24, 2015 at 9:13 AM, Sebastien Goasguen 
 run...@gmail.com
  
   wrote:
  
  
   On Mar 24, 2015, at 1:58 PM, Pierre-Luc Dion pd...@cloudops.com
   wrote:
  
   I've played a little with Docker over the weekend,  here are some
   thought
   and I'd like to have some input from community around this,
  
   1.  simulator:
   I'v create a Jenkins[1] job that build a simulator container an
 push
   it
   to
   the docker org: apachecloudstack [2]. It is only done for master
   branch
   at
   the moment and the image is fairly big, ~2GB, using  Sebastien's
   Dockerfile.
  
  
   Cool.
   And yes the image is big, we can modify the Dockerfile to remove
 some
   maven stuff and make it smaller.
   Maybe even just run the jar like Ian has done for devcloud.
  
   This will be perform for other branches but based on commit
 instead
   of
   daily, probably.
  
   2. cloudstack-management + database
  
   As the current simulator image contain MySQL, Maven, CloudStack
 git
   repo,..
   it's quite big and not the Docker way, IMO.
  
   Correct. I just did it for devs…this is not meant for any type of
  prod
  
   This should be clear that it is not for prod since the DB would have
   been
   pre-installed
  
  
   So I'd like to see how it
   would make sense provide two containers instead of one:
   1. cloudstack-database: mysql database with the initialized DB's
   (cloud,
   cloud_usage)...
   2. cloudstack-management: pre installed cloudstack-management
 server
   including tomcat dependencies,...
   3. cloudstack-usage: pre installed cloudstack-usage
  
  
   You can create a mgt server image and then link it to two or one
  mysql
   containers.
   the mgt server image can be setup with the packages.
  
   I ran into problems with IP tables etc. since our setup scripts are
   not
   meant for containers.
  
   I've experience this too, the container would be prepared without
   cloudstack-setup-management as it expect to modify firewall which
 is
   not
   available into container.
  
  
  
  
   This imply that build of those containers would be done thru
 Jenkins
   for
   the most part and use of Dockerfile might be difficult, which
   wouldn't
   allow to use dockers automatic builds.
  
  
   you could have dockerfiles and an auto  build in docker hub.
   Just use the build trigger in docker hub to setup a hook in the
   jenkins
   job that builds the latest packages.
  
  
   The way I'm seeing things,  because the DB would pre-initiated and
   into a
   separate container, I would 

RE: Simulator.

2015-04-07 Thread Koushik Das
After you have run deployDataCenter.py, it is possible to do VM/volume/network 
related operations from UI.

From: Jeronimo Garcia [mailto:garciaj...@gmail.com]
Sent: Tuesday, 7 April 2015 17:25
To: dev@cloudstack.apache.org
Cc: cloudstack-...@incubator.apache.org
Subject: Re: Simulator.

One more:
Why Simulator isn't available on the gui (in the cluster creation part) , i 
know automated tests don't use the GUI but it would be handy anyways..
Having said that the api call supports it:
[Inline image 1]

On Tue, Apr 7, 2015 at 12:43 PM, Jeronimo Garcia 
garciaj...@gmail.commailto:garciaj...@gmail.com wrote:
fantastic , i got it running using the basic marvin file:
python ../marvin/marvin/deployDataCenter.py -i ../../setup/dev/basic.cfg

Thanks again!

On Tue, Apr 7, 2015 at 12:40 PM, Abhinandan Prateek 
abhinandan.prat...@shapeblue.commailto:abhinandan.prat...@shapeblue.com 
wrote:
Check this wiki 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Validating+check-ins+for+your+local+changes%2C+using+Simulator

With simulator you do not need any real hardware/hosts.

-abhi

 On 07-Apr-2015, at 4:56 pm, Jeronimo Garcia 
 garciaj...@gmail.commailto:garciaj...@gmail.com wrote:

 Hi guys.

 When using the simulator , Do you need to have a real host connected to
 your cluster to get mocked results? seems a bit odd.

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

IaaS Cloud Design  
Buildhttp://shapeblue.com/iaas-cloud-design-and-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 
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: Simulator.

2015-04-07 Thread Mike Tutkowski
Yes, deployDataCenter.py just invokes CloudStack API calls the way the GUI
would.

That script makes it easier/less error prone to set up a cloud compared to
walking through the GUI each time and performing the same setup (it's easy
to make a mistake that way if you often create the same cloud environment
since doing this manually and often can be a bit tedious).

That kind of a script is also necessary for automation activities (like
automated tests that require a CloudStack cloud to be set up, later taken
down, then re-set up).

On Tue, Apr 7, 2015 at 10:33 PM, Koushik Das koushik@citrix.com wrote:

 After you have run deployDataCenter.py, it is possible to do
 VM/volume/network related operations from UI.

 From: Jeronimo Garcia [mailto:garciaj...@gmail.com]
 Sent: Tuesday, 7 April 2015 17:25
 To: dev@cloudstack.apache.org
 Cc: cloudstack-...@incubator.apache.org
 Subject: Re: Simulator.

 One more:
 Why Simulator isn't available on the gui (in the cluster creation part)
 , i know automated tests don't use the GUI but it would be handy anyways..
 Having said that the api call supports it:
 [Inline image 1]

 On Tue, Apr 7, 2015 at 12:43 PM, Jeronimo Garcia garciaj...@gmail.com
 mailto:garciaj...@gmail.com wrote:
 fantastic , i got it running using the basic marvin file:
 python ../marvin/marvin/deployDataCenter.py -i ../../setup/dev/basic.cfg

 Thanks again!

 On Tue, Apr 7, 2015 at 12:40 PM, Abhinandan Prateek 
 abhinandan.prat...@shapeblue.commailto:abhinandan.prat...@shapeblue.com
 wrote:
 Check this wiki
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Validating+check-ins+for+your+local+changes%2C+using+Simulator

 With simulator you do not need any real hardware/hosts.

 -abhi

  On 07-Apr-2015, at 4:56 pm, Jeronimo Garcia garciaj...@gmail.com
 mailto:garciaj...@gmail.com wrote:
 
  Hi guys.
 
  When using the simulator , Do you need to have a real host connected to
  your cluster to get mocked results? seems a bit odd.
 
  Thanks!!
 Find out more about ShapeBlue and our range of CloudStack related services

 IaaS Cloud Design  Build
 http://shapeblue.com/iaas-cloud-design-and-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.





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


RE: CloudStack Ansible Plays

2015-04-07 Thread Paul Angus
Hi David,

These are a group of plays to build a CloudStack management server, rather than 
modules as Rene has created.  I'll make them available in Ansible Galaxy 
(Ansible's community library) but I also wanted to make them available 
alongside the CloudStack chef recipes etc.  I guess if a 'container-ed' version 
of a management server is created it would also sit alongside that.

Regards

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

-Original Message-
From: David Nalley [mailto:da...@gnsa.us]
Sent: 07 April 2015 22:28
To: dev@cloudstack.apache.org
Cc: Sebastien Goasguen
Subject: Re: CloudStack Ansible Plays

On Tue, Apr 7, 2015 at 4:05 PM, Paul Angus paul.an...@shapeblue.com wrote:

  All,



 As part of the effort to make CloudStack more accessible, I’m updating
 the CloudStack Ansible plays to run on the current version of Ansible.
 And will include a mgmt. server based NFS server and Cloudmonkey.



 I’m going to put this version in Ansible Galaxy and update the article
 in the Docs.

 I’ll also donate the source files.  What/where is the best way to make
 these available ?





Upstream with Ansible perhaps?
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.


/tools, devcloud and extras

2015-04-07 Thread Ian Duffy
tl;dr I want to move devcloud4 into some community location, where
should I put it?

Hi all,

As previously discussed on the list awhile back I'm wanting to move
the devcloud4[1] stuff into more of a primary view and out of a public
repository that is just hosted on my personal github account. I have
questions around this

1) For those who have tried devcloud4 did it work, were you happy with
the experience? Do you feel the dependencies on vagrant, chef,
virtualbox, berkshelf, etc. introduce a whole new learning curve that
is  too complex?

2) Assuming 1) gets positive responses, what would the most
appropriate way to bring in devcloud4? I was thinking of using /tools,
however when I began to explore /tools I found myself in a place of
mystery and wonder

Originally I was thinking it may be acceptable to just replace
/tools/devcloud, however I've come to the conclusion this is a bad
idea given the great marvin configurations that are there and the pom
for deploying the devcloud db.

Then I began exploring.

/tools/devcloud - The original devcloud as documented on rohits
blog http://bhaisaab.org/logs/devcloud/ (I think???)

/tools/appliance/definitions/devcloud - Not a clue what this is?
Appears to be some veewee definitions that build up a single box of
mysql, nfs, management server and xen? Is this used by anyone?

/tools/vagrant/devcloud - This was cool, it was recently added it is
like the devcloud4 basic setup except it doesn't use chef for mysql
and nfs configuration. Instead it uses a bash script, loved the
simplicity of this.

/tools/devcloud-kvm - This appears just to be marvin configuration
files and a sql file I think it might be neat if we were to update
this with something like Rohit's peppercorn (assuming my understanding
of them is correct they are attempting to achieve the same goal). I
know there's another duplicate effort of a KVM development environment
by Marcus: http://marcus.mlsorensen.com/cloudstack-extras/

Slightly off topic but I think it would be a good idea if we began
to maintain some sort of a resources list (more recommended
resources over official resources) for Cloudstack. There's lots of
really cool things out there (chef cookbook, ansible cookbook,
cloudmonkey, marvin, prebuilt templates by openvm.eu, cloudstack perl
client and probably many more) that folks really wouldn't discover
unless they went searching.

[1] https://github.com/imduffy15/devcloud4
[2] https://github.com/bhaisaab/peppercorn


XenServer and Attach Volume

2015-04-07 Thread Francois Gaudreault

Hi,

Quick question. On Volume attach code for XenServer, does CloudStack 
push the /dev/sd* or /dev/xvd* for XenServer to use?


Is there any potential reasons why on some host, ACS would push /dev/hde 
instead of /dev/xvde for the 5th drive?


We use 4.4

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



Re: XenServer and Attach Volume

2015-04-07 Thread Mike Tutkowski
CloudStack picks a disk sequence number from the DB and passes it to the
XenServer agent. It appears the /dev path you see is perhaps selected
inside of XAPI.

This is the relevant CloudStack code in XenServerStorageProcessor
(diskNumber is the disk sequence number):

vbdr.VM = vm;

vbdr.VDI = vdi;

vbdr.bootable = false;

vbdr.userdevice = diskNumber;

vbdr.mode = Types.VbdMode.RW;

vbdr.type = Types.VbdType.DISK;

vbdr.unpluggable = true;


VBD vbd = VBD.create(conn, vbdr);


// Attach the VBD to the VM

vbd.plug(conn);

On Tue, Apr 7, 2015 at 8:31 PM, Francois Gaudreault 
fgaudrea...@cloudops.com wrote:

 Hi,

 Quick question. On Volume attach code for XenServer, does CloudStack push
 the /dev/sd* or /dev/xvd* for XenServer to use?

 Is there any potential reasons why on some host, ACS would push /dev/hde
 instead of /dev/xvde for the 5th drive?

 We use 4.4

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




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


Re: XenServer and Attach Volume

2015-04-07 Thread Francois Gaudreault
Ok, so then what would make a host not mapping the appropriate drive 
name? Is there a script dropped on XenServer or something?


It works fine on some host, and doesn't on some other on the same cluster :S

FG

On 2015-04-07 10:44 PM, Mike Tutkowski wrote:
CloudStack picks a disk sequence number from the DB and passes it to 
the XenServer agent. It appears the /dev path you see is perhaps 
selected inside of XAPI.


This is the relevant CloudStack code in XenServerStorageProcessor 
(diskNumber is the disk sequence number):


vbdr.VM = vm;

vbdr.VDI = vdi;

vbdr.bootable = false;

vbdr.userdevice = diskNumber;

vbdr.mode = Types.VbdMode.RW;

vbdr.type = Types.VbdType.DISK;

vbdr.unpluggable = true;


VBD vbd = VBD.create(conn, vbdr);


// Attach the VBD to the VM

vbd.plug(conn);


On Tue, Apr 7, 2015 at 8:31 PM, Francois Gaudreault 
fgaudrea...@cloudops.com mailto:fgaudrea...@cloudops.com wrote:


Hi,

Quick question. On Volume attach code for XenServer, does
CloudStack push the /dev/sd* or /dev/xvd* for XenServer to use?

Is there any potential reasons why on some host, ACS would push
/dev/hde instead of /dev/xvde for the 5th drive?

We use 4.4

-- 
Francois Gaudreault

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

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




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



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



Re: XenServer and Attach Volume

2015-04-07 Thread Mike Tutkowski
Perhaps Tim Mackey would know (I've CCed him here).

On Tue, Apr 7, 2015 at 8:51 PM, Francois Gaudreault 
fgaudrea...@cloudops.com wrote:

 Ok, so then what would make a host not mapping the appropriate drive name?
 Is there a script dropped on XenServer or something?

 It works fine on some host, and doesn't on some other on the same cluster
 :S

 FG

 On 2015-04-07 10:44 PM, Mike Tutkowski wrote:

 CloudStack picks a disk sequence number from the DB and passes it to the
 XenServer agent. It appears the /dev path you see is perhaps selected
 inside of XAPI.

 This is the relevant CloudStack code in XenServerStorageProcessor
 (diskNumber is the disk sequence number):

 vbdr.VM = vm;

 vbdr.VDI = vdi;

 vbdr.bootable = false;

 vbdr.userdevice = diskNumber;

 vbdr.mode = Types.VbdMode.RW;

 vbdr.type = Types.VbdType.DISK;

 vbdr.unpluggable = true;


 VBD vbd = VBD.create(conn, vbdr);


 // Attach the VBD to the VM

 vbd.plug(conn);


 On Tue, Apr 7, 2015 at 8:31 PM, Francois Gaudreault 
 fgaudrea...@cloudops.com mailto:fgaudrea...@cloudops.com wrote:

 Hi,

 Quick question. On Volume attach code for XenServer, does
 CloudStack push the /dev/sd* or /dev/xvd* for XenServer to use?

 Is there any potential reasons why on some host, ACS would push
 /dev/hde instead of /dev/xvde for the 5th drive?

 We use 4.4

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

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




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



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




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