#Cloudstack: Finally guest VMs are up running

2013-11-24 Thread jitendra shelar
Thanks all cloudstackers for your excellent help and support.

In past, I have worked on Opentstack and IBM Smart Cloud Enterprise.
Feels happy to see the excellent UI and the ease of configuration in
Cloudstack. It's really awesome.


Review Request 15825: Added unit tests for Juniper Contrail Virtual Network (VN) and Virtual Machine (VM) Model classes.

2013-11-24 Thread Sachchidanand Vaidya

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

Review request for cloudstack.


Repository: cloudstack-git


Description
---

The code change adds UnitTest cases for Juniper Contrail Virtual Network(VN) 
and Virtual Machine(VM) Model classes.
Only VN & VM creation test cases added. 


Diffs
-

  
plugins/network-elements/juniper-contrail/src/org/apache/cloudstack/network/contrail/management/ModelDatabase.java
 7f66a3b 
  
plugins/network-elements/juniper-contrail/src/org/apache/cloudstack/network/contrail/model/VirtualMachineModel.java
 32d5d93 
  
plugins/network-elements/juniper-contrail/test/org/apache/cloudstack/network/contrail/management/VirtualMachineModelTest.java
 PRE-CREATION 
  
plugins/network-elements/juniper-contrail/test/org/apache/cloudstack/network/contrail/management/VirtualNetworkModelTest.java
 0938541 

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


Testing
---

Juniper contrail Unit Tests ran successfully as part of package build.


Thanks,

Sachchidanand Vaidya



ACS 4.2.1 - Multi-Zone vSphere Architecture

2013-11-24 Thread Simon Murphy
Hi all,

Im after some guidance on setting up ACS 4.2.1 with vSphere in a multi zone 
environment. The only way I have been able to successfully build a zone to this 
point is by having vSphere, ESXi console ports, ACS and the reserved system 
range on a single VLAN. This is OK for a small, single site deployment but how 
does this translate for multiple zones? The docs suggest that configuring a 
single /20 range for management is desired, does that imply that that range 
should be stretched across sites?

Should it be possible to have a dedicated VLAN at each site for vCenter, ESXi 
console ports and the system VM's, and then have the ACS server sitting in a 
separate VLAN that can route between both networks? I have been unsuccessful in 
getting his working to date so hopefully someone out there has some experience 
setting up a multi-site ACS/vSphere envoronment.

Any guidance would be greatly appreciated!


Simon Murphy
Solutions Architect

ViFX | Cloud Infrastructure
Level 7, 57 Fort Street, Auckland, New Zealand 1010
PO Box 106700, Auckland, New Zealand 1143
M +64 21 285 4519 | S simon_a_murphy
www.vifx.co.nz follow us on 
twitter
Auckland | Wellington | Christchurch

[cid:image003.jpg@01CDDF95.815BF160]

experience. expertise. execution.

This email and any files transmitted with it are confidential, without 
prejudice and may contain information that is subject to legal privilege. It is 
intended solely for the use of the individual/s to whom it is addressed in 
accordance with the provisions of the Privacy Act (1993). The content contained 
in this email does not, necessarily, reflect the official policy position of 
ViFX nor does ViFX have any responsibility for any alterations to the contents 
of this email that may occur following transmission. If you are not the 
addressee it may be unlawful for you to read, copy, distribute, disclose or 
otherwise use the information contained within this email. If you are not the 
intended recipient, please notify the sender prior to deleting this email 
message from your system. Please note ViFX reserves the right to monitor, from 
time to time, the communications sent to and from its email network.


Re: Review Request 15393: Fix for bug CLOUDSTACK-5121

2013-11-24 Thread ASF Subversion and Git Services

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


Commit 980e66d501f525672827c207d8b0921f819e5fcd in branch refs/heads/4.3 from 
Santhosh Edukulla
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=980e66d ]

CLOUDSTACK-5121: There was one wrong initialization of cloudstackConnection.

The bug mentioned is causing test cases to fail.

Signed-off-by: Girish Shilamkar 

Conflicts:

tools/marvin/marvin/cloudstackConnection.py

Conflicts:

tools/marvin/marvin/cloudstackConnection.py


- ASF Subversion and Git Services


On Nov. 10, 2013, 7:16 p.m., Santhosh Edukulla wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15393/
> ---
> 
> (Updated Nov. 10, 2013, 7:16 p.m.)
> 
> 
> Review request for cloudstack, Girish Shilamkar and Prasanna Santhanam.
> 
> 
> Bugs: CLOUDSTACK-5121
> https://issues.apache.org/jira/browse/CLOUDSTACK-5121
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> There were few test cases failing because of wrong way of object creation.  
> Fixed it.
> 
> 
> Diffs
> -
> 
>   tools/marvin/marvin/cloudstackConnection.py 2c027c3 
>   tools/marvin/marvin/cloudstackTestClient.py 3e833c7 
>   tools/marvin/marvin/integration/lib/utils.py 0fe3c26 
>   tools/marvin/marvin/sandbox/demo/simulator/testcase/libs/utils.py f26d2c0 
> 
> Diff: https://reviews.apache.org/r/15393/diff/
> 
> 
> Testing
> ---
> 
> Yes, Worked to create deploydatacenters and few test cases thereafter
> 
> 
> Thanks,
> 
> Santhosh Edukulla
> 
>



where can find cloudstack's architecture design docs or like UML etc...

2013-11-24 Thread wty_cloudstack
Hi:


   I want to development a private cloud platform for enterprise base on 
cloudstack??I already install cloudstack on servers??and can let it 
running??but still not very clear know what is the cloudstack's architecture -- 
from the view of software architect. 


   Where can find the cloudstack's design docs or like UML etc??and what is the 
process from accept the request to success create a new vm?


   I'm new come for cloudstack, any suggest will be helpfulness, thanks a lot.


wang tianyi


2013.11.25

Re: where can find cloudstack's architecture design docs or like UML etc...

2013-11-24 Thread Nguyen Anh Tu
First document you should look into I think is
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Development+101

Hope you enjoy CloudStack :-)

Cheers,


2013/11/25 wty_cloudstack 

> Hi:
>
>
>I want to development a private cloud platform for enterprise base on
> cloudstack,I already install cloudstack on servers,and can let it
> running,but still not very clear know what is the cloudstack's architecture
> -- from the view of software architect.
>
>
>Where can find the cloudstack's design docs or like UML etc,and what is
> the process from accept the request to success create a new vm?
>
>
>I'm new come for cloudstack, any suggest will be helpfulness, thanks a
> lot.
>
>
> wang tianyi
>
>
> 2013.11.25




-- 

N.g.U.y.e.N.A.n.H.t.U


Re: Review Request 14876: CLOUDSTACK-2233: Automation test cases for Add Remove Networks to VM

2013-11-24 Thread Gaurav Aradhye

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

(Updated Nov. 25, 2013, 12:43 p.m.)


Review request for cloudstack, Girish Shilamkar and SrikanteswaraRao Talluri.


Changes
---

Adding ddt information to setup file


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


Repository: cloudstack-git


Description
---

Automation test cases for Add Remove Network to VM.
Total 32 Test cases.

Two test cases skipped due to issue: 4935
https://issues.apache.org/jira/browse/CLOUDSTACK-4935

Test Plan: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Add+Remove+networks+to+VM+Test+cases

Issue Link: https://issues.apache.org/jira/browse/CLOUDSTACK-645

Feature Specifications: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Add+Remove+Networks+to+VMs


Diffs (updated)
-

  test/integration/component/test_add_remove_network.py PRE-CREATION 
  tools/marvin/marvin/integration/lib/base.py b03c552 
  tools/marvin/setup.py eeed3bf 

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


Testing
---

Tested locally:

Log:
test_01_add_nw_running_vm_isolated 
(test_add_remove_network.TestAddNetworkToVirtualMachine)
Add network to running VM ... ok
test_01_add_nw_running_vm_shared 
(test_add_remove_network.TestAddNetworkToVirtualMachine)
Add network to running VM ... ok
test_02_add_nw_stopped_vm_isolated 
(test_add_remove_network.TestAddNetworkToVirtualMachine)
Add network to stopped VM ... ok
test_02_add_nw_stopped_vm_shared 
(test_add_remove_network.TestAddNetworkToVirtualMachine)
Add network to stopped VM ... ok
test_03_add_nw_multiple_times_isolated 
(test_add_remove_network.TestAddNetworkToVirtualMachine)
Add same network multiple times to running VM ... ok
test_03_add_nw_multiple_times_shared 
(test_add_remove_network.TestAddNetworkToVirtualMachine)
Add same network multiple times to running VM ... ok
test_04_vpc_nw_running_vm_isolated 
(test_add_remove_network.TestAddNetworkToVirtualMachine)
Add VPC network to running VM belonging to isolated network ... ok
test_05_add_vpc_nw_stopped_vm_isolated 
(test_add_remove_network.TestAddNetworkToVirtualMachine)
Add VPC network to stopped VM belonging to isolated network ... ok
test_06_add_nw_ipaddress_running_vm 
(test_add_remove_network.TestAddNetworkToVirtualMachine)
Add network and ip address to running VM ... ok
test_10_add_nw_invalid_ipaddress_running_vm 
(test_add_remove_network.TestAddNetworkToVirtualMachine)
Add network with invalid ip address to running VM ... ok
test_14_add_nw_different_account_isolated 
(test_add_remove_network.TestAddNetworkToVirtualMachine)
Add network to running VM ... ok
test_14_add_nw_different_account_shared 
(test_add_remove_network.TestAddNetworkToVirtualMachine)
Add network to running VM ... ok
test_24_add_nw_different_domain 
(test_add_remove_network.TestAddNetworkToVirtualMachine)
Add network to running VM ... ok
test_25_add_nw_above_account_limit 
(test_add_remove_network.TestAddNetworkToVirtualMachine)
Add network to VM with maximum network limit reached ... ok
test_15_add_nic_wrong_vm_id 
(test_add_remove_network.TestFailureScenariosAddNetworkToVM)
Add network to vm with wrong vm id ... ok
test_16_add_nic_wrong_network_id 
(test_add_remove_network.TestFailureScenariosAddNetworkToVM)
Add network to vm with wrong network id ... ok
test_17_add_nic_different_zone 
(test_add_remove_network.TestFailureScenariosAddNetworkToVM)
Add network to vm where both belong to different zones ... ok
test_18_add_nic_basic_zone 
(test_add_remove_network.TestFailureScenariosAddNetworkToVM)
Add network to vm in basic zone ... skipped 'This test requires at least one 
basic zone to be present in the setup'
test_26_add_nic_insufficient_permission 
(test_add_remove_network.TestFailureScenariosAddNetworkToVM)
Try to add network to vm with insufficient permission ... ok
test_19_remove_nic_wrong_vm_id 
(test_add_remove_network.TestFailureScenariosRemoveNicFromVM)
Try to remove nic from a vm providing wrong vm id to API ... ok
test_20_remove_nic_wrong_nic_id 
(test_add_remove_network.TestFailureScenariosRemoveNicFromVM)
Try to remove nic from a vm providing wrong nic id to API ... ok
test_27_remove_nic_insufficient_permission 
(test_add_remove_network.TestFailureScenariosRemoveNicFromVM)
Try to remove nic from vm with insufficient permission ... ok
test_21_update_nic_wrong_vm_id 
(test_add_remove_network.TestFailureScenariosUpdateVirtualMachineNIC)
update default nic of vm providing wrong vm id to the API ... ok
test_22_update_nic_wrong_nic_id 
(test_add_remove_network.TestFailureScenariosUpdateVirtualMachineNIC)
update default nic of vm providing wrong nic id to the API ... ok
test_23_update_nic_incorrect_vm_state 
(test_add_remove_network.TestFailureScenariosUpdateVirtualMachineNIC)
update default nic of vm when vm is state is not Running or St