Review Request 15667: Fix for Coverity issues CID_1116744, CID_1116718 and CID_1116682, all related to resource leak.

2013-11-19 Thread Wilder Rodrigues

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

Review request for cloudstack and Hugo Trippaers.


Repository: cloudstack-git


Description
---

Fixing resource leak on Coverity issues CID_1116744, CID_1116718 and 
CID_1116682.

The resource leak problems were mostly related to InpuStreams instantiated and 
not closed after used.


Diffs
-

  
framework/ipc/src/org/apache/cloudstack/framework/serializer/OnwireClassRegistry.java
 ac9c6bc 
  server/src/com/cloud/api/doc/ApiXmlDocWriter.java b7d526d 
  server/src/com/cloud/server/ConfigurationServerImpl.java 4020926 

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


Testing
---

A full build was executed on top of the branch created for these changes. After 
committed and patched, the a brand new branch was created from Master and 
patched with this patch. Everything worked fine.

No new feature was added.


Thanks,

Wilder Rodrigues



Review Request 15668: CLOUDSTACK-5201: Corrected code related to schedule of recurring snapshot policy

2013-11-19 Thread Gaurav Aradhye

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

Review request for cloudstack, Girish Shilamkar and SrikanteswaraRao Talluri.


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


Repository: cloudstack-git


Description
---

The test case was failing while getting snapshots' list because minutes were 
passed in the schedule of snapshot policy when the intervalType is Hourly. 
Passes hours and changed wait time accordingly to get the snapshots list.


Diffs
-

  test/integration/component/test_base_image_updation.py b70bea5 

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


Testing
---

Tested locally on KVM advanced. No Xen advanced up right now.

Log:
test_04_reoccuring_snapshot_rules 
(test_base_image_updation_fixed.TestBaseImageUpdate) ...
== client.log ==
2013-11-18 20:25:06,863 - DEBUG - test_04_reoccuring_snapshot_rules 
(test_base_image_updation_fixed.TestBaseImageUpdate) - Creating recurring 
snapshot policy fo
r root disk on vm created with IsVolatile=True
2013-11-18 20:25:06,863 - DEBUG - test_04_reoccuring_snapshot_rules 
(test_base_image_updation_fixed.TestBaseImageUpdate) - Snapshot Policy - Type : 
HOURLY Sched
uled Hours : 1
2013-11-18 20:25:06,959 - DEBUG - test_04_reoccuring_snapshot_rules 
(test_base_image_updation_fixed.TestBaseImageUpdate) - Sleeping for 70 minutes 
till the volu
me is snapshoted
2013-11-18 21:35:57,329 - DEBUG - test_04_reoccuring_snapshot_rules 
(test_base_image_updation_fixed.TestBaseImageUpdate) - Checking whether root 
disk of VM with
 isVolatile=True was destroyed
2013-11-18 21:35:57,398 - DEBUG - test_04_reoccuring_snapshot_rules 
(test_base_image_updation_fixed.TestBaseImageUpdate) - Checking whether 
snapshot rule for VM
 with isVolatile=True was destroyedHere we are passing root 
disk id of vm before reboot which does not exist hence   listing
 should fail

== result.log ==
ok

--
Ran 4 tests in 4507.963s

OK (skipped=3)


Thanks,

Gaurav Aradhye



Re: Trunk interface to VM

2013-11-19 Thread Murali Reddy
If you can run XenServer on ESXi, there there is 'virtual guest
tagging'[1] where VLAN 4095 lets guest instances to send and receive
tagged traffic on to physical network. Perhaps you can try creating a
network with 4095 VLAN tag from CS and spin up XS VM instances.

You can do it on XenServer as well, but VIF needs to connect to a non-VLAN
network. I use NetScaler VPX on XenServer[2], where VPX sends and receives
tagged traffic from the XenServer.

[1] 
http://kb.vmware.com/selfservice/microsites/search.do?language=en_UScmd=di
splayKCexternalId=1003806
[2] 
http://support.citrix.com/proddocs/topic/netscaler-vpx-10/ns-vpx-overview-w
rapper-con.html

On 16/11/13 11:31 AM, Francois Gaudreault fgaudrea...@cloudops.com
wrote:

Yes. We want to be able spin XS within CloudStack. We also need those XS
to
consume VLAN tags to do advanced networking (kind of CS inside CS). Lets
say we do have devs with ambitious needs :)

Francois
On 2013-11-15 9:46 PM, Chiradeep Vittal chiradeep.vit...@citrix.com
wrote:

 You want to pass the vlan tags into a VM that is actually a XenServer?

 On 11/14/13 3:02 PM, Francois Gaudreault fgaudrea...@cloudops.com
 wrote:

 Is there a way to assign a trunked interface to a VM running in CS?
Like
 assign the entire guest interface. We have a use case where we need to
run
 XenServer hosts within a cloudstack managed infra.
 
 Thanks!
 
 Francois







Re: Review Request 15646: CLOUDSTACK-5197: portable ip - Skipping the tests which are failing due to product issue

2013-11-19 Thread Ashutosh Kelkar

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

(Updated Nov. 19, 2013, 10:52 a.m.)


Review request for cloudstack, Girish Shilamkar and SrikanteswaraRao Talluri.


Changes
---

Removing skip tag from test cases which are failing due to product issue.


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


Repository: cloudstack-git


Description
---

2 test cases are failing while SSHing to the VM through portable ip. Logged a 
product defect for this - https://issues.apache.org/jira/browse/CLOUDSTACK-5196.
Skipping the test cases until the product defect is resolved.


Diffs (updated)
-

  test/integration/component/test_portable_ip.py d397ec4 

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


Testing
---


Thanks,

Ashutosh Kelkar



Marvin Enhancement

2013-11-19 Thread Santhosh Edukulla
1. If tests are failing and it is already a known product issue, we should find 
a way to show it as other away from failed. This can add some enhancements to 
test cases, map bugs logged to failures and only new failures away from those. 
If it is a known issue, the failure should report it as known issue rather than 
failure. I believe we can add these facilitation to marvin. 

2. Also, if we are to integrate test cases from some test case management 
solution to test cases under repo, there should be mapping faciliation provided 
for each test case in tms to test caseid or name in tests and reverse 
faciliation to update results for those test cases. This can be more of 
automated approach as an integration to test management solution i believe.

Santhosh

From: Ashutosh Kelkar [nore...@reviews.apache.org] on behalf of Ashutosh Kelkar 
[ashut...@clogeny.com]
Sent: Tuesday, November 19, 2013 5:52 AM
To: Girish Shilamkar; Srikanteswararao Talluri
Cc: Ashutosh Kelkar; cloudstack; Prasanna Santhanam
Subject: Re: Review Request 15646: CLOUDSTACK-5197: portable ip - Skipping the 
tests which are failing due to product issue

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

(Updated Nov. 19, 2013, 10:52 a.m.)


Review request for cloudstack, Girish Shilamkar and SrikanteswaraRao Talluri.


Changes
---

Removing skip tag from test cases which are failing due to product issue.


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


Repository: cloudstack-git


Description
---

2 test cases are failing while SSHing to the VM through portable ip. Logged a 
product defect for this - https://issues.apache.org/jira/browse/CLOUDSTACK-5196.
Skipping the test cases until the product defect is resolved.


Diffs (updated)
-

  test/integration/component/test_portable_ip.py d397ec4

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


Testing
---


Thanks,

Ashutosh Kelkar



RE: Build with master fails

2013-11-19 Thread Rajesh Battala
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...@gmail.com]
Sent: Monday, November 18, 2013 3:17 PM
To: dev@cloudstack.apache.org
Subject: Re: Build with master fails

Hi,

There is only one test in the rdpconsole, it was added recentlyand it was 
working last time... Can you share the text file from /root/softwares/csmaster/ 
cloudstack/services/console-proxy-rdp/rdpconsole/target/surefire-reports?


Thx,
Laszlo

On Mon, Nov 18, 2013 at 2:53 PM, Santhosh Edukulla  
santhosh.eduku...@citrix.com wrote:

 Team,

 1. I am getting below error when build with latest master. Skipping 
 tests is proceeding to make the build success.


 [INFO] Apache CloudStack Framework - QuickCloud .. SKIPPED 
 [INFO]
 --
 --
 [INFO] BUILD FAILURE
 [INFO]
 --
 --
 [INFO] Total time: 8:50.043s
 [INFO] Finished at: Tue Nov 19 00:48:01 IST 2013 [INFO] Final Memory: 
 66M/414M [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/csmaster/cloudstack/services/console-proxy-rdp/rdpcons
 ole/target/surefire-reports
 for the individual test results.
 [ERROR] - [Help 1]

 2.After that it throws up strange error on UI, when clicked on 
 infrastructure. and as well some other  nodes with some UUID 
 information on dialog.


 Thanks!
 Santhosh




--

EOF


RE: Build with master fails

2013-11-19 Thread Santhosh Edukulla
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...@gmail.com]
Sent: Monday, November 18, 2013 3:17 PM
To: dev@cloudstack.apache.org
Subject: Re: Build with master fails

Hi,

There is only one test in the rdpconsole, it was added recentlyand it was 
working last time... Can you share the text file from /root/softwares/csmaster/ 
cloudstack/services/console-proxy-rdp/rdpconsole/target/surefire-reports?


Thx,
Laszlo

On Mon, Nov 18, 2013 at 2:53 PM, Santhosh Edukulla  
santhosh.eduku...@citrix.com wrote:

 Team,

 1. I am getting below error when build with latest master. Skipping
 tests is proceeding to make the build success.


 [INFO] Apache CloudStack Framework - QuickCloud .. SKIPPED
 [INFO]
 --
 --
 [INFO] BUILD FAILURE
 [INFO]
 --
 --
 [INFO] Total time: 8:50.043s
 [INFO] Finished at: Tue Nov 19 00:48:01 IST 2013 [INFO] Final Memory:
 66M/414M [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/csmaster/cloudstack/services/console-proxy-rdp/rdpcons
 ole/target/surefire-reports
 for the individual test results.
 [ERROR] - [Help 1]

 2.After that it throws up strange error on UI, when clicked on
 infrastructure. and as well some other  nodes with some UUID
 information on dialog.


 Thanks!
 Santhosh




--

EOF

Re: A question on vm migrations when hosts are set into a maintenance mode.

2013-11-19 Thread Prasanna Santhanam
Cc Alena,

I just recalled that Alena was working with sending hypervisor
commands from cloudstack in parallel to the agent. She might have some
idea about why getExecuteInSequence() defaults to all commands going
in parallel now for VirtualMachineManager

On Mon, Nov 18, 2013 at 08:16:57AM -0600, Alex Ough wrote:
 Thank Parasanna  Sebastien,
 I also got his email and sent an email.
 Waiting for his reply...
 
 Thanks
 Alex Ough
 
 
 On Sat, Nov 16, 2013 at 3:05 PM, Sebastien Goasguen run...@gmail.comwrote:
 
  cc Alex Huang to get his attention:
 
 
  On Nov 15, 2013, at 10:17 PM, Prasanna Santhanam t...@apache.org wrote:
 
   Alex, Could you just do a git blame on the file and copy the emails of
   people who changed that bit of code? They may be able to help if Cc-ed
   directly.
  
   Thanks,
  
   On Fri, Nov 15, 2013 at 01:49:07PM -0600, Alex Ough wrote:
   I hate to sending the same emails over and over again, but I really
  need to
   finalize this feature to be included in the next code freeze because
  this
   feature is very critical in our inside project.
  
   Anyone who can help, please?
   Thanks
   Alex Ough
  
  
   On Thu, Nov 14, 2013 at 1:27 PM, Alex Ough alex.o...@sungard.com
  wrote:
  
   Not sure if Alex Huang checked this, but can anyone help to resolve
  this?
  
   Thanks
   Alex Ough
  
  
   On Wed, Nov 13, 2013 at 11:39 AM, Alex Ough alex.o...@sungard.com
  wrote:
  
   It sounds a little scary...
  
   I looked at the history and found these.
  
   8/9/ : file moved to engine by Alex Huang
   9/16 : '_mgmtServer.getExecuteInSequence()' changed to
   'getExecuteInSequence()' by Alex Huang
  
  
   Hi Alex Huang,
   I'm not sure if you're aware of this, but can you check this for me?
  
   Thanks
   Alex Ough
  
  
  
   On Wed, Nov 13, 2013 at 11:18 AM, Marcus Sorensen 
  shadow...@gmail.comwrote:
  
   I'm not sure. I know in the past when I've seen files change
  locations
   it has also clobbered updates to that file. Someone branched, did the
   reorganization work, and merged, while in-between the original file
   changed.
  
   On Wed, Nov 13, 2013 at 9:21 AM, Alex Ough alex.o...@sungard.com
   wrote:
   All,
  
   While merging my changes to 4.3 branch, I found that the option,
   'execute.in.sequence.hypervisor.commands' is NOT used in
   Start/Stop/Copy
   commands in 'VirtualMachineManagerImpl.java' any more as below.
  
  
   *StopCommand stop = new StopCommand(vm, getExecuteInSequence());*
  
   *protected boolean getExecuteInSequence() {*
   * return false;*
   *}*
  
   As you see in the above, the function, 'getExecuteInSequence', just
   returns
   false instead of getting the value from the global variable.
  
   And one more change is that the file has been moved to
   'engine/orchestration/src/com/cloud/vm' from
  'server/src/com/cloud/vm'.
  
   Am I missing something related with this or do we stop supporting
  this
   option in 4.3?
   I'm a little confused, so please help me resolve this.
  
   Thanks
   Alex Ough
  
  
  
  
   On Tue, Nov 12, 2013 at 4:20 PM, Alex Ough alex.o...@sungard.com
   wrote:
  
   Thanks a lot for your confirmation, Marcus.
   I'll create a review request unless anyone has an objection.
  
   Thanks
   Alex Ough
  
  
   On Tue, Nov 12, 2013 at 3:37 PM, Marcus Sorensen 
  shadow...@gmail.com
   wrote:
  
   I have done parallel KVM migrations without issue, it's supposed
  to
   work. Really I think it's in the same boat as parallel
  start/stop.
   It
   should work, but the config option is there just in case. I think
  we
   should add it.
  
   On Thu, Oct 3, 2013 at 11:41 AM, Chip Childers
   chip.child...@sungard.com wrote:
   On Thu, Oct 03, 2013 at 11:44:46AM -0500, Alex Ough wrote:
   I'm not sure what else commands 'MigrateCommand' actually
  execute
   in
   addition to 'Start/Stop/CopyCommand', but can we include
   'MigrateCommand'
   if it consists of only those 3 commands?
  
   Thanks
   Alex Ough
  
   In the case of VMware, the migrate command is executed via the
   MigrateVMTask that's part of the VMware SDK (see
  
  
  vmware-base/src/com/cloud/hypervisor/vmware/mo/VirtualMachineMO.java).
  
   For VMware, I know that vCenter will queue and process concurrent
   requests for migrations.  Specifically, it will throttle the
   migrations
   happening, based on it's internal concurrency constraints, but
  the
   task
   queue will still accept more connections.  Obviously the risk are
   the
   VMware layer tasks timing out if it takes too long for the task
   queue to
   complete.
  
   As for XenServer, it's happening in what appears to be a similar
   way
   (although the source host is the target for the migration API
   call).
  
   Check
  
  
  
  plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java.
  
   I'm not familiar enough with XenServer's concurrency model for
   migrations.  Any experts know the answer to if it can handle
   concurrency
   in a stable way?

Re: [VOTE] Release Apache CloudStack 4.2.1

2013-11-19 Thread Sebastien Goasguen

On Nov 18, 2013, at 11:43 PM, Prasanna Santhanam t...@apache.org wrote:

 +1 (binding)
 
 Took a while to run through the entire suite of tests.
 
 Improvements in the results from 4.2.0 as well. 4.2.0 RC results are
 at http://markmail.org/message/fppeuounjs6fvxgy
 
 *Suggestions to improve the format of the report welcome! 

anyway to fetch that out of jenkins (api call) and build a nice dashboard ?

 
 XenServer 6.2/ Test Run: #1059
 Logs: http://goo.gl/9gpxd0
 
 Smoke Tests
 
 Total:97
 Fail :11
 Skip :2
 
 
 name   passfailskip
 test_routers/ 9   0   0
 test_volumes/ 9   0   0
 test_iso/ 5   0   1
 test_global_settings/ 1   0   0
 test_regions/ 1   0   0
 test_deploy_vms_with_varied_deploymentplanners/   3   0   0
 test_network/ 6   1   0
 test_templates/   7   0   1
 test_disk_offerings/  3   0   0
 test_scale_vm/1   0   0
 test_pvlan/   1   0   0
 test_vpc_vpn/ 0   2   0
 test_deploy_vm_with_userdata/ 2   0   0
 test_non_contigiousvlan/  1   0   0
 test_resource_detail/ 1   0   0
 test_deploy_vm/   1   0   0
 test_ssvm/   10   0   0
 test_loadbalance/ 0   3   0
 test_vm_snapshots/0   3   0
 test_public_ip_range/ 1   0   0
 test_nic/ 1   0   0
 test_network_acl/ 1   0   0
 test_reset_vm_on_reboot/  0   1   0
 test_service_offerings/   4   0   0
 test_internal_lb/ 1   0   0
 test_multipleips_per_nic/ 1   0   0
 test_vm_life_cycle/   9   1   0
 test_affinity_groups/ 1   0   0
 test_privategw_acl/   1   0   0
 test_guest_vlan_range/1   0   0
 test_portable_publicip/   2   0   0
 
 
 Regression Tests
 Test Run: #274
 
 Total:323
 Fail :32
 Skip :12
 
 
 name   passfailskip
 test_multiple_ip_ranges/  1   0   0
 test_affinity_groups/40   1   1
 test_project_usage/   9   0   0
 test_recurring_snapshots/ 2   0   0
 test_project_resources/   7   0   0
 test_network_offering/3   0   0
 test_resource_limits/10   1   0
 test_egress_rules/1   0   0
 test_haproxy/11   0   0
 test_snapshot_limits/ 0   1   0
 test_regions/ 3   0   0
 test_snapshot_gc/ 0   1   0
 test_allocation_states/   6   0   0
 test_ip_reservation/  4   0   0
 test_regions_accounts/3   0   0
 test_storage_motion/  1   0   1
 test_advancedsg_networks/ 1   0   0
 test_volumes/ 9   0   0
 test_vpc_offerings/   7   1   0
 test_project_configs/ 2   0   3
 test_vpc_vms_deployment/  5   2   0
 test_vpn_users/   7   0   0
 test_redundant_router_services/   1   0   0
 test_redundant_router_cleanups/   2   1   0
 test_vpc_network/ 0   1   0
 test_vpc_routers/ 6   4   0
 test_update_vm/   1   0   0
 test_projects/   10   0   0
 test_custom_hostname/ 4   0   3
 test_accounts/   14   0   0
 test_shared_network_offering/ 0   1   0
 test_tags/   19   0   1
 test_usage/   9   0   0
 test_stopped_vm/ 15   2   0
 test_security_groups/

Re: [VOTE] Release Apache CloudStack 4.2.1

2013-11-19 Thread Prasanna Santhanam
On Tue, Nov 19, 2013 at 07:27:57AM -0500, Sebastien Goasguen wrote:
 
 On Nov 18, 2013, at 11:43 PM, Prasanna Santhanam t...@apache.org wrote:
 
  +1 (binding)
  
  Took a while to run through the entire suite of tests.
  
  Improvements in the results from 4.2.0 as well. 4.2.0 RC results are
  at http://markmail.org/message/fppeuounjs6fvxgy
  
  *Suggestions to improve the format of the report welcome! 
 
 anyway to fetch that out of jenkins (api call) and build a nice dashboard ?
 

it does come out of jenkinsapi calls and shows in a nice table with
hyperlinks to drill down further on jenkins actually:

http://jenkins.buildacloud.org/view/cloudstack-qa/job/test-regression-matrix/lastCompletedBuild/testReport/

^ did you mean this?


-- 
Prasanna.,


Powered by BigRock.com



RE: A question on vm migrations when hosts are set into a maintenance mode.

2013-11-19 Thread Alex Huang
Alex,

Sorry for the late reply.  Been travelling the last couple of weeks.  I'll look 
into this today.

--Alex

From: Alex Ough [mailto:alex.o...@sungard.com]
Sent: Monday, November 18, 2013 6:17 AM
To: dev@cloudstack.apache.org
Cc: Alex Huang
Subject: Re: A question on vm migrations when hosts are set into a maintenance 
mode.

Thank Parasanna  Sebastien,
I also got his email and sent an email.
Waiting for his reply...

Thanks
Alex Ough

On Sat, Nov 16, 2013 at 3:05 PM, Sebastien Goasguen 
run...@gmail.commailto:run...@gmail.com wrote:
cc Alex Huang to get his attention:


On Nov 15, 2013, at 10:17 PM, Prasanna Santhanam 
t...@apache.orgmailto:t...@apache.org wrote:

 Alex, Could you just do a git blame on the file and copy the emails of
 people who changed that bit of code? They may be able to help if Cc-ed
 directly.

 Thanks,

 On Fri, Nov 15, 2013 at 01:49:07PM -0600, Alex Ough wrote:
 I hate to sending the same emails over and over again, but I really need to
 finalize this feature to be included in the next code freeze because this
 feature is very critical in our inside project.

 Anyone who can help, please?
 Thanks
 Alex Ough


 On Thu, Nov 14, 2013 at 1:27 PM, Alex Ough 
 alex.o...@sungard.commailto:alex.o...@sungard.com wrote:

 Not sure if Alex Huang checked this, but can anyone help to resolve this?

 Thanks
 Alex Ough


 On Wed, Nov 13, 2013 at 11:39 AM, Alex Ough 
 alex.o...@sungard.commailto:alex.o...@sungard.com wrote:

 It sounds a little scary...

 I looked at the history and found these.

 8/9/ : file moved to engine by Alex Huang
 9/16 : '_mgmtServer.getExecuteInSequence()' changed to
 'getExecuteInSequence()' by Alex Huang


 Hi Alex Huang,
 I'm not sure if you're aware of this, but can you check this for me?

 Thanks
 Alex Ough



 On Wed, Nov 13, 2013 at 11:18 AM, Marcus Sorensen 
 shadow...@gmail.commailto:shadow...@gmail.comwrote:

 I'm not sure. I know in the past when I've seen files change locations
 it has also clobbered updates to that file. Someone branched, did the
 reorganization work, and merged, while in-between the original file
 changed.

 On Wed, Nov 13, 2013 at 9:21 AM, Alex Ough 
 alex.o...@sungard.commailto:alex.o...@sungard.com
 wrote:
 All,

 While merging my changes to 4.3 branch, I found that the option,
 'execute.in.sequence.hypervisor.commands' is NOT used in
 Start/Stop/Copy
 commands in 'VirtualMachineManagerImpl.java' any more as below.


 *StopCommand stop = new StopCommand(vm, getExecuteInSequence());*

 *protected boolean getExecuteInSequence() {*
 * return false;*
 *}*

 As you see in the above, the function, 'getExecuteInSequence', just
 returns
 false instead of getting the value from the global variable.

 And one more change is that the file has been moved to
 'engine/orchestration/src/com/cloud/vm' from 'server/src/com/cloud/vm'.

 Am I missing something related with this or do we stop supporting this
 option in 4.3?
 I'm a little confused, so please help me resolve this.

 Thanks
 Alex Ough




 On Tue, Nov 12, 2013 at 4:20 PM, Alex Ough 
 alex.o...@sungard.commailto:alex.o...@sungard.com
 wrote:

 Thanks a lot for your confirmation, Marcus.
 I'll create a review request unless anyone has an objection.

 Thanks
 Alex Ough


 On Tue, Nov 12, 2013 at 3:37 PM, Marcus Sorensen 
 shadow...@gmail.commailto:shadow...@gmail.com
 wrote:

 I have done parallel KVM migrations without issue, it's supposed to
 work. Really I think it's in the same boat as parallel start/stop.
 It
 should work, but the config option is there just in case. I think we
 should add it.

 On Thu, Oct 3, 2013 at 11:41 AM, Chip Childers
 chip.child...@sungard.commailto:chip.child...@sungard.com wrote:
 On Thu, Oct 03, 2013 at 11:44:46AM -0500, Alex Ough wrote:
 I'm not sure what else commands 'MigrateCommand' actually execute
 in
 addition to 'Start/Stop/CopyCommand', but can we include
 'MigrateCommand'
 if it consists of only those 3 commands?

 Thanks
 Alex Ough

 In the case of VMware, the migrate command is executed via the
 MigrateVMTask that's part of the VMware SDK (see

 vmware-base/src/com/cloud/hypervisor/vmware/mo/VirtualMachineMO.java).

 For VMware, I know that vCenter will queue and process concurrent
 requests for migrations.  Specifically, it will throttle the
 migrations
 happening, based on it's internal concurrency constraints, but the
 task
 queue will still accept more connections.  Obviously the risk are
 the
 VMware layer tasks timing out if it takes too long for the task
 queue to
 complete.

 As for XenServer, it's happening in what appears to be a similar
 way
 (although the source host is the target for the migration API
 call).

 Check


 plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java.

 I'm not familiar enough with XenServer's concurrency model for
 migrations.  Any experts know the answer to if it can handle
 concurrency
 in a stable way?

 With KVM, it's obviously executing via the agent.  Similarly to
 

CloudStack MS on Windows

2013-11-19 Thread Musayev, Ilya
As insane as it sounds,  we have a definite advantage over other projects since 
we are running cross platform java.

Why not offer a Windows build as convinience? We are going to take Windows 
market share that is afraid of Linux command line (that's still a very 
significant population outside of bay area). I know for certain OS or Euca do 
not run on Windows.

This maybe our advantage we can use as marketing and get many more people on 
board.

Any thoughts on marketing?  I will be asking this on dev.

Source: Friend of mine who does ACS development had it running in Windows 
environment.


- All mistakes in this message are not mine but Android's.


Re: [VOTE] Release Apache CloudStack 4.2.1

2013-11-19 Thread Sebastien Goasguen

On Nov 19, 2013, at 7:40 AM, Prasanna Santhanam t...@apache.org wrote:

 On Tue, Nov 19, 2013 at 07:27:57AM -0500, Sebastien Goasguen wrote:
 
 On Nov 18, 2013, at 11:43 PM, Prasanna Santhanam t...@apache.org wrote:
 
 +1 (binding)
 
 Took a while to run through the entire suite of tests.
 
 Improvements in the results from 4.2.0 as well. 4.2.0 RC results are
 at http://markmail.org/message/fppeuounjs6fvxgy
 
 *Suggestions to improve the format of the report welcome! 
 
 anyway to fetch that out of jenkins (api call) and build a nice dashboard ?
 
 
 it does come out of jenkinsapi calls and shows in a nice table with
 hyperlinks to drill down further on jenkins actually:
 
 http://jenkins.buildacloud.org/view/cloudstack-qa/job/test-regression-matrix/lastCompletedBuild/testReport/
 
 ^ did you mean this?

I meant more like this:

http://jenkins.buildacloud.org/view/cloudstack-qa/job/test-regression-matrix/lastCompletedBuild/testReport/api/json?pretty=true

so we can build our own dashboard...

 
 
 -- 
 Prasanna.,
 
 
 Powered by BigRock.com
 



Review Request 15672: CLOUDSTACK-5204: test_routers - fixed ssh issue

2013-11-19 Thread Ashutosh Kelkar

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

Review request for cloudstack, Girish Shilamkar and SrikanteswaraRao Talluri.


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


Repository: cloudstack-git


Description
---

component.test_routers.TestRouterStopCreatePF.test_01_RouterStopCreatePF failed 
due to SSH issue.

The port numbers used for opening the firewall,crating NAT rule and those which 
are used while SSH were not matching earlier. Corrected the port numbers and 
now the test cases are running successfully.


Diffs
-

  test/integration/component/test_routers.py b41cc6f 

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


Testing
---

Tested locally on KVM advanced setup.

Log:

test_01_RouterStopCreatePF (test_routers.TestRouterStopCreatePF)
Test router stop create port forwarding ...
== client.log ==
2013-11-19 01:15:23,606 - DEBUG - test_01_RouterStopCreatePF 
(test_routers.TestRouterStopCreatePF) - Stopping router ID: 
c3a8fa3d-7eb4-4aa3-89f5-a32e539519d4
2013-11-19 01:15:33,760 - DEBUG - test_01_RouterStopCreatePF 
(test_routers.TestRouterStopCreatePF) - [{networkid : 
u'c46664ce-7e35-4cfe-84dd-9ba643287190', phys
icalnetworkid : u'd3a6b714-dca9-4c70-85a8-9b7eb21173f3', account : 
u'testuser-5FC9JN', domainid : u'ca366bcc-4ea2-11e3-a447-1a6f7bb0d0a8', 
issourcenat : True, i
sstaticnat : False, tags : [], associatednetworkname : 
u'testuser-5FC9JN-network', domain : u'ROOT', vlanid : 
u'dd334b97-108d-49fb-9dd4-d52aa8d0e063', zoneid :
u'949dc33b-3e26-491e-b85d-3c4007dc376e', vlanname : u'1221', state : 
u'Allocated', associatednetworkid : u'9bf9e9e9-cb7a-424c-ba98-3df0ca11bef8', 
zonename : u'A
dv-KVM-Zone1', forvirtualnetwork : True, allocated : 
u'2013-11-19T05:01:50-0800', issystem : False, ipaddress : u'10.223.122.101', 
id : u'f6302d3b-0ab3-427e-835
3-810ceeacf6ae', isportable : False}]
2013-11-19 01:15:38,871 - DEBUG - test_01_RouterStopCreatePF 
(test_routers.TestRouterStopCreatePF) - Creating NAT rule for VM ID: 
baf9415f-c930-4391-9f3f-637bfb
02779d
2013-11-19 01:15:43,979 - DEBUG - test_01_RouterStopCreatePF 
(test_routers.TestRouterStopCreatePF) - Starting router ID: 
c3a8fa3d-7eb4-4aa3-89f5-a32e539519d4
2013-11-19 01:16:19,204 - DEBUG - test_01_RouterStopCreatePF 
(test_routers.TestRouterStopCreatePF) - SSH into VM with ID: 10.223.122.101
2013-11-19 01:16:19,204 - DEBUG - test_01_RouterStopCreatePF 
(test_routers.TestRouterStopCreatePF) - 22

== result.log ==
ok

--
Ran 6 tests in 216.937s

OK (skipped=5)


Thanks,

Ashutosh Kelkar



Re: Review Request 15672: CLOUDSTACK-5204: test_routers - fixed ssh issue

2013-11-19 Thread Ashutosh Kelkar

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

(Updated Nov. 19, 2013, 1:24 p.m.)


Review request for cloudstack, Girish Shilamkar and SrikanteswaraRao Talluri.


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


Repository: cloudstack-git


Description
---

component.test_routers.TestRouterStopCreatePF.test_01_RouterStopCreatePF failed 
due to SSH issue.

The port numbers used for opening the firewall,crating NAT rule and those which 
are used while SSH were not matching earlier. Corrected the port numbers and 
now the test cases are running successfully.


Diffs (updated)
-

  test/integration/component/test_routers.py b41cc6f 

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


Testing
---

Tested locally on KVM advanced setup.

Log:

test_01_RouterStopCreatePF (test_routers.TestRouterStopCreatePF)
Test router stop create port forwarding ...
== client.log ==
2013-11-19 01:15:23,606 - DEBUG - test_01_RouterStopCreatePF 
(test_routers.TestRouterStopCreatePF) - Stopping router ID: 
c3a8fa3d-7eb4-4aa3-89f5-a32e539519d4
2013-11-19 01:15:33,760 - DEBUG - test_01_RouterStopCreatePF 
(test_routers.TestRouterStopCreatePF) - [{networkid : 
u'c46664ce-7e35-4cfe-84dd-9ba643287190', phys
icalnetworkid : u'd3a6b714-dca9-4c70-85a8-9b7eb21173f3', account : 
u'testuser-5FC9JN', domainid : u'ca366bcc-4ea2-11e3-a447-1a6f7bb0d0a8', 
issourcenat : True, i
sstaticnat : False, tags : [], associatednetworkname : 
u'testuser-5FC9JN-network', domain : u'ROOT', vlanid : 
u'dd334b97-108d-49fb-9dd4-d52aa8d0e063', zoneid :
u'949dc33b-3e26-491e-b85d-3c4007dc376e', vlanname : u'1221', state : 
u'Allocated', associatednetworkid : u'9bf9e9e9-cb7a-424c-ba98-3df0ca11bef8', 
zonename : u'A
dv-KVM-Zone1', forvirtualnetwork : True, allocated : 
u'2013-11-19T05:01:50-0800', issystem : False, ipaddress : u'10.223.122.101', 
id : u'f6302d3b-0ab3-427e-835
3-810ceeacf6ae', isportable : False}]
2013-11-19 01:15:38,871 - DEBUG - test_01_RouterStopCreatePF 
(test_routers.TestRouterStopCreatePF) - Creating NAT rule for VM ID: 
baf9415f-c930-4391-9f3f-637bfb
02779d
2013-11-19 01:15:43,979 - DEBUG - test_01_RouterStopCreatePF 
(test_routers.TestRouterStopCreatePF) - Starting router ID: 
c3a8fa3d-7eb4-4aa3-89f5-a32e539519d4
2013-11-19 01:16:19,204 - DEBUG - test_01_RouterStopCreatePF 
(test_routers.TestRouterStopCreatePF) - SSH into VM with ID: 10.223.122.101
2013-11-19 01:16:19,204 - DEBUG - test_01_RouterStopCreatePF 
(test_routers.TestRouterStopCreatePF) - 22

== result.log ==
ok

--
Ran 6 tests in 216.937s

OK (skipped=5)


Thanks,

Ashutosh Kelkar



RE: help wanted for developer env at centOS

2013-11-19 Thread Sanjay Tripathi
Follow this guide: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack
It has all the steps required to build a dev environment.

--Sanjay

 -Original Message-
 From: Juan Barrio [mailto:juan.bar...@altia.es]
 Sent: Monday, November 18, 2013 11:10 PM
 To: dev@cloudstack.apache.org
 Subject: help wanted for developer env at centOS
 
 Hi, Im new with apache cloudstack development
 
 I want to build a develpment environmet on my CentOs, but following the
 cwiki and launching on jetty, result on errors...
 
 Can someone helpme to configure my development environment please?
 
 Thanks


Re: Trunk interface to VM

2013-11-19 Thread Francois Gaudreault
Hi,

Thanks for the suggestions.  I will investigate the VLAN 4095 on ESX and
the SDN/GRE avenue.

Thanks!

FG


On Tue, Nov 19, 2013 at 5:38 AM, Murali Reddy murali.re...@citrix.comwrote:

 If you can run XenServer on ESXi, there there is 'virtual guest
 tagging'[1] where VLAN 4095 lets guest instances to send and receive
 tagged traffic on to physical network. Perhaps you can try creating a
 network with 4095 VLAN tag from CS and spin up XS VM instances.

 You can do it on XenServer as well, but VIF needs to connect to a non-VLAN
 network. I use NetScaler VPX on XenServer[2], where VPX sends and receives
 tagged traffic from the XenServer.

 [1]
 http://kb.vmware.com/selfservice/microsites/search.do?language=en_UScmd=di
 splayKCexternalId=1003806
 [2]
 http://support.citrix.com/proddocs/topic/netscaler-vpx-10/ns-vpx-overview-w
 rapper-con.html

 On 16/11/13 11:31 AM, Francois Gaudreault fgaudrea...@cloudops.com
 wrote:

 Yes. We want to be able spin XS within CloudStack. We also need those XS
 to
 consume VLAN tags to do advanced networking (kind of CS inside CS). Lets
 say we do have devs with ambitious needs :)
 
 Francois
 On 2013-11-15 9:46 PM, Chiradeep Vittal chiradeep.vit...@citrix.com
 wrote:
 
  You want to pass the vlan tags into a VM that is actually a XenServer?
 
  On 11/14/13 3:02 PM, Francois Gaudreault fgaudrea...@cloudops.com
  wrote:
 
  Is there a way to assign a trunked interface to a VM running in CS?
 Like
  assign the entire guest interface. We have a use case where we need to
 run
  XenServer hosts within a cloudstack managed infra.
  
  Thanks!
  
  Francois
 
 
 





Image format supported by cloudstack

2013-11-19 Thread jitendra shelar
Hi Team,

Can somebody please tell me which all image format are supported by the
cloudstack?

And do cloudstack (version 4.0 and 4.2)  provide support for windows 7,
Windows 2012, Ubuntu 12 and Ubuntu 13 ISO?


Thanks,
Jitendra


RE: [VOTE] Release Apache CloudStack 4.2.1

2013-11-19 Thread Musayev, Ilya
+1 binding

 -Original Message-
 From: Sebastien Goasguen [mailto:run...@gmail.com]
 Sent: Tuesday, November 19, 2013 8:11 AM
 To: dev@cloudstack.apache.org
 Subject: Re: [VOTE] Release Apache CloudStack 4.2.1
 
 
 On Nov 19, 2013, at 7:40 AM, Prasanna Santhanam t...@apache.org wrote:
 
  On Tue, Nov 19, 2013 at 07:27:57AM -0500, Sebastien Goasguen wrote:
 
  On Nov 18, 2013, at 11:43 PM, Prasanna Santhanam t...@apache.org
 wrote:
 
  +1 (binding)
 
  Took a while to run through the entire suite of tests.
 
  Improvements in the results from 4.2.0 as well. 4.2.0 RC results are
  at http://markmail.org/message/fppeuounjs6fvxgy
 
  *Suggestions to improve the format of the report welcome!
 
  anyway to fetch that out of jenkins (api call) and build a nice dashboard ?
 
 
  it does come out of jenkinsapi calls and shows in a nice table with
  hyperlinks to drill down further on jenkins actually:
 
  http://jenkins.buildacloud.org/view/cloudstack-qa/job/test-regression-
  matrix/lastCompletedBuild/testReport/
 
  ^ did you mean this?
 
 I meant more like this:
 
 http://jenkins.buildacloud.org/view/cloudstack-qa/job/test-regression-
 matrix/lastCompletedBuild/testReport/api/json?pretty=true
 
 so we can build our own dashboard...
 
 
 
  --
  Prasanna.,
 
  
  Powered by BigRock.com
 
 




Re: Review Request 15489: Adding protocol parameter to loadbalancer response

2013-11-19 Thread Murali Reddy

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

Ship it!


commit  481af07fb130d24490efe6a98970cb13104e4046

- Murali Reddy


On Nov. 13, 2013, 6:08 p.m., Syed Ahmed wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/15489/
 ---
 
 (Updated Nov. 13, 2013, 6:08 p.m.)
 
 
 Review request for cloudstack, Alena Prokharchyk and Murali Reddy.
 
 
 Repository: cloudstack-git
 
 
 Description
 ---
 
 Adding protocol parameter to Loadbalancer Response
 
 
 Diffs
 -
 
   api/src/com/cloud/network/rules/LoadBalancer.java e6dadca 
   api/src/com/cloud/network/rules/LoadBalancerContainer.java 9d5ea59 
   api/src/org/apache/cloudstack/api/response/LoadBalancerResponse.java 
 0f18097 
   
 engine/schema/src/org/apache/cloudstack/lb/ApplicationLoadBalancerRuleVO.java 
 37a747e 
   server/src/com/cloud/api/ApiResponseHelper.java 903c485 
 
 Diff: https://reviews.apache.org/r/15489/diff/
 
 
 Testing
 ---
 
 
 Thanks,
 
 Syed Ahmed
 




RE: Image format supported by cloudstack

2013-11-19 Thread Sanjay Tripathi
Answers inline.

 -Original Message-
 From: jitendra shelar [mailto:jitendra.shelar...@gmail.com]
 Sent: Tuesday, November 19, 2013 10:04 PM
 To: dev@cloudstack.apache.org; us...@cloudstack.apache.org; issues-
 subscr...@cloudstack.apache.org
 Subject: Image format supported by cloudstack
 
 Hi Team,
 
 Can somebody please tell me which all image format are supported by the
 cloudstack?

From the CloudStack UI, you can get the guest OS list in register 
template/register ISO form page, or try the API listOsTypes to get the 
complete list.

 
 And do cloudstack (version 4.0 and 4.2)  provide support for windows 7,
 Windows 2012, Ubuntu 12 and Ubuntu 13 ISO?

CloudStack supports all the mentioned guest OS. Only for Ubuntu 13, you need to 
register the template/ISO under Other Ubuntu guest OS type.
 
 
 
 Thanks,
 Jitendra

--Sanjay



Re: Review Request 15489: Adding protocol parameter to loadbalancer response

2013-11-19 Thread Syed Ahmed

Hi Murali,

Should I send a patch for the 4.3 branch as well?

Thanks,
-Syed

On Tue 19 Nov 2013 12:01:53 PM EST, Murali Reddy wrote:

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


Ship it!

commit  481af07fb130d24490efe6a98970cb13104e4046

- Murali Reddy


On November 13th, 2013, 6:08 p.m. UTC, Syed Ahmed wrote:

Review request for cloudstack, Alena Prokharchyk and Murali Reddy.
By Syed Ahmed.

/Updated Nov. 13, 2013, 6:08 p.m./

*Repository: * cloudstack-git


  Description

Adding protocol parameter to Loadbalancer Response


  Diffs

  * api/src/com/cloud/network/rules/LoadBalancer.java (e6dadca)
  * api/src/com/cloud/network/rules/LoadBalancerContainer.java (9d5ea59)
  * api/src/org/apache/cloudstack/api/response/LoadBalancerResponse.java
(0f18097)
  * 
engine/schema/src/org/apache/cloudstack/lb/ApplicationLoadBalancerRuleVO.java
(37a747e)
  * server/src/com/cloud/api/ApiResponseHelper.java (903c485)

View Diff https://reviews.apache.org/r/15489/diff/






Re: Upgrading nitro API to 10.1

2013-11-19 Thread Syed Ahmed

Hi All,

I was looking at changing the nitro version to 10.1 but was not able to 
find this version in the maven repository. Who would be the right 
person for pushing it onto the repo?


Thanks,
-Syed


On Fri 15 Nov 2013 11:13:07 PM EST, Syed Ahmed wrote:

Thanks Will. Will Do.


On Fri 15 Nov 2013 10:52:27 PM EST, Will Stevens wrote:

@Syed: I just did that for the Palo Alto plugin, so let me know if you
have questions...

Will


On Fri, Nov 15, 2013 at 10:42 PM, Prasanna Santhanam t...@apache.org
mailto:t...@apache.org wrote:

awesome. thanks syed!

On Fri, Nov 15, 2013 at 10:39:18PM -0500, Syed Ahmed wrote:
 Sure. No problems.

 Thanks,
 -Syed

 On Fri 15 Nov 2013 10:35:04 PM EST, Prasanna Santhanam wrote:
 that should be ok - i was supposed to have moved the netscaler
plugin
 from noredist to oss but never got around to it. would you be
able to
 take that up as part of your change?
 
 On Fri, Nov 15, 2013 at 10:29:56PM -0500, Syed Ahmed wrote:
 Yes Prasanna. This is a jar upgrade and yes that is the source
code.
 This means that we could remove the noredist from netscaler
plugin.
 
 Thanks,
 -Syed
 
 


--
Prasanna.,


Powered by BigRock.com










Re: Review Request 15489: Adding protocol parameter to loadbalancer response

2013-11-19 Thread Alena Prokharchyk
Yes, Syed, it should go both to 4.3 and master branches.

-alena.

From: Syed Ahmed sah...@cloudops.commailto:sah...@cloudops.com
Date: Tuesday, November 19, 2013 9:55 AM
To: Murali Reddy muralimmre...@gmail.commailto:muralimmre...@gmail.com
Cc: cloudstack dev@cloudstack.apache.orgmailto:dev@cloudstack.apache.org, 
Alena Prokharchyk 
alena.prokharc...@citrix.commailto:alena.prokharc...@citrix.com
Subject: Re: Review Request 15489: Adding protocol parameter to loadbalancer 
response

Hi Murali,

Should I send a patch for the 4.3 branch as well?

Thanks,
-Syed

On Tue 19 Nov 2013 12:01:53 PM EST, Murali Reddy wrote:
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15489/


Ship it!

commit 481af07fb130d24490efe6a98970cb13104e4046

- Murali Reddy


On November 13th, 2013, 6:08 p.m. UTC, Syed Ahmed wrote:

Review request for cloudstack, Alena Prokharchyk and Murali Reddy.
By Syed Ahmed.

/Updated Nov. 13, 2013, 6:08 p.m./

*Repository: * cloudstack-git


   Description

Adding protocol parameter to Loadbalancer Response


   Diffs

   * api/src/com/cloud/network/rules/LoadBalancer.java (e6dadca)
   * api/src/com/cloud/network/rules/LoadBalancerContainer.java (9d5ea59)
   * api/src/org/apache/cloudstack/api/response/LoadBalancerResponse.java
 (0f18097)
   * 
engine/schema/src/org/apache/cloudstack/lb/ApplicationLoadBalancerRuleVO.java
 (37a747e)
   * server/src/com/cloud/api/ApiResponseHelper.java (903c485)

View Diff https://reviews.apache.org/r/15489/diff/






Re: Review Request 15489: Adding protocol parameter to loadbalancer response

2013-11-19 Thread Murali Reddy
I have cherry-picked to 4.3. Will be pushing in a while.

On 19/11/13 11:25 PM, Syed Ahmed sah...@cloudops.com wrote:

Hi Murali,

Should I send a patch for the 4.3 branch as well?

Thanks,
-Syed

On Tue 19 Nov 2013 12:01:53 PM EST, Murali Reddy wrote:
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/15489/


 Ship it!

 commit   481af07fb130d24490efe6a98970cb13104e4046

 - Murali Reddy


 On November 13th, 2013, 6:08 p.m. UTC, Syed Ahmed wrote:

 Review request for cloudstack, Alena Prokharchyk and Murali Reddy.
 By Syed Ahmed.

 /Updated Nov. 13, 2013, 6:08 p.m./

 *Repository: * cloudstack-git


   Description

 Adding protocol parameter to Loadbalancer Response


   Diffs

   * api/src/com/cloud/network/rules/LoadBalancer.java (e6dadca)
   * api/src/com/cloud/network/rules/LoadBalancerContainer.java (9d5ea59)
   * api/src/org/apache/cloudstack/api/response/LoadBalancerResponse.java
 (0f18097)
   * 
engine/schema/src/org/apache/cloudstack/lb/ApplicationLoadBalancerRuleVO.
java
 (37a747e)
   * server/src/com/cloud/api/ApiResponseHelper.java (903c485)

 View Diff https://reviews.apache.org/r/15489/diff/








Re: Review Request 15489: Adding protocol parameter to loadbalancer response

2013-11-19 Thread Syed Ahmed

Thanks Murali.



On Tue 19 Nov 2013 01:10:45 PM EST, Murali Reddy wrote:

I have cherry-picked to 4.3. Will be pushing in a while.

On 19/11/13 11:25 PM, Syed Ahmed sah...@cloudops.com wrote:


Hi Murali,

Should I send a patch for the 4.3 branch as well?

Thanks,
-Syed

On Tue 19 Nov 2013 12:01:53 PM EST, Murali Reddy wrote:

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


Ship it!

commit  481af07fb130d24490efe6a98970cb13104e4046

- Murali Reddy


On November 13th, 2013, 6:08 p.m. UTC, Syed Ahmed wrote:

Review request for cloudstack, Alena Prokharchyk and Murali Reddy.
By Syed Ahmed.

/Updated Nov. 13, 2013, 6:08 p.m./

*Repository: * cloudstack-git


   Description

Adding protocol parameter to Loadbalancer Response


   Diffs

   * api/src/com/cloud/network/rules/LoadBalancer.java (e6dadca)
   * api/src/com/cloud/network/rules/LoadBalancerContainer.java (9d5ea59)
   * api/src/org/apache/cloudstack/api/response/LoadBalancerResponse.java
 (0f18097)
   *
engine/schema/src/org/apache/cloudstack/lb/ApplicationLoadBalancerRuleVO.
java
 (37a747e)
   * server/src/com/cloud/api/ApiResponseHelper.java (903c485)

View Diff https://reviews.apache.org/r/15489/diff/













RE: CloudStack MS on Windows

2013-11-19 Thread Donal Lafferty
Did your friend use Cygwin?

I've had it running in Cygwin, but doing so makes the installation a hassle.

DL


 -Original Message-
 From: Musayev, Ilya [mailto:imusa...@webmd.net]
 Sent: 19 November 2013 13:08
 To: dev@cloudstack.apache.org
 Subject: CloudStack MS on Windows
 
 As insane as it sounds,  we have a definite advantage over other projects
 since we are running cross platform java.
 
 Why not offer a Windows build as convinience? We are going to take
 Windows market share that is afraid of Linux command line (that's still a very
 significant population outside of bay area). I know for certain OS or Euca do
 not run on Windows.
 
 This maybe our advantage we can use as marketing and get many more
 people on board.
 
 Any thoughts on marketing?  I will be asking this on dev.
 
 Source: Friend of mine who does ACS development had it running in
 Windows environment.
 
 
 - All mistakes in this message are not mine but Android's.


Entity UUID and Type missing on ActionEvent event notifications

2013-11-19 Thread David Grizzanti
Hi All,

I noticed that the event messages going to rabbitmq of type ActionEvent are 
missing any reference to the entity Id/UUID.  Was this omission intentional?  
Poking through the code, I was able to find that adding the information on to 
the event is fairly straightforward (albeit a bit tedious).  Does anyone have 
any objections to updating these event types with this information?  I can file 
the appropriate Jira, but wanted to check in with the list first to get 
opinions.  Example event for network creation below.

Thanks

--
@source=management-server, @type=ActionEvent, @action=NETWORK-CREATE, 
@resource_type=Network, @resource_id=*
{
  status: Completed,
  event: NETWORK.CREATE,
  account: 6d836cf8-47cd-11e3-a130-606d02c0c082,
  user: 6d838544-47cd-11e3-a130-606d02c0c082
}

-- 
David Grizzanti
Software Engineer
Sungard Availability Services

e: david.grizza...@sungard.com
w: 215.446.1431
c: 570.575.0315

Re: Entity UUID and Type missing on ActionEvent event notifications

2013-11-19 Thread Nitin Mehta
David - Thanks for taking the initiative, that would be great.
Can you please let the community know your strategy for populating the
UUID ? 
I was thinking that CallContext can have the UUID populated by the
AsyncJobManager on completion. This would mean you would have to do it at
one place only.

Thanks,
-Nitin

On 19/11/13 12:45 PM, David Grizzanti david.grizza...@sungard.com
wrote:

Hi All,

I noticed that the event messages going to rabbitmq of type ActionEvent
are missing any reference to the entity Id/UUID.  Was this omission
intentional?  Poking through the code, I was able to find that adding the
information on to the event is fairly straightforward (albeit a bit
tedious).  Does anyone have any objections to updating these event types
with this information?  I can file the appropriate Jira, but wanted to
check in with the list first to get opinions.  Example event for network
creation below.

Thanks

--
@source=management-server, @type=ActionEvent,
@action=NETWORK-CREATE, @resource_type=Network, @resource_id=*
{
  status: Completed,
  event: NETWORK.CREATE,
  account: 6d836cf8-47cd-11e3-a130-606d02c0c082,
  user: 6d838544-47cd-11e3-a130-606d02c0c082
}

-- 
David Grizzanti
Software Engineer
Sungard Availability Services

e: david.grizza...@sungard.com
w: 215.446.1431
c: 570.575.0315



Ask about 'Failed to load ApplicationContext' in unit tests during maven building

2013-11-19 Thread Alex Ough
All,

I'm back to Java development after quite long years, so currently I have
difficulty finding out what causes this error.

Basically, I'd like use 'DomainDao/AccountDao/UserDao' and/or
'AccountMgr/DomainMgr' by 'Injecting' them in
'com.cloud.event.ActionEventInterceptor' class to find domain/account/user
information.

But strangely, the injections of all of the classes except 'AccountMgr'
cause the above error in the unit tests ('com.cloud.vpc.Site2SiteVpnTest'
and 'org.apache.cloudstack.lb.ApplicationLoadBalancerTest') during building
'Server' project.

I'm not familiar with 'inject' tag, so I'm not sure what the problem is,
but just defining a variable using 'inject' tag causes the failure.

Your help will be very appreciate.
Thanks
Alex Ough


Re: Build with master fails

2013-11-19 Thread Laszlo Hornyak
Hi Santosh,

If you are using linux, could you check if you have the hostname in the
/etc/hosts file? Most java program have problems resolving the  host name
if it is not there. I have never seen a linux distro that adds the hostname
to /etc/hosts at installation.



On Tue, Nov 19, 2013 at 8:20 AM, Santhosh Edukulla 
santhosh.eduku...@citrix.com wrote:


 -
 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...@gmail.com]
 Sent: Monday, November 18, 2013 3:17 PM
 To: dev@cloudstack.apache.org
 Subject: Re: Build with master fails

 Hi,

 There is only one test in the rdpconsole, it was added recentlyand it was
 working last time... Can you share the text file from
 /root/softwares/csmaster/
 cloudstack/services/console-proxy-rdp/rdpconsole/target/surefire-reports?


 Thx,
 Laszlo

 On Mon, Nov 18, 2013 at 2:53 PM, Santhosh Edukulla 
 santhosh.eduku...@citrix.com wrote:

  Team,
 
  1. I am getting below error when build with latest master. Skipping tests
  is proceeding to make the build success.
 
 
  [INFO] Apache CloudStack Framework - QuickCloud .. SKIPPED
  [INFO]
  
  [INFO] BUILD FAILURE
  [INFO]
  
  [INFO] Total time: 8:50.043s
  [INFO] Finished at: Tue Nov 19 00:48:01 IST 2013
  [INFO] Final Memory: 66M/414M
  [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/csmaster/cloudstack/services/console-proxy-rdp/rdpconsole/target/surefire-reports
  for the individual test results.
  [ERROR] - [Help 1]
 
  2.After that it throws up strange error on UI, when clicked on
  infrastructure. and as well some other  nodes with some UUID
 information
  on dialog.
 
 
  Thanks!
  Santhosh




 --

 EOF




-- 

EOF


RE: CloudStack MS on Windows

2013-11-19 Thread Musayev, Ilya
I believe he did. 

But what does Cygwin gets us? 

I'm going to guess, just initial ability to deploy db and do configs, if that’s 
the case, can that be abstracted with windows native scripting?

Do you know of other instance where Cygwin is needed once everything is 
configured?

Thanks
ilya

 -Original Message-
 From: Donal Lafferty [mailto:donal.laffe...@citrix.com]
 Sent: Tuesday, November 19, 2013 1:40 PM
 To: dev@cloudstack.apache.org; Musayev, Ilya
 Subject: RE: CloudStack MS on Windows
 
 Did your friend use Cygwin?
 
 I've had it running in Cygwin, but doing so makes the installation a hassle.
 
 DL
 
 
  -Original Message-
  From: Musayev, Ilya [mailto:imusa...@webmd.net]
  Sent: 19 November 2013 13:08
  To: dev@cloudstack.apache.org
  Subject: CloudStack MS on Windows
 
  As insane as it sounds,  we have a definite advantage over other
  projects since we are running cross platform java.
 
  Why not offer a Windows build as convinience? We are going to take
  Windows market share that is afraid of Linux command line (that's
  still a very significant population outside of bay area). I know for
  certain OS or Euca do not run on Windows.
 
  This maybe our advantage we can use as marketing and get many more
  people on board.
 
  Any thoughts on marketing?  I will be asking this on dev.
 
  Source: Friend of mine who does ACS development had it running in
  Windows environment.
 
 
  - All mistakes in this message are not mine but Android's.


CloudStack Mirror in US

2013-11-19 Thread Musayev, Ilya
Do we have US mirror for ACS convenience repos?

If not, I would like to make use of my current hosting providers unlimited 
bandwidth deal.

Thanks
ilya


[PROPOSAL] Ability to control the external facing id of CS resources

2013-11-19 Thread Nitin Mehta
Admin should have the ability to control the external facing id of their 
resources (first class objects). This is important for the admins to have 
better control over their clouds
say in case of emergencies when he/she wants to recover their resources.  For 
this I propose that all the resource creation/updation API's need to be altered 
to take in the custom resource id in case the admin wants a custom id.

Please note the following for the custom ids :-

  *   This is an optional field and if not set, CS will use its existing custom 
logic to assign the resource id. If the CS id generation collides with the 
custom id, it will retry.
  *   They have to be unique for the particular type of resource.
  *   They will have to follow the UUID format.
  *   This is external Id change only and MS refers to all the objects through 
the DB ids.

I have created a JIRA item [1] for this and will come out with the FS soon. The 
work will be done for the release post 4.3 release.
Please do share your suggestions/concerns on this.

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

Thanks,
-Nitin


Re: CloudStack Mirror in US

2013-11-19 Thread Sebastien Goasguen
Not that i know off, but wido setup rsync on the EU one. He sent config 
instructions some time back.

-Sebastien

On 19 Nov 2013, at 23:47, Musayev, Ilya imusa...@webmd.net wrote:

 Do we have US mirror for ACS convenience repos?
 
 If not, I would like to make use of my current hosting providers unlimited 
 bandwidth deal.
 
 Thanks
 ilya


RE: A question on vm migrations when hosts are set into a maintenance mode.

2013-11-19 Thread Alex Huang
Alex,

Can you do a pull from master and see if my fix fits your needs.  
Unfortunately, I'm on the road and couldn't do an actual test of it.

--Alex

From: Alex Huang
Sent: Tuesday, November 19, 2013 4:45 AM
To: 'Alex Ough'; dev@cloudstack.apache.org
Subject: RE: A question on vm migrations when hosts are set into a maintenance 
mode.

Alex,

Sorry for the late reply.  Been travelling the last couple of weeks.  I'll look 
into this today.

--Alex

From: Alex Ough [mailto:alex.o...@sungard.com]
Sent: Monday, November 18, 2013 6:17 AM
To: dev@cloudstack.apache.orgmailto:dev@cloudstack.apache.org
Cc: Alex Huang
Subject: Re: A question on vm migrations when hosts are set into a maintenance 
mode.

Thank Parasanna  Sebastien,
I also got his email and sent an email.
Waiting for his reply...

Thanks
Alex Ough

On Sat, Nov 16, 2013 at 3:05 PM, Sebastien Goasguen 
run...@gmail.commailto:run...@gmail.com wrote:
cc Alex Huang to get his attention:


On Nov 15, 2013, at 10:17 PM, Prasanna Santhanam 
t...@apache.orgmailto:t...@apache.org wrote:

 Alex, Could you just do a git blame on the file and copy the emails of
 people who changed that bit of code? They may be able to help if Cc-ed
 directly.

 Thanks,

 On Fri, Nov 15, 2013 at 01:49:07PM -0600, Alex Ough wrote:
 I hate to sending the same emails over and over again, but I really need to
 finalize this feature to be included in the next code freeze because this
 feature is very critical in our inside project.

 Anyone who can help, please?
 Thanks
 Alex Ough


 On Thu, Nov 14, 2013 at 1:27 PM, Alex Ough 
 alex.o...@sungard.commailto:alex.o...@sungard.com wrote:

 Not sure if Alex Huang checked this, but can anyone help to resolve this?

 Thanks
 Alex Ough


 On Wed, Nov 13, 2013 at 11:39 AM, Alex Ough 
 alex.o...@sungard.commailto:alex.o...@sungard.com wrote:

 It sounds a little scary...

 I looked at the history and found these.

 8/9/ : file moved to engine by Alex Huang
 9/16 : '_mgmtServer.getExecuteInSequence()' changed to
 'getExecuteInSequence()' by Alex Huang


 Hi Alex Huang,
 I'm not sure if you're aware of this, but can you check this for me?

 Thanks
 Alex Ough



 On Wed, Nov 13, 2013 at 11:18 AM, Marcus Sorensen 
 shadow...@gmail.commailto:shadow...@gmail.comwrote:

 I'm not sure. I know in the past when I've seen files change locations
 it has also clobbered updates to that file. Someone branched, did the
 reorganization work, and merged, while in-between the original file
 changed.

 On Wed, Nov 13, 2013 at 9:21 AM, Alex Ough 
 alex.o...@sungard.commailto:alex.o...@sungard.com
 wrote:
 All,

 While merging my changes to 4.3 branch, I found that the option,
 'execute.in.sequence.hypervisor.commands' is NOT used in
 Start/Stop/Copy
 commands in 'VirtualMachineManagerImpl.java' any more as below.


 *StopCommand stop = new StopCommand(vm, getExecuteInSequence());*

 *protected boolean getExecuteInSequence() {*
 * return false;*
 *}*

 As you see in the above, the function, 'getExecuteInSequence', just
 returns
 false instead of getting the value from the global variable.

 And one more change is that the file has been moved to
 'engine/orchestration/src/com/cloud/vm' from 'server/src/com/cloud/vm'.

 Am I missing something related with this or do we stop supporting this
 option in 4.3?
 I'm a little confused, so please help me resolve this.

 Thanks
 Alex Ough




 On Tue, Nov 12, 2013 at 4:20 PM, Alex Ough 
 alex.o...@sungard.commailto:alex.o...@sungard.com
 wrote:

 Thanks a lot for your confirmation, Marcus.
 I'll create a review request unless anyone has an objection.

 Thanks
 Alex Ough


 On Tue, Nov 12, 2013 at 3:37 PM, Marcus Sorensen 
 shadow...@gmail.commailto:shadow...@gmail.com
 wrote:

 I have done parallel KVM migrations without issue, it's supposed to
 work. Really I think it's in the same boat as parallel start/stop.
 It
 should work, but the config option is there just in case. I think we
 should add it.

 On Thu, Oct 3, 2013 at 11:41 AM, Chip Childers
 chip.child...@sungard.commailto:chip.child...@sungard.com wrote:
 On Thu, Oct 03, 2013 at 11:44:46AM -0500, Alex Ough wrote:
 I'm not sure what else commands 'MigrateCommand' actually execute
 in
 addition to 'Start/Stop/CopyCommand', but can we include
 'MigrateCommand'
 if it consists of only those 3 commands?

 Thanks
 Alex Ough

 In the case of VMware, the migrate command is executed via the
 MigrateVMTask that's part of the VMware SDK (see

 vmware-base/src/com/cloud/hypervisor/vmware/mo/VirtualMachineMO.java).

 For VMware, I know that vCenter will queue and process concurrent
 requests for migrations.  Specifically, it will throttle the
 migrations
 happening, based on it's internal concurrency constraints, but the
 task
 queue will still accept more connections.  Obviously the risk are
 the
 VMware layer tasks timing out if it takes too long for the task
 queue to
 complete.

 As for XenServer, it's happening in what appears to be a similar
 way
 (although the source 

RE: Upgrading nitro API to 10.1

2013-11-19 Thread Vijay Venkatachalam
Hi Syed,
I will check this. Will respond in a day or two.
Thanks,
Vijay V.

 -Original Message-
 From: Syed Ahmed [mailto:sah...@cloudops.com]
 Sent: Tuesday, November 19, 2013 11:25 PM
 To: Will Stevens
 Cc: dev@cloudstack.apache.org; Prasanna Santhanam; Murali Reddy; Vijay
 Venkatachalam
 Subject: Re: Upgrading nitro API to 10.1
 
 Hi All,
 
 I was looking at changing the nitro version to 10.1 but was not able to find 
 this
 version in the maven repository. Who would be the right person for pushing
 it onto the repo?
 
 Thanks,
 -Syed
 
 
 On Fri 15 Nov 2013 11:13:07 PM EST, Syed Ahmed wrote:
  Thanks Will. Will Do.
 
 
  On Fri 15 Nov 2013 10:52:27 PM EST, Will Stevens wrote:
  @Syed: I just did that for the Palo Alto plugin, so let me know if
  you have questions...
 
  Will
 
 
  On Fri, Nov 15, 2013 at 10:42 PM, Prasanna Santhanam t...@apache.org
  mailto:t...@apache.org wrote:
 
  awesome. thanks syed!
 
  On Fri, Nov 15, 2013 at 10:39:18PM -0500, Syed Ahmed wrote:
   Sure. No problems.
  
   Thanks,
   -Syed
  
   On Fri 15 Nov 2013 10:35:04 PM EST, Prasanna Santhanam wrote:
   that should be ok - i was supposed to have moved the netscaler
  plugin
   from noredist to oss but never got around to it. would you be
  able to
   take that up as part of your change?
   
   On Fri, Nov 15, 2013 at 10:29:56PM -0500, Syed Ahmed wrote:
   Yes Prasanna. This is a jar upgrade and yes that is the source
  code.
   This means that we could remove the noredist from netscaler
  plugin.
   
   Thanks,
   -Syed
   
   
  
 
  --
  Prasanna.,
 
  
  Powered by BigRock.com
 
 
 
 
 



Jenkins build became unstable: build-master » Apache CloudStack Plugin - SNMP Alerts #10

2013-11-19 Thread jenkins
See 
http://jenkins.buildacloud.org/job/build-master/org.apache.cloudstack$cloud-plugin-snmp-alerts/10/



Jenkins build became unstable: build-master #10

2013-11-19 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master/10/changes



Jenkins build is back to stable : build-master » Apache CloudStack Plugin - SNMP Alerts #11

2013-11-19 Thread jenkins
See 
http://jenkins.buildacloud.org/job/build-master/org.apache.cloudstack$cloud-plugin-snmp-alerts/11/



Jenkins build is back to stable : build-master #11

2013-11-19 Thread jenkins
See http://jenkins.buildacloud.org/job/build-master/11/changes



Re: devcloud2

2013-11-19 Thread Yichi Lu
my host is macbook pro. from top:
PIDCOMMAND  %CPU  TIME #TH#WQ  #PORT #MREG RPRVT  RSHRD
 RSIZE  VPRVT  VSIZE  PGRP  PPID  STATE
3756   VirtualBoxVM 6.0 00:32.16 23/1   1   153- 1372-
1969M-   36M2009M- 2091M- 4610M- 3756  12104 running

So resident memory size is close to 2048 MB, total memory size of 4610 MB
includes VBox memory usage.

from guest vm /proc/meminfo:
MemTotal:435252 kB

Even if I increase the base memory size in VBox to 4096 MB, the total
memory in /proc/meminfo is still about 435252 kB.


On Tue, Nov 19, 2013 at 5:29 PM, Yichi Lu yichi...@sungard.com wrote:

 I try to install devcloud2, and try to follow this pape:
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud.
 Well, there is no error with installation. But now /proc/meminfo only
 shows MemTotal: 435252 KB. Am I supposed to have 2048 MB total memory? This
 is what the devcloud2 image tells me. Did I do anything wrong? Please help.

 Thanks.

 Yichi



Re: CloudStack Mirror in US

2013-11-19 Thread Wido den Hollander



On 11/20/2013 12:27 AM, Sebastien Goasguen wrote:

Not that i know off, but wido setup rsync on the EU one. He sent config 
instructions some time back.



Indeed. cloudstack.apt-get.eu runs a rsync daemon where you can sync 
from. So feel free to sync from there.


Just don't run your cron every minute :)

wido


-Sebastien

On 19 Nov 2013, at 23:47, Musayev, Ilya imusa...@webmd.net wrote:


Do we have US mirror for ACS convenience repos?

If not, I would like to make use of my current hosting providers unlimited 
bandwidth deal.

Thanks
ilya


Re: Accessing Guest VM via UI is asking for password

2013-11-19 Thread jitendra shelar
Hi Sanjay,

Thanks for your help.
I tried with another image of ISO Windows XP.
I was able to create a vm and access it.

Regards,
Jitendra


On Tue, Nov 19, 2013 at 7:05 AM, Sanjay Tripathi sanjay.tripa...@citrix.com
 wrote:

  Hi Jitendra,



 The systemVM template are only to create system VMs and you should not use
 them to create guest Vms.

 There is a BUILTIN template(centOS) comes when you install Cloudstack, you
 should use that for guest VMs.



 If you want to register that template of your own, then use this link:
 http://download.cloud.com/releases/2.2.0/eec2209b-9875-3c8d-92be-c001bd8a0faf.qcow2.bz2



 Also, you can try with username: root   and pass: password to login.



 --Sanjay



 *From:* jitendra shelar [mailto:jitendra.shelar...@gmail.com]
 *Sent:* Tuesday, November 19, 2013 10:05 AM
 *To:* dev@cloudstack.apache.org
 *Subject:* Re: Accessing Guest VM via UI is asking for password



 Hi Wei ZHOU,



 I have registered the template using the below command.



 /usr/lib/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt -m
 /export/secondary -u
 http://download.cloud.com/templates/acton/acton-systemvm-02062012.qcow2.bz2-h 
 kvm -F



 Also PFA snaps and details of templates.



 Thanks,

 Jitendra





 On Mon, Nov 18, 2013 at 2:32 PM, Wei ZHOU ustcweiz...@gmail.com wrote:

 Did you register the systemvm template and create the instances using it?



 2013/11/18 jitendra shelar jitendra.shelar...@gmail.com

  Hi Wei Zhou,
 
 
  I am sending separate mail for this issue with all necessary information.
 
  Sorry for spamming.
 
 
  I am trying to connect to the console of the provisioned guest VM, But
 
 
  a) It is asking for the password
 
  b) Terminal of this vm is having the name systemvm login:
 
 
 
  Is there any default password for this provisioned VM?
 
  And how to connect to this provisioned instance?
 
 
 
  I am able to ping this provisioned instance from the management server.
 
 
 
  PFA snaps.
 
 
 
  Please help me in resolving this issue.
 
 
 
  Thanks,
 
  Jitendra
 





RE: Image format supported by cloudstack

2013-11-19 Thread Rajesh Battala
For
 xenserver/xcp  ---   VHD
 KVM   ---   qcow2
 Esx/VSphere ---   ova
 HyperV  ---   VHD
 
On any Hypervisor installing OS with ISO is supported, but root disk format 
will be created w.r.t hypervisor supported format mentioned above.

Thanks
Rajesh Battala

-Original Message-
From: manas biswal [mailto:manas.biswa...@gmail.com] 
Sent: Wednesday, November 20, 2013 9:38 AM
To: us...@cloudstack.apache.org
Cc: dev@cloudstack.apache.org; issues-subscr...@cloudstack.apache.org
Subject: Re: Image format supported by cloudstack

Good day. The image formats depends upon the Hypervisor you used.
If it is XenServer/XCP then the image format is VHD and for KVM it is .img . It 
is nothing to do with Cloudstack. As XenServer/XCP keeping the virtual 
harddisks in .VHD format in attached NFS repository. Also in CloudStack for 
primary and secondary storage NFS storage has been used.You can import an 
existing .vhd file to CloudStack. Normally .VHD files are bigger than the 
actual Operting System (OS) space. As VHD is the complete harddisk that 
includes both OS spcae + empty space.

On Tue, Nov 19, 2013 at 11:06 PM, Sanjay Tripathi sanjay.tripa...@citrix.com 
wrote:
 Answers inline.

 -Original Message-
 From: jitendra shelar [mailto:jitendra.shelar...@gmail.com]
 Sent: Tuesday, November 19, 2013 10:04 PM
 To: dev@cloudstack.apache.org; us...@cloudstack.apache.org; issues- 
 subscr...@cloudstack.apache.org
 Subject: Image format supported by cloudstack

 Hi Team,

 Can somebody please tell me which all image format are supported by 
 the cloudstack?

 From the CloudStack UI, you can get the guest OS list in register 
 template/register ISO form page, or try the API listOsTypes to get the 
 complete list.


 And do cloudstack (version 4.0 and 4.2)  provide support for windows 
 7, Windows 2012, Ubuntu 12 and Ubuntu 13 ISO?

 CloudStack supports all the mentioned guest OS. Only for Ubuntu 13, you need 
 to register the template/ISO under Other Ubuntu guest OS type.



 Thanks,
 Jitendra

 --Sanjay




--
Thanks and Regards
Manas Ranjan Biswal
Research Scientist,
OpenTechnology Center,
NIC,Chennai
08015698191,9776349149
manas.bis...@nic.in


Re: Image format supported by cloudstack

2013-11-19 Thread Wido den Hollander



On 11/20/2013 05:23 AM, Rajesh Battala wrote:

For
  xenserver/xcp  ---   VHD
  KVM   ---   qcow2


Since the Ceph/RBD integration KVM also started to understand the RAW 
format, but it's not 100% yet.


Wido


  Esx/VSphere ---   ova
  HyperV  ---   VHD

On any Hypervisor installing OS with ISO is supported, but root disk format 
will be created w.r.t hypervisor supported format mentioned above.

Thanks
Rajesh Battala

-Original Message-
From: manas biswal [mailto:manas.biswa...@gmail.com]
Sent: Wednesday, November 20, 2013 9:38 AM
To: us...@cloudstack.apache.org
Cc: dev@cloudstack.apache.org; issues-subscr...@cloudstack.apache.org
Subject: Re: Image format supported by cloudstack

Good day. The image formats depends upon the Hypervisor you used.
If it is XenServer/XCP then the image format is VHD and for KVM it is .img . It 
is nothing to do with Cloudstack. As XenServer/XCP keeping the virtual 
harddisks in .VHD format in attached NFS repository. Also in CloudStack for 
primary and secondary storage NFS storage has been used.You can import an 
existing .vhd file to CloudStack. Normally .VHD files are bigger than the 
actual Operting System (OS) space. As VHD is the complete harddisk that 
includes both OS spcae + empty space.

On Tue, Nov 19, 2013 at 11:06 PM, Sanjay Tripathi sanjay.tripa...@citrix.com 
wrote:

Answers inline.


-Original Message-
From: jitendra shelar [mailto:jitendra.shelar...@gmail.com]
Sent: Tuesday, November 19, 2013 10:04 PM
To: dev@cloudstack.apache.org; us...@cloudstack.apache.org; issues-
subscr...@cloudstack.apache.org
Subject: Image format supported by cloudstack

Hi Team,

Can somebody please tell me which all image format are supported by
the cloudstack?


 From the CloudStack UI, you can get the guest OS list in register template/register 
ISO form page, or try the API listOsTypes to get the complete list.



And do cloudstack (version 4.0 and 4.2)  provide support for windows
7, Windows 2012, Ubuntu 12 and Ubuntu 13 ISO?


CloudStack supports all the mentioned guest OS. Only for Ubuntu 13, you need to register 
the template/ISO under Other Ubuntu guest OS type.




Thanks,
Jitendra


--Sanjay





--
Thanks and Regards
Manas Ranjan Biswal
Research Scientist,
OpenTechnology Center,
NIC,Chennai
08015698191,9776349149
manas.bis...@nic.in



Re: Entity UUID and Type missing on ActionEvent event notifications

2013-11-19 Thread Murali Reddy


On 20/11/13 2:15 AM, David Grizzanti david.grizza...@sungard.com wrote:

Hi All,

I noticed that the event messages going to rabbitmq of type ActionEvent
are missing any reference to the entity Id/UUID.  Was this omission
intentional?  Poking through the code, I was able to find that adding the
information on to the event is fairly straightforward (albeit a bit
tedious).  Does anyone have any objections to updating these event types
with this information?  I can file the appropriate Jira, but wanted to
check in with the list first to get opinions.

David, 

Omission is not intentional. Please see [1] for earlier discussion. There
is a bug opened as well[2].

If you see ActionEventUtils, there is code that gets 'entity type' and
'entity uuid' from the CallContext and fills the details on the message
published. I added this as generic mechanism. Unfortunately, there is not
a single place where if you populate the entity type and uuid in the call
context then things would fall in place. So its tedious job of adding the
entity type and uuid details to the call context to all the methods
annotated with 'ActionEvent', but other wise it is a much needed fix.

[1] 
http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201306.mbox/%3CCDF1
db6a.424d9%25murali.re...@citrix.com%3E
[2] https://issues.apache.org/jira/browse/CLOUDSTACK-3190


 Example event for network creation below.

Thanks

--
@source=management-server, @type=ActionEvent,
@action=NETWORK-CREATE, @resource_type=Network, @resource_id=*
{
  status: Completed,
  event: NETWORK.CREATE,
  account: 6d836cf8-47cd-11e3-a130-606d02c0c082,
  user: 6d838544-47cd-11e3-a130-606d02c0c082
}

-- 
David Grizzanti
Software Engineer
Sungard Availability Services

e: david.grizza...@sungard.com
w: 215.446.1431
c: 570.575.0315