cloudstack-6378 Bug

2014-08-24 Thread Michael Phillips
All,
   I initially reported this issue back on 4/10/14 and it was marked as fixed 
however I just installed a fresh install on 4.4.0 on centos and the problem 
remains. I updated the JIRA ticket with the details.
https://issues.apache.org/jira/browse/CLOUDSTACK-6378

  

[GitHub] cloudstack-docs-install pull request: Updated systemvm template pa...

2014-08-24 Thread terbolous
Github user terbolous closed the pull request at:

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


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


VM & Storage migration only works once & not vice versa CS 4.3 Xen 6.2 SP1

2014-08-24 Thread Amin Samir
Hello,

 
We have two clusters, the environment is as follows:

? CS Mgmt server 4.3 on CentOS 6.5

? Hypervisors Xen Server 6.2 SP1.

? One Zone, Two clusters with different two primary storage servers.

? Primary & Secondary storage are NFS based.

 
When attempting to move a VM from one cluster to another, we succeed only the 
first time, the VM and its files are moved to a new hypervisor and new storage 
server in the new cluster, however when attempting to migrate the VM to the 
original cluster, host, and original storage, the migration fails, so it is 
only one time migration.

 
The logs are as follows, we would appreciate if someone has faced this issue 
before, it is very helpful feature in cloud stack to migrate across clusters 
and storage servers, but it seems it is not working, cause we simulated the 
environment on CS 4.3 from scratch installation and the behaviour is the same.

 
/mnt/DATA/VM-SEC-01/volumes/2/1071 is not being created.

 
2014-08-21 11:37:40,671 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(catalina-exec-21:ctx-da934e40 ctx-fb603895) submit async job-10947, details: 
AsyncJobVO {id:10947, userId: 2, accountId:

2, instanceType: None, instanceId: null, cmd: 
org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd, cmdInfo: 
{"response":"json","sessionkey":"w6C9EF9N9Xi0AhEXZ3Cdc9nQNkI\u003d","virtu

almachineid":"ae028abb-4181-49fb-913f-bda34f77d792","cmdEventType":"VM.MIGRATE","ctxUserId":"2","storageid":"098d4f7a-a040-3462-add1-d618d6ec53c1","httpmethod":"GET","_":"1408592259844",

"ctxAccountId":"2","ctxStartEventId":"1088984"}, cmdVersion: 0, status: 
IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 
53350633438879, completeMsid: null, lastUpda

ted: null, lastPolled: null, created: null}

2014-08-21 11:37:40,671 INFO  [o.a.c.f.j.i.AsyncJobMonitor] 
(Job-Executor-14:ctx-57b36727) Add job-10947 into job monitoring

2014-08-21 11:37:40,671 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(Job-Executor-14:ctx-57b36727) Executing AsyncJobVO {id:10947, userId: 2, 
accountId: 2, instanceType: None, instanceId: nu

ll, cmd: org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd, cmdInfo: 
{"response":"json","sessionkey":"w6C9EF9N9Xi0AhEXZ3Cdc9nQNkI\u003d","virtualmachineid":"ae028abb-4181-49fb-913f

-bda34f77d792","cmdEventType":"VM.MIGRATE","ctxUserId":"2","storageid":"098d4f7a-a040-3462-add1-d618d6ec53c1","httpmethod":"GET","_":"1408592259844","ctxAccountId":"2","ctxStartEventId":

"1088984"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 
0, result: null, initMsid: 53350633438879, completeMsid: null, lastUpdated: 
null, lastPolled: null, created:

null}

2014-08-21 11:37:40,672 DEBUG [c.c.a.ApiServlet] (catalina-exec-21:ctx-da934e40 
ctx-fb603895) ===END===  103.4.132.4 -- GET  
command=migrateVirtualMachine&storageid=098d4f7a-a040-3462-ad

d1-d618d6ec53c1&virtualmachineid=ae028abb-4181-49fb-913f-bda34f77d792&response=json&sessionkey=w6C9EF9N9Xi0AhEXZ3Cdc9nQNkI%3D&_=1408592259844

2014-08-21 11:37:40,738 DEBUG [c.c.c.CapacityManagerImpl] 
(Job-Executor-14:ctx-57b36727 ctx-fb603895) VM state transitted from :Stopped 
to Migrating with event: StorageMigrationRequested

vm's original host id: 73 new host id: null host id before state transition: 
null

2014-08-21 11:37:40,943 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] 
(Job-Executor-14:ctx-57b36727 ctx-fb603895) copyAsync inspecting src type 
VOLUME copyAsync inspecting dest type VOLUME

2014-08-21 11:37:40,946 DEBUG [o.a.c.s.c.a.StorageCacheRandomAllocator] 
(Job-Executor-14:ctx-57b36727 ctx-fb603895) Can't find staging storage in zone: 
1

2014-08-21 11:37:41,092 DEBUG [c.c.a.t.Request] (Job-Executor-14:ctx-57b36727 
ctx-fb603895) Seq 73-1469252089: Sending  { Cmd , MgmtId: 53350633438879, via: 
73(XEN-08), Ver: v1, Flags: 1

00011, 
[{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"86417b6e-3fda-476e-b4d1-3bc77a67be89","volumeType":"ROOT

","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"1a07254a-c9d4-3ae0-8090-461e6597d818","id":221,"poolType":"NetworkFilesystem","host":"10.8.1.40","path":"/mn

t/DRIVE/DATA","port":2049,"url":"NetworkFilesystem://10.8.1.40//mnt/DRIVE/DATA/?ROLE=Primary&STOREUUID=1a07254a-c9d4-3ae0-8090-461e6597d818"}},"name":"ROOT-710","size":42949672960,"path"

:"c0669da9-1f91-4bdf-85aa-1d90bd9dc966","volumeId":1071,"vmName":"i-2-710-VM","accountId":2,"format":"VHD","id":1071,"deviceId":0,"hypervisorType":"XenServer"}},"destTO":{"org.apache.clo

udstack.storage.to.VolumeObjectTO":{"uuid":"86417b6e-3fda-476e-b4d1-3bc77a67be89","volumeType":"ROOT","dataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://10.8.1.30/mnt/DATA/VM-SEC

-01","_role":"Image"}},"name":"ROOT-710","size":42949672960,"path":"volumes/2/1071","volumeId":1071,"vmName":"i-2-710-VM","accountId":2,"format":"VHD","id":1071,"deviceId":0,"hypervisorT

ype":"XenServer"}},"executeInSeq

Question about Ceph and Snapshots

2014-08-24 Thread Mike Tutkowski
Hey Wido,

Can you point me in the right direction to examine the code related to
volume snapshots being taken when Ceph is being used for primary storage?

I don't see a Ceph storage plug-in that implements the takeSnapshot method.

In particular, I'm curious how the backup process works.

Thanks!

-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
*™*


Build failed in Jenkins: simulator-singlerun #188

2014-08-24 Thread jenkins
See 

Changes:

[girish] CLOUDSTACK-7413: Adding required_hardware tag to regression test cases 
so that the test cases are picked up by simulator accordingly

--
[...truncated 7396 lines...]
---
Running com.cloud.consoleproxy.ConsoleProxyRdpClientTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.168 sec

Results :

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

[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ cloud-console-proxy ---
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
cloud-console-proxy ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
cloud-console-proxy ---
[INFO] Installing 

 to 
/var/lib/jenkins/.m2/repository/org/apache/cloudstack/cloud-console-proxy/4.5.0-SNAPSHOT/cloud-console-proxy-4.5.0-SNAPSHOT.jar
[INFO] Installing 

 to 
/var/lib/jenkins/.m2/repository/org/apache/cloudstack/cloud-console-proxy/4.5.0-SNAPSHOT/cloud-console-proxy-4.5.0-SNAPSHOT.pom
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack System VM 4.5.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-systemvm ---
[INFO] Deleting 
 
(includes = [**/*], excludes = [])
[INFO] Deleting 
 
(includes = [**/*], excludes = [])
[INFO] Deleting 
 (includes 
= [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-systemvm ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (build-cloud-scripts) @ cloud-systemvm 
---
[INFO] Executing tasks

main:
[mkdir] Created dir: 

[mkdir] Created dir: 

[mkdir] Created dir: 

 [copy] Copying 105 files to 

 [copy] Copying 3 files to 

  [tar] Building tar: 

 [gzip] Building: 

   [delete] Deleting directory 

   [delete] Deleting: 

[INFO] Executed tasks
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-systemvm 
---
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
cloud-systemvm ---
[INFO] 
[INFO] --- maven-assembly-plugin:2.2.1:single (make-systemvm) @ cloud-systemvm 
---
[INFO] Reading assembly descriptor: systemvm-descriptor.xml
[WARNING] Cannot include project artifact: 
org.apache.cloudstack:cloud-systemvm:pom:4.5.0-SNAPSHOT; it doesn't have an 
associated file or directory.
[INFO] Building zip: 

[INFO] 
[INFO] --- maven-resources-plugin:2.5:copy-resources (copy-resources) @ 
cloud-systemvm ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO] 
[INFO] --- exec-maven-plugin:1.2.1:exec (default) @ cloud-systemvm ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
cloud-systemvm ---
[INFO] Installing 
 to 
/var/lib/jenkins/.m2/repository/org/apache/cloudstack/cloud-systemvm/4.5.0-SNAPSHOT/cloud-systemvm-4.5.0-SNAPSHOT.pom
[INFO] Installing 

 to 
/var/lib/jenkins/

RE: VM & Storage migration only works once & not vice versa CS 4.3 Xen 6.2 SP1

2014-08-24 Thread Sanjeev Neelarapu
Hi Amin,

There are no error messages in the log snippet you have provided. 
Is the host in the 2nd cluster from which you are trying vm& storage migration 
(2nd time after successful migration) able to mount the primary storage in the 
cluster1? If not you may have to resolve that issue. Otherwise open a defect.

Thanks,
Sanjeev

-Original Message-
From: Amin Samir [mailto:a...@opencloud.net.au] 
Sent: Monday, August 25, 2014 7:21 AM
To: dev@cloudstack.apache.org; us...@cloudstack.apache.org
Subject: VM & Storage migration only works once & not vice versa CS 4.3 Xen 6.2 
SP1

Hello,

 
We have two clusters, the environment is as follows:

? CS Mgmt server 4.3 on CentOS 6.5

? Hypervisors Xen Server 6.2 SP1.

? One Zone, Two clusters with different two primary storage servers.

? Primary & Secondary storage are NFS based.

 
When attempting to move a VM from one cluster to another, we succeed only the 
first time, the VM and its files are moved to a new hypervisor and new storage 
server in the new cluster, however when attempting to migrate the VM to the 
original cluster, host, and original storage, the migration fails, so it is 
only one time migration.

 
The logs are as follows, we would appreciate if someone has faced this issue 
before, it is very helpful feature in cloud stack to migrate across clusters 
and storage servers, but it seems it is not working, cause we simulated the 
environment on CS 4.3 from scratch installation and the behaviour is the same.

 
/mnt/DATA/VM-SEC-01/volumes/2/1071 is not being created.

 
2014-08-21 11:37:40,671 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(catalina-exec-21:ctx-da934e40 ctx-fb603895) submit async job-10947, details: 
AsyncJobVO {id:10947, userId: 2, accountId:

2, instanceType: None, instanceId: null, cmd: 
org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd, cmdInfo: 
{"response":"json","sessionkey":"w6C9EF9N9Xi0AhEXZ3Cdc9nQNkI\u003d","virtu

almachineid":"ae028abb-4181-49fb-913f-bda34f77d792","cmdEventType":"VM.MIGRATE","ctxUserId":"2","storageid":"098d4f7a-a040-3462-add1-d618d6ec53c1","httpmethod":"GET","_":"1408592259844",

"ctxAccountId":"2","ctxStartEventId":"1088984"}, cmdVersion: 0, status: 
IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 
53350633438879, completeMsid: null, lastUpda

ted: null, lastPolled: null, created: null}

2014-08-21 11:37:40,671 INFO  [o.a.c.f.j.i.AsyncJobMonitor] 
(Job-Executor-14:ctx-57b36727) Add job-10947 into job monitoring

2014-08-21 11:37:40,671 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(Job-Executor-14:ctx-57b36727) Executing AsyncJobVO {id:10947, userId: 2, 
accountId: 2, instanceType: None, instanceId: nu

ll, cmd: org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd, cmdInfo: 
{"response":"json","sessionkey":"w6C9EF9N9Xi0AhEXZ3Cdc9nQNkI\u003d","virtualmachineid":"ae028abb-4181-49fb-913f

-bda34f77d792","cmdEventType":"VM.MIGRATE","ctxUserId":"2","storageid":"098d4f7a-a040-3462-add1-d618d6ec53c1","httpmethod":"GET","_":"1408592259844","ctxAccountId":"2","ctxStartEventId":

"1088984"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 
0, result: null, initMsid: 53350633438879, completeMsid: null, lastUpdated: 
null, lastPolled: null, created:

null}

2014-08-21 11:37:40,672 DEBUG [c.c.a.ApiServlet] (catalina-exec-21:ctx-da934e40 
ctx-fb603895) ===END===  103.4.132.4 -- GET  
command=migrateVirtualMachine&storageid=098d4f7a-a040-3462-ad

d1-d618d6ec53c1&virtualmachineid=ae028abb-4181-49fb-913f-bda34f77d792&response=json&sessionkey=w6C9EF9N9Xi0AhEXZ3Cdc9nQNkI%3D&_=1408592259844

2014-08-21 11:37:40,738 DEBUG [c.c.c.CapacityManagerImpl] 
(Job-Executor-14:ctx-57b36727 ctx-fb603895) VM state transitted from :Stopped 
to Migrating with event: StorageMigrationRequested

vm's original host id: 73 new host id: null host id before state transition: 
null

2014-08-21 11:37:40,943 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] 
(Job-Executor-14:ctx-57b36727 ctx-fb603895) copyAsync inspecting src type 
VOLUME copyAsync inspecting dest type VOLUME

2014-08-21 11:37:40,946 DEBUG [o.a.c.s.c.a.StorageCacheRandomAllocator] 
(Job-Executor-14:ctx-57b36727 ctx-fb603895) Can't find staging storage in zone: 
1

2014-08-21 11:37:41,092 DEBUG [c.c.a.t.Request] (Job-Executor-14:ctx-57b36727 
ctx-fb603895) Seq 73-1469252089: Sending  { Cmd , MgmtId: 53350633438879, via: 
73(XEN-08), Ver: v1, Flags: 1

00011, 
[{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"86417b6e-3fda-476e-b4d1-3bc77a67be89","volumeType":"ROOT

","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"1a07254a-c9d4-3ae0-8090-461e6597d818","id":221,"poolType":"NetworkFilesystem","host":"10.8.1.40","path":"/mn

t/DRIVE/DATA","port":2049,"url":"NetworkFilesystem://10.8.1.40//mnt/DRIVE/DATA/?ROLE=Primary&STOREUUID=1a07254a-c9d4-3ae0-8090-461e6597d818"}},"name":"ROOT-710","size":42949672960,"path"

:"c0

Build failed in Jenkins: simulator-singlerun #189

2014-08-24 Thread jenkins
See 

--
[...truncated 7377 lines...]
[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-console-proxy 
---
[INFO] Surefire report directory: 


---
 T E S T S
---
Running com.cloud.consoleproxy.ConsoleProxyRdpClientTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.172 sec

Results :

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

[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ cloud-console-proxy ---
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
cloud-console-proxy ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
cloud-console-proxy ---
[INFO] Installing 

 to 
/var/lib/jenkins/.m2/repository/org/apache/cloudstack/cloud-console-proxy/4.5.0-SNAPSHOT/cloud-console-proxy-4.5.0-SNAPSHOT.jar
[INFO] Installing 

 to 
/var/lib/jenkins/.m2/repository/org/apache/cloudstack/cloud-console-proxy/4.5.0-SNAPSHOT/cloud-console-proxy-4.5.0-SNAPSHOT.pom
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack System VM 4.5.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-systemvm ---
[INFO] Deleting 
 
(includes = [**/*], excludes = [])
[INFO] Deleting 
 
(includes = [**/*], excludes = [])
[INFO] Deleting 
 (includes 
= [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-systemvm ---
[INFO] Starting audit...
Audit done.

[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (build-cloud-scripts) @ cloud-systemvm 
---
[INFO] Executing tasks

main:
[mkdir] Created dir: 

[mkdir] Created dir: 

[mkdir] Created dir: 

 [copy] Copying 105 files to 

 [copy] Copying 3 files to 

  [tar] Building tar: 

 [gzip] Building: 

   [delete] Deleting directory 

   [delete] Deleting: 

[INFO] Executed tasks
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-systemvm 
---
[INFO] 
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
cloud-systemvm ---
[INFO] 
[INFO] --- maven-assembly-plugin:2.2.1:single (make-systemvm) @ cloud-systemvm 
---
[INFO] Reading assembly descriptor: systemvm-descriptor.xml
[WARNING] Cannot include project artifact: 
org.apache.cloudstack:cloud-systemvm:pom:4.5.0-SNAPSHOT; it doesn't have an 
associated file or directory.
[INFO] Building zip: 

[INFO] 
[INFO] --- maven-resources-plugin:2.5:copy-resources (copy-resources) @ 
cloud-systemvm ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO] 
[INFO] --- exec-maven-plugin:1.2.1:exec (default) @ cloud-systemvm ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
cloud-systemvm ---
[INFO] Installing 
 to 
/var/lib/jenkins/.m2/repository/org/apache/cloudstack/cloud-systemvm/4.5.0-SNAPSHOT/cloud-systemvm-

Re: Review Request 23452: CLOUDSTACK-4840: Automation tests - LB for secondary IP

2014-08-24 Thread sanjeev n

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

Ship it!


- sanjeev n


On Aug. 22, 2014, 6:24 a.m., Ashutosh Kelkar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/23452/
> ---
> 
> (Updated Aug. 22, 2014, 6:24 a.m.)
> 
> 
> Review request for cloudstack, suresh sadhu, sailaja mada, sanjeev n, Sowmya 
> Krishnan, and SrikanteswaraRao Talluri.
> 
> 
> Bugs: CLOUDSTACK-4840
> https://issues.apache.org/jira/browse/CLOUDSTACK-4840
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Adding automation tests for LB for secondary IP
> 
> 
> Diffs
> -
> 
>   test/integration/component/test_lb_secondary_ip.py PRE-CREATION 
>   tools/marvin/marvin/config/test_data.py a93b883 
>   tools/marvin/marvin/lib/base.py f0d53a6 
> 
> Diff: https://reviews.apache.org/r/23452/diff/
> 
> 
> Testing
> ---
> 
> Yes.
> 
> 
> Thanks,
> 
> Ashutosh Kelkar
> 
>



Re: Review Request 23452: CLOUDSTACK-4840: Automation tests - LB for secondary IP

2014-08-24 Thread sanjeev n

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

Ship it!


Ship It!

- sanjeev n


On Aug. 22, 2014, 6:24 a.m., Ashutosh Kelkar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/23452/
> ---
> 
> (Updated Aug. 22, 2014, 6:24 a.m.)
> 
> 
> Review request for cloudstack, suresh sadhu, sailaja mada, sanjeev n, Sowmya 
> Krishnan, and SrikanteswaraRao Talluri.
> 
> 
> Bugs: CLOUDSTACK-4840
> https://issues.apache.org/jira/browse/CLOUDSTACK-4840
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Adding automation tests for LB for secondary IP
> 
> 
> Diffs
> -
> 
>   test/integration/component/test_lb_secondary_ip.py PRE-CREATION 
>   tools/marvin/marvin/config/test_data.py a93b883 
>   tools/marvin/marvin/lib/base.py f0d53a6 
> 
> Diff: https://reviews.apache.org/r/23452/diff/
> 
> 
> Testing
> ---
> 
> Yes.
> 
> 
> Thanks,
> 
> Ashutosh Kelkar
> 
>



Re: API doc build failure in 4.4 ARM

2014-08-24 Thread Rajani Karuturi
Can you check java and javac version?
Both should be 1.7.x


~Rajani


On Sun, Aug 24, 2014 at 3:50 AM, Ezaul Zillmer 
wrote:

> Hi all
> I'm trying to compile in 4.4 cloustack cubieboard2 ARMv7
> 'm encontrondo a difficulty to compile apidocs FAILURE
> post here the result of the compilation would like to know what to do to
> solve
> this problem?
>
> INFO] Apache CloudStack Plugin - Palo Alto .. SUCCESS [1:
> 10.948s]
> [INFO] Apache CloudStack Plugin - Network NetScaler .. SUCCESS [1:
> 13.317s]
> [INFO] Apache CloudStack Plugin - Network Nicira NVP . SUCCESS [1:
> 20.384s]
> [INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment SUCCESS
> [56.306s]
> [INFO] Apache CloudStack Plugin - Midokura Midonet ... SUCCESS [2:
> 08.551s]
> [INFO] Apache CloudStack Plugin - Stratosphere SSP ... SUCCESS
> [56.283s]
> [INFO] Apache CloudStack Plugin - Network Opendaylight ... SUCCESS
> [56.978s]
> [INFO] Apache CloudStack Plugin - Random Storage Allocator SUCCESS
> [34.541s]
> [INFO] Apache CloudStack Plugin - User Authenticator LDAP SUCCESS [1:
> 39.094s]
> [INFO] Apache CloudStack Plugin - User Authenticator MD5. SUCCESS [35.514s]
> [INFO] Apache CloudStack Plugin - User Authenticator Plain Text SUCCESS
> [32.886s]
> [INFO] Apache CloudStack Plugin - User Authenticator Salted SHA256 SUCCESS
> [44.703s]
> [INFO] Apache CloudStack Plugin - Dns Notifier Example ... SUCCESS
> [32.130s]
> [INFO] Apache CloudStack Plugin - Image S3 Storage ... SUCCESS
> [38.533s]
> [INFO] Apache CloudStack Plugin - Image Storage provider Swift SUCCESS
> [35.296s]
> [INFO] Apache CloudStack Plugin - Image Storage default provider SUCCESS
> [35.825s]
> [INFO] Apache CloudStack Plugin - Storage Image sample provider SUCCESS
> [34.548s]
> [INFO] Apache CloudStack Plugin - Volume Nexenta Storage Provider SUCCESS
> [47.713s]
> [INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider SUCCESS
> [1: 11.799s]
> [INFO] Apache CloudStack Plugin - Volume Storage default provider SUCCESS
> [37.480s]
> [INFO] Apache CloudStack Plugin - Storage Volume CloudByte Provider SUCCESS
> [48.737s]
> [INFO] Apache CloudStack Plugin - Storage Volume sample provider SUCCESS
> [35.173s]
> [INFO] Apache CloudStack Plugin - SNMP Alerts  SUCCESS
> [48.381s]
> [INFO] Apache CloudStack Plugin - Syslog Alerts .. SUCCESS
> [41.366s]
> [INFO] Apache CloudStack Plugin - VXLAN Network .. SUCCESS
> [49.315s]
> [INFO] Apache CloudStack Framework - Spring Module ... SUCCESS
> [47.235s]
> [INFO] Apache CloudStack Secondary Storage Controller  SUCCESS
> [38.601s]
> [INFO] Apache CloudStack Console Proxy - RDP Client .. SUCCESS [1:
> 42.416s]
> [INFO] Apache CloudStack Console Proxy ... SUCCESS
> [15.272s]
> [INFO] Apache CloudStack Console Proxy - Server .. SUCCESS
> [45.385s]
> [INFO] Apache CloudStack System ... VM SUCCESS [1:
> 44.692s]
> [INFO] Apache CloudStack UI Client ... SUCCESS [4:
> 02.765s]
> [INFO] Apache CloudStack Framework - QuickCloud .. SUCCESS
> [14.270s]
> [INFO] Apache CloudStack Test  SUCCESS
> [33.130s]
> [INFO] Apache CloudStack Developer Mode .. SUCCESS
> [31.887s]
> [INFO] Apache CloudStack Developer Tools . SUCCESS [4.948s]
> [INFO] Apache CloudStack apidocs . FAILURE [4:
> 55.573s]
> [INFO] Apache CloudStack marvin .. SKIPPED
> [INFO] Apache CloudStack DevCloud  SKIPPED
> [INFO] Apache CloudStack DevCloud-KVM  SKIPPED
> [INFO] ---
> -
> [INFO] BUILD FAILURE
> [INFO] ---
> -
> [INFO] Total time: 1: 49: 29.237s
> [INFO] Finished at: Sat Aug 23 16:27:15 EDT 2014
> [INFO] Final Memory: 61M / 159M
> [INFO] ---
> -
> [ERROR] Failed to execute goal org.codehaus.mojo: exec-maven-plugin: 1.2.1:
> exec (compile) on project cloud-apidoc: Command execution failed. Process
> exited with an error: 1 (Exit value: 1) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with
> the-and switch.
> [ERROR] Re-run Maven using the-X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read The Following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn  rf: cloud-apidoc
>
> Any Solution? for my problem?
> Thank you I'm waiting
>


Review Request 25017: Disabling VPC tests on Hyper-v

2014-08-24 Thread sanjeev n

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

Review request for cloudstack, John Dilley and Santhosh Edukulla.


Repository: cloudstack-git


Description
---

skipping VPC tests on Hyper-v. Made changes to following test scripts to skip 
VPC tests on Hyper-v :
/test/integration/smoke/test_network_acl.py 
b/test/integration/smoke/test_network_acl.py
/test/integration/smoke/test_privategw_acl.py 
b/test/integration/smoke/test_privategw_acl.py
test/integration/smoke/test_vpc_vpn.py b/test/integration/smoke/test_vpc_vpn.py


Diffs
-

  test/integration/smoke/test_network_acl.py 015ebab 
  test/integration/smoke/test_privategw_acl.py cf0f8e3 
  test/integration/smoke/test_vpc_vpn.py 9e8f97f 

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


Testing
---

Yes


Thanks,

sanjeev n



RE: VM & Storage migration only works once & not vice versa CS 4.3 Xen 6.2 SP1

2014-08-24 Thread Amin Samir
Hi Sanjeev,

Thank you for response, yes the host from the new cluster can mount the primary 
storage from the first cluster, I think this is the error

VM state transitted from :Stopped to Migrating with event: 
StorageMigrationRequested

vm's original host id: 73 new host id: null host id before state transition: 
null

Cheers



-Original Message-
From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@citrix.com] 
Sent: Monday, 25 August 2014 12:31 PM
To: us...@cloudstack.apache.org; dev@cloudstack.apache.org
Subject: RE: VM & Storage migration only works once & not vice versa CS 4.3 Xen 
6.2 SP1

Hi Amin,

There are no error messages in the log snippet you have provided. 
Is the host in the 2nd cluster from which you are trying vm& storage migration 
(2nd time after successful migration) able to mount the primary storage in the 
cluster1? If not you may have to resolve that issue. Otherwise open a defect.

Thanks,
Sanjeev

-Original Message-
From: Amin Samir [mailto:a...@opencloud.net.au] 
Sent: Monday, August 25, 2014 7:21 AM
To: dev@cloudstack.apache.org; us...@cloudstack.apache.org
Subject: VM & Storage migration only works once & not vice versa CS 4.3 Xen 6.2 
SP1

Hello,

 
We have two clusters, the environment is as follows:

? CS Mgmt server 4.3 on CentOS 6.5

? Hypervisors Xen Server 6.2 SP1.

? One Zone, Two clusters with different two primary storage servers.

? Primary & Secondary storage are NFS based.

 
When attempting to move a VM from one cluster to another, we succeed only the 
first time, the VM and its files are moved to a new hypervisor and new storage 
server in the new cluster, however when attempting to migrate the VM to the 
original cluster, host, and original storage, the migration fails, so it is 
only one time migration.

 
The logs are as follows, we would appreciate if someone has faced this issue 
before, it is very helpful feature in cloud stack to migrate across clusters 
and storage servers, but it seems it is not working, cause we simulated the 
environment on CS 4.3 from scratch installation and the behaviour is the same.

 
/mnt/DATA/VM-SEC-01/volumes/2/1071 is not being created.

 
2014-08-21 11:37:40,671 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(catalina-exec-21:ctx-da934e40 ctx-fb603895) submit async job-10947, details: 
AsyncJobVO {id:10947, userId: 2, accountId:

2, instanceType: None, instanceId: null, cmd: 
org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd, cmdInfo: 
{"response":"json","sessionkey":"w6C9EF9N9Xi0AhEXZ3Cdc9nQNkI\u003d","virtu

almachineid":"ae028abb-4181-49fb-913f-bda34f77d792","cmdEventType":"VM.MIGRATE","ctxUserId":"2","storageid":"098d4f7a-a040-3462-add1-d618d6ec53c1","httpmethod":"GET","_":"1408592259844",

"ctxAccountId":"2","ctxStartEventId":"1088984"}, cmdVersion: 0, status: 
IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 
53350633438879, completeMsid: null, lastUpda

ted: null, lastPolled: null, created: null}

2014-08-21 11:37:40,671 INFO  [o.a.c.f.j.i.AsyncJobMonitor] 
(Job-Executor-14:ctx-57b36727) Add job-10947 into job monitoring

2014-08-21 11:37:40,671 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(Job-Executor-14:ctx-57b36727) Executing AsyncJobVO {id:10947, userId: 2, 
accountId: 2, instanceType: None, instanceId: nu

ll, cmd: org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd, cmdInfo: 
{"response":"json","sessionkey":"w6C9EF9N9Xi0AhEXZ3Cdc9nQNkI\u003d","virtualmachineid":"ae028abb-4181-49fb-913f

-bda34f77d792","cmdEventType":"VM.MIGRATE","ctxUserId":"2","storageid":"098d4f7a-a040-3462-add1-d618d6ec53c1","httpmethod":"GET","_":"1408592259844","ctxAccountId":"2","ctxStartEventId":

"1088984"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 
0, result: null, initMsid: 53350633438879, completeMsid: null, lastUpdated: 
null, lastPolled: null, created:

null}

2014-08-21 11:37:40,672 DEBUG [c.c.a.ApiServlet] (catalina-exec-21:ctx-da934e40 
ctx-fb603895) ===END===  103.4.132.4 -- GET  
command=migrateVirtualMachine&storageid=098d4f7a-a040-3462-ad

d1-d618d6ec53c1&virtualmachineid=ae028abb-4181-49fb-913f-bda34f77d792&response=json&sessionkey=w6C9EF9N9Xi0AhEXZ3Cdc9nQNkI%3D&_=1408592259844

2014-08-21 11:37:40,738 DEBUG [c.c.c.CapacityManagerImpl] 
(Job-Executor-14:ctx-57b36727 ctx-fb603895) VM state transitted from :Stopped 
to Migrating with event: StorageMigrationRequested

vm's original host id: 73 new host id: null host id before state transition: 
null

2014-08-21 11:37:40,943 DEBUG [o.a.c.s.m.AncientDataMotionStrategy] 
(Job-Executor-14:ctx-57b36727 ctx-fb603895) copyAsync inspecting src type 
VOLUME copyAsync inspecting dest type VOLUME

2014-08-21 11:37:40,946 DEBUG [o.a.c.s.c.a.StorageCacheRandomAllocator] 
(Job-Executor-14:ctx-57b36727 ctx-fb603895) Can't find staging storage in zone: 
1

2014-08-21 11:37:41,092 DEBUG [c.c.a.t.Request] (Job-Executor-14:ctx-57b36727 
ctx-fb603895) Seq 73-1469252089: Sending  { Cmd , MgmtId: 53350633438

Re: Question about Ceph and Snapshots

2014-08-24 Thread Wido den Hollander



On 08/25/2014 04:31 AM, Mike Tutkowski wrote:

Hey Wido,

Can you point me in the right direction to examine the code related to
volume snapshots being taken when Ceph is being used for primary storage?

I don't see a Ceph storage plug-in that implements the takeSnapshot method.


There is no specific code in the Management Server since it's all done 
by the KVM Agent.


You'll find most code in the LibvirtStorageAdapter in the KVM plugin 
code. That's where it takes the snapshots and copies it over ti 
Secondary Storage.




In particular, I'm curious how the backup process works.



In short, it asks Qemu to copy the RBD image to a QCOW2 file on 
Secondary Storage.


Wido


Thanks!



Re: rules for revolutionaries

2014-08-24 Thread Leo Simons
On Aug 22, 2014, at 6:45 PM, David Nalley  wrote:
>> This is, by-the-way, why active committers should want to become PMC 
>> members, to get the binding votes aligned to who is doing the work. The 
>> ratio PMC member / committer in this project scares me.
> 
> I am curious why it scares you. It doesn't seem terribly out of the
> norm.  CloudStack clearly isn't 1:1, or even 2:1 of some projects, but
> we aren't at the high end of the spectrum either.
> 
> For comparison here are some other Committer/PMC differences:
> CloudStack   96 committers, 29 PMC members 3.31 CtP
> Subversion78 committers, 43 PMC members 1.81 CtP
> Hadoop 96 committers, 51 PMC members 1.88 CtP
> Struts 56 committers, 17 PMC members 5.06 CtP
> Spamassassin  26 Committers, 7 PMC members, 3.71 CtP
> OpenOffice 140 committers, 27 PMC members, 5.19 CtP
> httpd110 committers, 55 PMC members 2.00 CtP
> xalan54 committers, 7 PMC members, 7.71 CtP
> WS   223 committers, 41 PMC members 5.43 CtP
> TomEE 28 committers, 8 PMC members, 3.50 CtP

Ha, that’s a nice list. Thanks David!

It was my perception things were way more skewed, I guess because we seem to 
have no shortage of active committers but there seem to be a much more limited 
amounts of votes coming through on, say, releases. Good to be set straight.

At some point jakarta was a few hundred committers and 7 PMC members, and that 
mostly worked out fine, so “scared” would be way too strong a word anyway.


cheers,


Leo



Jenkins build is unstable: simulator-singlerun #190

2014-08-24 Thread jenkins
See