Jenkins build is back to normal : build-master-noredist #1998

2013-12-31 Thread jenkins
See 



Re: Error while building

2013-12-31 Thread Daan Hoogland
On Mon, Dec 30, 2013 at 2:25 PM, Dumindu Buddhika
 wrote:
> ERROR] Please refer to
> /media/TV&Movie/aca/cloudstack/server/target/surefire-reports for the
> individual test results.


did you look at the location above to find what the error is? The log
suggests its related to ssl. I haven't build the master build in a
while but I will probably this afternoon. I don't know of any
prerequisites for building it.


Re: Review Request 16520: console proxy rdp client to view console for hyperv

2013-12-31 Thread Anshul Gangwar

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

(Updated Dec. 31, 2013, 9:30 a.m.)


Review request for cloudstack, Devdeep Singh, Donal Lafferty, and Rajesh 
Battala.


Changes
---

updated the diff after rebasing to current 4.3


Bugs: https://issues.apache.org/jira/browse/CLOUDSTACK-5344

https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/CLOUDSTACK-5344


Repository: cloudstack-git


Description (updated)
---

this patch integrates the rdp client with console proxy for hyperv guest console

currently mouse event is disabled, will create separate patch for that 


Diffs (updated)
-

  
plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
 c885598 
  server/src/com/cloud/server/ManagementServer.java c5091e9 
  server/src/com/cloud/server/ManagementServerImpl.java cd8f3fb 
  server/src/com/cloud/servlet/ConsoleProxyClientParam.java 33f124a 
  server/src/com/cloud/servlet/ConsoleProxyServlet.java aad00a4 
  
services/console-proxy-rdp/rdpconsole/src/main/java/common/BufferedImageCanvas.java
 2418de3 
  
services/console-proxy-rdp/rdpconsole/src/main/java/common/adapter/AwtCanvasAdapter.java
 788d370 
  services/console-proxy-rdp/rdpconsole/src/main/java/rdpclient/RdpClient.java 
969dfc2 
  services/console-proxy/server/pom.xml 1149790 
  services/console-proxy/server/src/com/cloud/consoleproxy/ConsoleProxy.java 
2abce56 
  
services/console-proxy/server/src/com/cloud/consoleproxy/ConsoleProxyAjaxHandler.java
 f4d3a17 
  
services/console-proxy/server/src/com/cloud/consoleproxy/ConsoleProxyClientParam.java
 7041ff0 
  
services/console-proxy/server/src/com/cloud/consoleproxy/ConsoleProxyHttpHandlerHelper.java
 353137c 
  
services/console-proxy/server/src/com/cloud/consoleproxy/ConsoleProxyRdpClient.java
 PRE-CREATION 
  
services/console-proxy/server/src/com/cloud/consoleproxy/rdp/KeysymToKeycode.java
 PRE-CREATION 
  
services/console-proxy/server/src/com/cloud/consoleproxy/rdp/RdpBufferedImageCanvas.java
 PRE-CREATION 

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


Testing
---

tested on my local setup


Thanks,

Anshul Gangwar



Re: [DISCUSS][PROPOSAL]root admin api to deploy default system vm

2013-12-31 Thread Daan Hoogland
Saurav,

I do appreciate the cause you are championing but is this to be part
of the cloudstack core? shouldn't this functionality be an add-on that
can be optionally installed (using it's own template)?

regards,

On Mon, Dec 30, 2013 at 8:38 AM, Saurav Lahiri
 wrote:
> Hi,
> I am currently looking into cloudstack-3471 , wiki link beolw.
> (
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/API+to+extract+the+log+statements+by+jobid
> ).
>
> As part of it I was was planning on deploying and using default system vms
> to host
> the logstash+elasticsearch indexing/searching layer. After a bit of
> investigation it
> appears that in cloudstack currently there is no way to deploy and start
> default
> system vms. Is that correct. If thats the case I am proposing a root admin
> API to
>  deploy a default system vm. The idea is that this system vm can be used to
> host
>  additional add on services by installing additional tools/packages as
> required.
>  For eg: for the logsearchservice , the api should first deploy and start
> default
> system vm , then additional configuration scripts will install and
> configure the
> (logstash and elasticsearch). This would be convenient for admininstrators
> and
> they can start querying cloudstack logs by jobid without requiring to
> download
> additional templates or worry about other dependencies like java. . The
> existing
> mechanism of using ssh port 3922 and link local ip address for
> communication
> with the system vm would still stand.
>
> Would greatly appreciate feedback/suggestions on this proposal.
>
> Thanks
> Saurav


[Responsiveness report] users 2013w51

2013-12-31 Thread Daan Hoogland
http://markmail.org/message/uq272l2rwfnk4ex3 Use non-default net
device to start VM by James Towner
http://markmail.org/message/e77ikqt5vcft7qck public templates does NOT
get replicated to new NFS SS by Andrija Panic
http://markmail.org/message/3smj5r7djn5hn6fo Granularity: per customer
ROOT subdomain? by Nux!
http://markmail.org/message/y4mam7brivhdigde Bug: The zone is not
deletable because there are servers running in this zone by Marco
Sinhoreli
http://markmail.org/message/dn77l5po37hvz7nn System Virtual Routers
failed to start by James Towner
http://markmail.org/message/io2tg6jsnarkx4ng Secondary storage, why
ask me for VLAN if it's not to be used? by Nux!


for an explanation of this report see
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Responsiveness+report


Re: S3 multipart upload code

2013-12-31 Thread Daan Hoogland
Andrei,

Did you achieve what you wanted? 4.2.1 is on the 4.2 branch so I think
you made a typo in this mail.

On Thu, Dec 19, 2013 at 1:17 AM, Andrei Mikhailovsky  wrote:
> Hi guys,
>
> I am planning to backport the code responsible for multipart upload to S3 
> secondary storage from 4.2.1 brunch to 4.2.0. Could someone please help me 
> with this process? Is it a fairly simple excersie? if so, could you please 
> point me in the right direction.
>
> Many thanks


[Responsiveness report] dev 2013w51

2013-12-31 Thread Daan Hoogland
http://markmail.org/message/gf6mddkt77s7npmg [Review] UI Flow for SSL
Termination feature by Syed Ahmed

for an explanation of this report see
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Responsiveness+report


RE: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2013-12-31 Thread Suresh Sadhu
I  have pulled latest code and tried on 4.2 branch and not able to reproduce 
the issue (mine is nfs based  primary storage).can you please  provide more 
details on your setup .



Regards
Sadhu



-Original Message-
From: David Nalley [mailto:da...@gnsa.us] 
Sent: 30 December 2013 02:26
To: dev@cloudstack.apache.org
Subject: Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC

-1 (binding) because of the snapshot issues pointed out by Nux,
(CLOUDSTACK-5393)

--David

On Tue, Dec 17, 2013 at 5:49 AM, Abhinandan Prateek 
 wrote:
> The 4.2.1 is re-spun mainly because the commit that was used to generate the 
> previous RC did not get pushed to repo.
>
> Following are the particulars to vote for this time around:
>
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=
> refs/heads/4.2
> commit: 1b2b58fe352a19aee1721bd79b9d023d36e80ec5
>
> List of changes are available in Release Notes, a summary can be accessed 
> here:
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob_plain;
> f=CHANGES;hb=4.2
>
> Source release revision 3911 (checksums and signatures are available at the 
> same location):
> https://dist.apache.org/repos/dist/dev/cloudstack/4.2.1/
>
> PGP release keys (signed using RSA Key ID = 42443AA1):
> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>
> Vote will be open for 72 hours (until 20 Dec 2013 End of day PST).
>
> For sanity in tallying the vote, can PMC members please be sure to indicate 
> "(binding)" with their vote?
>
> [ ] +1  approve
> [ ] +0  no opinion
> [ ] -1  disapprove (and reason why)
>


Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2013-12-31 Thread Abhinandan Prateek
Suresh has tried reproducing the issue as per comment in
https://issues.apache.org/jira/browse/CLOUDSTACK-5393.
The issue is not reproducible. As per comment in 5393 I think Nux! is
going to verify, hoping that it is done at the earliest.

Thank you guys !
-abhi

On 23/12/13 8:04 pm, "Nux!"  wrote:

>On 23.12.2013 05:42, Abhinandan Prateek wrote:
>> It gives me immense pleasure to inform that the vote to label this ASF
>> 4.2.1 RC as the GA release has been passed with following stats:
>
>Can someone check KVM volume snapshots before declaring this GA? It's
>been consistently broken for me in 4.2.1-SNAPSHOT with NFS as well as
>GlusterFS shared mount point.
>It was working in 4.2.0 afaicr.
>
>I've sent several emails about this as well as bothering people in
>CLOUDSTACK-5393.
>http://www.mail-archive.com/dev@cloudstack.apache.org/msg20123.html
>
>HTH
>Lucian
>
>-- 
>Sent from the Delta quadrant using Borg technology!
>
>Nux!
>www.nux.ro



Review Request 16540: CLOUDSTACK-5692: cleanup API response for primary/secondary storages

2013-12-31 Thread Saksham Srivastava

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

Review request for cloudstack and Devdeep Singh.


Bugs: CLOUDSTACK-5692
https://issues.apache.org/jira/browse/CLOUDSTACK-5692


Repository: cloudstack-git


Description
---

Cleanup the API response while listing primary/secondary stores while using 
cifs.


Diffs
-

  server/src/com/cloud/api/query/dao/ImageStoreJoinDaoImpl.java 8022871 
  server/src/com/cloud/api/query/dao/StoragePoolJoinDaoImpl.java 4d2aac2 

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


Testing
---

Tested locally.


Thanks,

Saksham Srivastava



Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2013-12-31 Thread Nux!

On 31.12.2013 12:48, Abhinandan Prateek wrote:

Suresh has tried reproducing the issue as per comment in
https://issues.apache.org/jira/browse/CLOUDSTACK-5393.
The issue is not reproducible. As per comment in 5393 I think Nux! is
going to verify, hoping that it is done at the earliest.

Thank you guys !
-abhi


Can you guys share the RPMs you used in your tests? I could make an 
effort and test today.
My last tests failed both in Basic and Adv zone, with or without 
glusterfs involved at all.


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2013-12-31 Thread David Nalley
Suresh, did you test with latest from 4.2.1 or the 4.2.1 RC3 that's up
for vote?
--David

On Tue, Dec 31, 2013 at 7:41 AM, Suresh Sadhu  wrote:
> I  have pulled latest code and tried on 4.2 branch and not able to reproduce 
> the issue (mine is nfs based  primary storage).can you please  provide more 
> details on your setup .
>
>
>
> Regards
> Sadhu
>
>
>
> -Original Message-
> From: David Nalley [mailto:da...@gnsa.us]
> Sent: 30 December 2013 02:26
> To: dev@cloudstack.apache.org
> Subject: Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC
>
> -1 (binding) because of the snapshot issues pointed out by Nux,
> (CLOUDSTACK-5393)
>
> --David
>
> On Tue, Dec 17, 2013 at 5:49 AM, Abhinandan Prateek 
>  wrote:
>> The 4.2.1 is re-spun mainly because the commit that was used to generate the 
>> previous RC did not get pushed to repo.
>>
>> Following are the particulars to vote for this time around:
>>
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=
>> refs/heads/4.2
>> commit: 1b2b58fe352a19aee1721bd79b9d023d36e80ec5
>>
>> List of changes are available in Release Notes, a summary can be accessed 
>> here:
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob_plain;
>> f=CHANGES;hb=4.2
>>
>> Source release revision 3911 (checksums and signatures are available at the 
>> same location):
>> https://dist.apache.org/repos/dist/dev/cloudstack/4.2.1/
>>
>> PGP release keys (signed using RSA Key ID = 42443AA1):
>> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>>
>> Vote will be open for 72 hours (until 20 Dec 2013 End of day PST).
>>
>> 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)
>>


Review Request 16541: CLOUDSTACK-5636: Fixed issue 'Failed to upgrade network offering' in test_vpc_network test suite

2013-12-31 Thread Gaurav Aradhye

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

Review request for cloudstack and Girish Shilamkar.


Bugs: CLOUDSTACK-5636
https://issues.apache.org/jira/browse/CLOUDSTACK-5636


Repository: cloudstack-git


Description
---

Changes:
1) Load balancing rule is now applied to only one VM and not the other VM for 
which static NAT rule has been created. There is no need to include that VM 
under load balancing for which static NAT is defined.

2) When all the VMs in the VPC are stopped, network state goes from Implemented 
--> Shutdown --> Allocated. We can't update the network when it is in Shutdown 
state, we should wait for the network state to become Allocated. Added check 
for network state and then updated the network. This resolves the root cause of 
the issue 5636 (Failed to shutdown the network elements and resources as a part 
of update to network with specified id; network is in wrong state: Shutdown').

3) Code cleanup - removed unused variables, modifyed imports, removed 
white-spaces.


Diffs
-

  test/integration/component/test_vpc_network.py 9b2269d 

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


Testing
---

Tested locally.

Log:

test_01_create_network_network_offering (test_vpc_network_fixed.TestVPCNetwork)
Test create network in VPC ... skipped 'skip'
test_01_create_network_network_offering_vpcns 
(test_vpc_network_fixed.TestVPCNetwork)
Test create network in VPC ... skipped 'skip'
test_02_create_network_fail_network_offering 
(test_vpc_network_fixed.TestVPCNetwork)
Test create network in VPC mismatched services (Should fail) ... skipped 'skip'
test_02_create_network_fail_network_offering_vpcns 
(test_vpc_network_fixed.TestVPCNetwork)
Test create network in VPC mismatched services (Should fail) ... skipped 'skip'
test_04_create_multiple_networks_with_lb_network_offering 
(test_vpc_network_fixed.TestVPCNetwork)
Test create multiple networks with LB service (Should fail) ... skipped 'skip'
test_04_create_multiple_networks_with_lb_network_offering_vpcns 
(test_vpc_network_fixed.TestVPCNetwork)
Test create multiple networks with LB service (Should fail) ... skipped 'skip'
test_05_create_network_ext_LB (test_vpc_network_fixed.TestVPCNetwork)
Test create network with external LB devices ... skipped 'skip'
test_06_create_network_with_rvr (test_vpc_network_fixed.TestVPCNetwork)
Test create network with redundant router capability ... skipped 'skip'
test_07_create_network_unsupported_services 
(test_vpc_network_fixed.TestVPCNetwork)
Test create network services not supported by VPC (Should fail) ... skipped 
'skip'
test_08_create_network_without_sourceNAT (test_vpc_network_fixed.TestVPCNetwork)
Test create network without sourceNAT service in VPC (should fail) ... skipped 
'skip'
test_09_create_network_shared_nwoff_network_off_shared 
(test_vpc_network_fixed.TestVPCNetwork)
Test create network with shared network offering ... skipped 'skip'
test_09_create_network_shared_nwoff_network_offering_vpcns 
(test_vpc_network_fixed.TestVPCNetwork)
Test create network with shared network offering ... skipped 'skip'
test_10_create_network_with_conserve_mode_network_offering 
(test_vpc_network_fixed.TestVPCNetwork)
Test create network with conserve mode ON ... skipped 'skip'
test_10_create_network_with_conserve_mode_network_offering_vpcns 
(test_vpc_network_fixed.TestVPCNetwork)
Test create network with conserve mode ON ... skipped 'skip'
test_01_wait_network_gc (test_vpc_network_fixed.TestVPCNetworkGc)
Test network gc after shutdown of vms in the network ... skipped 'skip'
test_02_start_vm_network_gc (test_vpc_network_fixed.TestVPCNetworkGc)
Test network rules after starting a VpcVr that was shutdown after network.gc 
... skipped 'skip'
test_03_restart_vpcvr (test_vpc_network_fixed.TestVPCNetworkGc)
Test Stop all the Vms that are part of the a Network ... skipped 'skip'
test_01_create_network_outside_range_network_offering 
(test_vpc_network_fixed.TestVPCNetworkRanges)
Test create network outside cidr range of VPC ... skipped 'skip'
test_01_create_network_outside_range_network_offering_vpcns 
(test_vpc_network_fixed.TestVPCNetworkRanges)
Test create network outside cidr range of VPC ... skipped 'skip'
test_02_create_network_outside_range 
(test_vpc_network_fixed.TestVPCNetworkRanges)
Test create network outside cidr range of VPC ... skipped 'skip'
test_03_create_network_inside_range_network_offering 
(test_vpc_network_fixed.TestVPCNetworkRanges)
Test create network inside cidr range of VPC ... skipped 'skip'
test_03_create_network_inside_range_network_offering_vpcns 
(test_vpc_network_fixed.TestVPCNetworkRanges)
Test create network inside cidr range of VPC ... skipped 'skip'
test_04_create_network_overlapping_range_network_offering 
(test_vpc_network_fixed.TestVPCNetworkRanges)
Test create network overlapping cidr range of

console proxy rdp client test fails

2013-12-31 Thread Santhosh Edukulla
1. Despite stopping iptables service, i still get this error. Tried with latest 
4.3 branch.

2. Iam running rhel 6.2 on my laptop. I believe somebody else as well mentioned 
about these test failures. I am skipping tests to overcome this always 
currently.

[INFO] Apache CloudStack Console Proxy - RDP Client .. FAILURE [45.675s]
[INFO] Apache CloudStack Console Proxy ... SKIPPED
[INFO] Apache CloudStack Console Proxy - Server .. SKIPPED
[INFO] Apache CloudStack Framework - QuickCloud .. SKIPPED
[INFO] Apache CloudStack Developer Mode .. SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 5:54.541s
[INFO] Finished at: Wed Jan 01 01:09:54 IST 2014
[INFO] Final Memory: 71M/406M
[INFO] 
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on 
project cloudstack-service-console-proxy-rdpclient: There are test failures.
[ERROR] 
[ERROR] Please refer to 
/root/softwares/cscode/services/console-proxy-rdp/rdpconsole/target/surefire-reports
 for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
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/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :cloudstack-service-console-proxy-rdpclient

Thanks!
Santhosh

From: Santhosh Edukulla
Sent: Tuesday, November 19, 2013 6:15 AM
To: dev@cloudstack.apache.org
Subject: RE: Build with master fails

Actually i tried couple of times after the error and it persisted. On the same 
machine building 4.2 latest works fine, I "assume"( didnt verified ) these 
tests are also part of that branch as well. Going by the error message it seems 
that there is no route to connect some thing. Seeing the test code, it seems 
connect operation is failing or  server.getAddress() is returning none.

I have some iptables rules configured, is that the issue? I will stop this 
service totally and run one more time.

Regards,
Santhosh

From: Rajesh Battala [rajesh.batt...@citrix.com]
Sent: Tuesday, November 19, 2013 6:00 AM
To: dev@cloudstack.apache.org
Subject: RE: Build with master fails

Hi Santosh,
I had tried building on latest master. Tests were passed without any issues.
Jenkins job also passed building master.

Thanks
Rajesh Battala

-Original Message-
From: Santhosh Edukulla [mailto:santhosh.eduku...@citrix.com]
Sent: Tuesday, November 19, 2013 12:50 PM
To: dev@cloudstack.apache.org
Subject: RE: Build with master fails

-
Test set: rdpclient.MockServerTest
---
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 6.022 sec <<< 
FAILURE!
testIsMockServerCanRespond(rdpclient.MockServerTest)  Time elapsed: 3.024 sec  
<<< ERROR!
java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.socketConnect(Native Method)
at 
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
at 
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:191)
at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
at java.net.Socket.connect(Socket.java:546)
at java.net.Socket.connect(Socket.java:495)
at 
rdpclient.MockServerTest.testIsMockServerCanRespond(MockServerTest.java:60)
testIsMockServerCanUpgradeConnectionToSsl(rdpclient.MockServerTest)  Time 
elapsed: 2.991 sec  <<< ERROR!
java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.socketConnect(Native Method)
at 
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
at 
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:191)
at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
at java.net.Socket.connect(Socket.java:546)
at java.net.Socket.connect(Socket.java:495)
at 
rdpclient.MockServerTest.testIsMockServerCanUpgradeConnectionToSsl(MockServerTest.java:130)


Santhosh

From: Laszlo Hornyak [laszlo.horn...

Re: Error while building

2013-12-31 Thread Dumindu Buddhika
Thanks for the feedback.
Here is the report containing the test error(report file you pointed out).
it says some file is missing.
Please let me know the cause for the error if you can help. :)

Thank you

---
Test set: org.apache.cloudstack.network.lb.CertServiceTest
---
Tests run: 15, Failures: 0, Errors: 12, Skipped: 0, Time elapsed: 1.6 sec
<<< FAILURE!
runUploadSslCertWithCAChain(org.apache.cloudstack.network.lb.CertServiceTest)
 Time elapsed: 0.324 sec  <<< ERROR!
java.io.FileNotFoundException: File
'/media/TV%26Movie/aca/cloudstack/server/target/test-classes/certs/rsa_ca_signed.crt'
does not exist
at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:137)
at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:1102)
at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:1120)
at
org.apache.cloudstack.network.lb.CertServiceTest.runUploadSslCertWithCAChain(CertServiceTest.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
runUploadSslCertSelfSignedWithPassword(org.apache.cloudstack.network.lb.CertServiceTest)
 Time elapsed: 0 sec  <<< ERROR!
java.io.FileNotFoundException: File
'/media/TV%26Movie/aca/cloudstack/server/target/test-classes/certs/rsa_self_signed_with_pwd.crt'
does not exist
at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:137)
at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:1102)
at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:1120)
at
org.apache.cloudstack.network.lb.CertServiceTest.runUploadSslCertSelfSignedWithPassword(CertServiceTest.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at
org.junit.runners.BlockJUnit4C

Re: Review Request 16249: CLOUDSTACK-5496 : Account included in ActionEvents is Project Account ID

2013-12-31 Thread David Grizzanti

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

(Updated Dec. 31, 2013, 2:45 p.m.)


Review request for cloudstack.


Bugs: CLOUDSTACK-5496
https://issues.apache.org/jira/browse/CLOUDSTACK-5496


Repository: cloudstack-git


Description
---

CLOUDSTACK-5496 : Account included in ActionEvents is Project Account ID

When Action Events are generated and placed on the Event Bus, an "account" 
parameter is included with the event. When these events are generated for 
resources within projects, this "account" parameter is not useful as it's the 
UUID of the project account, instead of the project. 

To solve this, I updated ActionEventsUtil class to include a "project" 
parameter in the generated events when the resource is being 
changed/add/deleted in a project.


Diffs
-

  server/src/com/cloud/event/ActionEventUtils.java 5956eae 
  server/test/org/apache/cloudstack/affinity/AffinityApiUnitTest.java 7e21c09 

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


Testing
---

Testing done 4.2


Thanks,

David Grizzanti



Re: Review Request 16249: CLOUDSTACK-5496 : Account included in ActionEvents is Project Account ID

2013-12-31 Thread David Grizzanti

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

(Updated Dec. 31, 2013, 2:45 p.m.)


Review request for cloudstack and Murali Reddy.


Bugs: CLOUDSTACK-5496
https://issues.apache.org/jira/browse/CLOUDSTACK-5496


Repository: cloudstack-git


Description
---

CLOUDSTACK-5496 : Account included in ActionEvents is Project Account ID

When Action Events are generated and placed on the Event Bus, an "account" 
parameter is included with the event. When these events are generated for 
resources within projects, this "account" parameter is not useful as it's the 
UUID of the project account, instead of the project. 

To solve this, I updated ActionEventsUtil class to include a "project" 
parameter in the generated events when the resource is being 
changed/add/deleted in a project.


Diffs
-

  server/src/com/cloud/event/ActionEventUtils.java 5956eae 
  server/test/org/apache/cloudstack/affinity/AffinityApiUnitTest.java 7e21c09 

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


Testing
---

Testing done 4.2


Thanks,

David Grizzanti



Re: Error while building

2013-12-31 Thread Daan Hoogland
in my env:

$ ls server/target/test-classes/certs/
bad_format_cert.crt   rsa_ca_signed2.crt
dsa_self_signed.crt   rsa_ca_signed2.key
dsa_self_signed.key   rsa_random_pkey.key
expired_cert.crt  rsa_self_signed.crt
non_x509_pem.crt  rsa_self_signed.key
root_chain.crtrsa_self_signed_with_pwd.crt
rsa_ca_signed.crt rsa_self_signed_with_pwd.key
rsa_ca_signed.key

so I think you have a problem with either your environment (tools
installed?) or your system (diskspace?) or your checkout/clone didn't
fully succeed..??

I did
$ git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git

and then
$ mvn clean test

and it build without hesitation

good hunting,
Daan

On Tue, Dec 31, 2013 at 3:25 PM, Dumindu Buddhika
 wrote:
> Thanks for the feedback.
> Here is the report containing the test error(report file you pointed out).
> it says some file is missing.
> Please let me know the cause for the error if you can help. :)
>
> Thank you
>
> ---
> Test set: org.apache.cloudstack.network.lb.CertServiceTest
> ---
> Tests run: 15, Failures: 0, Errors: 12, Skipped: 0, Time elapsed: 1.6 sec
> <<< FAILURE!
> runUploadSslCertWithCAChain(org.apache.cloudstack.network.lb.CertServiceTest)
>  Time elapsed: 0.324 sec  <<< ERROR!
> java.io.FileNotFoundException: File
> '/media/TV%26Movie/aca/cloudstack/server/target/test-classes/certs/rsa_ca_signed.crt'
> does not exist
> at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:137)
> at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:1102)
> at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:1120)
> at
> org.apache.cloudstack.network.lb.CertServiceTest.runUploadSslCertWithCAChain(CertServiceTest.java:104)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
> at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
> at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> runUploadSslCertSelfSignedWithPassword(org.apache.cloudstack.network.lb.CertServiceTest)
>  Time elapsed: 0 sec  <<< ERROR!
> java.io.FileNotFoundException: File
> '/media/TV%26Movie/aca/cloudstack/server/target/test-classes/certs/rsa_self_signed_with_pwd.crt'
> does not exist
> at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:137)
> at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:1102)
> at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:1120)
> at
> org.apache.cloudstack.network.lb.CertS

Nexenta iSCSI and NFS driver

2013-12-31 Thread Victor Rodionov
Hello,

I want implement iSCSI and NFS driver for NexentaStor, what you think about
this guys?

Thanks,
Victor Rodionov


4.3 : Developer Profile, tools module commented

2013-12-31 Thread Santhosh Edukulla
Team,

For branch 4,3, the below commit appears to have commented the tools module 
under developer profile. Any specific reason?

commit fb1f3f0865c254abebfa5a43f66cef116fe36165
Author: Frank.Zhang 
Date:   Mon Oct 7 18:03:12 2013 -0700

Add missing Baremetal security_group_agent java part
Change security_group_agent python side in line with default security
group rules change in 4.2

Conflicts:


plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BareMetalResourceBase.java

diff --git a/pom.xml b/pom.xml
index 2cee084..31946d8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -747,7 +747,9 @@
   
   
 developer
+
   
 
 

Thanks!
Santhosh

Re: Nexenta iSCSI and NFS driver

2013-12-31 Thread Wido den Hollander



On 12/31/2013 04:53 AM, Victor Rodionov wrote:

Hello,

I want implement iSCSI and NFS driver for NexentaStor, what you think about
this guys?



What would the driver do? Since CloudStack already supports iSCSI and 
NFS. Will it create volumes on the Nexenta platform automatically?


Wido


Thanks,
Victor Rodionov



RE: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2013-12-31 Thread Suresh Sadhu
Yes ,I  have tested  with latest from 4.2.1.

Regards
sadhu

-Original Message-
From: David Nalley [mailto:da...@gnsa.us] 
Sent: 31 December 2013 18:47
To: dev@cloudstack.apache.org
Subject: Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC

Suresh, did you test with latest from 4.2.1 or the 4.2.1 RC3 that's up for vote?
--David

On Tue, Dec 31, 2013 at 7:41 AM, Suresh Sadhu  wrote:
> I  have pulled latest code and tried on 4.2 branch and not able to reproduce 
> the issue (mine is nfs based  primary storage).can you please  provide more 
> details on your setup .
>
>
>
> Regards
> Sadhu
>
>
>
> -Original Message-
> From: David Nalley [mailto:da...@gnsa.us]
> Sent: 30 December 2013 02:26
> To: dev@cloudstack.apache.org
> Subject: Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC
>
> -1 (binding) because of the snapshot issues pointed out by Nux,
> (CLOUDSTACK-5393)
>
> --David
>
> On Tue, Dec 17, 2013 at 5:49 AM, Abhinandan Prateek 
>  wrote:
>> The 4.2.1 is re-spun mainly because the commit that was used to generate the 
>> previous RC did not get pushed to repo.
>>
>> Following are the particulars to vote for this time around:
>>
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h
>> =
>> refs/heads/4.2
>> commit: 1b2b58fe352a19aee1721bd79b9d023d36e80ec5
>>
>> List of changes are available in Release Notes, a summary can be accessed 
>> here:
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob_plain
>> ;
>> f=CHANGES;hb=4.2
>>
>> Source release revision 3911 (checksums and signatures are available at the 
>> same location):
>> https://dist.apache.org/repos/dist/dev/cloudstack/4.2.1/
>>
>> PGP release keys (signed using RSA Key ID = 42443AA1):
>> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>>
>> Vote will be open for 72 hours (until 20 Dec 2013 End of day PST).
>>
>> For sanity in tallying the vote, can PMC members please be sure to indicate 
>> "(binding)" with their vote?
>>
>> [ ] +1  approve
>> [ ] +0  no opinion
>> [ ] -1  disapprove (and reason why)
>>


Re: Secondary storage, why ask me for VLAN if it's not to be used?

2013-12-31 Thread BJO ERN
Yes that's an issue with cloudstack, because the broadcast domain type is
native and not VLAN.
So in my case I created a vlan interface on the hypervisor and put a
bridge, just for storage on top.
That way I can use different interfaces for the storage network in case I
want to.

If you have time, you could looks at issues.apache.org if there is already
a feature request existing and file a ticket if you like


On Fri, Dec 20, 2013 at 8:23 AM, Nux!  wrote:

> Hello,
>
> Env: ACS 4.2.2 Snapshot from here http://jenkins.buildacloud.
> org/view/4.2/job/package-rhel63-4.2/, CentOS 6.5 KVM hypervisor
>
> When adding an advanced zone, at completing details for the Storage
> network it's asking me for a VLAN id, yet this VLAN is never set on the
> hypervisor. I expected it to be set just like the VLAN for the guest
> traffic.
> Secondary storage never worked until I manually created the VLAN and added
> it to the respective bridge. Is this a bug or a feature? I'm confused.
>
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>


RE: Secondary storage, why ask me for VLAN if it's not to be used?

2013-12-31 Thread Musayev, Ilya
Set VLAN to 0 should be untagged if I recall correctly.

-Original Message-
From: BJO ERN [mailto:bjoern.tei...@gmail.com] 
Sent: Tuesday, December 31, 2013 12:52 PM
To: dev@cloudstack.apache.org
Subject: Re: Secondary storage, why ask me for VLAN if it's not to be used?

Yes that's an issue with cloudstack, because the broadcast domain type is 
native and not VLAN.
So in my case I created a vlan interface on the hypervisor and put a bridge, 
just for storage on top.
That way I can use different interfaces for the storage network in case I want 
to.

If you have time, you could looks at issues.apache.org if there is already a 
feature request existing and file a ticket if you like


On Fri, Dec 20, 2013 at 8:23 AM, Nux!  wrote:

> Hello,
>
> Env: ACS 4.2.2 Snapshot from here http://jenkins.buildacloud.
> org/view/4.2/job/package-rhel63-4.2/, CentOS 6.5 KVM hypervisor
>
> When adding an advanced zone, at completing details for the Storage 
> network it's asking me for a VLAN id, yet this VLAN is never set on 
> the hypervisor. I expected it to be set just like the VLAN for the 
> guest traffic.
> Secondary storage never worked until I manually created the VLAN and 
> added it to the respective bridge. Is this a bug or a feature? I'm confused.
>
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>



Re: ssh to ssvm

2013-12-31 Thread Yichi Lu
Sanjeev Neelarapu  writes:

> Hi Yichi,
> Try connecting to ssvm using id_rsa instead of id_rsa.cloud
> 
> -Sanjeev

# ssh -i /root/.ssh/id_rsa -p 3922 root@169.254.0.201
Warning: Identity file /root/.ssh/id_rsa not accessible:
  No such file or directory.
Permission denied (publickey).




[ISSUE] ACS Git repo problem

2013-12-31 Thread Kelven Yang
I can’t push changes to ACS repo, does anyone else have similar problem?

Kelven


Re: VMware Question

2013-12-31 Thread Kelven Yang
We need a more intelligent way to detect real ³local storage² on the host.
The logic was intended for auto-discovery of attached local storage(s) on
the ESXi host. 

Kelven

On 12/27/13, 5:23 PM, "Mike Tutkowski" 
wrote:

>Investigating this a bit more today, I came to the conclusion that the NFS
>datastore was not being added to CloudStack as primary storage.
>
>It appears I must have had one more dynamically created iSCSI-based
>datastore that was being added to CloudStack as primary storage.
>
>I went ahead and checked in a fix to stop VMware logic from adding these
>kinds (dynamically created) of datastores to CloudStack as primary
>storage.
>
>
>On Thu, Dec 26, 2013 at 11:42 PM, Mike Tutkowski <
>mike.tutkow...@solidfire.com> wrote:
>
>> I can see the problem is in HostMO.getLocalDatastoreOnHost.
>>
>> My datastore (as well as the NFS datastore that was automatically
>>created
>> to download an ISO) shows up as DatastoreSummary.isMultipleHostAccess ==
>> false (along with a couple other fields) and this qualifies it as
>>"local"
>> storage.
>>
>> I believe I've never seen this before because vCenter Server probably
>> changes DatastoreSummary.isMultipleHostAccess to true when you have more
>> than one host in the cluster that can access the datastore (I usually
>>have
>> more than one host in a VMware cluster, but don't right now).
>>
>> It seems DatastoreSummary.isMultipleHostAccess is not sufficient to use
>>to
>> declare if something is local storage.
>>
>>
>> On Thu, Dec 26, 2013 at 11:18 PM, Mike Tutkowski <
>> mike.tutkow...@solidfire.com> wrote:
>>
>>> Hi,
>>>
>>> I have a question about the initializeLocalStorage method in
>>> VmwareResource.
>>>
>>> When an ISO is downloaded from secondary storage to an ESX host, we
>>> create an NFS datastore on the host.
>>>
>>> When the host connects to a management server, initializeLocalStorage
>>>is
>>> run and this method sees the new NFS datastore as new local storage and
>>> this ends up being added as a new primary storage in CloudStack.
>>>
>>> I doubt this behavior is intended.
>>>
>>> I actually have a similar problem with how initializeLocalStorage
>>>treats
>>> iSCSI-based datastores that I dynamically create.
>>>
>>> In my case, a user executes a Disk Offering based on my plug-in. An
>>> iSCSI-based datastore (with a single VMDK file in it) is dynamically
>>> created and made accessible to all hosts in the cluster (although of
>>>course
>>> only a single host is running the VM that has the VMDK file attached
>>>as a
>>> data disk).
>>>
>>> Later on, if the host reconnects to a management server,
>>> initializeLocalStorage sees the new datastore as new local storage and
>>> tells the management server to add it to CloudStack as a new primary
>>> storage, which is not ideal.
>>>
>>> Any thoughts from people on a good way to stop this behavior? When I
>>> create a datastore, can I tag it a certain way and then look for that
>>>tag
>>> in initializeLocalStorage?
>>>
>>> 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
>>> **
>>>
>>
>>
>>
>> --
>> *Mike Tutkowski*
>> *Senior CloudStack Developer, SolidFire Inc.*
>> e: mike.tutkow...@solidfire.com
>> o: 303.746.7302
>> Advancing the way the world uses the
>>cloud
>> **
>>
>
>
>
>-- 
>*Mike Tutkowski*
>*Senior CloudStack Developer, SolidFire Inc.*
>e: mike.tutkow...@solidfire.com
>o: 303.746.7302
>Advancing the way the world uses the
>cloud
>**



RE: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2013-12-31 Thread Sudha Ponnaganti
Nux,

Defect 5393 [1]  is not reproducible in 4.3 so that got closed. Can you open a 
new one for 4.2.1 with exact problem you are having.  Also looks slightly 
different from 5393 issue. 
Running KVM with a GlusterFS shared mount point on cloudstack-4.2-223b272, 
snapshots consistently fail to be backed up. They get stuck in 
"CreatedOnPrimary" status. 

If you do not have any objection can we have a GTM to resolve it. I can invite 
Suresh also for this call as he has tried it both on 4.3 and latest 4.2.1.  
There is a request to try on 4.3 RC3 candidate drop as well. Will wait for his 
response before the call. 

[1] https://issues.apache.org/jira/browse/CLOUDSTACK-5393

Thanks
/Sudha

-Original Message-
From: Suresh Sadhu [mailto:suresh.sa...@citrix.com] 
Sent: Tuesday, December 31, 2013 9:25 AM
To: dev@cloudstack.apache.org
Subject: RE: [VOTE] 3rd round of voting for ASF 4.2.1 RC

Yes ,I  have tested  with latest from 4.2.1.

Regards
sadhu

-Original Message-
From: David Nalley [mailto:da...@gnsa.us] 
Sent: 31 December 2013 18:47
To: dev@cloudstack.apache.org
Subject: Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC

Suresh, did you test with latest from 4.2.1 or the 4.2.1 RC3 that's up for vote?
--David

On Tue, Dec 31, 2013 at 7:41 AM, Suresh Sadhu  wrote:
> I  have pulled latest code and tried on 4.2 branch and not able to reproduce 
> the issue (mine is nfs based  primary storage).can you please  provide more 
> details on your setup .
>
>
>
> Regards
> Sadhu
>
>
>
> -Original Message-
> From: David Nalley [mailto:da...@gnsa.us]
> Sent: 30 December 2013 02:26
> To: dev@cloudstack.apache.org
> Subject: Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC
>
> -1 (binding) because of the snapshot issues pointed out by Nux,
> (CLOUDSTACK-5393)
>
> --David
>
> On Tue, Dec 17, 2013 at 5:49 AM, Abhinandan Prateek 
>  wrote:
>> The 4.2.1 is re-spun mainly because the commit that was used to generate the 
>> previous RC did not get pushed to repo.
>>
>> Following are the particulars to vote for this time around:
>>
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h
>> =
>> refs/heads/4.2
>> commit: 1b2b58fe352a19aee1721bd79b9d023d36e80ec5
>>
>> List of changes are available in Release Notes, a summary can be accessed 
>> here:
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob_plain
>> ;
>> f=CHANGES;hb=4.2
>>
>> Source release revision 3911 (checksums and signatures are available at the 
>> same location):
>> https://dist.apache.org/repos/dist/dev/cloudstack/4.2.1/
>>
>> PGP release keys (signed using RSA Key ID = 42443AA1):
>> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>>
>> Vote will be open for 72 hours (until 20 Dec 2013 End of day PST).
>>
>> 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)
>>


[RESOLVED] ACS Git repo problem

2013-12-31 Thread Kelven Yang
The problem is resolved. ACS Git is now fine with push

Kelven

On 12/31/13, 11:20 AM, "Kelven Yang"  wrote:

>I can¹t push changes to ACS repo, does anyone else have similar problem?
>
>Kelven



Build failed in Jenkins: cloudstack-4.3-maven-build #225

2013-12-31 Thread jenkins
See 

Changes:

[edison] CLOUDSTACK-5329: fix NPE, in case of zone wide primary storage

--
[...truncated 489 lines...]

Results :

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

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Framework - IPC 4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-framework-ipc 
---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 

 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-framework-ipc ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-framework-ipc ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-framework-ipc ---
[INFO] Compiling 55 source files to 

[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-framework-ipc ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-framework-ipc ---
[INFO] Compiling 12 source files to 

[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-framework-ipc 
---
[INFO] Surefire report directory: 


---
 T E S T S
---
Running org.apache.cloudstack.messagebus.TestMessageBus
log4j:WARN No appenders could be found for logger 
(org.springframework.test.context.junit4.SpringJUnit4ClassRunner).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.751 sec

Results :

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

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Cloud Engine 4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-engine ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 
 
(includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-engine 
---
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Cloud Engine API 4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-engine-api ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 
 
(includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-engine-api ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-engine-api ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-engine-api ---
[INFO] Compiling 107 source files to 

[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-engine-api ---
[debug] execute contextualize
[INFO] Using 'UTF-8' enc

Build failed in Jenkins: cloudstack-4.3-maven-build #226

2013-12-31 Thread jenkins
See 

Changes:

[marcus] CLOUDSTACK-5697 - public ip ranges should allow VNI rather than only 
working with untagged

--
[...truncated 489 lines...]

Results :

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

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Framework - IPC 4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-framework-ipc 
---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 

 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-framework-ipc ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-framework-ipc ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-framework-ipc ---
[INFO] Compiling 55 source files to 

[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-framework-ipc ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-framework-ipc ---
[INFO] Compiling 12 source files to 

[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-framework-ipc 
---
[INFO] Surefire report directory: 


---
 T E S T S
---
Running org.apache.cloudstack.messagebus.TestMessageBus
log4j:WARN No appenders could be found for logger 
(org.springframework.test.context.junit4.SpringJUnit4ClassRunner).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.506 sec

Results :

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

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Cloud Engine 4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-engine ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 
 
(includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-engine 
---
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Cloud Engine API 4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-engine-api ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 
 
(includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-engine-api ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-engine-api ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-engine-api ---
[INFO] Compiling 107 source files to 

[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-engine-api ---
[debug] execute contextua

Build failed in Jenkins: cloudstack-4.3-maven-build #227

2013-12-31 Thread jenkins
See 

Changes:

[kelveny] Fix a typo caused problem in attach-volume process

--
[...truncated 489 lines...]

Results :

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

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Framework - IPC 4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-framework-ipc 
---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 

 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-framework-ipc ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-framework-ipc ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-framework-ipc ---
[INFO] Compiling 55 source files to 

[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-framework-ipc ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-framework-ipc ---
[INFO] Compiling 12 source files to 

[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-framework-ipc 
---
[INFO] Surefire report directory: 


---
 T E S T S
---
Running org.apache.cloudstack.messagebus.TestMessageBus
log4j:WARN No appenders could be found for logger 
(org.springframework.test.context.junit4.SpringJUnit4ClassRunner).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.159 sec

Results :

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

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Cloud Engine 4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-engine ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 
 
(includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-engine 
---
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Cloud Engine API 4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-engine-api ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 
 
(includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-engine-api ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-engine-api ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-engine-api ---
[INFO] Compiling 107 source files to 

[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-engine-api ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to co

RE: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2013-12-31 Thread Edison Su
> -Original Message-
> From: Nux! [mailto:n...@li.nux.ro]
> Sent: Monday, December 23, 2013 6:35 AM
> To: dev@cloudstack.apache.org
> Subject: Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC
> 
> On 23.12.2013 05:42, Abhinandan Prateek wrote:
> > It gives me immense pleasure to inform that the vote to label this ASF
> > 4.2.1 RC as the GA release has been passed with following stats:
> 
> Can someone check KVM volume snapshots before declaring this GA? It's
> been consistently broken for me in 4.2.1-SNAPSHOT with NFS as well as
> GlusterFS shared mount point.
> It was working in 4.2.0 afaicr.

In the ACS release(since 4.0), KVM snapshot only works when CLVM is used as 
primary storage, otherwise, taking snapshot in KVM will fail, as there is no 
formal way to backup snapshot from primary storage to secondary storage.

> 
> I've sent several emails about this as well as bothering people in
> CLOUDSTACK-5393.
> http://www.mail-archive.com/dev@cloudstack.apache.org/msg20123.html
> 
> HTH
> Lucian
> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro


Build failed in Jenkins: cloudstack-4.3-maven-build #228

2013-12-31 Thread jenkins
See 

Changes:

[jessicawang] CLOUDSTACK-5698: UI > VPC > configure > Router > Network ACL 
Lists > implement search (i.e. pass keyword parameter to listNetworkACLLists 
API) when input field is not blank.

--
[...truncated 489 lines...]

Results :

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

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Framework - IPC 4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-framework-ipc 
---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 

 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-framework-ipc ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-framework-ipc ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-framework-ipc ---
[INFO] Compiling 55 source files to 

[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-framework-ipc ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-framework-ipc ---
[INFO] Compiling 12 source files to 

[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-framework-ipc 
---
[INFO] Surefire report directory: 


---
 T E S T S
---
Running org.apache.cloudstack.messagebus.TestMessageBus
log4j:WARN No appenders could be found for logger 
(org.springframework.test.context.junit4.SpringJUnit4ClassRunner).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.85 sec

Results :

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

[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Cloud Engine 4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-engine ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 
 
(includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-engine 
---
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack Cloud Engine API 4.3.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-engine-api ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 
 
(includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-engine-api ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-engine-api ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-engine-api ---
[INFO] Compiling 107 source files to 

[INFO] 
[INFO] --- maven-resources-plugin:2.5

4.3 build failing with latest HEAD

2013-12-31 Thread Rayees Namathponnan
Junit test failing with latest 4.3 branch; test failing with below error

[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-core ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/root/jenkins/build/workspace/ASF_Repo-Marvin-Build/core/test/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-core ---
[INFO] Compiling 20 source files to 
/root/jenkins/build/workspace/ASF_Repo-Marvin-Build/core/target/test-classes
[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR] BackupSnapshotCommandTest.java:[36,48]  is not 
abstract and does not override abstract method getHypervisor() in 
com.cloud.storage.StoragePool
[ERROR] SnapshotCommandTest.java:[37,48]  is not abstract and 
does not override abstract method getHypervisor() in 
com.cloud.storage.StoragePool
[ERROR] CheckNetworkAnswerTest.java:[75,57] 
 is not abstract and does not override abstract method getHypervisor() in 
com.cloud.storage.StoragePool
[INFO] 3 errors
[INFO] -
[INFO] 

Regards,
Rayees



RE: [VOTE] 3rd round of voting for ASF 4.2.1 RC

2013-12-31 Thread Nux!

On 31.12.2013 23:47, Edison Su wrote:

-Original Message-
From: Nux! [mailto:n...@li.nux.ro]
Sent: Monday, December 23, 2013 6:35 AM
To: dev@cloudstack.apache.org
Subject: Re: [VOTE] 3rd round of voting for ASF 4.2.1 RC

On 23.12.2013 05:42, Abhinandan Prateek wrote:
It gives me immense pleasure to inform that the vote to label this 
ASF

4.2.1 RC as the GA release has been passed with following stats:


Can someone check KVM volume snapshots before declaring this GA? It's
been consistently broken for me in 4.2.1-SNAPSHOT with NFS as well as
GlusterFS shared mount point.
It was working in 4.2.0 afaicr.


In the ACS release(since 4.0), KVM snapshot only works when CLVM is
used as primary storage, otherwise, taking snapshot in KVM will fail,
as there is no formal way to backup snapshot from primary storage to
secondary storage.


Hi Edison,

I remember taking snapshots (backups) with previous versions of 4.x and 
I never used CLVM, perhaps it was local storage, need to re-check.


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


RE: 4.3 build failing with latest HEAD

2013-12-31 Thread Sanjay Tripathi
This is caused by this commit: 23841e3369877e404e4c7f4000a1ee540d1dcfa8.

I am working on the fix.

--Sanjay

-Original Message-
From: Rayees Namathponnan [mailto:rayees.namathpon...@citrix.com] 
Sent: Wednesday, January 1, 2014 6:06 AM
To: dev@cloudstack.apache.org
Subject: 4.3 build failing with latest HEAD

Junit test failing with latest 4.3 branch; test failing with below error

[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-core --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to 
copy filtered resources.
[INFO] skip non existing resourceDirectory 
/root/jenkins/build/workspace/ASF_Repo-Marvin-Build/core/test/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-core --- [INFO] Compiling 20 source files to 
/root/jenkins/build/workspace/ASF_Repo-Marvin-Build/core/target/test-classes
[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR] BackupSnapshotCommandTest.java:[36,48]  is not 
abstract and does not override abstract method getHypervisor() in 
com.cloud.storage.StoragePool [ERROR] SnapshotCommandTest.java:[37,48] 
 is not 
abstract and does not override abstract method getHypervisor() in 
com.cloud.storage.StoragePool [ERROR] CheckNetworkAnswerTest.java:[75,57] 

 is not abstract and does not override abstract method getHypervisor() in 
com.cloud.storage.StoragePool [INFO] 3 errors [INFO] 
-
[INFO] 

Regards,
Rayees



git commit: updated refs/heads/4.3 to 23841e3

2013-12-31 Thread Sanjay Tripathi
Hi Edison,

I have reverted this commit 23841e3369877e404e4c7f4000a1ee540d1dcfa8 because 
unit tests was failing.

--Sanjay

-Original Message-
From: edi...@apache.org [mailto:edi...@apache.org] 
Sent: Wednesday, January 1, 2014 3:34 AM
To: comm...@cloudstack.apache.org
Subject: git commit: updated refs/heads/4.3 to 23841e3

Updated Branches:
  refs/heads/4.3 309416071 -> 23841e336


CLOUDSTACK-5329: fix NPE, in case of zone wide primary storage


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/23841e33
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/23841e33
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/23841e33

Branch: refs/heads/4.3
Commit: 23841e3369877e404e4c7f4000a1ee540d1dcfa8
Parents: 3094160
Author: edison 
Authored: Tue Dec 31 13:59:33 2013 -0800
Committer: edison 
Committed: Tue Dec 31 14:03:44 2013 -0800

--
 api/src/com/cloud/storage/StoragePool.java |  3 +++
 server/src/com/cloud/vm/UserVmManagerImpl.java | 12 ++--
 2 files changed, 9 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/23841e33/api/src/com/cloud/storage/StoragePool.java
--
diff --git a/api/src/com/cloud/storage/StoragePool.java 
b/api/src/com/cloud/storage/StoragePool.java
index 6e9af12..1f5713e 100644
--- a/api/src/com/cloud/storage/StoragePool.java
+++ b/api/src/com/cloud/storage/StoragePool.java
@@ -18,6 +18,7 @@ package com.cloud.storage;
 
 import java.util.Date;
 
+import com.cloud.hypervisor.Hypervisor;
 import org.apache.cloudstack.api.Identity;
 import org.apache.cloudstack.api.InternalIdentity;
 
@@ -104,4 +105,6 @@ public interface StoragePool extends Identity, 
InternalIdentity {
String getStorageProviderName();

boolean isInMaintenance();
+
+Hypervisor.HypervisorType getHypervisor();
 }

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/23841e33/server/src/com/cloud/vm/UserVmManagerImpl.java
--
diff --git a/server/src/com/cloud/vm/UserVmManagerImpl.java 
b/server/src/com/cloud/vm/UserVmManagerImpl.java
index 19285da..bd8cae1 100755
--- a/server/src/com/cloud/vm/UserVmManagerImpl.java
+++ b/server/src/com/cloud/vm/UserVmManagerImpl.java
@@ -36,6 +36,7 @@ import javax.naming.ConfigurationException;
 
 import com.cloud.capacity.Capacity;
 import com.cloud.exception.InsufficientServerCapacityException;
+import org.apache.cloudstack.engine.subsystem.api.storage.*;
 import org.apache.commons.codec.binary.Base64;
 import org.apache.log4j.Logger;
 
@@ -70,10 +71,6 @@ import 
org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntity;
 import 
org.apache.cloudstack.engine.orchestration.service.NetworkOrchestrationService;
 import 
org.apache.cloudstack.engine.orchestration.service.VolumeOrchestrationService;
 import org.apache.cloudstack.engine.service.api.OrchestrationService;
-import org.apache.cloudstack.engine.subsystem.api.storage.TemplateDataFactory;
-import org.apache.cloudstack.engine.subsystem.api.storage.TemplateInfo;
-import org.apache.cloudstack.engine.subsystem.api.storage.VolumeDataFactory;
-import org.apache.cloudstack.engine.subsystem.api.storage.VolumeService;
 import 
org.apache.cloudstack.engine.subsystem.api.storage.VolumeService.VolumeApiResult;
 import org.apache.cloudstack.framework.async.AsyncCallFuture;
 import org.apache.cloudstack.framework.config.ConfigKey;
@@ -4057,9 +4054,12 @@ public class UserVmManagerImpl extends ManagerBase 
implements UserVmManager, Vir
 throw new InvalidParameterValueException(
 "Data disks attached to the vm, can not migrate. Need to 
dettach data disks at first");
 }
-
-HypervisorType destHypervisorType = _clusterDao.findById(
+HypervisorType destHypervisorType = destPool.getHypervisor();
+if (destHypervisorType == null) {
+destHypervisorType = _clusterDao.findById(
 destPool.getClusterId()).getHypervisorType();
+}
+
 if (vm.getHypervisorType() != destHypervisorType) {
 throw new InvalidParameterValueException(
 "hypervisor is not compatible: dest: "



Jenkins build is back to normal : cloudstack-4.3-maven-build #229

2013-12-31 Thread jenkins
See 



Re: Migrating a ROOT volume

2013-12-31 Thread Girish Shilamkar
Thanks Devdeep. 
So is that the only way to migrate a ROOT volume i.e. only as part of vm 
migrate ?
 In case of datadisk I can migrate it via Storage->Volume->Migrate, which I 
don't see happening with ROOT volume. 
As detach operation is not shown for ROOT volume.

Regards,
Girish

On 31-Dec-2013, at 12:36 PM, Devdeep Singh  wrote:

> If the instance is stopped you can go to Instance -> select the instance -> 
> and migrate the instance to another storage pool. This will move the root 
> volume to the specified storage pool.
> 
> Regards,
> Devdeep
> 
> -Original Message-
> From: Girish Shilamkar [mailto:gir...@clogeny.com] 
> Sent: Tuesday, December 31, 2013 11:40 AM
> To: dev@cloudstack.apache.org
> Subject: Migrating a ROOT volume
> 
> Hello,
> 
> As per CS admin guide ROOT volume can be migrated. But in UI I don't see an 
> option to detach disk from a stopped disk.
> And if I try to detach using API, it fails stating "please specify a datadisk"
> 
> Can someone please clarify.
> 
> Regards,
> Girish
> 



Unable to create Basic Zone

2013-12-31 Thread Mike Tutkowski
Hi,

I noticed a NPE while trying to create a basic zone tonight with a
XenServer host. Anyone know about this?

ERROR [c.c.a.ApiServer] (1583467451@qtp-185135566-2:ctx-ae5d80b2
ctx-5c12c4d9) unhandled exception executing api command: createVlanIpRange
java.lang.NullPointerException
at com.cloud.utils.net.NetUtils.isSameIsolationId(NetUtils.java:1419)
at
com.cloud.configuration.ConfigurationManagerImpl.createVlanAndPublicIpRange(ConfigurationManagerImpl.java:2474)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at
com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:50)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at sun.proxy.$Proxy96.createVlanAndPublicIpRange(Unknown Source)
at
org.apache.cloudstack.api.command.admin.vlan.CreateVlanIpRangeCmd.execute(CreateVlanIpRangeCmd.java:211)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:530)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:373)
at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:322)
at com.cloud.api.ApiServlet.access$000(ApiServlet.java:52)
at com.cloud.api.ApiServlet$1.run(ApiServlet.java:114)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:111)

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
*™*


Review Request 16550: fixed rdp console mouse patch

2013-12-31 Thread Anshul Gangwar

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

Review request for cloudstack, Devdeep Singh, Donal Lafferty, and Rajesh 
Battala.


Bugs: CLOUDSTACK-5702
https://issues.apache.org/jira/browse/CLOUDSTACK-5702


Repository: cloudstack-git


Description
---

this patch fixed the mouse events handling in rdp console


Diffs
-

  
services/console-proxy/server/src/com/cloud/consoleproxy/ConsoleProxyRdpClient.java
 73c00be 

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


Testing
---

tested on my local setup


Thanks,

Anshul Gangwar



networks and isolation/broadcast

2013-12-31 Thread Marcus Sorensen
  I ran into an issue today that I'm still trying to wrap my head
around, and I wanted to bounce this off of you guys. I have a physical
network whose isolation method is set to 'VXLAN' (v4.3+). I add my
Public traffic type to it. I'd assume that nics generated for public
traffic would have the standard vxlan://  URI for  isolation URI and
broadcast URI, but they just have a vlan://. Digging into it, it seems
that public traffic is hard-coded to BroadcastDomainType.Vlan. I fixed
this fairly easily for my testing, there were only a few places to
fix, by pulling the BroadcastDomainType from the network object rather
than hardcoding it, but that found another problem. This only works if
I change the broadcast type in the 'networks' mysql table by hand, as
during zone deployment the public network creation is also hard-coded
to vlan.

  I'm not sure how to go about fixing this, since the Public, Control,
Management networks are created upon zone deployment, (see
createDefaultSystemNetworks). The immediate thing that jumped out was
a config variable for public isolation method, set prior to zone
deployment, or perhaps even one that overrides what's in the table.

  While I've got your attention, what's the deal with isolation method
vs broadcast method? These are always set to the same thing as far as
I've seen.


Review Request 16551: put the hard coded rdp server port in host deatils

2013-12-31 Thread Anshul Gangwar

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

Review request for cloudstack, Devdeep Singh, Donal Lafferty, and Rajesh 
Battala.


Bugs: CLOUDSTACK-5703
https://issues.apache.org/jira/browse/CLOUDSTACK-5703


Repository: cloudstack-git


Description
---

This patch removes the hard coded value of rdp server port and put it in host 
details


Diffs
-

  
plugins/hypervisors/hyperv/src/com/cloud/hypervisor/hyperv/discoverer/HypervServerDiscoverer.java
 2330da1 
  server/src/com/cloud/servlet/ConsoleProxyServlet.java e0aaa6d 

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


Testing
---

tested on my local setup


Thanks,

Anshul Gangwar



Re: networks and isolation/broadcast

2013-12-31 Thread Marcus Sorensen
I suppose the answer might be to update the network with the proper
isolation method when the traffic type is added. Look up the physical
network's isolation method, grab network object for the public network, and
set the right isolation.
On Jan 1, 2014 12:46 AM, "Marcus Sorensen"  wrote:

>   I ran into an issue today that I'm still trying to wrap my head
> around, and I wanted to bounce this off of you guys. I have a physical
> network whose isolation method is set to 'VXLAN' (v4.3+). I add my
> Public traffic type to it. I'd assume that nics generated for public
> traffic would have the standard vxlan://  URI for  isolation URI and
> broadcast URI, but they just have a vlan://. Digging into it, it seems
> that public traffic is hard-coded to BroadcastDomainType.Vlan. I fixed
> this fairly easily for my testing, there were only a few places to
> fix, by pulling the BroadcastDomainType from the network object rather
> than hardcoding it, but that found another problem. This only works if
> I change the broadcast type in the 'networks' mysql table by hand, as
> during zone deployment the public network creation is also hard-coded
> to vlan.
>
>   I'm not sure how to go about fixing this, since the Public, Control,
> Management networks are created upon zone deployment, (see
> createDefaultSystemNetworks). The immediate thing that jumped out was
> a config variable for public isolation method, set prior to zone
> deployment, or perhaps even one that overrides what's in the table.
>
>   While I've got your attention, what's the deal with isolation method
> vs broadcast method? These are always set to the same thing as far as
> I've seen.
>