[GitHub] cloudstack pull request: Fix the bug when build apidoc under windo...

2015-03-24 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/114#issuecomment-85469871
  
this is the commit 
https://github.com/apache/cloudstack/commit/52ffccff5f1436dd5762fcc90050aadaf82eedad


---
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: Fwd: [GSOC] Setting up multiple devcloud host in cloudstack dev environment

2015-03-24 Thread Pierre-Luc Dion
Tilak,
when you run the following command:  python -m marvin.deployDataCenter -i
/path/to/GSoC-2014/repo/advanced/advanced.json
you replace /path/to/GSoC-2014/repo by a valid one right?



On Tue, Mar 24, 2015 at 3:27 AM, Tilak Raj Singh tila...@gmail.com wrote:

 I couldnt deploy the zone pod cluster successfully hence there were no
 hosts and I couldnt launch a VM. Later what I did was manually create zone
 pod cluster and added the host and storage through the UI and it was
 successfull. The system vms came up nicely. But it gave me connection timed
 out when I tried to view the console of the CPVM or SSVM.

 On Tue, Mar 24, 2015 at 7:45 AM, Will Stevens williamstev...@gmail.com
 wrote:

  Can you launch a VM through the CS ui?
  On Mar 23, 2015 9:14 PM, Tilak Raj Singh tila...@gmail.com wrote:
 
   Hi Will,
  
   yeah cloudstack management is running fine...I can open
   127.0.0.1:8080/client on my browser...And there are two vms
   running..xenserver : I can ssh into it on port  and management : i
  can
   ssh into it on port 2200. I configured the networking in virtual box
  under
   preferences/network/vboxnet0 192.168.56.1 and dhcp disabled...but there
  is
   nothing under preferences/network/NAT in the virtualbox...do I have to
   configure something there??
  
   On Tue, Mar 24, 2015 at 6:32 AM, Will Stevens 
 williamstev...@gmail.com
   wrote:
  
Is the cloudstack up and working?  Did you check in virtual box if
 the
box(s?) are up?  If so can you check the logs?
   
It seems like you are not getting your networking configured because
  the
   VM
seems to come up but there is no connection. Is the network reported
correct?  Nat and host only is right?  I think that is what I read.
   
Ws
On Mar 23, 2015 8:54 PM, Tilak Raj Singh tila...@gmail.com
 wrote:
   
 -- Forwarded message --
 From: Tilak Raj Singh tila...@gmail.com
 Date: Tue, Mar 24, 2015 at 6:12 AM
 Subject: Re: [GSOC] Setting up multiple devcloud host in cloudstack
  dev
 environment
 To: Pierre-Luc Dion pd...@cloudops.com


 I just tried deploying on 4.3 branch using binary directory on 4.3
   branch
 https://github.com/imduffy15/devcloud4/tree/master/basic and
  followed
the
 instructions given here
 https://github.com/imduffy15/devcloud4/blob/master/basic/README.md

 still I am getting the same error... :/

 Traceback (most recent call last):
   File /usr/lib/python2.7/runpy.py, line 162, in
  _run_module_as_main
 __main__, fname, loader, pkg_name)
   File /usr/lib/python2.7/runpy.py, line 72, in _run_code
 exec code in run_globals
   File
/usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py,
 line 572, in module
 deploy.deploy()
   File
/usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py,
 line 554, in deploy
 self.loadCfg()
   File
/usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py,
 line 516, in loadCfg
 mgtDetails.apiKey, mgtDetails.securityKey =
 self.registerApiKey()
   File
/usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py,
 line 485, in registerApiKey
 listuserRes =
 self.testClient.getApiClient().listUsers(listuser)
   File


   
  
 
 /usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py,
 line 527, in listUsers
 response = self.connection.marvinRequest(command,
 response_type=response, method=method)
   File

  
 /usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py,
 line 272, in marvinRequest
 response = jsonHelper.getResultObj(response.json(),
  response_type)
   File /usr/local/lib/python2.7/dist-packages/requests/models.py,
   line
 802, in json
 return json.loads(self.text, **kwargs)
   File /usr/lib/python2.7/dist-packages/simplejson/__init__.py,
  line
413,
 in loads
 return _default_decoder.decode(s)
   File /usr/lib/python2.7/dist-packages/simplejson/decoder.py,
 line
402,
 in decode
 obj, end = self.raw_decode(s, idx=_w(s, 0).end())
   File /usr/lib/python2.7/dist-packages/simplejson/decoder.py,
 line
420,
 in raw_decode
 raise JSONDecodeError(No JSON object could be decoded, s,
 idx)
 simplejson.decoder.JSONDecodeError: No JSON object could be
 decoded:
line 1
 column 0 (char 0)


 I cant figure out if the issue is in python or simplejson so I
reinstalled
 both but I am still stuck at the same stage

 On Tue, Mar 24, 2015 at 4:53 AM, Tilak Raj Singh 
 tila...@gmail.com
 wrote:

  Yeah I tried the binary-installation-basic one but ended up
 getting
   the
  errors I posted above. I followed up trying the not binary
 advanced
   as
 you
  are provisioning. Doing vagrant up setup xenserver and management

vm's taskmgr.exe only show cpu core num 2

2015-03-24 Thread w...@landhightech.com
Hello, 

I'm working on 4.4.2 cloudstack + vmware, vcenter 5.5 and Esxi 5.5. 
I'm facing a problem when i create a VM with win7 by iso. 
My vm configure is CPU Cores num 8 and 16G Memory and ISO file version is 
en_windows_7_ultimate_x64_dvd_x15-66043.iso. 
But my vm's taskmgr.exe only show cpu core num 2. 
How shoud I sovle the problem? 

Thanks.



w...@landhightech.com


[VOTE]Apache CloudStack 4.4.3 release candidate 4.4-RC20150324T1321

2015-03-24 Thread Daan Hoogland
Hi All, (please note that the last release candidate did not get
enough attention to make quorum)

I've created a 4.4.3 release, 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.4-RC20150324T1321
Commit: 483490534a8a091c7af7c61d1eaf5c0192f646d9

List of changes:
https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/tags/4.4.3

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

PGP release keys (signed using AA4736F3):
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)



-- 
Daan


[GitHub] cloudstack pull request: remove stale project cloud-systemvm

2015-03-24 Thread DaanHoogland
Github user DaanHoogland commented on the pull request:

https://github.com/apache/cloudstack/pull/126#issuecomment-85479293
  
good point, will have to check that, thanks

On Tue, Mar 24, 2015 at 12:22 PM, Rohit Yadav notificati...@github.com
wrote:

 @DaanHoogland https://github.com/DaanHoogland just want to confirm if
 we are in anyway using those files in systemvm.iso generation or other
 places?

 —
 Reply to this email directly or view it on GitHub
 https://github.com/apache/cloudstack/pull/126#issuecomment-85455210.




-- 
Daan



---
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-03-24 Thread Pierre-Luc Dion
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.
 
 
  any thought?
 
  +1, I committed the Dockerfile.
 
  But yes we should have a cloudstack organization in docker hub and setup
  automated builds.
 
  Ideally we can also setup a drone.io instance to do some continuous
  deployment…but this ties with the overalll jenkins/testing infra that we
  really need to get cleaned up and organized.
 
  -sebastuen
 
 




Re: [VOTE] Apache CloudStack 4.5.1-rc1

2015-03-24 Thread Andrei Mikhailovsky
Hello, 

Does anyone have an idea when the 4.5.1 is going to be out including the 
packaged versions? It has been a while since the unfortunate, but well spotted, 
release attempt of the 4.5.0 and I was hoping to see the 4.5.1 with fixes 
shortly. 

Cheers 

Andrei 
- Original Message -

 From: Rohit Yadav rohit.ya...@shapeblue.com
 To: dev@cloudstack.apache.org
 Cc: us...@cloudstack.apache.org
 Sent: Friday, 20 March, 2015 7:29:18 AM
 Subject: Re: [VOTE] Apache CloudStack 4.5.1-rc1

 (+ users)

 Hi all,

 I've built signed centos63/centos7/debian repository out of this RC
 for
 your convenience: http://packages.shapeblue.com/cloudstack/testing/

 4.5 systemvm templates:
 http://packages.shapeblue.com/systemvmtemplate/4.5/

 (If you're on 4.5.0. There is no need to upgrade your SystemVM
 templates).

 Happy testing!

 On Friday 20 March 2015 02:06 AM, David Nalley wrote:
  I did indeed - it's 4.5.1 RC - my apologies for not checking the
  template closely enough to eliminate all of the fill in the blank
  spots.
 
  On Thu, Mar 19, 2015 at 11:01 AM, Geoff Higginbottom
  geoff.higginbot...@shapeblue.com wrote:
  Hi David,
 
  You appear to have left x.x.x.x in the e-mail, I think you meant
  to put
  4.5.1 here instead.
 
  Regards
 
  Geoff Higginbottom
  CTO / Cloud Architect
 
  D: +44 20 3603 0542 tel:+442036030542 | S: +44 20 3603 0540
  tel:+442036030540 | M: +447968161581 tel:+447968161581
 
  geoff.higginbot...@shapeblue.com | www.shapeblue.com
  htp://www.shapeblue.com/ | Twitter:@cloudstackguru
  https://twitter.com/#!/cloudstackguru
 
  ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
  x-apple-data-detectors://5
 
 
 
 
  On 19/03/2015 15:40, David Nalley da...@gnsa.us wrote:
 
  Hi All,
 
  I've created a X.X.X release, 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-RC20150319T1429
  Commit: 3c06466e208769f32c03767abc6bd2680fd8
 
  Source release (checksums and signatures are available at the
  same
  location):
  https://dist.apache.org/repos/dist/dev/cloudstack/4.5.1-rc1/
 
  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)
 
  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.

 --
 Regards,
 Rohit Yadav
 Software Architect, ShapeBlue
 M. +91 8826230892 | rohit.ya...@shapeblue.com
 Blog: bhaisaab.org | Twitter: @_bhaisaab
 PS. If you see any footer below, I did not add it :)
 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 

Re: [DOCKER] cloudstack organisation

2015-03-24 Thread Sebastien Goasguen

 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

 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.


 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.

You could put the dockerfile in /tools or something

 
 
 [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.
 
 
 any thought?
 
 +1, I committed the Dockerfile.
 
 But yes we should have a cloudstack organization in docker hub and setup
 automated builds.
 
 Ideally we can also setup a drone.io instance to do some continuous
 deployment…but this ties with the overalll jenkins/testing infra that we
 really need to get cleaned up and organized.
 
 -sebastuen
 
 



Re: Review Request 30553: A new script to test_hosts and added update modules for few classes in base.py

2015-03-24 Thread Sowmya Krishnan


 On March 24, 2015, 11:59 a.m., Sowmya Krishnan wrote:
  Ship It!
 
 Sowmya Krishnan wrote:
 Pushed to master: 5f3f20a79ce658077dd527f390cabd5fa29814f2
 Please use GitHub pull request in future. Thanks.

Branch: refs/heads/master
Commit: ead41f9215546d38d29023e44fde7ec6b946dc9d
Parents: 52ffccf
Author: Abhinav Roy abhinav@citrix.com
Authored: Tue Mar 24 14:07:57 2015 +0530
Committer: Sowmya Krishnan sowmya.krish...@apache.org
Committed: Tue Mar 24 17:46:22 2015 +0530

Please mark review as Submitted


- Sowmya


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


On March 24, 2015, 8:48 a.m., abhinav roy wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/30553/
 ---
 
 (Updated March 24, 2015, 8:48 a.m.)
 
 
 Review request for cloudstack, sanjeev n and SrikanteswaraRao Talluri.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 This Patch has following changes :
 
 1. A new script to test host status after enabling/disabling of Pods, 
 Clusters, Zones or by managing/unmanaging of clusters etc.
 
 2. update Modules added for Pod, Zone, cluster classes in base.py
 
 
 Diffs
 -
 
   test/integration/component/test_escalations_hosts.py PRE-CREATION 
   tools/marvin/marvin/lib/base.py 5ca1bc2 
 
 Diff: https://reviews.apache.org/r/30553/diff/
 
 
 Testing
 ---
 
 Disable the host and it's cluster, ... === TestName: 
 test_01_op_host_capacity_disable_cluster | Status : SUCCESS ===
 ok
 Disable the host and it's pod, ... === TestName: 
 test_02_op_host_capacity_disable_pod | Status : SUCCESS ===
 ok
 Disable the host and it's zone, ... === TestName: 
 test_03_op_host_capacity_disable_zone | Status : SUCCESS ===
 ok
 Disable the host then unmanage the cluster, ... === TestName: 
 test_04_disable_host_unmanage_cluster_check_hosts_status | Status : SUCCESS 
 ===
 ok
 
 --
 Ran 4 tests in 126.360s
 
 
 Thanks,
 
 abhinav roy
 




Re: [DOCKER] cloudstack organisation

2015-03-24 Thread Pierre-Luc Dion
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.

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

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.



[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.
 
 
  any thought?

 +1, I committed the Dockerfile.

 But yes we should have a cloudstack organization in docker hub and setup
 automated builds.

 Ideally we can also setup a drone.io instance to do some continuous
 deployment…but this ties with the overalll jenkins/testing infra that we
 really need to get cleaned up and organized.

 -sebastuen




[GitHub] cloudstack pull request: 4.4 for centos7

2015-03-24 Thread asfgit
Github user asfgit closed the pull request at:

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


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


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

2015-03-24 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/128#issuecomment-85455853
  
LGTM!


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


Re: 4.4 HEAD broken

2015-03-24 Thread Daan Hoogland
fyi: I pulled 4.4 on my private computer and the snmp tests don't fail
there. It seems to have to do with my hostname and it resolving: no
issue, sorry

On Mon, Mar 23, 2015 at 3:24 PM, Daan Hoogland daan.hoogl...@gmail.com wrote:
 Failed tests:
 appendTest(org.apache.cloudstack.alert.snmp.SnmpTrapAppenderTest):
 error snmpHelper list size not as expected  expected:0 but was:2

 the test class wasn't touched this or last year. Anybody touched snmp
 functionality?

 --
 Daan



-- 
Daan


Re: Thoughts on CloudStack while starting as new VP

2015-03-24 Thread Rohit Yadav
Great proposals Sebastien! Let's AWSAPI, improve code, remove dead code, 
cleanup JIRA/RB cleanup and move to Github PR.

I hope we’ll have a better UIs for ACS users soon!

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.


[GitHub] cloudstack pull request: CLOUDSTACK-8278: Usage test path - Correc...

2015-03-24 Thread asfgit
Github user asfgit closed the pull request at:

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


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


[GitHub] cloudstack pull request: Fix the bug when build apidoc under windo...

2015-03-24 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/114#issuecomment-85466253
  
@jiangyt I'm pushing a fix that I believe should work on Cygwin, please 
test that using master and let me know here or on dev ML. The fix at least 
won't break on Linux/Mac environments.


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


[GitHub] cloudstack pull request: CLOUDSTACK-8278: Usage test path - Correc...

2015-03-24 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/127#issuecomment-85456697
  
@gauravaradhye looks good, merging.. if this break travis you need to fix 
it :)


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


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

2015-03-24 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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: Review Request 30553: A new script to test_hosts and added update modules for few classes in base.py

2015-03-24 Thread Sowmya Krishnan


 On March 24, 2015, 11:59 a.m., Sowmya Krishnan wrote:
  Ship It!

Pushed to master: 5f3f20a79ce658077dd527f390cabd5fa29814f2
Please use GitHub pull request in future. Thanks.


- Sowmya


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


On March 24, 2015, 8:48 a.m., abhinav roy wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/30553/
 ---
 
 (Updated March 24, 2015, 8:48 a.m.)
 
 
 Review request for cloudstack, sanjeev n and SrikanteswaraRao Talluri.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 This Patch has following changes :
 
 1. A new script to test host status after enabling/disabling of Pods, 
 Clusters, Zones or by managing/unmanaging of clusters etc.
 
 2. update Modules added for Pod, Zone, cluster classes in base.py
 
 
 Diffs
 -
 
   test/integration/component/test_escalations_hosts.py PRE-CREATION 
   tools/marvin/marvin/lib/base.py 5ca1bc2 
 
 Diff: https://reviews.apache.org/r/30553/diff/
 
 
 Testing
 ---
 
 Disable the host and it's cluster, ... === TestName: 
 test_01_op_host_capacity_disable_cluster | Status : SUCCESS ===
 ok
 Disable the host and it's pod, ... === TestName: 
 test_02_op_host_capacity_disable_pod | Status : SUCCESS ===
 ok
 Disable the host and it's zone, ... === TestName: 
 test_03_op_host_capacity_disable_zone | Status : SUCCESS ===
 ok
 Disable the host then unmanage the cluster, ... === TestName: 
 test_04_disable_host_unmanage_cluster_check_hosts_status | Status : SUCCESS 
 ===
 ok
 
 --
 Ran 4 tests in 126.360s
 
 
 Thanks,
 
 abhinav roy
 




[GitHub] cloudstack pull request:

2015-03-24 Thread ghxandsky
Github user ghxandsky commented on the pull request:


https://github.com/apache/cloudstack/commit/b527aabfc352474541a2f6c7831b819356ec453a#commitcomment-10363120
  
I donot think this is good idea to backport centos7 packaging. There is no 
strict testing on it.


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


[GitHub] cloudstack pull request: Fix the bug when build apidoc under windo...

2015-03-24 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/114#issuecomment-85465336
  
Hi, this commit breaks for unix environments. So I've created a fix using 
yours which seems to work for me; can you test it on your cygwin environment?
 
- python $thisdir/gen_toc.py $(find . -type f)
+ PLATFORM=`uname -s`
+ if [[ $PLATFORM =~ .*WIN.* ]]
+ then
+ gen_toc_file=`cygpath -w $thisdir`\\gen_toc.py
+ argfiles=`find . -type f`
+ for file in $argfiles; do
+ echo Parse file $file;
+ python $gen_toc_file $file;
+ done
+ else
+ python $thisdir/gen_toc.py $(find . -type f)
+ fi


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


[Event] - Cloudstack European User Group

2015-03-24 Thread Giles Sirett
Spring meeting of CSEUG, kindly hosted by BT
https://www.eventbrite.co.uk/e/cloudstack-european-user-group-tickets-16282793273

please register early - limited seats

Agenda is TBA  - ping me if you have a speaking proposal/idea



Kind Regards
Giles

Giles Sirett
CEO

[Description: Mail Logo Bottom Align]

D: +44 20 3603 0541 | S: +44 20 3603 0540 | M: +44 796 111 2055

giles.sir...@shapeblue.commailto:giles.sir...@shapeblue.com | 
www.shapeblue.comhttp://www.shapeblue.com/ | 
Twitter:@shapeBluehttps://twitter.com/#!/shapeblue


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

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge - rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software 
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

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


[GitHub] cloudstack pull request: remove stale project cloud-systemvm

2015-03-24 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/126#issuecomment-85455210
  
@DaanHoogland just want to confirm if we are in anyway using those files in 
systemvm.iso generation or other places?


---
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: Review Request 30553: A new script to test_hosts and added update modules for few classes in base.py

2015-03-24 Thread Sowmya Krishnan

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

Ship it!


Ship It!

- Sowmya Krishnan


On March 24, 2015, 8:48 a.m., abhinav roy wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/30553/
 ---
 
 (Updated March 24, 2015, 8:48 a.m.)
 
 
 Review request for cloudstack, sanjeev n and SrikanteswaraRao Talluri.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 This Patch has following changes :
 
 1. A new script to test host status after enabling/disabling of Pods, 
 Clusters, Zones or by managing/unmanaging of clusters etc.
 
 2. update Modules added for Pod, Zone, cluster classes in base.py
 
 
 Diffs
 -
 
   test/integration/component/test_escalations_hosts.py PRE-CREATION 
   tools/marvin/marvin/lib/base.py 5ca1bc2 
 
 Diff: https://reviews.apache.org/r/30553/diff/
 
 
 Testing
 ---
 
 Disable the host and it's cluster, ... === TestName: 
 test_01_op_host_capacity_disable_cluster | Status : SUCCESS ===
 ok
 Disable the host and it's pod, ... === TestName: 
 test_02_op_host_capacity_disable_pod | Status : SUCCESS ===
 ok
 Disable the host and it's zone, ... === TestName: 
 test_03_op_host_capacity_disable_zone | Status : SUCCESS ===
 ok
 Disable the host then unmanage the cluster, ... === TestName: 
 test_04_disable_host_unmanage_cluster_check_hosts_status | Status : SUCCESS 
 ===
 ok
 
 --
 Ran 4 tests in 126.360s
 
 
 Thanks,
 
 abhinav roy
 




RE: 2-level authentication implementation issues

2015-03-24 Thread Artjoms Petrovs
Hello, Rohit!

Thank you for a reply and all the effort in refactoring the code in 4.5.0. Will 
give it a try!

Kind Regards,
A. 

 

-Original Message-
From: Rohit Yadav [mailto:rohit.ya...@shapeblue.com] 
Sent: Friday, March 06, 2015 9:47 AM
To: dev@cloudstack.apache.org
Subject: Re: 2-level authentication implementation issues

Artjoms,

With CloudStack 4.5.0+, you can implement you own authentication plugin,
see:

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Authentication+Refactoring

You may read the default login implementation and saml2 plugin implementation 
as examples.

On Thursday 05 March 2015 02:45 PM, Artjoms Petrovs wrote:
 Hello, CS Developers!

 I am developing multi-level authentication for CloudStack v4.4.2 and I 
 got in a little confusion. As I can see all the commands can be called 
 only by authenticated users, the only exception goes for login and 
 logout commands, as it is stated in ApiServlet.

 Is there a possibility to hack or extend ApiServlet, so custom login 
 command can be called without authentication, meaning the module will 
 be independent (no changes in cloud-server).


 Kind Regards,
 Artjoms V. Petrovs

 http://www.telia.lv/

 *Artjoms Petrovs
 *System Analyst / Programmer

 Telia Latvija, Ltd. | Lielvardes street 8a, Riga, Latvia, LV-1006
 Ph.:   +371 67082144

 Mob. +371 27498048
 artjoms.petr...@telia.lv | telia.lv

 This email (and any attachements or hyperlinks within it) may contain 
 information that is confidential, legally  privileged or otherwise 
 protected from disclosure.
 If you are not the intended recipient of this email, you are not 
 entitled to use, disclose, distribute, copy, print, disseminate or 
 rely on this email in any way. If you have received this email in 
 error, please notify the sender immediately by or email and destroy 
 it, and all copies of it.


--
Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab PS. If you see any footer below, I did 
not add it :) 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: Re: CloudStack manger HyperV

2015-03-24 Thread wangyuyang1...@163.com
thanks,i update the hyperv agent is ok.my cloudstack is 4.4.2 ,so i download 
the new agent 4.4.2。



wangyuyang1...@163.com
 
From: Anshul Gangwar
Date: 2015-03-24 15:25
To: dev@cloudstack.apache.org
Subject: Re: CloudStack manger HyperV
Which Cloudstack version you are using and from where you have downloaded the 
Hyper-V Agent?
 
Regards,
Anshul
 
 
 
 
On 24-Mar-2015, at 12:30 pm, 
wangyuyang1...@163.commailto:wangyuyang1...@163.com wrote:
 
HI, ALL
 
   I create vm in hyper-v(win2012 r2),but throw exception: *.vhdx miss.
   I found, while create vm,create *.vhd disk. but start vm founding *.vhdx 
disk.
 
  I hope to get some Suggestions for this error.
 Thank your very much!!!
 
 
ERROR LOG:
 
2015-03-24 14:12:00,890 DEBUG [c.c.h.h.r.HypervDirectConnectResource] 
(DirectAgent-337:ctx-4b7ac6bf) POST response is 
[{com.cloud.agent.api.StartAnswer:{result:false,details:com.cloud.agent.api.StartCommand
 fail on exceptioni-2-150-VM: non-existent volume, missing 
\\192.168.212.175\primary\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhdxsmb://192.168.212.175/primary/b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhdx
 for drive {
data: {
org.apache.cloudstack.storage.to.VolumeObjectTO: {
uuid: b0b6d56d-41ef-43a6-8ab2-2091854f6b1c,
volumeType: ROOT,
dataStore: {
org.apache.cloudstack.storage.to.PrimaryDataStoreTO: {
uuid: 02e4-3af1-3a31-8535-e557eff849da,
id: 14,
poolType: SMB,
host: 192.168.212.175,
path: /primary?user=administratordomain=wh.comhttp://wh.com,
port: 445,
url: 
SMB://192.168.212.175/primary?user=administratordomain=wh.com/?ROLE=PrimarySTOREUUID=02e4-3af1-3a31-8535-e557eff849da
}
},
name: ROOT-150,
size: 5368709120,
path: 
192.168.212.175\\primary\\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd,
volumeId: 151,
vmName: i-2-150-VM,
accountId: 2,
format: VHDX,
id: 151,
deviceId: 0,
hypervisorType: Hyperv
}
},
diskSeq: 0,
path: 
192.168.212.175\\primary\\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd,
type: ROOT,
_details: {
managed: false,
storagePort: 445,
storageHost: 192.168.212.175,
volumeSize: 5368709120
}
},vm:{id:150,name:i-2-150-VM,type:User,cpus:1,minSpeed:1000,maxSpeed:1000,minRam:1073741824,maxRam:1073741824,arch:x86_64,os:Red
 Hat Enterprise Linux 6.4 
(64-bit),bootArgs:,rebootOnCrash:false,enableHA:false,limitCpuUse:false,enableDynamicallyScaleVm:false,vncPassword:62a3a3c5e38d0c7a,params:{},uuid:da6990fe-f5b6-4f70-bae6-d80497468ee1,disks:[{data:{org.apache.cloudstack.storage.to.VolumeObjectTO:{uuid:b0b6d56d-41ef-43a6-8ab2-2091854f6b1c,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:02e4-3af1-3a31-8535-e557eff849da,id:14,poolType:SMB,host:192.168.212.175,path:/primary?user=administratordomain=wh.comhttp://wh.com,port:445,url:SMB://192.168.212.175/primary?user=administratordomain=wh.com/?ROLE=PrimarySTOREUUID=02e4-3af1-3a31-8535-e557eff849da}},name:ROOT-150,size:5368709120,path:\\192.168.212.175\primary\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhdsmb://192.168.212.175/primary/b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd,volumeId:151,vmName:i-2-150-VM,accountId:2,format:VHDX,id:151,deviceId:0,hypervisorType:Hyperv}},diskSeq:0,path:\\192.168.212.175\primary\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhdsmb://192.168.212.175/primary/b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd,type:ROOT,_details:{managed:false,storagePort:445,storageHost:192.168.212.175,volumeSize:5368709120}},{data:{org.apache.cloudstack.storage.to.TemplateObjectTO:{path:template/tmpl/2/202/202-2-186eb69f-4535-3ed0-8dd7-96805249aff0.iso,origUrl:http://secure-web.cisco.com/1lvHyTMd1BD7fU8mhQcJxYVZfV577-WUFNR3YuwYEjwv1YEq_3q6OzbpEdpTkYUzTcSCIa_E2dxu2l36ib4c4BrrJcpmmcahQ6MsAsy8R2couk0rekrJM7xD7cp-Ca22wTzq669xi7Vfn8ZtW-9LENqR4LsBaiQvPdi7cmv15-oE/http%3A%2F%2F192.168.217.248%2Frhel-server-6.4-x86_64-dvd.iso,uuid:a642a1d2-3ae6-4d9d-8321-45bc6a017903,id:202,format:ISO,accountId:2,checksum:467b53791903f9a0c477cbb1b24ffd1f,hvm:true,displayText:rhel6.4,imageDataStore:{com.cloud.agent.api.to.NfsTO:{_url:cifs://192.168.212.175/secondary?user=administratordomain=wh.com,_role:Image}},name:202-2-186eb69f-4535-3ed0-8dd7-96805249aff0,guestOsType:Red
 Hat Enterprise Linux 6.4 
(64-bit),hypervisorType:None}},diskSeq:3,type:ISO}],nics:[{deviceId:0,networkRateMbps:200,defaultNic:true,uuid:1595c094-2d59-4167-93cd-86fcb79d90ae,ip:192.168.216.10,netmask:255.255.255.0,gateway:192.168.216.254,mac:06:6c:60:00:00:74,dns1:8.8.8.8,dns2:,broadcastType:Vlan,type:Guest,broadcastUri:vlan://216,isolationUri:vlan://216,isSecurityGroupEnabled:false}]},contextMap:{}}}]
 
 
 
wangyuyang1...@163.commailto:wangyuyang1...@163.com
 


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

2015-03-24 Thread gauravaradhye
GitHub user gauravaradhye opened a pull request:

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

CLOUDSTACK-8251: Adding automation test cases for dedicated public IP ranges

Test cases for dedicated public IP ranges feature.
Tested on KVM setup.
Although this test cases won't break any other test cases, it's possible 
that these test might fail when run in parallel with other test cases due to 
shared resources in the setup. Hence adding the test suite to maint folder so 
that it is run separately and serially.

Log:
Dedicate public IP range to an account in root domain ... === TestName: 
test_01_dedicate_public_ip_range_root_domain |
Status : SUCCESS ===
ok
Dedicate public IP range to an account in user domain ... === TestName: 
test_02_dedicate_public_ip_range_user_domain |
Status : SUCCESS ===
ok
Dedicate public IP range to an account during its creation only ... === 
TestName:
test_03_dedicate_during_creation_root_domain | Status : SUCCESS ===
ok
Dedicate public IP range to an account in user domain during its creation 
only ... === TestName:
test_04_dedicate_during_creation_user_domain | Status : SUCCESS ===
ok
Create guest network in account with dedicated public ip range and acquire 
IPs in network ... === TestName:
test_05_acquire_ip_single_guest_network | Status : SUCCESS ===
ok
Create multiple guest networks and acquire IPs from dedicated range ... === 
TestName:
test_06_acquire_ip_multiple_guest_network | Status : SUCCESS ===
ok
Acquire public IP from dedicated range in network tier of VPC ... === 
TestName: test_08_acquire_ip_in_vpc | Status :
SUCCESS ===
ok
Dedicate invalid public IP range to an account ... === TestName: 
test_10_dedicate_invalid_ip_range | Status : SUCCESS ===
ok
Dedicate public IP range to invalid account ... === TestName: 
test_11_dedicate_to_wrong_account | Status : SUCCESS ===
ok
Dedicate already dedicated public IP range ... === TestName: 
test_12_dedicate_already_dedicated_range | Status : SUCCESS
===
ok
Dedicate public IP range to an account having lesser public ip limit than 
range ... === TestName: test_13_public_ips_limit
| Status : SUCCESS ===
ok
Disassociate a public IP from dedicated public IP range ... === TestName: 
test_14_release_ip_from_dedicated_range |
Status : SUCCESS ===
ok
Release dedicated public ip range with no IPs acquired ... === TestName: 
test_15_release_dedicated_range | Status :
SUCCESS ===
ok
Delete dedicated public IP range with no network rules on IP addresses ... 
=== TestName:
test_16_delete_ip_range_no_network_rules | Status : SUCCESS ===
ok
Delete Dedicated public IP range with network rules on IP addresses ... === 
TestName:
test_17_delete_ip_range_network_rules | Status : SUCCESS ===
ok
Delete network with public IP from dedicated range acquired in it ... === 
TestName: test_18_delete_network | Status :
SUCCESS ===
ok
Create guest network in account with dedicated public ip range ... === 
TestName: test_19_delete_account | Status : SUCCESS
===
ok
Create guest network in account with dedicated public ip range ... === 
TestName: test_20_release_range_not_dedicated |
Status : SUCCESS ===
ok
Dedicate a public IP range, acquire some IPs and relese the range ... === 
TestName:
test_21_release_dedicated_range_ip_address_in_use | Status : SUCCESS ===
ok

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

$ git pull https://github.com/gauravaradhye/cloudstack 8251

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

https://github.com/apache/cloudstack/pull/128.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 #128


commit 42da7c2a6170d620222dba958ebb971f7f0811f5
Author: Gaurav Aradhye gaurav.arad...@clogeny.com
Date:   2015-03-24T10:46:50Z

CLOUDSTACK-8251: Adding automation test cases for dedicated public IP ranges




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


[GitHub] cloudstack pull request: remove stale project cloud-systemvm

2015-03-24 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/126#issuecomment-85455368
  
Since this removes cloud-systemvm project completely, I'll wait for at 
least one more person to confirm/review before we can merge this into master.


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


[GitHub] cloudstack pull request: systemvm: use Debian http redirector for ...

2015-03-24 Thread asfgit
Github user asfgit closed the pull request at:

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


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


[GitHub] cloudstack pull request: Fix the bug when build apidoc under windo...

2015-03-24 Thread asfgit
Github user asfgit closed the pull request at:

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


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


[GitHub] cloudstack pull request: systemvm: use Debian http redirector for ...

2015-03-24 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/123#issuecomment-85454797
  
LGTM!


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


Re: Thoughts on CloudStack while starting as new VP

2015-03-24 Thread Alex Hitchins
Has the idea of a 'light' UI been discussed? More aimed at end users who we 
could tailor dialog to and keep it fast and simple.

I could see this as a good starting point to redevelop the whole UI.




 On 24 Mar 2015, at 10:53, Rohit Yadav rohit.ya...@shapeblue.com wrote:
 
 Great proposals Sebastien! Let's AWSAPI, improve code, remove dead code, 
 cleanup JIRA/RB cleanup and move to Github PR.
 
 I hope we’ll have a better UIs for ACS users soon!
 
 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: Fwd: [GSOC] Setting up multiple devcloud host in cloudstack dev environment

2015-03-24 Thread Tilak Raj Singh
yeah ... I replace it with the repo directory
/root/gsoc/devcloud/advanced/advanced.json ... devcloud is the cloned git
repository from github. There seems to be a issue with marvin I guess...
because configuring the deployement manually from the CS UI as listed in
advanced.json works..

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

 Tilak,
 when you run the following command:  python -m marvin.deployDataCenter -i
 /path/to/GSoC-2014/repo/advanced/advanced.json
 you replace /path/to/GSoC-2014/repo by a valid one right?



 On Tue, Mar 24, 2015 at 3:27 AM, Tilak Raj Singh tila...@gmail.com
 wrote:

  I couldnt deploy the zone pod cluster successfully hence there were no
  hosts and I couldnt launch a VM. Later what I did was manually create
 zone
  pod cluster and added the host and storage through the UI and it was
  successfull. The system vms came up nicely. But it gave me connection
 timed
  out when I tried to view the console of the CPVM or SSVM.
 
  On Tue, Mar 24, 2015 at 7:45 AM, Will Stevens williamstev...@gmail.com
  wrote:
 
   Can you launch a VM through the CS ui?
   On Mar 23, 2015 9:14 PM, Tilak Raj Singh tila...@gmail.com wrote:
  
Hi Will,
   
yeah cloudstack management is running fine...I can open
127.0.0.1:8080/client on my browser...And there are two vms
running..xenserver : I can ssh into it on port  and management :
 i
   can
ssh into it on port 2200. I configured the networking in virtual box
   under
preferences/network/vboxnet0 192.168.56.1 and dhcp disabled...but
 there
   is
nothing under preferences/network/NAT in the virtualbox...do I have
 to
configure something there??
   
On Tue, Mar 24, 2015 at 6:32 AM, Will Stevens 
  williamstev...@gmail.com
wrote:
   
 Is the cloudstack up and working?  Did you check in virtual box if
  the
 box(s?) are up?  If so can you check the logs?

 It seems like you are not getting your networking configured
 because
   the
VM
 seems to come up but there is no connection. Is the network
 reported
 correct?  Nat and host only is right?  I think that is what I read.

 Ws
 On Mar 23, 2015 8:54 PM, Tilak Raj Singh tila...@gmail.com
  wrote:

  -- Forwarded message --
  From: Tilak Raj Singh tila...@gmail.com
  Date: Tue, Mar 24, 2015 at 6:12 AM
  Subject: Re: [GSOC] Setting up multiple devcloud host in
 cloudstack
   dev
  environment
  To: Pierre-Luc Dion pd...@cloudops.com
 
 
  I just tried deploying on 4.3 branch using binary directory on
 4.3
branch
  https://github.com/imduffy15/devcloud4/tree/master/basic and
   followed
 the
  instructions given here
 
 https://github.com/imduffy15/devcloud4/blob/master/basic/README.md
 
  still I am getting the same error... :/
 
  Traceback (most recent call last):
File /usr/lib/python2.7/runpy.py, line 162, in
   _run_module_as_main
  __main__, fname, loader, pkg_name)
File /usr/lib/python2.7/runpy.py, line 72, in _run_code
  exec code in run_globals
File

 /usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py,
  line 572, in module
  deploy.deploy()
File

 /usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py,
  line 554, in deploy
  self.loadCfg()
File

 /usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py,
  line 516, in loadCfg
  mgtDetails.apiKey, mgtDetails.securityKey =
  self.registerApiKey()
File

 /usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py,
  line 485, in registerApiKey
  listuserRes =
  self.testClient.getApiClient().listUsers(listuser)
File
 
 

   
  
 
 /usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py,
  line 527, in listUsers
  response = self.connection.marvinRequest(command,
  response_type=response, method=method)
File
 
   
  /usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py,
  line 272, in marvinRequest
  response = jsonHelper.getResultObj(response.json(),
   response_type)
File
 /usr/local/lib/python2.7/dist-packages/requests/models.py,
line
  802, in json
  return json.loads(self.text, **kwargs)
File /usr/lib/python2.7/dist-packages/simplejson/__init__.py,
   line
 413,
  in loads
  return _default_decoder.decode(s)
File /usr/lib/python2.7/dist-packages/simplejson/decoder.py,
  line
 402,
  in decode
  obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File /usr/lib/python2.7/dist-packages/simplejson/decoder.py,
  line
 420,
  in raw_decode
  raise JSONDecodeError(No JSON object could be decoded, s,
  idx)
  simplejson.decoder.JSONDecodeError: No JSON object could be
  decoded:
 line 

Re: [VOTE]Apache CloudStack 4.4.3 release candidate 4.4-RC20150324T1321

2015-03-24 Thread Nux!
This contains a good bunch of fixes and would be great if it went through.

I'll test this ASAP and vote, need to get rid of 4.5 on my test rig. :-)

Thanks Daan

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
 From: Daan Hoogland daan.hoogl...@gmail.com
 To: dev dev@cloudstack.apache.org
 Sent: Tuesday, 24 March, 2015 12:31:11
 Subject: [VOTE]Apache CloudStack 4.4.3 release candidate 4.4-RC20150324T1321

 Hi All, (please note that the last release candidate did not get
 enough attention to make quorum)
 
 I've created a 4.4.3 release, 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.4-RC20150324T1321
 Commit: 483490534a8a091c7af7c61d1eaf5c0192f646d9
 
 List of changes:
 https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/tags/4.4.3
 
 Source release (checksums and signatures are available at the same
 location):
 https://dist.apache.org/repos/dist/dev/cloudstack/4.4.3
 
 PGP release keys (signed using AA4736F3):
 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)
 
 
 
 --
 Daan


[GitHub] cloudstack pull request:

2015-03-24 Thread ghxandsky
Github user ghxandsky commented on the pull request:


https://github.com/apache/cloudstack/commit/f68b407283356dd57241af3679171e3e5b0fea82#commitcomment-10370653
  
The change of packaging/centos63/cloud.spec is repeate the new line. This 
brings error when packaging.


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


[GitHub] cloudstack pull request:

2015-03-24 Thread ghxandsky
Github user ghxandsky commented on the pull request:


https://github.com/apache/cloudstack/commit/f68b407283356dd57241af3679171e3e5b0fea82#commitcomment-10370666
  
In packaging/centos63/cloud.spec:
In packaging/centos63/cloud.spec on line 283:
The change of packaging/centos63/cloud.spec is repeate the new line. This 
brings error when packaging.


---
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: [VOTE] Apache CloudStack 4.5.1-rc1

2015-03-24 Thread ilya

Andrei,

I'm certain you are aware of this, but if you really have to move 
forward with 4.5.1, why not build from source?


You can then upgrade once we are ready with 4.5.1

As of now, we are waiting to see if more issues will surface before 
calling RC2 vote.


I've been running ACS 4.5 in lab envs for some time and also tested 
upgrade path from 4.3 to 4.5.


Regards
ilya

On 3/24/15 5:28 AM, Andrei Mikhailovsky wrote:

Hello,

Does anyone have an idea when the 4.5.1 is going to be out including the 
packaged versions? It has been a while since the unfortunate, but well spotted, 
release attempt of the 4.5.0 and I was hoping to see the 4.5.1 with fixes 
shortly.

Cheers

Andrei
- Original Message -


From: Rohit Yadav rohit.ya...@shapeblue.com
To: dev@cloudstack.apache.org
Cc: us...@cloudstack.apache.org
Sent: Friday, 20 March, 2015 7:29:18 AM
Subject: Re: [VOTE] Apache CloudStack 4.5.1-rc1
(+ users)
Hi all,
I've built signed centos63/centos7/debian repository out of this RC
for
your convenience: http://packages.shapeblue.com/cloudstack/testing/
4.5 systemvm templates:
http://packages.shapeblue.com/systemvmtemplate/4.5/
(If you're on 4.5.0. There is no need to upgrade your SystemVM
templates).
Happy testing!
On Friday 20 March 2015 02:06 AM, David Nalley wrote:

I did indeed - it's 4.5.1 RC - my apologies for not checking the
template closely enough to eliminate all of the fill in the blank
spots.

On Thu, Mar 19, 2015 at 11:01 AM, Geoff Higginbottom
geoff.higginbot...@shapeblue.com wrote:

Hi David,

You appear to have left x.x.x.x in the e-mail, I think you meant
to put
4.5.1 here instead.

Regards

Geoff Higginbottom
CTO / Cloud Architect

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

geoff.higginbot...@shapeblue.com | www.shapeblue.com
htp://www.shapeblue.com/ | Twitter:@cloudstackguru
https://twitter.com/#!/cloudstackguru

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
x-apple-data-detectors://5




On 19/03/2015 15:40, David Nalley da...@gnsa.us wrote:


Hi All,

I've created a X.X.X release, 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-RC20150319T1429
Commit: 3c06466e208769f32c03767abc6bd2680fd8

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

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)

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.

--
Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 | rohit.ya...@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab
PS. If you see any footer below, I did not add it :)
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

[GitHub] cloudstack pull request: Fix centos63 rpm packaging

2015-03-24 Thread ghxandsky
GitHub user ghxandsky opened a pull request:

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

Fix centos63 rpm packaging

Fix centos63 rpm packaging.

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

$ git pull https://github.com/ghxandsky/cloudstack 4.4

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

https://github.com/apache/cloudstack/pull/129.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 #129


commit dcb499ac93580028cf1f1a616fcd4afbf4b6d779
Author: root root@i-gc0rns2i.(none)
Date:   2015-03-25T01:19:58Z

Fix centos63 rpm packaging




---
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: Thoughts on CloudStack while starting as new VP

2015-03-24 Thread Jeff Moody
I was having the same idea the other week. There are some serious 
shortcomings in the current UI (one example is the lack of being able to 
enable/disable SSH key management on templates when registering them).
I think it might be a good idea to radically simplifly the UI that ships 
with ACS and then start a new ACS subproject (like the AWS or GCE API 
proxies) for a new, full-featured UI which could run in a different 
language and have the possibility of running at a different cadence than 
the ACS management system. This would allow UI bugs and features to be 
handled faster (or slower) than the core management server functionality 
and APIs.
It might also be worthwhile to explore building the UI in a different 
language than Java to potentially attract other developers to the ACS 
project who might be more comfortable in Python, Ruby, or NodeJS.


On 03/24/2015 07:47 AM, Alex Hitchins wrote:

Has the idea of a 'light' UI been discussed? More aimed at end users who we 
could tailor dialog to and keep it fast and simple.

I could see this as a good starting point to redevelop the whole UI.





On 24 Mar 2015, at 10:53, Rohit Yadav rohit.ya...@shapeblue.com wrote:

Great proposals Sebastien! Let's AWSAPI, improve code, remove dead code, 
cleanup JIRA/RB cleanup and move to Github PR.

I hope we’ll have a better UIs for ACS users soon!

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.





Review Request 32469: Added vMotion related tests for VMFS type storage

2015-03-24 Thread abhinav roy

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

Review request for cloudstack.


Repository: cloudstack-git


Description
---

Added Tests for vMotion with VMFS
1. Create VMs on VMFS and live migrate to another hosts.
2. Create VMs and live migrate their volumes to another storage.
3. Restore VMs and live migrate them.
4. Resize volumes and live migrate them etc.


Diffs
-

  test/integration/testpaths/testpath_storage_migration.py 2a92914 
  tools/marvin/marvin/lib/base.py 7f609e7 

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


Testing
---

Testing dont on my local setup with VMFS and primary storage.


Thanks,

abhinav roy



Re: [VOTE] Apache CloudStack 4.5.1-rc1

2015-03-24 Thread ilya
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 to known CSRF fix) or opening in another
tab.

On Thursday 19 March 2015 08:10 PM, David Nalley wrote:

Hi All,

I've created a X.X.X release, 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-RC20150319T1429
Commit: 3c06466e208769f32c03767abc6bd2680fd8

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

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  

Re: [VOTE] Apache CloudStack 4.5.1-rc1

2015-03-24 Thread Rohit Yadav
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 to known CSRF fix) or opening in another
 tab.

 On Thursday 19 March 2015 08:10 PM, David Nalley wrote:
 Hi All,

 I've created a X.X.X release, 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-RC20150319T1429
 Commit: 3c06466e208769f32c03767abc6bd2680fd8

 Source release (checksums and 

Re: CI improvment part 1

2015-03-24 Thread Pierre-Luc Dion
I'm waking up this old thread.

I was reviewing some jenkins jobs and took a closer look at simulatorfast,
 We currently have a jenkins job running every 20mins for the
simulatorfast, That seams great and seams to provide a good coverage and is
perform quite fast, although it's currently running on the pytest branch
which is now fairly outdated.

I've tried a merge into master and endup with a bunch of conflict.
Considering the plus value of using pytest, Would it be possible to update
and merge pytest branch so we could use it
 as CI tests?


Regards,



On Wed, Dec 3, 2014 at 5:13 PM, Edison Su edison...@citrix.com wrote:

 haven't have time to work on it since last update.

  -Original Message-
  From: Rohit Yadav [mailto:rohit.ya...@shapeblue.com]
  Sent: Tuesday, December 02, 2014 9:53 PM
  To: dev@cloudstack.apache.org; Edison Su
  Subject: Re: CI improvment part 1
 
  Hi Edison,
 
  Just curious, any update on the pytest effort? Thanks.
 
  On Friday 26 September 2014 10:13 AM, Edison Su wrote:
   Highlights the improvements on marvin I made in these days on pytest
  branch:
   1. Switch test framework from nose to pytest, while also maintain the
 back-
  compatibility for existing test cases.
pytest is more flexible than nose, more enjoyable to work with.
   2. Speed up test speed a LOT: It only takes 250-300 seconds for a
 single run
  for all the test cases under test/integration/smoke folder, while it
 usually
  takes 40 minutes to run before.
   The speed up is coming from running test cases in parallel.
 pytest-xdist is
  modified to fix the issue:
  https://bitbucket.org/hpk42/pytest/issue/175/way-to-control-how-pytest-
  xdist-runs-tests. we have a lot of existing test cases have to run in
 sequence
  per test class.
   3. Add a new Jenkins job at
  http://jenkins.buildacloud.org/job/fastsimulatorbuild/, which only
 takes 22
  minutes for a full cycle buildtest.
A new VM is created on digitalocean: 4G memory, 40G SSD, and added
  into Jenkins.buildacloud.org. SSD is life saver, it really makes big
 difference
  during build/test.
A new docker image is created, which has all the tools installed
 in order
  to build and test: e.g. java/mysql/python/git/ installed.
A new Jenkins job is created to build and test periodically in
 every 20
  minutes.
  
   So far, the Jenkins job works very well, if everybody ok with what I am
  doing, I want to merge pytest branch into master later. With a quick CI
 in
  hand, we then can start to think about how to add gerrit into our system.
 
  --
  Regards,
  Rohit Yadav
  Software Architect, ShapeBlue
  M. +91 8826230892 | 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.



[GitHub] cloudstack pull request:

2015-03-24 Thread DaanHoogland
Github user DaanHoogland commented on the pull request:


https://github.com/apache/cloudstack/commit/b527aabfc352474541a2f6c7831b819356ec453a#commitcomment-10372774
  
@ghxandsky we use this in production, I think we use only the agent for KVM 
but still. If people run into problems we'll just have to support. 


---
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-03-24 Thread Pierre-Luc Dion
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.
 
 
  any thought?
 
  +1, I committed the Dockerfile.
 
  But yes we should have a cloudstack organization in docker hub and
 setup
  automated builds.
 
  Ideally we can also setup a drone.io instance to do some continuous
  deployment…but this ties with the overalll jenkins/testing infra that
 we
  really need to get cleaned up and organized.
 
  -sebastuen




Re: [GitHub] cloudstack pull request:

2015-03-24 Thread Remi Bergsma
Hi Daan,

Let's have a look tomorrow, ghxandsky refers to changes in CentOS6 package and 
what we deployed is CentOS7. I do agree CentOS6 should still work (we still 
need it as well). 

Regards, Remi

Sent from my iPhone

 On 24 Mar 2015, at 18:24, DaanHoogland g...@git.apache.org wrote:
 
 Github user DaanHoogland commented on the pull request:
 

 https://github.com/apache/cloudstack/commit/b527aabfc352474541a2f6c7831b819356ec453a#commitcomment-10372774
 
@ghxandsky we use this in production, I think we use only the agent for 
 KVM but still. If people run into problems we'll just have to support. 
 
 
 ---
 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-03-24 Thread Sebastien Goasguen
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.
 
 
 any thought?
 
 +1, I committed the Dockerfile.
 
 But yes we should have a cloudstack organization in docker hub and setup
 automated builds.
 
 Ideally we can also setup a drone.io instance to do some continuous
 deployment…but this ties with the overalll jenkins/testing infra that we
 really need to get cleaned up and organized.
 
 -sebastuen



Re: Thoughts on CloudStack while starting as new VP

2015-03-24 Thread Sebastien Goasguen

 On Mar 24, 2015, at 6:56 PM, Raja Pullela raja.pull...@citrix.com wrote:
 
 Very nice, Congratulations Sebastien!  
 Looking forward to collaborate on list of things you have identified!
 

Thanks Raja, it definitely would be great to get your team’s help with JIRA.
I think we need a strong dedicated effort to clear it up and close all old 
issues.

We also need to find a way to develop master better to avoid regressions.
There was a lot of talk last summer about gitflow or the like, and we should 
resurrect this with some pragmatic action that we can build on.

For instance thoughts that I have are to make sure that we develop in 
‘development’ branch and leave master alone.
Then build releases on master through merges.

Getting you and your team (and everyone else of course) behind such a scheme 
(TBD still) would be a huge help.

-sebastien

 Raja
 
 -Original Message-
 From: Sebastien Goasguen [mailto:run...@gmail.com] 
 Sent: Monday, March 23, 2015 7:46 PM
 To: dev@cloudstack.apache.org; us...@cloudstack.apache.org; 
 market...@cloudstack.apache.org
 Subject: Thoughts on CloudStack while starting as new VP
 
 Dear members of the CloudStack community,
 
 Last week the Apache Software Foundation board unanimously voted a resolution 
 to make me the new VP of Apache CloudStack. This came after a unanimous vote 
 of the CloudStack PMC and is regular process of our community as described in 
 our bylaws.
 
 I am excited to take on this new role after two amazing VP (Chip and Hugo) 
 since CloudStack came to the ASF. Many thanks to them and especially Hugo for 
 the work he has done in the past year.
 
 The ASF is setup so that the governance of a project really belongs to the 
 community itself. CloudStack is what we all make it to be, we all have equal 
 footing when time comes to develop the code, create events, take decisions 
 and so on. As VP I do not have a special say in our direction. This 
 governance model is in stark contrast with other open source project that 
 follow more of a benevolent dictator model. I mention this as a bit of 
 disclaimer and to re-enforce the fact that while I have views about what we 
 should do, they are my personal views and that they do not represent any 
 sorts of official roadmaps, and that anyone is welcome to disagree :)
 
 In Budapest, we had a great conference. Chip and I showed several CloudStack 
 use cases. Our user base is strong with over 300 production deployments. Our 
 community is large and diverse with 2000 people on the mailing lists, but we 
 need to keep advocating for CloudStack, make it an even greater software and 
 grow our community. At the very least this helps us learn from each other, 
 better our own skills and our employers IT infrastructure. At the very best 
 AWS switches to CloudStack :)
 
 So here are some food for thoughts that will hopefully excite you, want to 
 get engage, talk about CloudStack and bring on board your friends:
 
 On the code:
 -
 - Keep improving quality, remove dead code, cleanup JIRA, cleanup Review 
 Board We have successfully moved to GitHub pull requests, we should stop 
 using RB
 - Simplify the dev process and adopt a new committing system to avoid 
 regressions at all costs.
 We have talked about this for a long time but have failed had doing something 
 concrete. It is time.
 - Remove the AWSAPI (there is a branch without it right now), we should merge 
 it in master I am going to push for IP clearance of ec2stack and gstack to 
 get them under ASF governance.
 - Several Cloud Providers have unveiled new CloudStack UI, maybe it’s time we 
 do the same.
 - Solidify the testing infrastructure, keep Jenkins builds running
 - Brainstorm on the future of CloudStack and IaaS in general. What should 
 CloudStack be in 10 years ?
 While CloudStack is what it is now, nothing prevents us to re-architect, 
 re-think, re-code it within the current framework.
 - Finally, package the mgt server and the KVM agent as Docker containers 
 Docker is a great portability mechanism. We should embrace Docker as a 
 packaging tool (first) and provide container images for our mgt server (at a 
 minimum).
 This could become a type of release artifact that could be easily 
 continuously built.
 
 
 On the ecosystem:
 -
 We have a really strong ecosystem. From configuration management tools, API 
 wrappers, PaaS plugins etc.
 We need to feature our ecosystem clearly on our website, support it and keep 
 on growing it as new technologies emerge.
 
 Things that come to mind:
 - Push to get our Ansible module into the Ansible core
 - Publish “official” chef recipes to deploy CloudStack
 - Identify and publish “official” Puppet recipes
 - Build Docker native templates (coreOS, rancherOS, Snappy, Atomic)
 - Finally cleanup cloud-init support for CloudStack, this is preventing us 
 from having upstream centOS templates.
 - Publish playbooks/recipes to deploy workloads on CloudStack (think 

Re: Thoughts on CloudStack while starting as new VP

2015-03-24 Thread Remi Bergsma
Congratulations Sebastien!

Totally agree :-) It would really help in speeding up the release cycle and 
achieve high quality at the same time. 

We should aim for a release every month if you ask me. I know that sounds 
impossible now, but let's discuss with such a goal in mind and see what we can 
do together. Because I believe we can do a lot. 

At Schuberg Philis we have two serious production environments (running 4.4.2) 
that we would like to deploy new versions to often (one after another). That 
should also be convincing for others to install the release or do the upgrade. 
If only we find ways to make high quality releases often without regression. 
Further automating (functional) testing, plus making it easier is only one of 
the things one can think of.

Definitely willing to help making this successful :-)

We could set up a meeting / hackathon about this in Austin to give it a boost?

Regards, Remi

Sent from my iPhone

 On 24 Mar 2015, at 20:27, Sebastien Goasguen run...@gmail.com wrote:
 
 
 On Mar 24, 2015, at 6:56 PM, Raja Pullela raja.pull...@citrix.com wrote:
 
 Very nice, Congratulations Sebastien!  
 Looking forward to collaborate on list of things you have identified!
 
 Thanks Raja, it definitely would be great to get your team’s help with JIRA.
 I think we need a strong dedicated effort to clear it up and close all old 
 issues.
 
 We also need to find a way to develop master better to avoid regressions.
 There was a lot of talk last summer about gitflow or the like, and we should 
 resurrect this with some pragmatic action that we can build on.
 
 For instance thoughts that I have are to make sure that we develop in 
 ‘development’ branch and leave master alone.
 Then build releases on master through merges.
 
 Getting you and your team (and everyone else of course) behind such a scheme 
 (TBD still) would be a huge help.
 
 -sebastien
 
 Raja
 
 -Original Message-
 From: Sebastien Goasguen [mailto:run...@gmail.com] 
 Sent: Monday, March 23, 2015 7:46 PM
 To: dev@cloudstack.apache.org; us...@cloudstack.apache.org; 
 market...@cloudstack.apache.org
 Subject: Thoughts on CloudStack while starting as new VP
 
 Dear members of the CloudStack community,
 
 Last week the Apache Software Foundation board unanimously voted a 
 resolution to make me the new VP of Apache CloudStack. This came after a 
 unanimous vote of the CloudStack PMC and is regular process of our community 
 as described in our bylaws.
 
 I am excited to take on this new role after two amazing VP (Chip and Hugo) 
 since CloudStack came to the ASF. Many thanks to them and especially Hugo 
 for the work he has done in the past year.
 
 The ASF is setup so that the governance of a project really belongs to the 
 community itself. CloudStack is what we all make it to be, we all have equal 
 footing when time comes to develop the code, create events, take decisions 
 and so on. As VP I do not have a special say in our direction. This 
 governance model is in stark contrast with other open source project that 
 follow more of a benevolent dictator model. I mention this as a bit of 
 disclaimer and to re-enforce the fact that while I have views about what we 
 should do, they are my personal views and that they do not represent any 
 sorts of official roadmaps, and that anyone is welcome to disagree :)
 
 In Budapest, we had a great conference. Chip and I showed several CloudStack 
 use cases. Our user base is strong with over 300 production deployments. Our 
 community is large and diverse with 2000 people on the mailing lists, but we 
 need to keep advocating for CloudStack, make it an even greater software and 
 grow our community. At the very least this helps us learn from each other, 
 better our own skills and our employers IT infrastructure. At the very best 
 AWS switches to CloudStack :)
 
 So here are some food for thoughts that will hopefully excite you, want to 
 get engage, talk about CloudStack and bring on board your friends:
 
 On the code:
 -
 - Keep improving quality, remove dead code, cleanup JIRA, cleanup Review 
 Board We have successfully moved to GitHub pull requests, we should stop 
 using RB
 - Simplify the dev process and adopt a new committing system to avoid 
 regressions at all costs.
 We have talked about this for a long time but have failed had doing 
 something concrete. It is time.
 - Remove the AWSAPI (there is a branch without it right now), we should 
 merge it in master I am going to push for IP clearance of ec2stack and 
 gstack to get them under ASF governance.
 - Several Cloud Providers have unveiled new CloudStack UI, maybe it’s time 
 we do the same.
 - Solidify the testing infrastructure, keep Jenkins builds running
 - Brainstorm on the future of CloudStack and IaaS in general. What should 
 CloudStack be in 10 years ?
 While CloudStack is what it is now, nothing prevents us to re-architect, 
 re-think, re-code it within the current framework.
 - Finally, 

Re: [ACS 4.5.1 RC1] Caught SQLException on startup

2015-03-24 Thread Rohit Yadav
Thanks for sharing Alena!

 On 24-Mar-2015, at 6:02 am, Alena Prokharchyk alena1...@gmail.com wrote:

 network_group table is long gone. I guess the only one reason for the
 keeping table related mysql statements in ConfigurationServerImpl.java - is
 to handle the upgrade scenarios. We should probably just disable the
 logging for this case.

 The situation with creating duplicated system/admin user is different. I
 believe the records for them get created as a part of the setup scripts
 when install from rpm. And as on dev environment those scripts don't get
 run, the records get inserted by ConfigurationServerImpl on a server
 startup. For the rpm deployment case, the latter insertion will result in
 duplicates, hence the silent exception catch. Ideally, the fix should be -
 create the users on a first server startup in the Java code only, so its
 common for dev and users environments.

 Not a high priority fix.

 On Mon, Mar 23, 2015 at 4:26 AM, Rohit Yadav rohit.ya...@shapeblue.com
 wrote:

 Hi Erik,

 Yes, I've seen them before. The network_group table does not exist in
 ACS, I've seen this issue as well but this is probably harmless and
 perhaps has to do with maintaining migrations from old/other CCP
 releases though I'm not sure.

 I'll try to see if we can address them, though they look harmless to me.


 On Monday 23 March 2015 04:31 PM, Erik Weber wrote:

 Anyone else see these during startup?

 2015-03-23 11:59:32,712 DEBUG [c.c.s.ConfigurationServerImpl] (main:null)
 Caught exception when inserting system account: Duplicate entry '1' for
 key
 'PRIMARY'
 2015-03-23 11:59:32,713 DEBUG [c.c.s.ConfigurationServerImpl] (main:null)
 Caught SQLException when inserting system user: Duplicate entry '1' for
 key
 'PRIMARY'
 2015-03-23 11:59:32,714 DEBUG [c.c.s.ConfigurationServerImpl] (main:null)
 Caught SQLException when creating admin account: Duplicate entry '2' for
 key 'PRIMARY'
 2015-03-23 11:59:32,715 DEBUG [c.c.s.ConfigurationServerImpl] (main:null)
 Caught SQLException when inserting admin user: Duplicate entry '2' for key
 'PRIMARY'
 2015-03-23 11:59:32,716 DEBUG [c.c.s.ConfigurationServerImpl] (main:null)
 Caught (SQL?)Exception: no network_group  Table 'cloud.network_group'
 doesn't exist
 2015-03-23 11:59:32,791 DEBUG [c.c.s.ConfigurationServerImpl] (main:null)
 resource_count table has records missing for some accounts...going to
 insert them
 2015-03-23 11:59:32,806 DEBUG [c.c.s.ConfigurationServerImpl] (main:null)
 Inserting resource count of type user_vm for account id=3


 The duplicate keys doesn't really worry me much, as that should mean it's
 already there, but the
 Table 'cloud.network_group' doesn't exist is a different story..


 --
 Regards,
 Rohit Yadav
 Software Architect, ShapeBlue
 M. +91 8826230892 | rohit.ya...@shapeblue.com
 Blog: bhaisaab.org | Twitter: @_bhaisaab
 PS. If you see any footer below, I did not add it :)
 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.




 --
 Alena Prokharchyk
 https://twitter.com/Lemonjet
 http://www.linkedin.com/pub/alena-prokharchyk/13/282/a7b

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 

Re: [VOTE] Apache CloudStack 4.5.1-rc1

2015-03-24 Thread Rohit Yadav
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 to known CSRF fix) or opening in another
 tab.

 On Thursday 19 March 2015 08:10 PM, David Nalley wrote:

 Hi All,

 I've created a X.X.X release, 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-RC20150319T1429
 Commit: 3c06466e208769f32c03767abc6bd2680fd8

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

 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)

 --
 Regards,
 Rohit Yadav
 Software Architect, ShapeBlue
 M. +91 8826230892 | 

CloudStack manger HyperV

2015-03-24 Thread wangyuyang1...@163.com
HI, ALL

I create vm in hyper-v(win2012 r2),but throw exception: *.vhdx miss.
I found, while create vm,create *.vhd disk. but start vm founding 
*.vhdx disk.

   I hope to get some Suggestions for this error.
  Thank your very much!!!
   

ERROR LOG:

2015-03-24 14:12:00,890 DEBUG [c.c.h.h.r.HypervDirectConnectResource] 
(DirectAgent-337:ctx-4b7ac6bf) POST response is 
[{com.cloud.agent.api.StartAnswer:{result:false,details:com.cloud.agent.api.StartCommand
 fail on exceptioni-2-150-VM: non-existent volume, missing 
\\192.168.212.175\primary\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhdx for drive { 
data: { 
org.apache.cloudstack.storage.to.VolumeObjectTO: { 
uuid: b0b6d56d-41ef-43a6-8ab2-2091854f6b1c, 
volumeType: ROOT, 
dataStore: { 
org.apache.cloudstack.storage.to.PrimaryDataStoreTO: { 
uuid: 02e4-3af1-3a31-8535-e557eff849da, 
id: 14, 
poolType: SMB, 
host: 192.168.212.175, 
path: /primary?user=administratordomain=wh.com, 
port: 445, 
url: 
SMB://192.168.212.175/primary?user=administratordomain=wh.com/?ROLE=PrimarySTOREUUID=02e4-3af1-3a31-8535-e557eff849da
 
} 
}, 
name: ROOT-150, 
size: 5368709120, 
path: 
192.168.212.175\\primary\\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd, 
volumeId: 151, 
vmName: i-2-150-VM, 
accountId: 2, 
format: VHDX, 
id: 151, 
deviceId: 0, 
hypervisorType: Hyperv 
} 
}, 
diskSeq: 0, 
path: 
192.168.212.175\\primary\\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd, 
type: ROOT, 
_details: { 
managed: false, 
storagePort: 445, 
storageHost: 192.168.212.175, 
volumeSize: 5368709120 
} 
},vm:{id:150,name:i-2-150-VM,type:User,cpus:1,minSpeed:1000,maxSpeed:1000,minRam:1073741824,maxRam:1073741824,arch:x86_64,os:Red
 Hat Enterprise Linux 6.4 
(64-bit),bootArgs:,rebootOnCrash:false,enableHA:false,limitCpuUse:false,enableDynamicallyScaleVm:false,vncPassword:62a3a3c5e38d0c7a,params:{},uuid:da6990fe-f5b6-4f70-bae6-d80497468ee1,disks:[{data:{org.apache.cloudstack.storage.to.VolumeObjectTO:{uuid:b0b6d56d-41ef-43a6-8ab2-2091854f6b1c,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:02e4-3af1-3a31-8535-e557eff849da,id:14,poolType:SMB,host:192.168.212.175,path:/primary?user=administratordomain=wh.com,port:445,url:SMB://192.168.212.175/primary?user=administratordomain=wh.com/?ROLE=PrimarySTOREUUID=02e4-3af1-3a31-8535-e557eff849da}},name:ROOT-150,size:5368709120,path:\\192.168.212.175\primary\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd,volumeId:151,vmName:i-2-150-VM,accountId:2,format:VHDX,id:151,deviceId:0,hypervisorType:Hyperv}},diskSeq:0,path:\\192.168.212.175\primary\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd,type:ROOT,_details:{managed:false,storagePort:445,storageHost:192.168.212.175,volumeSize:5368709120}},{data:{org.apache.cloudstack.storage.to.TemplateObjectTO:{path:template/tmpl/2/202/202-2-186eb69f-4535-3ed0-8dd7-96805249aff0.iso,origUrl:http://192.168.217.248/rhel-server-6.4-x86_64-dvd.iso,uuid:a642a1d2-3ae6-4d9d-8321-45bc6a017903,id:202,format:ISO,accountId:2,checksum:467b53791903f9a0c477cbb1b24ffd1f,hvm:true,displayText:rhel6.4,imageDataStore:{com.cloud.agent.api.to.NfsTO:{_url:cifs://192.168.212.175/secondary?user=administratordomain=wh.com,_role:Image}},name:202-2-186eb69f-4535-3ed0-8dd7-96805249aff0,guestOsType:Red
 Hat Enterprise Linux 6.4 
(64-bit),hypervisorType:None}},diskSeq:3,type:ISO}],nics:[{deviceId:0,networkRateMbps:200,defaultNic:true,uuid:1595c094-2d59-4167-93cd-86fcb79d90ae,ip:192.168.216.10,netmask:255.255.255.0,gateway:192.168.216.254,mac:06:6c:60:00:00:74,dns1:8.8.8.8,dns2:,broadcastType:Vlan,type:Guest,broadcastUri:vlan://216,isolationUri:vlan://216,isSecurityGroupEnabled:false}]},contextMap:{}}}]



wangyuyang1...@163.com


Re: [ACS 4.5.1 RC1] Caught SQLException on startup

2015-03-24 Thread Erik Weber
Thanks for the insight Alena :-)

-- 
Erik

Den tirsdag 24. mars 2015 skrev Alena Prokharchyk alena1...@gmail.com
følgende:

 network_group table is long gone. I guess the only one reason for the
 keeping table related mysql statements in ConfigurationServerImpl.java - is
 to handle the upgrade scenarios. We should probably just disable the
 logging for this case.

 The situation with creating duplicated system/admin user is different. I
 believe the records for them get created as a part of the setup scripts
 when install from rpm. And as on dev environment those scripts don't get
 run, the records get inserted by ConfigurationServerImpl on a server
 startup. For the rpm deployment case, the latter insertion will result in
 duplicates, hence the silent exception catch. Ideally, the fix should be -
 create the users on a first server startup in the Java code only, so its
 common for dev and users environments.

 Not a high priority fix.

 On Mon, Mar 23, 2015 at 4:26 AM, Rohit Yadav rohit.ya...@shapeblue.com
 javascript:;
 wrote:

  Hi Erik,
 
  Yes, I've seen them before. The network_group table does not exist in
  ACS, I've seen this issue as well but this is probably harmless and
  perhaps has to do with maintaining migrations from old/other CCP
  releases though I'm not sure.
 
  I'll try to see if we can address them, though they look harmless to me.
 
 
  On Monday 23 March 2015 04:31 PM, Erik Weber wrote:
 
  Anyone else see these during startup?
 
  2015-03-23 11:59:32,712 DEBUG [c.c.s.ConfigurationServerImpl]
 (main:null)
  Caught exception when inserting system account: Duplicate entry '1' for
  key
  'PRIMARY'
  2015-03-23 11:59:32,713 DEBUG [c.c.s.ConfigurationServerImpl]
 (main:null)
  Caught SQLException when inserting system user: Duplicate entry '1' for
  key
  'PRIMARY'
  2015-03-23 11:59:32,714 DEBUG [c.c.s.ConfigurationServerImpl]
 (main:null)
  Caught SQLException when creating admin account: Duplicate entry '2' for
  key 'PRIMARY'
  2015-03-23 11:59:32,715 DEBUG [c.c.s.ConfigurationServerImpl]
 (main:null)
  Caught SQLException when inserting admin user: Duplicate entry '2' for
 key
  'PRIMARY'
  2015-03-23 11:59:32,716 DEBUG [c.c.s.ConfigurationServerImpl]
 (main:null)
  Caught (SQL?)Exception: no network_group  Table 'cloud.network_group'
  doesn't exist
  2015-03-23 11:59:32,791 DEBUG [c.c.s.ConfigurationServerImpl]
 (main:null)
  resource_count table has records missing for some accounts...going to
  insert them
  2015-03-23 11:59:32,806 DEBUG [c.c.s.ConfigurationServerImpl]
 (main:null)
  Inserting resource count of type user_vm for account id=3
 
 
  The duplicate keys doesn't really worry me much, as that should mean
 it's
  already there, but the
  Table 'cloud.network_group' doesn't exist is a different story..
 
 
  --
  Regards,
  Rohit Yadav
  Software Architect, ShapeBlue
  M. +91 8826230892 | rohit.ya...@shapeblue.com javascript:;
  Blog: bhaisaab.org | Twitter: @_bhaisaab
  PS. If you see any footer below, I did not add it :)
  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 Engineering
 http://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.
 



 --
 Alena Prokharchyk
 https://twitter.com/Lemonjet
 http://www.linkedin.com/pub/alena-prokharchyk/13/282/a7b



Re: Review Request 30553: A new script to test_hosts and added update modules for few classes in base.py

2015-03-24 Thread Sowmya Krishnan

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



test/integration/component/test_escalations_hosts.py
https://reviews.apache.org/r/30553/#comment125630

It's better to have the method definitions outside of the class so it may 
be used later for the entire suite.



test/integration/component/test_escalations_hosts.py
https://reviews.apache.org/r/30553/#comment125631

host_state is not used. Can be removed from both definition and invocation



test/integration/component/test_escalations_hosts.py
https://reviews.apache.org/r/30553/#comment125633

host_state not used here as well. Can be removed



test/integration/component/test_escalations_hosts.py
https://reviews.apache.org/r/30553/#comment125635

host_state can be removed here too



test/integration/component/test_escalations_hosts.py
https://reviews.apache.org/r/30553/#comment125637

These tests can be run without hardware as well I presume. If you think so, 
can you change this?


- Sowmya Krishnan


On Feb. 3, 2015, 12:25 p.m., abhinav roy wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/30553/
 ---
 
 (Updated Feb. 3, 2015, 12:25 p.m.)
 
 
 Review request for cloudstack, sanjeev n and SrikanteswaraRao Talluri.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 This Patch has following changes :
 
 1. A new script to test host status after enabling/disabling of Pods, 
 Clusters, Zones or by managing/unmanaging of clusters etc.
 
 2. update Modules added for Pod, Zone, cluster classes in base.py
 
 
 Diffs
 -
 
   test/integration/component/test_escalations_hosts.py PRE-CREATION 
 
 Diff: https://reviews.apache.org/r/30553/diff/
 
 
 Testing
 ---
 
 Disable the host and it's cluster, ... === TestName: 
 test_01_op_host_capacity_disable_cluster | Status : SUCCESS ===
 ok
 Disable the host and it's pod, ... === TestName: 
 test_02_op_host_capacity_disable_pod | Status : SUCCESS ===
 ok
 Disable the host and it's zone, ... === TestName: 
 test_03_op_host_capacity_disable_zone | Status : SUCCESS ===
 ok
 Disable the host then unmanage the cluster, ... === TestName: 
 test_04_disable_host_unmanage_cluster_check_hosts_status | Status : SUCCESS 
 ===
 ok
 
 --
 Ran 4 tests in 126.360s
 
 
 Thanks,
 
 abhinav roy
 




[GitHub] cloudstack pull request: 4.4 for centos7

2015-03-24 Thread K0zka
Github user K0zka commented on the pull request:

https://github.com/apache/cloudstack/pull/125#issuecomment-85372139
  
Looks good, I can only test it in the evening, anyone if you get there 
first pls go ahead and merge!


---
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: Review Request 30553: A new script to test_hosts and added update modules for few classes in base.py

2015-03-24 Thread abhinav roy

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

(Updated March 24, 2015, 8:48 a.m.)


Review request for cloudstack, sanjeev n and SrikanteswaraRao Talluri.


Changes
---

Changes made after second review from Sowmya


Repository: cloudstack-git


Description
---

This Patch has following changes :

1. A new script to test host status after enabling/disabling of Pods, Clusters, 
Zones or by managing/unmanaging of clusters etc.

2. update Modules added for Pod, Zone, cluster classes in base.py


Diffs (updated)
-

  test/integration/component/test_escalations_hosts.py PRE-CREATION 
  tools/marvin/marvin/lib/base.py 5ca1bc2 

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


Testing
---

Disable the host and it's cluster, ... === TestName: 
test_01_op_host_capacity_disable_cluster | Status : SUCCESS ===
ok
Disable the host and it's pod, ... === TestName: 
test_02_op_host_capacity_disable_pod | Status : SUCCESS ===
ok
Disable the host and it's zone, ... === TestName: 
test_03_op_host_capacity_disable_zone | Status : SUCCESS ===
ok
Disable the host then unmanage the cluster, ... === TestName: 
test_04_disable_host_unmanage_cluster_check_hosts_status | Status : SUCCESS ===
ok

--
Ran 4 tests in 126.360s


Thanks,

abhinav roy



RE: Thoughts on CloudStack while starting as new VP

2015-03-24 Thread Raja Pullela
Very nice, Congratulations Sebastien!  
Looking forward to collaborate on list of things you have identified!

Raja

-Original Message-
From: Sebastien Goasguen [mailto:run...@gmail.com] 
Sent: Monday, March 23, 2015 7:46 PM
To: dev@cloudstack.apache.org; us...@cloudstack.apache.org; 
market...@cloudstack.apache.org
Subject: Thoughts on CloudStack while starting as new VP

Dear members of the CloudStack community,

Last week the Apache Software Foundation board unanimously voted a resolution 
to make me the new VP of Apache CloudStack. This came after a unanimous vote of 
the CloudStack PMC and is regular process of our community as described in our 
bylaws.

I am excited to take on this new role after two amazing VP (Chip and Hugo) 
since CloudStack came to the ASF. Many thanks to them and especially Hugo for 
the work he has done in the past year.

The ASF is setup so that the governance of a project really belongs to the 
community itself. CloudStack is what we all make it to be, we all have equal 
footing when time comes to develop the code, create events, take decisions and 
so on. As VP I do not have a special say in our direction. This governance 
model is in stark contrast with other open source project that follow more of a 
benevolent dictator model. I mention this as a bit of disclaimer and to 
re-enforce the fact that while I have views about what we should do, they are 
my personal views and that they do not represent any sorts of official 
roadmaps, and that anyone is welcome to disagree :)

In Budapest, we had a great conference. Chip and I showed several CloudStack 
use cases. Our user base is strong with over 300 production deployments. Our 
community is large and diverse with 2000 people on the mailing lists, but we 
need to keep advocating for CloudStack, make it an even greater software and 
grow our community. At the very least this helps us learn from each other, 
better our own skills and our employers IT infrastructure. At the very best AWS 
switches to CloudStack :)

So here are some food for thoughts that will hopefully excite you, want to get 
engage, talk about CloudStack and bring on board your friends:

On the code:
-
- Keep improving quality, remove dead code, cleanup JIRA, cleanup Review Board 
We have successfully moved to GitHub pull requests, we should stop using RB
- Simplify the dev process and adopt a new committing system to avoid 
regressions at all costs.
We have talked about this for a long time but have failed had doing something 
concrete. It is time.
- Remove the AWSAPI (there is a branch without it right now), we should merge 
it in master I am going to push for IP clearance of ec2stack and gstack to get 
them under ASF governance.
- Several Cloud Providers have unveiled new CloudStack UI, maybe it’s time we 
do the same.
- Solidify the testing infrastructure, keep Jenkins builds running
- Brainstorm on the future of CloudStack and IaaS in general. What should 
CloudStack be in 10 years ?
While CloudStack is what it is now, nothing prevents us to re-architect, 
re-think, re-code it within the current framework.
- Finally, package the mgt server and the KVM agent as Docker containers Docker 
is a great portability mechanism. We should embrace Docker as a packaging tool 
(first) and provide container images for our mgt server (at a minimum).
This could become a type of release artifact that could be easily continuously 
built.


On the ecosystem:
-
We have a really strong ecosystem. From configuration management tools, API 
wrappers, PaaS plugins etc.
We need to feature our ecosystem clearly on our website, support it and keep on 
growing it as new technologies emerge.

Things that come to mind:
- Push to get our Ansible module into the Ansible core
- Publish “official” chef recipes to deploy CloudStack
- Identify and publish “official” Puppet recipes
- Build Docker native templates (coreOS, rancherOS, Snappy, Atomic)
- Finally cleanup cloud-init support for CloudStack, this is preventing us from 
having upstream centOS templates.
- Publish playbooks/recipes to deploy workloads on CloudStack (think Hadoop, 
Spark, Kubernetes)
- Work actively on up to date integration with CloudFoundry

On documentation:
-
I and couple others successfully moved our docs to the Read The Docs service. 
This was a first great move but we need to finish the job.
We need to rethink our documentation tree, maybe merge all guides in one, 
correct the docs, create a new theme for it.
This is an easy area to contribute to if you are using cloudstack. Just send a 
pull request (click on the top right ribbon).
If you don’t know how, then it will teach you how to use github, great exercise.
We also need to routinely build the multi languages support.

On Events:
-
We have at least four great events coming in 2015. Austin, Seattle, Tokyo and 
Dublin.
Let’s meet at one of those events.
Let’s submit 

Re: CloudStack manger HyperV

2015-03-24 Thread Anshul Gangwar
Which Cloudstack version you are using and from where you have downloaded the 
Hyper-V Agent?

Regards,
Anshul




On 24-Mar-2015, at 12:30 pm, 
wangyuyang1...@163.commailto:wangyuyang1...@163.com wrote:

HI, ALL

   I create vm in hyper-v(win2012 r2),but throw exception: *.vhdx miss.
   I found, while create vm,create *.vhd disk. but start vm founding *.vhdx 
disk.

  I hope to get some Suggestions for this error.
 Thank your very much!!!


ERROR LOG:

2015-03-24 14:12:00,890 DEBUG [c.c.h.h.r.HypervDirectConnectResource] 
(DirectAgent-337:ctx-4b7ac6bf) POST response is 
[{com.cloud.agent.api.StartAnswer:{result:false,details:com.cloud.agent.api.StartCommand
 fail on exceptioni-2-150-VM: non-existent volume, missing 
\\192.168.212.175\primary\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhdxsmb://192.168.212.175/primary/b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhdx
 for drive {
data: {
org.apache.cloudstack.storage.to.VolumeObjectTO: {
uuid: b0b6d56d-41ef-43a6-8ab2-2091854f6b1c,
volumeType: ROOT,
dataStore: {
org.apache.cloudstack.storage.to.PrimaryDataStoreTO: {
uuid: 02e4-3af1-3a31-8535-e557eff849da,
id: 14,
poolType: SMB,
host: 192.168.212.175,
path: /primary?user=administratordomain=wh.comhttp://wh.com,
port: 445,
url: 
SMB://192.168.212.175/primary?user=administratordomain=wh.com/?ROLE=PrimarySTOREUUID=02e4-3af1-3a31-8535-e557eff849da
}
},
name: ROOT-150,
size: 5368709120,
path: 
192.168.212.175\\primary\\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd,
volumeId: 151,
vmName: i-2-150-VM,
accountId: 2,
format: VHDX,
id: 151,
deviceId: 0,
hypervisorType: Hyperv
}
},
diskSeq: 0,
path: 
192.168.212.175\\primary\\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd,
type: ROOT,
_details: {
managed: false,
storagePort: 445,
storageHost: 192.168.212.175,
volumeSize: 5368709120
}
},vm:{id:150,name:i-2-150-VM,type:User,cpus:1,minSpeed:1000,maxSpeed:1000,minRam:1073741824,maxRam:1073741824,arch:x86_64,os:Red
 Hat Enterprise Linux 6.4 
(64-bit),bootArgs:,rebootOnCrash:false,enableHA:false,limitCpuUse:false,enableDynamicallyScaleVm:false,vncPassword:62a3a3c5e38d0c7a,params:{},uuid:da6990fe-f5b6-4f70-bae6-d80497468ee1,disks:[{data:{org.apache.cloudstack.storage.to.VolumeObjectTO:{uuid:b0b6d56d-41ef-43a6-8ab2-2091854f6b1c,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:02e4-3af1-3a31-8535-e557eff849da,id:14,poolType:SMB,host:192.168.212.175,path:/primary?user=administratordomain=wh.comhttp://wh.com,port:445,url:SMB://192.168.212.175/primary?user=administratordomain=wh.com/?ROLE=PrimarySTOREUUID=02e4-3af1-3a31-8535-e557eff849da}},name:ROOT-150,size:5368709120,path:\\192.168.212.175\primary\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhdsmb://192.168.212.175/primary/b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd,volumeId:151,vmName:i-2-150-VM,accountId:2,format:VHDX,id:151,deviceId:0,hypervisorType:Hyperv}},diskSeq:0,path:\\192.168.212.175\primary\b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhdsmb://192.168.212.175/primary/b0b6d56d-41ef-43a6-8ab2-2091854f6b1c.vhd,type:ROOT,_details:{managed:false,storagePort:445,storageHost:192.168.212.175,volumeSize:5368709120}},{data:{org.apache.cloudstack.storage.to.TemplateObjectTO:{path:template/tmpl/2/202/202-2-186eb69f-4535-3ed0-8dd7-96805249aff0.iso,origUrl:http://secure-web.cisco.com/1lvHyTMd1BD7fU8mhQcJxYVZfV577-WUFNR3YuwYEjwv1YEq_3q6OzbpEdpTkYUzTcSCIa_E2dxu2l36ib4c4BrrJcpmmcahQ6MsAsy8R2couk0rekrJM7xD7cp-Ca22wTzq669xi7Vfn8ZtW-9LENqR4LsBaiQvPdi7cmv15-oE/http%3A%2F%2F192.168.217.248%2Frhel-server-6.4-x86_64-dvd.iso,uuid:a642a1d2-3ae6-4d9d-8321-45bc6a017903,id:202,format:ISO,accountId:2,checksum:467b53791903f9a0c477cbb1b24ffd1f,hvm:true,displayText:rhel6.4,imageDataStore:{com.cloud.agent.api.to.NfsTO:{_url:cifs://192.168.212.175/secondary?user=administratordomain=wh.com,_role:Image}},name:202-2-186eb69f-4535-3ed0-8dd7-96805249aff0,guestOsType:Red
 Hat Enterprise Linux 6.4 
(64-bit),hypervisorType:None}},diskSeq:3,type:ISO}],nics:[{deviceId:0,networkRateMbps:200,defaultNic:true,uuid:1595c094-2d59-4167-93cd-86fcb79d90ae,ip:192.168.216.10,netmask:255.255.255.0,gateway:192.168.216.254,mac:06:6c:60:00:00:74,dns1:8.8.8.8,dns2:,broadcastType:Vlan,type:Guest,broadcastUri:vlan://216,isolationUri:vlan://216,isSecurityGroupEnabled:false}]},contextMap:{}}}]



wangyuyang1...@163.commailto:wangyuyang1...@163.com



Re: [GitHub] cloudstack pull request: 4.4 for centos7

2015-03-24 Thread Remi Bergsma
Hi,

The rpm installed just fine and I was able to add the centos7 box to CloudStack 
4.4.2

We do have some extra patches in our 4.4.2 version (all committed back to ACS 
and should become 4.4.3) but I don't think that makes any difference for this 
rpm. 

Thanks Daan!

Sent from my iPhone

 On 24 Mar 2015, at 08:12, K0zka g...@git.apache.org wrote:
 
 Github user K0zka commented on the pull request:
 
https://github.com/apache/cloudstack/pull/125#issuecomment-85372139
 
Looks good, I can only test it in the evening, anyone if you get there 
 first pls go ahead and merge!
 
 
 ---
 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: Fwd: [GSOC] Setting up multiple devcloud host in cloudstack dev environment

2015-03-24 Thread Tilak Raj Singh
I couldnt deploy the zone pod cluster successfully hence there were no
hosts and I couldnt launch a VM. Later what I did was manually create zone
pod cluster and added the host and storage through the UI and it was
successfull. The system vms came up nicely. But it gave me connection timed
out when I tried to view the console of the CPVM or SSVM.

On Tue, Mar 24, 2015 at 7:45 AM, Will Stevens williamstev...@gmail.com
wrote:

 Can you launch a VM through the CS ui?
 On Mar 23, 2015 9:14 PM, Tilak Raj Singh tila...@gmail.com wrote:

  Hi Will,
 
  yeah cloudstack management is running fine...I can open
  127.0.0.1:8080/client on my browser...And there are two vms
  running..xenserver : I can ssh into it on port  and management : i
 can
  ssh into it on port 2200. I configured the networking in virtual box
 under
  preferences/network/vboxnet0 192.168.56.1 and dhcp disabled...but there
 is
  nothing under preferences/network/NAT in the virtualbox...do I have to
  configure something there??
 
  On Tue, Mar 24, 2015 at 6:32 AM, Will Stevens williamstev...@gmail.com
  wrote:
 
   Is the cloudstack up and working?  Did you check in virtual box if the
   box(s?) are up?  If so can you check the logs?
  
   It seems like you are not getting your networking configured because
 the
  VM
   seems to come up but there is no connection. Is the network reported
   correct?  Nat and host only is right?  I think that is what I read.
  
   Ws
   On Mar 23, 2015 8:54 PM, Tilak Raj Singh tila...@gmail.com wrote:
  
-- Forwarded message --
From: Tilak Raj Singh tila...@gmail.com
Date: Tue, Mar 24, 2015 at 6:12 AM
Subject: Re: [GSOC] Setting up multiple devcloud host in cloudstack
 dev
environment
To: Pierre-Luc Dion pd...@cloudops.com
   
   
I just tried deploying on 4.3 branch using binary directory on 4.3
  branch
https://github.com/imduffy15/devcloud4/tree/master/basic and
 followed
   the
instructions given here
https://github.com/imduffy15/devcloud4/blob/master/basic/README.md
   
still I am getting the same error... :/
   
Traceback (most recent call last):
  File /usr/lib/python2.7/runpy.py, line 162, in
 _run_module_as_main
__main__, fname, loader, pkg_name)
  File /usr/lib/python2.7/runpy.py, line 72, in _run_code
exec code in run_globals
  File
   /usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py,
line 572, in module
deploy.deploy()
  File
   /usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py,
line 554, in deploy
self.loadCfg()
  File
   /usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py,
line 516, in loadCfg
mgtDetails.apiKey, mgtDetails.securityKey = self.registerApiKey()
  File
   /usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py,
line 485, in registerApiKey
listuserRes = self.testClient.getApiClient().listUsers(listuser)
  File
   
   
  
 
 /usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py,
line 527, in listUsers
response = self.connection.marvinRequest(command,
response_type=response, method=method)
  File
   
  /usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py,
line 272, in marvinRequest
response = jsonHelper.getResultObj(response.json(),
 response_type)
  File /usr/local/lib/python2.7/dist-packages/requests/models.py,
  line
802, in json
return json.loads(self.text, **kwargs)
  File /usr/lib/python2.7/dist-packages/simplejson/__init__.py,
 line
   413,
in loads
return _default_decoder.decode(s)
  File /usr/lib/python2.7/dist-packages/simplejson/decoder.py, line
   402,
in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File /usr/lib/python2.7/dist-packages/simplejson/decoder.py, line
   420,
in raw_decode
raise JSONDecodeError(No JSON object could be decoded, s, idx)
simplejson.decoder.JSONDecodeError: No JSON object could be decoded:
   line 1
column 0 (char 0)
   
   
I cant figure out if the issue is in python or simplejson so I
   reinstalled
both but I am still stuck at the same stage
   
On Tue, Mar 24, 2015 at 4:53 AM, Tilak Raj Singh tila...@gmail.com
wrote:
   
 Yeah I tried the binary-installation-basic one but ended up getting
  the
 errors I posted above. I followed up trying the not binary advanced
  as
you
 are provisioning. Doing vagrant up setup xenserver and management
   server
 successfully.

 I installed Marvin successfully doing 2015-03-24 04:41:49,970 -
  DEBUG -
 Parsing Test data successfully using pip install
 tools/marvin/dist/Marvin-0.1.0.tar.gz. But when I try to deploy the
 configuration using python -m marvin.deployDataCenter -i
 /path/to/GSoC-2014/repo/advanced/advanced.json I get the following
   error
in
 the log files