Re: [VOTE] Apache CloudStack 4.3.0 (fifth round)

2014-02-17 Thread Srikanteswararao Talluri
Thanks Geoff, I did not have a setup to verify again, I just brought one up and 
that failure was a false alarm. Dedicate vlan range test passed in the next run.

So, it is a +1 from my side

Sent from HTC


- Reply message -
From: "Geoff Higginbottom" 
To: "dev@cloudstack.apache.org" 
Subject: [VOTE] Apache CloudStack 4.3.0 (fifth round)
Date: Tue, Feb 18, 2014 5:11 AM



I've update the Jira ticket with the following comment:

I have tried to reproduce this manually and have not been able to re-create the 
issue.  Added a new Guest VLAN Range in addition to the existing range, then 
dedicated to a normal user account, all successful, and all on the latest RC 
(fifth round).

Regards

Geoff Higginbottom

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

geoff.higginbot...@shapeblue.com

-Original Message-
From: Srikanteswararao Talluri [mailto:srikanteswararao.tall...@citrix.com]
Sent: 17 February 2014 22:29
To: dev@cloudstack.apache.org
Subject: Re: [VOTE] Apache CloudStack 4.3.0 (fifth round)

There is a new test failure in this RC which is a regression from previous RC.  
Created a bug for this
https://issues.apache.org/jira/browse/CLOUDSTACK-6131

http://jenkins.buildacloud.org/view/cloudstack-qa-4.3/job/test-smoke-matrix
-4.3/1194/suite=test_guest_vlan_range/testReport/integration.smoke.test_gue
st_vlan_range/TestDedicateGuestVlanRange/test_dedicateGuestVlanRange/




On KVM(CentOS 6.3)/Test Run: #1193

4 of the test failures are not valid because snapshots, scaling VM are not 
supported on KVM Hypervisor and 5 more intermittent test script/env issue 
related to ssh.
1 failure related to dedicated guest VLAN range looks like a bug
---
Link to reports:
http://jenkins.buildacloud.org/job/test-smoke-matrix-4.3/1193/testReport/


Total:98
Fail :10
Skip :2


name   passfailskip
test_loadbalance/ 0   4   0
test_guest_vlan_range/0   1   0
test_deploy_vms_with_varied_deploymentplanners/   3   0   0
test_non_contigiousvlan/  1   0   0
test_reset_vm_on_reboot/  1   0   0
test_resource_detail/ 1   0   0
test_scale_vm/0   1   0
test_ssvm/   10   0   0
test_network/ 7   0   0
test_disk_offerings/  3   0   0
test_volumes/ 9   0   0
test_affinity_groups/ 1   0   0
test_routers/ 9   0   0
test_deploy_vm_with_userdata/ 2   0   0
test_network_acl/ 1   0   0
test_vm_life_cycle/   9   1   0
test_privategw_acl/   1   0   0
test_internal_lb/ 1   0   0
test_deploy_vm/   1   0   0
test_global_settings/ 1   0   0
test_nic/ 1   0   0
test_public_ip_range/ 1   0   0
test_iso/ 5   0   1
test_service_offerings/   4   0   0
test_multipleips_per_nic/ 1   0   0
test_regions/ 1   0   0
test_templates/   7   0   1
test_vpc_vpn/ 2   0   0
test_vm_snapshots/0   3   0
test_portable_publicip/   2   0   0
test_pvlan/   1   0   0



On XenServer6.2/Test Run: #1194

5 failures are intermittent test script/env issues related to ssh and 1 failure 
in dedicated guest vlan range looks like a bug
---
Link to reports:
http://jenkins.buildacloud.org/job/test-smoke-matrix-4.3/1194/testReport/


Total:98
Fail :6
Skip :2


name   passfailskip
test_loadbalance/ 3   0   0
test_guest_vlan_range/0   1   0
test_deploy_vms_with_varied_deploymentplanners/   3   0   0
test_non_contigiousvlan/  1   0   0
test_reset_vm_on_reboot/  1   0   0
test_resource_detail/ 1   0   0
test_scale_vm/   

4.2.0 Installation Guide Section 3.7 "Building Non-OSS"‏

2014-02-17 Thread Michael Phillips
I was attempting to follow these directions to build the non-oss RPMS with 
vmware support however the below link in the docs does not work
https://cwiki.apache.org/CLOUDSTACK/how-to-build-on-master-branch.html 
<--broken link
Does anyone have the details to the dependencies needed or even better, a link 
to some precompiled non-oss RPM's? 

Re: Review Request 17888: Dispatcher corrections, refactoring and tests. Corrects problems from previous attempt

2014-02-17 Thread Antonio Fornie

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

(Updated Feb. 17, 2014, 11:45 p.m.)


Review request for cloudstack, Alena Prokharchyk, daan Hoogland, and Hugo 
Trippaers.


Changes
---

Just rebase the changes with all these last commit so that when the patch is 
finally pushed there are no conflicts.


Repository: cloudstack-git


Description
---

Dispatcher corrections, refactoring and tests. Corrects problems from previous 
attempts that were reverted by Alena. Most of the changes are the same, but 
this one is not creating conflicts of Map types for Aync Commands or for 
parameters as Lists or Maps.


Diffs (updated)
-

  api/src/org/apache/cloudstack/api/ApiConstants.java 3b9b19c 
  api/src/org/apache/cloudstack/api/BaseCmd.java 0e83cee 
  api/src/org/apache/cloudstack/api/BaseListCmd.java c1a4b4c 
  
api/src/org/apache/cloudstack/api/command/user/autoscale/CreateAutoScaleVmProfileCmd.java
 bee1b22 
  server/resources/META-INF/cloudstack/core/spring-server-core-misc-context.xml 
fd2f5fb 
  server/src/com/cloud/api/ApiAsyncJobDispatcher.java 71ac616 
  server/src/com/cloud/api/ApiDispatcher.java ed95c72 
  server/src/com/cloud/api/ApiServer.java d715db6 
  server/src/com/cloud/api/ApiServlet.java 46f7eba 
  server/src/com/cloud/api/dispatch/CommandCreationWorker.java PRE-CREATION 
  server/src/com/cloud/api/dispatch/DispatchChain.java PRE-CREATION 
  server/src/com/cloud/api/dispatch/DispatchChainFactory.java PRE-CREATION 
  server/src/com/cloud/api/dispatch/DispatchTask.java PRE-CREATION 
  server/src/com/cloud/api/dispatch/DispatchWorker.java PRE-CREATION 
  server/src/com/cloud/api/dispatch/ParamGenericValidationWorker.java 
PRE-CREATION 
  server/src/com/cloud/api/dispatch/ParamProcessWorker.java PRE-CREATION 
  server/src/com/cloud/api/dispatch/ParamSemanticValidationWorker.java 
PRE-CREATION 
  server/src/com/cloud/api/dispatch/ParamUnpackWorker.java PRE-CREATION 
  server/src/com/cloud/network/as/AutoScaleManagerImpl.java 21c38ce 
  server/src/com/cloud/storage/snapshot/SnapshotSchedulerImpl.java 3159059 
  server/test/com/cloud/api/ApiDispatcherTest.java 7314a57 
  server/test/com/cloud/api/dispatch/CommandCreationWorkerTest.java 
PRE-CREATION 
  server/test/com/cloud/api/dispatch/DispatchChainFactoryTest.java PRE-CREATION 
  server/test/com/cloud/api/dispatch/ParamGenericValidationWorkerTest.java 
PRE-CREATION 
  server/test/com/cloud/api/dispatch/ParamProcessWorkerTest.java PRE-CREATION 
  server/test/com/cloud/api/dispatch/ParamSemanticValidationWorkerTest.java 
PRE-CREATION 

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


Testing
---

Full build and test plus manually testing many features. Also including 
CreateTagsCommand that failed in previous commit.


Thanks,

Antonio Fornie



RE: [VOTE] Apache CloudStack 4.3.0 (fifth round)

2014-02-17 Thread Geoff Higginbottom
I've update the Jira ticket with the following comment:

I have tried to reproduce this manually and have not been able to re-create the 
issue.  Added a new Guest VLAN Range in addition to the existing range, then 
dedicated to a normal user account, all successful, and all on the latest RC 
(fifth round).

Regards

Geoff Higginbottom

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

geoff.higginbot...@shapeblue.com

-Original Message-
From: Srikanteswararao Talluri [mailto:srikanteswararao.tall...@citrix.com]
Sent: 17 February 2014 22:29
To: dev@cloudstack.apache.org
Subject: Re: [VOTE] Apache CloudStack 4.3.0 (fifth round)

There is a new test failure in this RC which is a regression from previous RC.  
Created a bug for this
https://issues.apache.org/jira/browse/CLOUDSTACK-6131

http://jenkins.buildacloud.org/view/cloudstack-qa-4.3/job/test-smoke-matrix
-4.3/1194/suite=test_guest_vlan_range/testReport/integration.smoke.test_gue
st_vlan_range/TestDedicateGuestVlanRange/test_dedicateGuestVlanRange/




On KVM(CentOS 6.3)/Test Run: #1193

4 of the test failures are not valid because snapshots, scaling VM are not 
supported on KVM Hypervisor and 5 more intermittent test script/env issue 
related to ssh.
1 failure related to dedicated guest VLAN range looks like a bug
---
Link to reports:
http://jenkins.buildacloud.org/job/test-smoke-matrix-4.3/1193/testReport/


Total:98
Fail :10
Skip :2


name   passfailskip
test_loadbalance/ 0   4   0
test_guest_vlan_range/0   1   0
test_deploy_vms_with_varied_deploymentplanners/   3   0   0
test_non_contigiousvlan/  1   0   0
test_reset_vm_on_reboot/  1   0   0
test_resource_detail/ 1   0   0
test_scale_vm/0   1   0
test_ssvm/   10   0   0
test_network/ 7   0   0
test_disk_offerings/  3   0   0
test_volumes/ 9   0   0
test_affinity_groups/ 1   0   0
test_routers/ 9   0   0
test_deploy_vm_with_userdata/ 2   0   0
test_network_acl/ 1   0   0
test_vm_life_cycle/   9   1   0
test_privategw_acl/   1   0   0
test_internal_lb/ 1   0   0
test_deploy_vm/   1   0   0
test_global_settings/ 1   0   0
test_nic/ 1   0   0
test_public_ip_range/ 1   0   0
test_iso/ 5   0   1
test_service_offerings/   4   0   0
test_multipleips_per_nic/ 1   0   0
test_regions/ 1   0   0
test_templates/   7   0   1
test_vpc_vpn/ 2   0   0
test_vm_snapshots/0   3   0
test_portable_publicip/   2   0   0
test_pvlan/   1   0   0



On XenServer6.2/Test Run: #1194

5 failures are intermittent test script/env issues related to ssh and 1 failure 
in dedicated guest vlan range looks like a bug
---
Link to reports:
http://jenkins.buildacloud.org/job/test-smoke-matrix-4.3/1194/testReport/


Total:98
Fail :6
Skip :2


name   passfailskip
test_loadbalance/ 3   0   0
test_guest_vlan_range/0   1   0
test_deploy_vms_with_varied_deploymentplanners/   3   0   0
test_non_contigiousvlan/  1   0   0
test_reset_vm_on_reboot/  1   0   0
test_resource_detail/ 1   0   0
test_scale_vm/1   0   0
test_ssvm/   10   0   0
test_network/ 7   0   0
test_disk_offerings/  3   0   0
test_volumes/ 9   0   0
test_affinity_groups/

Re: [VOTE] Apache CloudStack 4.3.0 (fifth round)

2014-02-17 Thread Srikanteswararao Talluri
There is a new test failure in this RC which is a regression from previous
RC.  Created a bug for this
https://issues.apache.org/jira/browse/CLOUDSTACK-6131

http://jenkins.buildacloud.org/view/cloudstack-qa-4.3/job/test-smoke-matrix
-4.3/1194/suite=test_guest_vlan_range/testReport/integration.smoke.test_gue
st_vlan_range/TestDedicateGuestVlanRange/test_dedicateGuestVlanRange/




On KVM(CentOS 6.3)/Test Run: #1193

4 of the test failures are not valid because snapshots, scaling VM are
not supported on KVM Hypervisor and 5 more intermittent test script/env
issue
related to ssh.
1 failure related to dedicated guest VLAN range looks like a bug
---
Link to reports:
http://jenkins.buildacloud.org/job/test-smoke-matrix-4.3/1193/testReport/


Total:98
Fail :10
Skip :2


name   passfailskip
test_loadbalance/ 0   4   0
test_guest_vlan_range/0   1   0
test_deploy_vms_with_varied_deploymentplanners/   3   0   0
test_non_contigiousvlan/  1   0   0
test_reset_vm_on_reboot/  1   0   0
test_resource_detail/ 1   0   0
test_scale_vm/0   1   0
test_ssvm/   10   0   0
test_network/ 7   0   0
test_disk_offerings/  3   0   0
test_volumes/ 9   0   0
test_affinity_groups/ 1   0   0
test_routers/ 9   0   0
test_deploy_vm_with_userdata/ 2   0   0
test_network_acl/ 1   0   0
test_vm_life_cycle/   9   1   0
test_privategw_acl/   1   0   0
test_internal_lb/ 1   0   0
test_deploy_vm/   1   0   0
test_global_settings/ 1   0   0
test_nic/ 1   0   0
test_public_ip_range/ 1   0   0
test_iso/ 5   0   1
test_service_offerings/   4   0   0
test_multipleips_per_nic/ 1   0   0
test_regions/ 1   0   0
test_templates/   7   0   1
test_vpc_vpn/ 2   0   0
test_vm_snapshots/0   3   0
test_portable_publicip/   2   0   0
test_pvlan/   1   0   0



On XenServer6.2/Test Run: #1194

5 failures are intermittent test script/env issues related to ssh and 1
failure
in dedicated guest vlan range looks like a bug
---
Link to reports:
http://jenkins.buildacloud.org/job/test-smoke-matrix-4.3/1194/testReport/


Total:98
Fail :6
Skip :2


name   passfailskip
test_loadbalance/ 3   0   0
test_guest_vlan_range/0   1   0
test_deploy_vms_with_varied_deploymentplanners/   3   0   0
test_non_contigiousvlan/  1   0   0
test_reset_vm_on_reboot/  1   0   0
test_resource_detail/ 1   0   0
test_scale_vm/1   0   0
test_ssvm/   10   0   0
test_network/ 7   0   0
test_disk_offerings/  3   0   0
test_volumes/ 9   0   0
test_affinity_groups/ 1   0   0
test_routers/ 9   0   0
test_deploy_vm_with_userdata/ 2   0   0
test_network_acl/ 1   0   0
test_vm_life_cycle/   9   1   0
test_privategw_acl/   1   0   0
test_internal_lb/ 1   0   0
test_deploy_vm/   1   0   0
test_global_settings/ 1   0   0
test_nic/ 1  

BVT report on master branch

2014-02-17 Thread Srikanteswararao Talluri


>On XenServer 6.2/Test Run: #5
>
>Out of 16 failures, except for the following bugs rest of the failures
>are intermittent test script/env issues
>List Public Address is failing -
>https://issues.apache.org/jira/browse/CLOUDSTACK-6130
>Failed to create private gateway -
>https://issues.apache.org/jira/browse/CLOUDSTACK-6084
>
>Logs:
>http://jenkins.buildacloud.org/view/cloudstack-qa-master/job/test-matrix-m
>aster/54/distro=centos63,hypervisor=xen,profile=xen62/artifact/54.tar.bz2
>
>Link to test report:
>http://jenkins.buildacloud.org/job/test-smoke-matrix-master/5/testReport/
>
>Total:97
>Fail :16
>Skip :2
>
>
>name   passfailskip
>test_deploy_vm/   1   0   0
>test_global_settings/ 1   0   0
>test_service_offerings/   3   1   0
>test_regions/ 1   0   0
>test_resource_detail/ 1   0   0
>test_vpc_vpn/ 0   2   0
>test_multipleips_per_nic/ 1   0   0
>test_affinity_groups/ 1   0   0
>test_vm_life_cycle/   9   1   0
>test_routers/ 9   0   0
>test_iso/ 5   0   1
>test_non_contigiousvlan/  1   0   0
>test_volumes/ 8   1   0
>test_templates/   6   1   1
>test_nic/ 1   0   0
>test_ssvm/   10   0   0
>test_loadbalance/ 0   3   0
>test_network_acl/ 1   0   0
>test_internal_lb/ 1   0   0
>test_deploy_vm_with_userdata/ 2   0   0
>test_public_ip_range/ 1   0   0
>test_pvlan/   1   0   0
>test_portable_publicip/   2   0   0
>test_deploy_vms_with_varied_deploymentplanners/   3   0   0
>test_reset_vm_on_reboot/  1   0   0
>test_vm_snapshots/3   0   0
>test_privategw_acl/   0   1   0
>test_disk_offerings/  3   0   0
>test_scale_vm/1   0   0
>test_network/ 1   6   0
>test_guest_vlan_range/1   0   0
>
>
>Thanks,
>~Talluri



Re: how to reset the database after "python ../marvin/marvin/deployDataCenter.py -i devcloud.cfg"

2014-02-17 Thread chris snow
Excellent - thanks @sebgoa

On Mon, Feb 17, 2014 at 6:07 PM, sebgoa  wrote:
>
> On Feb 17, 2014, at 7:04 PM, chris snow  wrote:
>
>> I'm following the instructions [1] to configure an environment using
>> this command:
>>
>> python ../marvin/marvin/deployDataCenter.py -i devcloud.cfg
>>
>> I want to run a few times while I am investigating the code,  but on
>> the second and subsequent runs, I hit errors like this:
>>
>> cloudstackException.cloudstackAPIException: Execute cmd: createzone
>> failed, due to: errorCode: 431, errorText:A zone with that name
>> already exists. Please specify a unique zone name.
>>
>> Is there a script to purge the database?
>>
>
> the maven command that you used to create the db at first...
>
>> Many thanks,
>>
>> Chris
>>
>> --
>> [1] 
>> https://github.com/runseb/cloudstack-books/blob/master/en/developer.markdown#adding-devcloud-as-an-hypervisor
>



-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69


Re: how to reset the database after "python ../marvin/marvin/deployDataCenter.py -i devcloud.cfg"

2014-02-17 Thread sebgoa

On Feb 17, 2014, at 7:04 PM, chris snow  wrote:

> I'm following the instructions [1] to configure an environment using
> this command:
> 
> python ../marvin/marvin/deployDataCenter.py -i devcloud.cfg
> 
> I want to run a few times while I am investigating the code,  but on
> the second and subsequent runs, I hit errors like this:
> 
> cloudstackException.cloudstackAPIException: Execute cmd: createzone
> failed, due to: errorCode: 431, errorText:A zone with that name
> already exists. Please specify a unique zone name.
> 
> Is there a script to purge the database?
> 

the maven command that you used to create the db at first...

> Many thanks,
> 
> Chris
> 
> -- 
> [1] 
> https://github.com/runseb/cloudstack-books/blob/master/en/developer.markdown#adding-devcloud-as-an-hypervisor



how to reset the database after "python ../marvin/marvin/deployDataCenter.py -i devcloud.cfg"

2014-02-17 Thread chris snow
I'm following the instructions [1] to configure an environment using
this command:

python ../marvin/marvin/deployDataCenter.py -i devcloud.cfg

I want to run a few times while I am investigating the code,  but on
the second and subsequent runs, I hit errors like this:

cloudstackException.cloudstackAPIException: Execute cmd: createzone
failed, due to: errorCode: 431, errorText:A zone with that name
already exists. Please specify a unique zone name.

Is there a script to purge the database?

Many thanks,

Chris

-- 
[1] 
https://github.com/runseb/cloudstack-books/blob/master/en/developer.markdown#adding-devcloud-as-an-hypervisor


Re: Review Request 18194: G11N: Fixed the Hardcoding Issue

2014-02-17 Thread Vetrivel Chinnasamy

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

(Updated Feb. 17, 2014, 5:15 p.m.)


Review request for cloudstack and Brian Federle.


Repository: cloudstack-git


Description
---

Externalized the hard coded strings by adding reference ID and label to the 
resource files. Also updated the dictionary.jsp file.


Diffs
-


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


Testing
---

Local unit testing done by replacing the java-script, dictionary.jsp and 
properties files.


Thanks,

Vetrivel Chinnasamy



Review Request 18194: G11N: Fixed the Hardcoding Issue

2014-02-17 Thread Vetrivel Chinnasamy

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

Review request for cloudstack and Brian Federle.


Repository: cloudstack-git


Description
---

Externalized the hard coded strings by adding reference ID and label to the 
resource files. Also updated the dictionary.jsp file.


Diffs
-


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


Testing
---

Local unit testing done by replacing the java-script, dictionary.jsp and 
properties files.


Thanks,

Vetrivel Chinnasamy



[DevCloud2] Problems with SR type == file

2014-02-17 Thread Wilder Rodrigues
Hi guys and gals,

I'm trying to test the current master withDevCloud2, but unfortunately I'm 
facing few problems concerning my DevCloud2 storage.

On DevCloud2 when I type "xe sr-list" I get the following:

uuid ( RO): 9f3f9262-3f77-09cc-2df7-0d8475676260
  name-label ( RW): 9f3f9262-3f77-09cc-2df7-0d8475676260
name-description ( RW): Cloud Stack Local EXT Storage Pool for 
9d4c9db8-32f7-25c3-0435-eab4bf3adcea
host ( RO): devcloud
type ( RO): file
content-type ( RO):


uuid ( RO): 33323543-741e-a5c5-06a0-cdbdfef2f3bd
  name-label ( RW): XenServer Tools
name-description ( RW): XenServer Tools ISOs
host ( RO): devcloud
type ( RO): iso
content-type ( RO): iso

As you might notice, the type in the Local EXT storage is set to file.

When I create a Zone and CS starts spinning the System VM, I get the following 
error:

2014-02-17 14:27:19,118 WARN  [c.c.h.x.r.CitrixResourceBase] 
(DirectAgent-7:ctx-995d7ce8) kill_copy_process failed
2014-02-17 14:27:19,118 WARN  [c.c.h.x.r.XenServerStorageProcessor] 
(DirectAgent-7:ctx-995d7ce8) doesn't support sr type file
2014-02-17 14:27:19,119 WARN  [c.c.h.x.r.XenServerStorageProcessor] 
(DirectAgent-7:ctx-995d7ce8) Catch Exception 
com.cloud.utils.exception.CloudRuntimeException for template +  due to 
com.cloud.utils.exception.CloudRuntimeException: doesn't support sr type file
com.cloud.utils.exception.CloudRuntimeException: doesn't support sr type file

I had a look at the copy_vhd_from_secondarystorage.h script and noticed that it 
has been changed on December 3rd (commit id 
5a062e155ccb2ce19cb80ba87287d66b45cb33cd): the type "file" has been removed 
from a few checks in the copyvhd() and main functons. Also, the vmopsSnapshot 
no longer checks for the type "file" in the getPrimarySRPath() function.

I changed the files locally and tried to get CS running with DevCloud2 again... 
unfortunately, it didn't work and I got the following error:

2014-02-17 16:32:43,392 WARN  [c.c.h.x.r.CitrixResourceBase] 
(DirectAgent-2:ctx-25f6d7ec) callHostPlugin failed for cmd: getVhdParent with 
args snapshotUuid: 12cefbac-c9c8-40c8-ad40-cf2eb855a99f, isISCSI: false,
primaryStorageSRUuid: 9f3f9262-3f77-09cc-2df7-0d8475676260,  due to There was a 
failure communicating with the plugin.
2014-02-17 16:32:43,393 WARN  [c.c.h.x.r.XenServerStorageProcessor] 
(DirectAgent-2:ctx-25f6d7ec) Catch Exception 
com.cloud.utils.exception.CloudRuntimeException for template +  due to 
com.cloud.utils.exception.C
loudRuntimeException: callHostPlugin failed for cmd: getVhdParent with args 
snapshotUuid: 12cefbac-c9c8-40c8-ad40-cf2eb855a99f, isISCSI: false, 
primaryStorageSRUuid: 9f3f9262-3f77-09cc-2df7-0d8475676260,  due to
There was a failure communicating with the plugin.
com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed for cmd: 
getVhdParent with args snapshotUuid: 12cefbac-c9c8-40c8-ad40-cf2eb855a99f, 
isISCSI: false, primaryStorageSRUuid: 9f3f9262-3f77-09cc
-2df7-0d8475676260,  due to There was a failure communicating with the plugin.
at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:3696)

A bit further in the stacktrace I got alsoe the following:

2014-02-17 16:32:43,439 INFO  [c.c.h.x.r.CitrixResourceBase] 
(DirectAgent-9:ctx-835cdbbe) VM does not exist on 
XenServer9d4c9db8-32f7-25c3-0435-eab4bf3adcea
2014-02-17 16:32:43,595 WARN  [c.c.h.x.r.CitrixResourceBase] 
(DirectAgent-9:ctx-835cdbbe) callHostPlugin failed for cmd: setDNATRule with 
args add: false,  due to UNKNOWN_XENAPI_PLUGIN_FUNCTIONsetDNATRule
2014-02-17 16:32:43,596 WARN  [c.c.a.m.DirectAgentAttache] 
(DirectAgent-9:ctx-835cdbbe) Seq 1-3436246515683688459: Exception Caught while 
executing command
com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed for cmd: 
setDNATRule with args add: false,  due to 
UNKNOWN_XENAPI_PLUGIN_FUNCTIONsetDNATRule
at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:3696)
at 
com.cloud.hypervisor.xen.resource.XcpOssResource.execute(XcpOssResource.java:168)
at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:431)

Is anyone else experiencing the same problem? For which reason the type "file" 
was removed?

Other thing I observed is that since the System VM doesn't work, CS keeps 
trying to create a new one. For each VM it tries to create, a new Management IP 
will be allocated. However, once the VM fails to be created, the IP is not 
released. It means that after several tries we ended up with 2 problems: no 
System VM and no Management IPs.

My DevCloud2 is about 3 weeks old... I will try to get a new one and see if 
those problems are still there.

Any feedback is appreciated.

Cheers,
Wilder


Re: Review Request 18117: CLOUDSTACK-4840: Adding first set of test cases for Multiple IPs per NIC feature

2014-02-17 Thread Santhosh Edukulla

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

Ship it!


Ship It!

- Santhosh Edukulla


On Feb. 17, 2014, 1:20 p.m., Ashutosh Kelkar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/18117/
> ---
> 
> (Updated Feb. 17, 2014, 1:20 p.m.)
> 
> 
> Review request for cloudstack, Girish Shilamkar and Santhosh Edukulla.
> 
> 
> Bugs: CLOUDSTACK-4840
> https://issues.apache.org/jira/browse/CLOUDSTACK-4840
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Adding first set of test cases for feature "Multiple IPs per NICs".
> 
> 
> Diffs
> -
> 
>   test/integration/component/test_multiple_ips_per_nic.py PRE-CREATION 
>   tools/marvin/marvin/codes.py 74fb05d 
>   tools/marvin/marvin/integration/lib/base.py aa23029 
>   tools/marvin/marvin/integration/lib/common.py e202391 
> 
> Diff: https://reviews.apache.org/r/18117/diff/
> 
> 
> Testing
> ---
> 
> test_add_ip_to_nic_ISOLATED (test_multiple_ips_per_nic.TestBasicOperations)
> Add secondary IP to NIC of a VM ... ok
> test_add_ip_to_nic_SHARED (test_multiple_ips_per_nic.TestBasicOperations)
> Add secondary IP to NIC of a VM ... ok
> test_add_ip_to_nic_VPC (test_multiple_ips_per_nic.TestBasicOperations)
> Add secondary IP to NIC of a VM ... ok
> test_list_nics_ISOLATED (test_multiple_ips_per_nic.TestBasicOperations)
> Test listing nics associated with the ip address ... ok
> test_list_nics_SHARED (test_multiple_ips_per_nic.TestBasicOperations)
> Test listing nics associated with the ip address ... ok
> test_list_nics_VPC (test_multiple_ips_per_nic.TestBasicOperations)
> Test listing nics associated with the ip address ... ok
> test_operations_non_root_admin_api_client_ISOLATED 
> (test_multiple_ips_per_nic.TestBasicOperations)
> Test basic operations using non root admin apii client ... ok
> test_operations_non_root_admin_api_client_SHARED 
> (test_multiple_ips_per_nic.TestBasicOperations)
> Test basic operations using non root admin apii client ... ok
> test_operations_non_root_admin_api_client_VPC 
> (test_multiple_ips_per_nic.TestBasicOperations)
> Test basic operations using non root admin apii client ... ok
> test_remove_invalid_ip (test_multiple_ips_per_nic.TestBasicOperations)
> Remove invalid ip ... ok
> test_remove_ip_from_nic_ISOLATED 
> (test_multiple_ips_per_nic.TestBasicOperations)
> Remove secondary IP from NIC of a VM ... ok
> test_remove_ip_from_nic_SHARED (test_multiple_ips_per_nic.TestBasicOperations)
> Remove secondary IP from NIC of a VM ... ok
> test_remove_ip_from_nic_VPC (test_multiple_ips_per_nic.TestBasicOperations)
> Remove secondary IP from NIC of a VM ... ok
> 
> --
> Ran 13 tests in 4170.915s
> 
> OK
> 
> 
> Thanks,
> 
> Ashutosh Kelkar
> 
>



Re: Review Request 17702: CLOUDSTACK-2232: Adding automation test cases for Persistent Networks feature

2014-02-17 Thread Santhosh Edukulla

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

Ship it!


Ship It!

- Santhosh Edukulla


On Feb. 17, 2014, 7:14 a.m., Ashutosh Kelkar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17702/
> ---
> 
> (Updated Feb. 17, 2014, 7:14 a.m.)
> 
> 
> Review request for cloudstack, Girish Shilamkar and Santhosh Edukulla.
> 
> 
> Bugs: CLOUDSTACK-2232
> https://issues.apache.org/jira/browse/CLOUDSTACK-2232
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Adding automation test cases for Persistent Networks feature.
> 
> 
> Diffs
> -
> 
>   test/integration/component/test_persistent_networks.py f61ccaa 
>   tools/marvin/marvin/config/config.cfg 7840b7c 
>   tools/marvin/marvin/integration/lib/base.py aa23029 
>   tools/marvin/marvin/integration/lib/common.py e202391 
> 
> Diff: https://reviews.apache.org/r/17702/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Ashutosh Kelkar
> 
>



Re: CLOUDSTACK-6096

2014-02-17 Thread Francois Gaudreault

Tanner,

Just curious, have you been able to test? If not let me know, Ill try to 
get some time to spin up an environment real quick at my office.


Thanks again!

FG

On 2/13/2014, 8:57 AM, Francois Gaudreault wrote:

Thanks Tanner :) Keep us posted please :)

FG

On 2/13/2014, 8:54 AM, Tanner Danzey wrote:

Hi Francois,

I can potentially test this tonight for you. We're deploying 4.3 to 
see if
it alleviates some of our issues with S3, but thats a few hours from 
now in

case someine wants to test it sooner.

Regards,

Tanner
On Feb 13, 2014 7:50 AM, "Francois Gaudreault" 


wrote:


Hi,

https://issues.apache.org/jira/browse/CLOUDSTACK-6096
I filed this today. This impact 4.2.1, but I would like to know if 
it also

impact 4.3. Does anyone have an environment with 4.3 that would be
able/willing to test?

Thanks!

--
Francois Gaudreault
Architecte de Solution Cloud | Cloud Solutions Architect
fgaudrea...@cloudops.com
514-629-6775
- - -
CloudOps
420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_








--
Francois Gaudreault
Architecte de Solution Cloud | Cloud Solutions Architect
fgaudrea...@cloudops.com
514-629-6775
- - -
CloudOps
420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_



Re: Review Request 18117: CLOUDSTACK-4840: Adding first set of test cases for Multiple IPs per NIC feature

2014-02-17 Thread Ashutosh Kelkar

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

(Updated Feb. 17, 2014, 1:20 p.m.)


Review request for cloudstack, Girish Shilamkar and Santhosh Edukulla.


Changes
---

Review changes.


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


Repository: cloudstack-git


Description
---

Adding first set of test cases for feature "Multiple IPs per NICs".


Diffs (updated)
-

  test/integration/component/test_multiple_ips_per_nic.py PRE-CREATION 
  tools/marvin/marvin/codes.py 74fb05d 
  tools/marvin/marvin/integration/lib/base.py aa23029 
  tools/marvin/marvin/integration/lib/common.py e202391 

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


Testing (updated)
---

test_add_ip_to_nic_ISOLATED (test_multiple_ips_per_nic.TestBasicOperations)
Add secondary IP to NIC of a VM ... ok
test_add_ip_to_nic_SHARED (test_multiple_ips_per_nic.TestBasicOperations)
Add secondary IP to NIC of a VM ... ok
test_add_ip_to_nic_VPC (test_multiple_ips_per_nic.TestBasicOperations)
Add secondary IP to NIC of a VM ... ok
test_list_nics_ISOLATED (test_multiple_ips_per_nic.TestBasicOperations)
Test listing nics associated with the ip address ... ok
test_list_nics_SHARED (test_multiple_ips_per_nic.TestBasicOperations)
Test listing nics associated with the ip address ... ok
test_list_nics_VPC (test_multiple_ips_per_nic.TestBasicOperations)
Test listing nics associated with the ip address ... ok
test_operations_non_root_admin_api_client_ISOLATED 
(test_multiple_ips_per_nic.TestBasicOperations)
Test basic operations using non root admin apii client ... ok
test_operations_non_root_admin_api_client_SHARED 
(test_multiple_ips_per_nic.TestBasicOperations)
Test basic operations using non root admin apii client ... ok
test_operations_non_root_admin_api_client_VPC 
(test_multiple_ips_per_nic.TestBasicOperations)
Test basic operations using non root admin apii client ... ok
test_remove_invalid_ip (test_multiple_ips_per_nic.TestBasicOperations)
Remove invalid ip ... ok
test_remove_ip_from_nic_ISOLATED (test_multiple_ips_per_nic.TestBasicOperations)
Remove secondary IP from NIC of a VM ... ok
test_remove_ip_from_nic_SHARED (test_multiple_ips_per_nic.TestBasicOperations)
Remove secondary IP from NIC of a VM ... ok
test_remove_ip_from_nic_VPC (test_multiple_ips_per_nic.TestBasicOperations)
Remove secondary IP from NIC of a VM ... ok

--
Ran 13 tests in 4170.915s

OK


Thanks,

Ashutosh Kelkar



Re: Review Request 18117: CLOUDSTACK-4840: Adding first set of test cases for Multiple IPs per NIC feature

2014-02-17 Thread Ashutosh Kelkar


> On Feb. 17, 2014, 8:49 a.m., Santhosh Edukulla wrote:
> > tools/marvin/marvin/integration/lib/common.py, line 937
> > 
> >
> > All other seems to be ok, only one request here is not to raise asserts 
> > in library method, use try\except block and assert in the test case based 
> > upon outcome.
> > Also, please attach test case run log.

Added log and separated the assertions in the test case instead of in library 
method.


- Ashutosh


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


On Feb. 17, 2014, 1:20 p.m., Ashutosh Kelkar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/18117/
> ---
> 
> (Updated Feb. 17, 2014, 1:20 p.m.)
> 
> 
> Review request for cloudstack, Girish Shilamkar and Santhosh Edukulla.
> 
> 
> Bugs: CLOUDSTACK-4840
> https://issues.apache.org/jira/browse/CLOUDSTACK-4840
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Adding first set of test cases for feature "Multiple IPs per NICs".
> 
> 
> Diffs
> -
> 
>   test/integration/component/test_multiple_ips_per_nic.py PRE-CREATION 
>   tools/marvin/marvin/codes.py 74fb05d 
>   tools/marvin/marvin/integration/lib/base.py aa23029 
>   tools/marvin/marvin/integration/lib/common.py e202391 
> 
> Diff: https://reviews.apache.org/r/18117/diff/
> 
> 
> Testing
> ---
> 
> test_add_ip_to_nic_ISOLATED (test_multiple_ips_per_nic.TestBasicOperations)
> Add secondary IP to NIC of a VM ... ok
> test_add_ip_to_nic_SHARED (test_multiple_ips_per_nic.TestBasicOperations)
> Add secondary IP to NIC of a VM ... ok
> test_add_ip_to_nic_VPC (test_multiple_ips_per_nic.TestBasicOperations)
> Add secondary IP to NIC of a VM ... ok
> test_list_nics_ISOLATED (test_multiple_ips_per_nic.TestBasicOperations)
> Test listing nics associated with the ip address ... ok
> test_list_nics_SHARED (test_multiple_ips_per_nic.TestBasicOperations)
> Test listing nics associated with the ip address ... ok
> test_list_nics_VPC (test_multiple_ips_per_nic.TestBasicOperations)
> Test listing nics associated with the ip address ... ok
> test_operations_non_root_admin_api_client_ISOLATED 
> (test_multiple_ips_per_nic.TestBasicOperations)
> Test basic operations using non root admin apii client ... ok
> test_operations_non_root_admin_api_client_SHARED 
> (test_multiple_ips_per_nic.TestBasicOperations)
> Test basic operations using non root admin apii client ... ok
> test_operations_non_root_admin_api_client_VPC 
> (test_multiple_ips_per_nic.TestBasicOperations)
> Test basic operations using non root admin apii client ... ok
> test_remove_invalid_ip (test_multiple_ips_per_nic.TestBasicOperations)
> Remove invalid ip ... ok
> test_remove_ip_from_nic_ISOLATED 
> (test_multiple_ips_per_nic.TestBasicOperations)
> Remove secondary IP from NIC of a VM ... ok
> test_remove_ip_from_nic_SHARED (test_multiple_ips_per_nic.TestBasicOperations)
> Remove secondary IP from NIC of a VM ... ok
> test_remove_ip_from_nic_VPC (test_multiple_ips_per_nic.TestBasicOperations)
> Remove secondary IP from NIC of a VM ... ok
> 
> --
> Ran 13 tests in 4170.915s
> 
> OK
> 
> 
> Thanks,
> 
> Ashutosh Kelkar
> 
>



Re: Unable to set permissions Cloudstack 4.3

2014-02-17 Thread Tejas Gadaria
Hi Rajesh,
Yes system vms are working fine.

Regards,
Tejas


On Mon, Feb 17, 2014 at 5:16 PM, Rajesh Battala
wrote:

> Were the systemvm's came up and reported as "UP" in the infra page?
> If yes, it's not an issue to be worried.
>
> -Original Message-
> From: Tejas Gadaria [mailto:refond.g...@gmail.com]
> Sent: Monday, February 17, 2014 4:41 PM
> To: us...@cloudstack.apache.org; dev@cloudstack.apache.org
> Subject: Unable to set permissions Cloudstack 4.3
>
> Though I am able to create system VMs successfully on hyperv, was showing
> following in the logs, Is this related to storage permission for management
> server. ?
> what kind of problem it can create?
>
>
> 2014-02-17 16:26:45,777 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-20:ctx-c2a52c69) Seq 1-92012587: Executing request
> 2014-02-17 16:26:46,435 DEBUG [c.c.h.h.m.HypervManagerImpl]
> (DirectAgent-56:ctx-a1715f20) Execution is successful.
> 2014-02-17 16:26:46,436 DEBUG [c.c.h.h.m.HypervManagerImpl]
> (DirectAgent-56:ctx-a1715f20) Executing: sudo chmod -R 777
> /var/cloudstack/mnt/VM/345049283025.8748e72
> 2014-02-17 16:26:46,454 DEBUG [c.c.h.h.m.HypervManagerImpl]
> (DirectAgent-56:ctx-a1715f20) Exit value is 1
> 2014-02-17 16:26:46,455 DEBUG [c.c.h.h.m.HypervManagerImpl]
> (DirectAgent-56:ctx-a1715f20) chmod: changing permissions of
> `/var/cloudstack/mnt/VM/345049283025.8748e72':* Permission denied*
> 2014-02-17 16:26:46,455 WARN  [c.c.h.h.m.HypervManagerImpl]
> (DirectAgent-56:ctx-a1715f20) *Unable to set permissions for
> /var/cloudstack/mnt/VM/345049283025.8748e72 due to chmod: changing
> permissions of `/var/cloudstack/mnt/VM/345049283025.8748e72': Permission
> denied*
> 2014-02-17 16:26:46,459 INFO  [c.c.h.h.m.HypervManagerImpl]
> (DirectAgent-56:ctx-a1715f20) Copy System VM patch ISO file to secondary
> storage. source ISO: /usr/share/cloudstack-common/vms/systemvm.iso,
> destination:
> /var/cloudstack/mnt/VM/345049283025.8748e72/systemvm/systemvm-4.3.0.iso
> 2014-02-17 16:27:06,940 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:ctx-11ca781d) Found 0 routers to update status.
> 2014-02-17 16:27:06,941 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> (RouterStatusMonitor-1:ctx-11ca781d) Found 0 networks to update RvR status.
>
>
> Regards,
> Tejas
>


RE: Unable to set permissions Cloudstack 4.3

2014-02-17 Thread Rajesh Battala
Were the systemvm's came up and reported as "UP" in the infra page? 
If yes, it's not an issue to be worried. 

-Original Message-
From: Tejas Gadaria [mailto:refond.g...@gmail.com] 
Sent: Monday, February 17, 2014 4:41 PM
To: us...@cloudstack.apache.org; dev@cloudstack.apache.org
Subject: Unable to set permissions Cloudstack 4.3

Though I am able to create system VMs successfully on hyperv, was showing 
following in the logs, Is this related to storage permission for management 
server. ?
what kind of problem it can create?


2014-02-17 16:26:45,777 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-20:ctx-c2a52c69) Seq 1-92012587: Executing request
2014-02-17 16:26:46,435 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Execution is successful.
2014-02-17 16:26:46,436 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Executing: sudo chmod -R 777
/var/cloudstack/mnt/VM/345049283025.8748e72
2014-02-17 16:26:46,454 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Exit value is 1
2014-02-17 16:26:46,455 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) chmod: changing permissions of
`/var/cloudstack/mnt/VM/345049283025.8748e72':* Permission denied*
2014-02-17 16:26:46,455 WARN  [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) *Unable to set permissions for
/var/cloudstack/mnt/VM/345049283025.8748e72 due to chmod: changing permissions 
of `/var/cloudstack/mnt/VM/345049283025.8748e72': Permission
denied*
2014-02-17 16:26:46,459 INFO  [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Copy System VM patch ISO file to secondary 
storage. source ISO: /usr/share/cloudstack-common/vms/systemvm.iso,
destination:
/var/cloudstack/mnt/VM/345049283025.8748e72/systemvm/systemvm-4.3.0.iso
2014-02-17 16:27:06,940 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-11ca781d) Found 0 routers to update status.
2014-02-17 16:27:06,941 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-11ca781d) Found 0 networks to update RvR status.


Regards,
Tejas


RE: [PROPOSAL] Storage OverProvisioning as Per Primary Basis

2014-02-17 Thread Saksham Srivastava
Koushik/Mike,
Thanks for comments.

The current behavior is that we calculate the totalOverProvCapacity 
(storage.overprovisioning.factor * total storage capacity) for the destination 
PS.
When volume is being migrated across PS, the destination PS must have a higher 
totalOverProvCapacity than the expected total allocated space.

This feature will be on same lines as the current behavior except that now the 
storage.overprovisioning.factor will be a configurable parameter for the PS.

I will include this information with more detailed capacity computation along 
with more explanation on upgrade scenarios as soon as cwiki comes up.

As Mike pointed out, we can have Primary Storages at 3 levels : Local Storage 
(HOST), Cluster Storage(CLUSTER) ,  ZWPS (ZONE).
Storage scope was introduced for enhancing Granularity for configuration 
parameters in 4.2, so it would be good to use the same 
as an individual per-primary setting instead of multi scopes.

Thanks,
Saksham

-Original Message-
From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com] 
Sent: Saturday, February 15, 2014 4:25 AM
To: dev@cloudstack.apache.org
Subject: Re: [PROPOSAL] Storage OverProvisioning as Per Primary Basis

Just a reminder here that primary storage can also be at the zone level as of 
4.2.


On Fri, Feb 14, 2014 at 4:44 AM, Koushik Das  wrote:

> Please add more details for upgrade scenario. Also can you give some 
> examples as to how the capacity computation is done for operations 
> where the volume gets migrated from one PS to another having different 
> over provisioning factors.
>
> Is there any value add if you give this also at cluster scope?
>
> -Koushik
>
> On 14-Feb-2014, at 2:13 PM, Saksham Srivastava < 
> saksham.srivast...@citrix.com> wrote:
>
> > Hi,
> >
> > CloudStack currently leverages storage overcommit/overprovisioning 
> > by
> specifying global setting storage.overprovisioning.factor
> > I would like to extend the granularity of global params to make 
> > storage
> overprovisioning as a per primary store basis.
> > Also it would allow admin to make more intuitive choice for
> overprovision factor depending upon the actual storage used.
> >
> > Bug Reference : 
> > https://issues.apache.org/jira/browse/CLOUDSTACK-6092
> > Related : https://issues.apache.org/jira/browse/CLOUDSTACK-5806
> > FS :
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Storage+OverPro
> visioning+as+Per+Primary+Basis
> >
> > Thanks,
> > Saksham
> >
>
>


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


Unable to set permissions Cloudstack 4.3

2014-02-17 Thread Tejas Gadaria
Though I am able to create system VMs successfully on hyperv, was showing
following in the logs,
Is this related to storage permission for management server. ?
what kind of problem it can create?


2014-02-17 16:26:45,777 DEBUG [c.c.a.m.DirectAgentAttache]
(DirectAgent-20:ctx-c2a52c69) Seq 1-92012587: Executing request
2014-02-17 16:26:46,435 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Execution is successful.
2014-02-17 16:26:46,436 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Executing: sudo chmod -R 777
/var/cloudstack/mnt/VM/345049283025.8748e72
2014-02-17 16:26:46,454 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Exit value is 1
2014-02-17 16:26:46,455 DEBUG [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) chmod: changing permissions of
`/var/cloudstack/mnt/VM/345049283025.8748e72':* Permission denied*
2014-02-17 16:26:46,455 WARN  [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) *Unable to set permissions for
/var/cloudstack/mnt/VM/345049283025.8748e72 due to chmod: changing
permissions of `/var/cloudstack/mnt/VM/345049283025.8748e72': Permission
denied*
2014-02-17 16:26:46,459 INFO  [c.c.h.h.m.HypervManagerImpl]
(DirectAgent-56:ctx-a1715f20) Copy System VM patch ISO file to secondary
storage. source ISO: /usr/share/cloudstack-common/vms/systemvm.iso,
destination:
/var/cloudstack/mnt/VM/345049283025.8748e72/systemvm/systemvm-4.3.0.iso
2014-02-17 16:27:06,940 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-11ca781d) Found 0 routers to update status.
2014-02-17 16:27:06,941 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:ctx-11ca781d) Found 0 networks to update RvR status.


Regards,
Tejas


Re: Primary storage maintenance doesn't trigger VM shutdown in 4.3

2014-02-17 Thread Koushik Das
For XS this works as expected.
For system VMs (SSVM, CPVM) there is a monitoring thread to check if they are 
up and running. If not then it tries to bring them up. Now if there is no PS 
available then the deployment fails and it is tried again. This is expected.

-Koushik

On 15-Feb-2014, at 3:34 AM, Nux!  wrote:

> Hi,
> 
> It looks like putting the primary storage in maintenance doesn't trigger the 
> VM shutdown as described in the docs
> Opened https://issues.apache.org/jira/browse/CLOUDSTACK-6121 with some more 
> details.
> 
> -- 
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro



Re: [Proposal] Virtual Router service failure alerting

2014-02-17 Thread Harikrishna Patnala
Hi Sheng,
Thank you for the corrections and suggestions. My comments inline.

On 14-Feb-2014, at 1:53 am, Sheng Yang 
mailto:sh...@yasker.org>> wrote:

Hi Hari,

+1. Getting log from VR is a long awaited feature.

One correction: VR does have mgmt network nic, but it doesn't have direct
communcation with mgmt server(in the most case except VMware). So polling
is still needed.
[Hari] I did not see the management nic on virtual router in case of Xenserver. 
Anyway we need polling :)


And another comment: you can reuse CheckRouterTask() for the purpose. It
already has been used for s2s vpn connection status update and redundant
router checking, and "router.check.interval" would be used as interval for
checking. You can improve and reuse that rather than introduce another
polling thread for VR.
[Hari] Initially I thought of same to piggyback in the existing requests to VR, 
but I proposed this just not to change the semantic of checkRouterTask by 
including alerts getting request to VR.
If this is fine I’ll reuse the CheckRouterTask.


How can you define "new alart"? Did the file would be deleted/archived
after poll? Or you simply just looking after a certain point? I guess a
diff works better than search for timestamp. More details in implementation
would be helpful.
[Hari] Yes Sheng, I agree that diff would be better, but there is a case where 
after taking diff, reply from router to MS may fail because of network failure 
or some other reasons. In this case we cannot get the diff back and there is a 
need of timestamp over here. So would it be better to use both diff and 
timestamp. If diff falls to retrieve alerts we also check using timestamp.
I will update the FS with some implementation details (using both timestamps 
and diff) CWIKI is down now.


--Sheng


On Thu, Feb 13, 2014 at 1:56 AM, Harikrishna Patnala <
harikrishna.patn...@citrix.com> wrote:

Hi,

Currently in CS we can monitor the running services on Virtual Router and
ensure they are running through the lifetime of VR. Upon failure of any
service in VR, monitoring service logs the alerts in VR logs.
These alerts need to be pushed to management server to notify admin.

For this I'd like to introduce the feature Virtual Router service failure
alerting.

[1] https://issues.apache.org/jira/browse/CLOUDSTACK-6090
[2]
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Virtual+Router+Service+Failure+Alerting


Comments/feedback are welcome

Thank you,
Harikrishna




Re: Review Request 18117: CLOUDSTACK-4840: Adding first set of test cases for Multiple IPs per NIC feature

2014-02-17 Thread Santhosh Edukulla

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



tools/marvin/marvin/integration/lib/common.py


All other seems to be ok, only one request here is not to raise asserts in 
library method, use try\except block and assert in the test case based upon 
outcome.
Also, please attach test case run log.


- Santhosh Edukulla


On Feb. 14, 2014, 1:01 p.m., Ashutosh Kelkar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/18117/
> ---
> 
> (Updated Feb. 14, 2014, 1:01 p.m.)
> 
> 
> Review request for cloudstack, Girish Shilamkar and Santhosh Edukulla.
> 
> 
> Bugs: CLOUDSTACK-4840
> https://issues.apache.org/jira/browse/CLOUDSTACK-4840
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Adding first set of test cases for feature "Multiple IPs per NICs".
> 
> 
> Diffs
> -
> 
>   test/integration/component/test_multiple_ips_per_nic.py PRE-CREATION 
>   tools/marvin/marvin/codes.py 74fb05d 
>   tools/marvin/marvin/integration/lib/base.py aa23029 
>   tools/marvin/marvin/integration/lib/common.py e202391 
> 
> Diff: https://reviews.apache.org/r/18117/diff/
> 
> 
> Testing
> ---
> 
> Yes
> 
> 
> Thanks,
> 
> Ashutosh Kelkar
> 
>