RE: VM snapshots

2013-10-24 Thread Angeline Shen
Hi Mice:

I was informed to inquire with you as you are Developer of VMsnapshot:


According to vmsnapshot FS  
https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshots

VM Snapshot revert

* Revert VM from running/stopped to a disk+memory snapshot, result in 
running state
* Revert VM from running/stopped to a disk snapshot, result in stopped state

Is above result state correct regardless of the VM state (running or stopped) 
before the Revert ?

Thanks


From: Angeline Shen
Sent: Thursday, October 24, 2013 1:42 PM
To: Anthony Xu; Kelven Yang; Chandan Purushothama
Subject: VM snapshots

Hi:

According to vmsnapshot FS  
https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshots

VM Snapshot revert

* Revert VM from running/stopped to a disk+memory snapshot, result in 
running state
* Revert VM from running/stopped to a disk snapshot, result in stopped state

Is above result state correct regardless of the VM state (running or stopped) 
before the Revert ?




RE: Swift in 4.2 is broken, anybody wants it to be supported in 4.2?

2013-07-03 Thread Angeline Shen
Hi Edison, Anthony,  Developers who are  interested:

I tested Swift integration with Cloudstack 3.x .

Please let me know if  we need to first round  testing of how broken  Swift  is 
 in terms of integration with  campo 4.2.

In the process of allocating hosts for Swift integration.

Thanks.



-Original Message-
From: Edison Su [mailto:edison...@citrix.com] 
Sent: Wednesday, July 03, 2013 2:30 PM
To: dev@cloudstack.apache.org
Cc: us...@cloudstack.apache.org
Subject: Swift in 4.2 is broken, anybody wants it to be supported in 4.2?

Due to object store refactor, Swift is broken. The reason, is that, we only 
have S3 test environment in our lab, so only S3 is tested for now.
Before adding the feature back, I'd better ask from, the community, do we want 
to support Swift? If so, which version of Swift? This will take some efforts to 
support Swift, are there any volunteers can help the integration?


RE: Swift in 4.2 is broken, anybody wants it to be supported in 4.2?

2013-07-08 Thread Angeline Shen
Animesh, Sudha:

Swift integration was done for Acton  3.0.0 release.  Anthony Xu was developer 
& I was QA .
I will be very happy to work on test plan & testing for 4.2.

Thanks

-Original Message-
From: Sudha Ponnaganti [mailto:sudha.ponnaga...@citrix.com] 
Sent: Monday, July 08, 2013 3:15 PM
To: Animesh Chaturvedi; dev@cloudstack.apache.org; 'Chip Childers'
Subject: RE: Swift in 4.2 is broken, anybody wants it to be supported in 4.2?

It was tested pre-4.0 release. As mentioned earlier, there were no changes or 
reported issues in this area. 

-Original Message-
From: Animesh Chaturvedi
Sent: Monday, July 08, 2013 3:11 PM
To: dev@cloudstack.apache.org; 'Chip Childers'; Sudha Ponnaganti
Subject: RE: Swift in 4.2 is broken, anybody wants it to be supported in 4.2?

Sudha was Swift working for 4.0 or 4.1? 

Edison couldn't we use S3 API for Swift? The support is probably not 
comprehensive [1][2]

[1] https://wiki.openstack.org/wiki/Swift/APIFeatureComparison
[2] 
http://docs.openstack.org/trunk/openstack-object-storage/admin/content/configuring-openstack-object-storage-with-s3_api.html


> -Original Message-
> From: Sudha Ponnaganti [mailto:sudha.ponnaga...@citrix.com]
> Sent: Monday, July 08, 2013 10:31 AM
> To: dev@cloudstack.apache.org; 'Chip Childers'
> Subject: RE: Swift in 4.2 is broken, anybody wants it to be supported 
> in 4.2?
> 
> Swift was tested for older version of Citrix release. There were  no 
> code changes or certification requests, so that area was deprioritized.
> 
> Thanks
> /Sudha
> 
> -Original Message-
> From: Edison Su [mailto:edison...@citrix.com]
> Sent: Monday, July 08, 2013 10:15 AM
> To: 'Chip Childers'; 
> Subject: RE: Swift in 4.2 is broken, anybody wants it to be supported 
> in 4.2?
> 
> 
> 
> > -Original Message-
> > From: Chip Childers [mailto:chip.child...@sungard.com]
> > Sent: Monday, July 08, 2013 6:46 AM
> > To: ; Edison Su
> > Subject: Re: Swift in 4.2 is broken, anybody wants it to be 
> > supported
> in 4.2?
> >
> > On Mon, Jul 8, 2013 at 9:22 AM, David Nalley  wrote:
> > > On Wed, Jul 3, 2013 at 5:29 PM, Edison Su 
> wrote:
> > >> Due to object store refactor, Swift is broken. The reason, is 
> > >> that, we only
> > have S3 test environment in our lab, so only S3 is tested for now.
> > >> Before adding the feature back, I'd better ask from, the 
> > >> community, do
> > we want to support Swift? If so, which version of Swift? This will 
> > take some efforts to support Swift, are there any volunteers can 
> > help
> the integration?
> > >
> > >
> > > Whats the bug ID for this?
> > > Unplanned/Unannounced deprecation of a feature is a blocker IMO. 
> > > It engenders a bad relationship with our users, and strands them 
> > > on previous versions with no good migration/upgrade path.
> > >
> > > --David
> > >
> >
> > Edison, How broken is it?  Is it shorter to fix or revert the object 
> > store changes?
> It's not working at all. Not sure, revert object store will change it 
> or not, as this feature is not tested by QA for a long time.



RE: Swift in 4.2 is broken, anybody wants it to be supported in 4.2?

2013-07-08 Thread Angeline Shen
Animesh, Sudha:

1. For Cloudstack Acton 3.0.0 release,  Swift 1.4.4  was integrated and tested .

2. Thanks to Sudha located my old documents on  
http://wiki-ccp.citrix.com/display/DesignDocs/Object+Storage+%28Swift%29+test+plan

3. It seems  Swift  1.9.1   is  one latest version  that can be integrated with 
Campo.

4. I'll work on   updating cwiki  with Swift 4.2 integration.

Thanks.




-Original Message-
From: Angeline Shen 
Sent: Monday, July 08, 2013 3:51 PM
To: Sudha Ponnaganti
Cc: Sangeetha Hariharan; Chandan Purushothama
Subject: RE: Swift in 4.2 is broken, anybody wants it to be supported in 4.2?

Sudha:

I wrote  this document  for Acton.  
I was   searching   for swift docs  at http://wiki-ccp.citrix.com/display   
earlier   and the site did not return.





-Original Message-
From: Sudha Ponnaganti
Sent: Monday, July 08, 2013 3:48 PM
To: Angeline Shen
Cc: Sangeetha Hariharan; Chandan Purushothama
Subject: RE: Swift in 4.2 is broken, anybody wants it to be supported in 4.2?

Who wrote this one??

http://wiki-ccp.citrix.com/display/DesignDocs/Object+Storage+%28Swift%29+test+plan


-Original Message-
From: Sudha Ponnaganti
Sent: Monday, July 08, 2013 3:33 PM
To: Angeline Shen
Cc: Sangeetha Hariharan; Chandan Purushothama
Subject: RE: Swift in 4.2 is broken, anybody wants it to be supported in 4.2?

Angie,

Do you know where the PRD or test plan for this exist??
I have a line item in Bonita to cover and I remember that we discussed this 
when I started and covered it in Bonita by you. 



Thanks
/sudha

-Original Message-
From: Angeline Shen
Sent: Monday, July 08, 2013 3:18 PM
To: dev@cloudstack.apache.org; Animesh Chaturvedi; 'Chip Childers'; Sudha 
Ponnaganti
Subject: RE: Swift in 4.2 is broken, anybody wants it to be supported in 4.2?

Animesh, Sudha:

Swift integration was done for Acton  3.0.0 release.  Anthony Xu was developer 
& I was QA .
I will be very happy to work on test plan & testing for 4.2.

Thanks

-Original Message-
From: Sudha Ponnaganti [mailto:sudha.ponnaga...@citrix.com]
Sent: Monday, July 08, 2013 3:15 PM
To: Animesh Chaturvedi; dev@cloudstack.apache.org; 'Chip Childers'
Subject: RE: Swift in 4.2 is broken, anybody wants it to be supported in 4.2?

It was tested pre-4.0 release. As mentioned earlier, there were no changes or 
reported issues in this area. 

-Original Message-
From: Animesh Chaturvedi
Sent: Monday, July 08, 2013 3:11 PM
To: dev@cloudstack.apache.org; 'Chip Childers'; Sudha Ponnaganti
Subject: RE: Swift in 4.2 is broken, anybody wants it to be supported in 4.2?

Sudha was Swift working for 4.0 or 4.1? 

Edison couldn't we use S3 API for Swift? The support is probably not 
comprehensive [1][2]

[1] https://wiki.openstack.org/wiki/Swift/APIFeatureComparison
[2] 
http://docs.openstack.org/trunk/openstack-object-storage/admin/content/configuring-openstack-object-storage-with-s3_api.html


> -Original Message-
> From: Sudha Ponnaganti [mailto:sudha.ponnaga...@citrix.com]
> Sent: Monday, July 08, 2013 10:31 AM
> To: dev@cloudstack.apache.org; 'Chip Childers'
> Subject: RE: Swift in 4.2 is broken, anybody wants it to be supported 
> in 4.2?
> 
> Swift was tested for older version of Citrix release. There were  no 
> code changes or certification requests, so that area was deprioritized.
> 
> Thanks
> /Sudha
> 
> -Original Message-
> From: Edison Su [mailto:edison...@citrix.com]
> Sent: Monday, July 08, 2013 10:15 AM
> To: 'Chip Childers'; 
> Subject: RE: Swift in 4.2 is broken, anybody wants it to be supported 
> in 4.2?
> 
> 
> 
> > -Original Message-
> > From: Chip Childers [mailto:chip.child...@sungard.com]
> > Sent: Monday, July 08, 2013 6:46 AM
> > To: ; Edison Su
> > Subject: Re: Swift in 4.2 is broken, anybody wants it to be 
> > supported
> in 4.2?
> >
> > On Mon, Jul 8, 2013 at 9:22 AM, David Nalley  wrote:
> > > On Wed, Jul 3, 2013 at 5:29 PM, Edison Su 
> wrote:
> > >> Due to object store refactor, Swift is broken. The reason, is 
> > >> that, we only
> > have S3 test environment in our lab, so only S3 is tested for now.
> > >> Before adding the feature back, I'd better ask from, the 
> > >> community, do
> > we want to support Swift? If so, which version of Swift? This will 
> > take some efforts to support Swift, are there any volunteers can 
> > help
> the integration?
> > >
> > >
> > > Whats the bug ID for this?
> > > Unplanned/Unannounced deprecation of a feature is a blocker IMO. 
> > > It engenders a bad relationship with our users, and strands them 
> > > on previous versions with no good migration/upgrade path.
> > >
> > > --David
> > >
> >
> > Edison, How broken is it?  Is it shorter to fix or revert the object 
> > store changes?
> It's not working at all. Not sure, revert object store will change it 
> or not, as this feature is not tested by QA for a long time.



RE: [ACS42] QA Subtasks that need to be resolved

2013-08-14 Thread Angeline Shen
Sudha:

CLOUDSTACK-903CLOUDSTACK-40 QA - New Image based provisioning 
method for Baremetal

IS this new baremetal feature or referring to existing baremetal  project?
How to update  these 2 bugs ?

Thanks


-Original Message-
From: Sudha Ponnaganti [mailto:sudha.ponnaga...@citrix.com] 
Sent: Wednesday, August 14, 2013 12:56 PM
To: dev@cloudstack.apache.org
Subject: [ACS42] QA Subtasks that need to be resolved

Hi All,

Following QA Tasks are not closed and require your attention. Can you review 
the list and see if these can be resolved/closed.

-  For some of these parent story might have been pushed to next 
release, in such case set fixed version as "Future"

Thanks
/Sudha


CLOUDSTACK-903CLOUDSTACK-40 QA - New Image based provisioning 
method for Baremetal   angeline shen
CLOUDSTACK-2800  CLOUDSTACK-1963 QA: New mapping model for CloudStack 
zone and Vmware datacenter    angeline shen
CLOUDSTACK-2749  CLOUDSTACK-996 QA: Write test plan and execute 
Testplan for midonet network integrationDave Cahill
CLOUDSTACK-879CLOUDSTACK-509 QA S3-backed Secondary Storage Feature 
  John Burwell
CLOUDSTACK-2841  CLOUDSTACK-1191 QA: Test RBD cloning, backup and 
snapshotting  sadhu suresh
CLOUDSTACK-954CLOUDSTACK-788 QA - support multiple VLANs for KVM HV 
   sadhu suresh
CLOUDSTACK-2267  CLOUDSTACK-2059 QA: Support remove network over VMware 
deployments with dvSwitchSailaja Mada
CLOUDSTACK-943CLOUDSTACK-714 QA - S3 based secondary storage
 Sanjeev N
CLOUDSTACK-886CLOUDSTACK-629 QA new storage subsystem   Sanjeev N



RE: Review Request: Temporarily disabling baremetal functionality in CS 4.1

2013-03-22 Thread Angeline Shen
Chip, Vijay:

Let me know When the build is ready, I can help test if baremetal  feature has 
been deactivated from UI.

-Original Message-
From: Chip Childers [mailto:chip.child...@sungard.com] 
Sent: Friday, March 22, 2013 5:04 PM
To: ; Vijayendra Bhamidipati
Cc: Frank Zhang; Kelven Yang; cloudstack
Subject: Re: Review Request: Temporarily disabling baremetal functionality in 
CS 4.1

Can *you* check it first please?  Does it apply cleanly?  Does it compile?

On Mar 22, 2013, at 7:55 PM, Venkata Siva Vijayendra Bhamidipati 
 wrote:

>
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/10071/
> ---
>
> (Updated March 22, 2013, 11:55 p.m.)
>
>
> Review request for cloudstack, Kelven Yang and Frank Zhang.
>
>
> Changes
> ---
>
> Hi Chip!
>
> Reuploading a consolidated patch with the sql changes as well, plus another 
> change in the plugins/pom.xml file - this is on top of the 4.1 branch - 
> generated using git format-patch.. can you please check and let me if it 
> applies? Thanks!
>
> Regards,
> Vijay
>
>
> Description
> ---
>
> Temporarily disabling baremetal functionality in CS 4.1
>
>
> This addresses bug CS-1773.
>
>
> Diffs (updated)
> -
>
>  client/pom.xml 38ba405
>  client/tomcatconf/componentContext.xml.in ff7376e  
> client/tomcatconf/nonossComponentContext.xml.in 35e1b28  
> plugins/pom.xml 02459b4  
> server/src/com/cloud/configuration/Config.java 17fe62b  
> setup/db/db/schema-40to410.sql 754bfb6
>
> Diff: https://reviews.apache.org/r/10071/diff/
>
>
> Testing
> ---
>
> Baremetal and Cisco UCS related APIs confirmed to not be exposed to clients.
>
>
> Thanks,
>
> Venkata Siva Vijayendra Bhamidipati
>


https://issues.apache.org/jira/browse/CLOUDSTACK-101 OVS support in KVM

2013-04-19 Thread Angeline Shen
ASF 4.1  cloudstack  with openvswitch  support  for   RHEL 6.3   KVM test  
configuration setup:

After completing 
http://nullworks.wordpress.com/2012/09/19/kvm-and-openvswitch-on-centos-6-3-minimal/
 to setup RHEL 6.3 openvswitch, encountered following problems:

1. In this scenario, after service openvswitch start, host is still up running 
but completely lost connection to network.

[root@Rack3Host16 /]# service openvswitch start
Inserting brcompat module [ OK ]
Starting ovsdb-server [ OK ]
Configuring Open vSwitch system IDs [ OK ]
Starting ovs-vswitchd [ OK ]
Starting ovs-brcompatd [ OK ]
iptables already has a rule for gre, not explicitly enabling.
[root@Rack3Host16 /]#


2. content of various files:

/etc/sysconfig/network-scripts/ifcfg-ovsbr1 :
DEVICE=ovsbr1
ONBOOT=yes
DEVICETYPE=ovs
TYPE=OVSBridge
BOOTPROTO=static
IPADDR=10.223.58.195
GATEWAY=10.223.58.193
NETMASK=255.255.255.0
HOTPLUG=no


QUESTION:Is  
http://nullworks.wordpress.com/2012/09/19/kvm-and-openvswitch-on-centos-6-3-minimal/
Valid configuration instructions for   openvswitch   RHEL 6.3or are 
there other updated  correct configuration steps?

Thanks



[ACS42] [QA] Test plan Isolation in advance zone using PVLAN

2013-04-23 Thread Angeline Shen
Hello:

Issue:  http://bugs-ccp.citrix.com/browse/CS-17445
  https://issues.apache.org/jira/browse/CLOUDSTACK-1456

PRD:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Isolation+in+Advanced+Zone+using+PVLANs

FS:   
https://cwiki.apache.org/confluence/display/CLOUDSTACK/PVLAN+for+isolation+within+a+VLAN

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Isolation+in+Advanced+Zone+using+PVLANs+-+Functional+Specification+for+VMWare+integration+with+CloudStack

test plan:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Isolation+Advance+zone+using+PVLAN

Please review & forward comments + feedback for test plan.

Thanks


RE: https://issues.apache.org/jira/browse/CLOUDSTACK-101 OVS support in KVM

2013-04-24 Thread Angeline Shen
ped:0 overruns:0 frame:0
  TX packets:340 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:46264 (45.1 KiB) TX bytes:46264 (45.1 KiB)

8. [root@Rack3Host16 ~]# brctl show
bridge name bridge id STP enabled interfaces
cloud0 /sys/class/net/cloud0/bridge: No such file or directory
/sys/class/net/cloud0/bridge: No such file or directory
/sys/class/net/cloud0/bridge: No such file or directory
/sys/class/net/cloud0/bridge: No such file or directory
/sys/class/net/cloud0/bridge: No such file or directory
/sys/class/net/cloud0/bridge: No such file or directory
/sys/class/net/cloud0/bridge: No such file or directory
/sys/class/net/cloud0/bridge: No such file or directory
/sys/class/net/cloud0/bridge: No such file or directory
/sys/class/net/cloud0/bridge: No such file or directory
/sys/class/net/cloud0/bridge: No such file or directory
/sys/class/net/cloud0/bridge: No such file or directory
.aa81045f5e4a no 
cloudbr /sys/class/net/cloudbr/bridge: No such file or directory
/sys/class/net/cloudbr/bridge: No such file or directory
/sys/class/net/cloudbr/bridge: No such file or directory
/sys/class/net/cloudbr/bridge: No such file or directory
/sys/class/net/cloudbr/bridge: No such file or directory
/sys/class/net/cloudbr/bridge: No such file or directory
/sys/class/net/cloudbr/bridge: No such file or directory
/sys/class/net/cloudbr/bridge: No such file or directory
/sys/class/net/cloudbr/bridge: No such file or directory
/sys/class/net/cloudbr/bridge: No such file or directory
/sys/class/net/cloudbr/bridge: No such file or directory
/sys/class/net/cloudbr/bridge: No such file or directory
.bc305bd4163c no


-Original Message-
From: Sheng Yang [mailto:sh...@yasker.org] 
Sent: Wednesday, April 24, 2013 12:59 PM
To: Hugo Trippaers
Cc: 
Subject: Re: https://issues.apache.org/jira/browse/CLOUDSTACK-101 OVS support 
in KVM

Thank you Hugo!

--Sheng


On Wed, Apr 24, 2013 at 12:16 PM, Hugo Trippaers < 
htrippa...@schubergphilis.com> wrote:

>  Hey Sheng,
>
>  Sure thing, I'm trying to help Angeline already, but it's quite a 
> complex setup.
>
>  I'll try to write down some detailed instructions.
>
>  Cheers,
>
>  Hugo
>
> Sent from my iPhone
>
> On 24 apr. 2013, at 19:56, "Sheng Yang"  wrote:
>
>   Hi Hugo,
>
>  Could you help with KVM OVS setup? I cannot find much information on 
> the our wiki about OVS on KVM.
>
>  --Sheng
>
>  On Fri, Apr 19, 2013 at 8:14 PM, Angeline Shen 
> wrote:
>
>> ASF 4.1  cloudstack  with openvswitch  support  for   RHEL 6.3   KVM test
>>  configuration setup:
>>
>> After completing
>> http://nullworks.wordpress.com/2012/09/19/kvm-and-openvswitch-on-cent
>> os-6-3-minimal/  to setup RHEL 6.3 openvswitch, encountered following 
>> problems:
>>
>> 1. In this scenario, after service openvswitch start, host is still 
>> up running but completely lost connection to network.
>>
>> [root@Rack3Host16 /]# service openvswitch start Inserting brcompat 
>> module [ OK ] Starting ovsdb-server [ OK ] Configuring Open vSwitch 
>> system IDs [ OK ] Starting ovs-vswitchd [ OK ] Starting ovs-brcompatd 
>> [ OK ] iptables already has a rule for gre, not explicitly enabling.
>> [root@Rack3Host16 /]#
>>
>>
>> 2. content of various files:
>>
>> /etc/sysconfig/network-scripts/ifcfg-ovsbr1 :
>> DEVICE=ovsbr1
>> ONBOOT=yes
>> DEVICETYPE=ovs
>> TYPE=OVSBridge
>> BOOTPROTO=static
>> IPADDR=10.223.58.195
>> GATEWAY=10.223.58.193
>> NETMASK=255.255.255.0
>> HOTPLUG=no
>>
>>
>> QUESTION:Is
>> http://nullworks.wordpress.com/2012/09/19/kvm-and-openvswitch-on-centos-6-3-minimal/
>> Valid configuration instructions for   openvswitch   RHEL 6.3
>>  or are there other updated  correct configuration steps?
>>
>> Thanks
>>
>>
>


RE: https://issues.apache.org/jira/browse/CLOUDSTACK-101 OVS support in KVM

2013-04-24 Thread Angeline Shen
Hugo:

For your configuration example  :


# The physical interface: eth1
DEVICE=eth1
BOOTPROTO=none
HWADDR=BC:30:5B:D4:16:3C
IPV6INIT=no
#MTU=1500
NM_CONTROLLED=no
ONBOOT=yes
TYPE=OVSPort
DEVICETYPE=ovs
OVS_BRIDGE=br0


# The bridge interface: br0
DEVICE=br0
ONBOOT=yes
DEVICETYPE=ovs
TYPE=OVSBridge
BOOTPROTO=static
IPADDR= 10.223.58.195
GATEWAY = 10.223.58.193
NETMASK=255.255.255.192
HOTPLUG=no

QUESTION: will commands to configure openvswitch network interfaces be as 
follows:

ovs-vsctl add-br br0
ovs-vsctl add-port br0 eth1

Thanks

-Original Message-
From: Angeline Shen 
Sent: Wednesday, April 24, 2013 1:13 PM
To: ; Hugo Trippaers; Sheng Yang; Edison Su
Subject: RE: https://issues.apache.org/jira/browse/CLOUDSTACK-101 OVS support 
in KVM

Hugo:

Please review my updates to  
https://issues.apache.org/jira/browse/CLOUDSTACK-101 .

The latest experiment I conducted per your instructions  is as follows:

 ovs  Host10.223.58.195  gateway 10.223.58.193  other 
host on same gateway but not in ovs setup   10.223.58.194

On ovs host 10.223.58.195 , After I changed 
/etc/sysconfig/network-scripts/ifcfg-eth1 and  
/etc/sysconfig/network-scripts/ifcfg-cloudbr to your instructions, service 
network restart ,

the ovs host can now ONLY ping its own gateway 10.223.58.193 and any host in 
same subnet, but CANNOT reach anything beyond the gateway 10.223.58.193.

1. /etc/sysconfig/network-scripts/ifcfg-eth1:

DEVICE=eth1
BOOTPROTO=none
HWADDR=BC:30:5B:D4:16:3C
IPV6INIT=no
#MTU=1500
NM_CONTROLLED=no
ONBOOT=yes
#TYPE=Ethernet
TYPE=OVSPort
DEVICETYPE=ovs
OVS_BRIDGE=cloudbr
#UUID="0142ba15-de11-499c-a1ba-82837b30f890"
#IPADDR=10.223.58.195
#NETMASK=255.255.255.192
#GATEWAY=10.223.58.193
#DNS1=10.223.110.254
#USERCTL=yes
#IPV4_FAILURE_FATAL=yes
#DEFROUTE=yes
#NAME="System eth1"

2. /etc/sysconfig/network-scripts/ifcfg-cloudbr:

DEVICE=cloudbr
ONBOOT=yes
DEVICETYPE=ovs
TYPE=OVSBridge
BOOTPROTO=static
IPADDR=10.223.58.195
GATEWAY=10.23.58.193
NETMASK=255.255.255.0
HOTPLUG=no

3. On host 10.223.58.195, service network restart


4. on host 10.223.58.195:

[root@Rack3Host16 ~]# ip route
10.223.58.0/24 dev cloudbr proto kernel scope link src 10.223.58.195
169.254.0.0/16 dev cloud0 proto kernel scope link src 169.254.0.1
169.254.0.0/16 dev eth1 scope link metric 1002
169.254.0.0/16 dev cloudbr scope link metric 1015 

5. It can reach its gateway & other hosts on same gateway:

[root@Rack3Host16 ~]# ping 10.223.58.193 PING 10.223.58.193 (10.223.58.193) 
56(84) bytes of data.
64 bytes from 10.223.58.193: icmp_seq=1 ttl=64 time=7.43 ms
64 bytes from 10.223.58.193: icmp_seq=2 ttl=64 time=2.82 ms
64 bytes from 10.223.58.193: icmp_seq=3 ttl=64 time=1.06 ms ^C
--- 10.223.58.193 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2364ms rtt 
min/avg/max/mdev = 1.061/3.771/7.430/2.685 ms
[root@Rack3Host16 ~]# ping 10.223.58.194 PING 10.223.58.194 (10.223.58.194) 
56(84) bytes of data.
64 bytes from 10.223.58.194: icmp_seq=1 ttl=64 time=0.399 ms
64 bytes from 10.223.58.194: icmp_seq=2 ttl=64 time=0.181 ms ^C
--- 10.223.58.194 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1446ms rtt 
min/avg/max/mdev = 0.181/0.290/0.399/0.109 ms

[root@Rack3Host16 ~]# traceroute 10.223.58.194 traceroute to 10.223.58.194 
(10.223.58.194), 30 hops max, 60 byte packets
 1 10.223.58.194 (10.223.58.194) 0.922 ms 0.851 ms 0.830 ms

[root@Rack3Host16 ~]# traceroute 10.223.58.193 traceroute to 10.223.58.193 
(10.223.58.193), 30 hops max, 60 byte packets
 1 10.223.58.193 (10.223.58.193) 7.017 ms 12.506 ms 7.675 ms

6. host CANNOT reach anything outside of its subnet:

[root@Rack3Host16 ~]# ping 10.223.195.114
connect: Network is unreachable

[root@Rack3Host16 ~]# ping www.google.com
ping: unknown host www.google.com

[root@Rack3Host16 ~]# ping 8.8.8.8
connect: Network is unreachable

[root@Rack3Host16 ~]# traceroute 8.8.8.8 traceroute to 8.8.8.8 (8.8.8.8), 30 
hops max, 60 byte packets
connect: Network is unreachable

7. [root@Rack3Host16 ~]# ifconfig
cloudbr Link encap:Ethernet HWaddr BC:30:5B:D4:16:3C 
  inet addr:10.223.58.195 Bcast:10.223.58.255 Mask:255.255.255.0
  inet6 addr: fc00:2::be30:5bff:fed4:163c/64 Scope:Global
  inet6 addr: fe80::68f7:52ff:fe03:a744/64 Scope:Link
  UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
  RX packets:46945 errors:0 dropped:0 overruns:0 frame:0
  TX packets:549 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:39235509 (37.4 MiB) TX bytes:102773 (100.3 KiB)

cloud0 Link encap:Ethernet HWaddr AA:81:04:5F:5E:4A 
  inet addr:169.254.0.1 Bcast:169.254.255.255 Mask:255.255.0.0
  inet6 addr: fe80::a881:4ff:fe5f:5e4a/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:23 errors:0 dropped:0 overruns:0 carrie

RE: https://issues.apache.org/jira/browse/CLOUDSTACK-101 Cent OS 6.3 OVS support in KVM

2013-04-25 Thread Angeline Shen
Hugo:

1. Your instructions here are for CentOS 6.4 environment.

However,  ASF 4.2   Cloudstack   is  currently only supported on CentOS 6.3,
 **   NOT CentOS 6.4   **
  Since ASF 4.2 Cloudstack has product features  requiring openvswitch 
support ,
 That is why we need to have openvswitch  (1.7.1 probably)  running on CentOS 
6.3   for ASF 4.2 Cloudstack.   **  NOT CENTOS 6.4  **

Also,  ASF  4.2  Cloudstack  has not been tested on CentOS 6.4 yet.
There are no ASF 4.2  cloudstack builds available  on CentOS 6.4

We need ASF 4.2 Cloudstack openvswitch running and tested  on   CENTOS 6.3.

Therefore I have been installing  libvirt-0.10.1   and openvswitch-1.7.1
on CentOS 6.3   in CentOS 6.3

Will your  configurations  work  on CentOS 6.3  ?



2.   Your instruction  in installing cloudstack-agent:

# yum install cloudstack-agent

What version of cloudstack-agent are you installing?

Please show content of   your  /etc/repos.d/  ?

There is no cloudstack-agent  on CentOS 6.4 yet.


2. What is the sectionon==  
centos64-openvswitch.patch ==about?


3. In CentOS 6.3,  only  libvirt-0.9.10  is available.   Cloudstack-agent 
installation installs   libvirt-0.9.10
  Therefore I had to installand overlaylibvirt-0.10.1over   
libvirt-0.9.10


4.   Your response   to my previous email about your openvswitch example To my 
question of commands  for openswitch  configuration  :
> ovs-vsctl add-br br0
> ovs-vsctl add-port br0 eth1

The redhat network configuration should take care of creating all the bridges 
and linking the ports. But yes the configuration above should have the same 
effect as these two commands.

Do you mean there is  NO NEED to execute  these two  commands at all as long as 
the files are configured,
Because  these commands are listed in ACS installation guide for openvswitch 
configuration, and upon executing the
Second command  ovs-vsctl add-port  br0  eth1the host  lost network 
connection ?


Thanks



-Original Message-
From: Hugo Trippaers [mailto:htrippa...@schubergphilis.com]
Sent: Thursday, April 25, 2013 6:19 AM
To: Angeline Shen; ''; Sheng Yang; Edison Su
Subject: RE: https://issues.apache.org/jira/browse/CLOUDSTACK-101 OVS support 
in KVM

Heya,

Comments inline.

I ran through the entire procedure I use to test the setup and documented it as 
detailed as possible. Hope this helps:

#
# CentOS KVM installation
#

Base installation:
CentOS 6.2 Basic Server

Upgraded to CentOS 6.4:
# yum update

Install Virtualization tools
# yum groupinstall Virtualization "Virtualization Client" 
"Virtualization Platform" "Virtualization Tools"

Verify Installed:
  hypervkvpd.x86_64 0:0-0.9.el6libguestfs.x86_64 
1:1.16.34-2.el6  libvirt.x86_64 0:0.10.2-18.el6_4.3
  libvirt-client.x86_64 0:0.10.2-18.el6_4.3python-virtinst.noarch 
0:0.600.0-15.el6qemu-kvm.x86_64 2:0.12.1.2-2.355.0.1.el6.centos.2
  virt-manager.x86_64 0:0.9.0-18.el6   virt-top.x86_64 
0:1.0.4-3.15.el6   virt-viewer.x86_64 0:0.5.2-18.el6_4.2

Modify libvirt configuration:
Edit /etc/libvirt/libvirtd.conf
listen_tls = 0
listen_tcp = 1
tcp_port = 16059
auth_tcp = "none"
mdns_adv = 0

Edit /etc/sysconfig/libvirtd
LIBVIRTD_ARGS="--listen"

Start libvirtd
   # /etc/init.d/libvirtd start
   # /etc/init.d/libvirtd status

Verify installation:
  # virsh capabilities
  - Should list two guest tags with os_type hvm

Build and install openvswitch:
  Install build requirements:
 # yum install rpmdevtools openssl-devel kernel-devel gcc redhat-rpm-config

  Build packages:
 # mkdir -p ~/rpmbuild/SOURCES
 # curl -O http://openvswitch.org/releases/openvswitch-1.9.0.tar.gz
 # cp openvswitch-1.9.0.tar.gz ~/rpmbuild/SOURCES
 # cp centos64-openvswitch.patch ~/rpmbuild/SOURCES
 # tar -xzf openvswitch-1.9.0.tar.gz
 # cd openvswitch-1.9.0
 # patch -p1 < ~/rpmbuild/SOURCES/centos64-openvswitch.patch
 # rpmbuild -bb rhel/openvswitch.spec
 # rpmbuild -bb -D "kversion `uname -r`" 
rhel/openvswitch-kmod-rhel6.spec

  Install openvswitch:
# yum install 
~/rpmbuild/RPMS/x86_64/kmod-openvswitch-1.9.0-1.el6.x86_64.rpm 
~/rpmbuild/RPMS/x86_64/openvswitch-1.9.0-1.x86_64.rpm
# echo 'blacklist bridge' >> /etc/modprobe.d/blacklist.conf
# reboot

  Verify installation:
# lsmod |grep openvswitch
# ovs-vsctl -V

Network design:
  cloudbr0 (Management, Storage)
ip: 172.16.10.10/24
gateway: 172.16.10.1
eth0 (physical port, no vlans)
  cloudbr1 (Guest, Public)
eth1 (physical port, vlan trunk)
ip: none

Configure network interfaces:
   /etc/sysconfig/network-scripts/

RE: https://issues.apache.org/jira/browse/CLOUDSTACK-101 Cent OS 6.3 OVS support in KVM

2013-04-25 Thread Angeline Shen
Sheng  :

1.
This implies   testing environment for ASC 4.2  isolation PVLAN feature   KVM 
hypervisor will beCentOS 6.4   based
instead of CentOS 6.3  based  for  Xen, vmware .

Is this acceptable?

2.
Hugo:   if we must have CentOS 6.3 test environment for above feature, what 
parts of this procedure need be changed?
Or do you already  know  that Cent OS 6.3  does NOT support  openvswitch ?


Thanks



-Original Message-
From: Hugo Trippaers [mailto:htrippa...@schubergphilis.com]
Sent: Thursday, April 25, 2013 2:50 PM
To: Angeline Shen; ''; Sheng Yang; Edison Su
Subject: RE: https://issues.apache.org/jira/browse/CLOUDSTACK-101 Cent OS 6.3 
OVS support in KVM

Hey Angeline,

> -Original Message-
> From: Angeline Shen [mailto:angeline.s...@citrix.com]
> Sent: donderdag 25 april 2013 23:07
> To: Hugo Trippaers; ''; Sheng Yang; Edison
> Su
> Subject: RE: https://issues.apache.org/jira/browse/CLOUDSTACK-101 Cent
> OS 6.3 OVS support in KVM
>
> Hugo:
>
> 1. Your instructions here are for CentOS 6.4 environment.
>
> However,  ASF 4.2   Cloudstack   is  currently only supported on CentOS 6.3,
> **   NOT CentOS 6.4   **
>   Since ASF 4.2 Cloudstack has product features  requiring openvswitch
> support ,
>  That is why we need to have openvswitch  (1.7.1 probably)  running on
> CentOS 6.3   for ASF 4.2 Cloudstack.   **  NOT CENTOS 6.4  **
>
> Also,  ASF  4.2  Cloudstack  has not been tested on CentOS 6.4 yet.
> There are no ASF 4.2  cloudstack builds available  on CentOS 6.4

CloudStack 4.2 is perfectly supported on CentOS 6.4. The RPM packages are all 
developed on CentOS 6.4, so for that matter CentOS 6.3 is less supported ;-)

But this is actually irrelevant. CentOS has dropped the release strategy with 
minor version numbers to a certain degree. If you read my instructions I 
actually started with a CentOS 6.2 system, running a yum update like regular 
users would do will upgrade the entire system to the latest version available. 
CentOS 6 is the actual release and the minor numbers are only place holders for 
certain releases. You need to upgrade the system to get the latest security 
fixes and so you will end up with a CentOS 6.4 system. CloudStack supports 
CentOS 6 and has been tested on CentOS 6.

>
> We need ASF 4.2 Cloudstack openvswitch running and tested  on   CENTOS
> 6.3.
>
> Therefore I have been installing  libvirt-0.10.1   and openvswitch-1.7.1  
>   on
> CentOS 6.3   in CentOS 6.3
>
> Will your  configurations  work  on CentOS 6.3  ?

As explained above there is no actual difference for CentOS 6.3 and 6.4 in 
setup. So the instructions will work regardless. The only thing you need to be 
aware of is the kernel version. My instructions regarding compiling openvswitch 
are specific to the current most recent version of the CentOS 6 kernel. So you 
need to upgrade at least that to work with these instructions.

>
>
>
> 2.   Your instruction  in installing cloudstack-agent:
>
> # yum install cloudstack-agent
>
> What version of cloudstack-agent are you installing?
>
> Please show content of   your  /etc/repos.d/  ?
>
> There is no cloudstack-agent  on CentOS 6.4 yet.

I'm installing from my own repository with cloudstack packages which is updated 
on every build. I think I used the 4.1 branch here, because that is default in 
my repo. But there have been no noticeable changes for OVS support in 4.2 yet.
>
>
> 2. What is the sectionon==  centos64-
> openvswitch.patch ==about?

It's a patch I developed to support openvswitch with the latest kernel version 
of CentOS. The way redhat does kernel updates regularly conflicts with the 
compatibility settings in openvswitch. You need to apply this patch on 
openvswitch 1.9.0 to make it compile on the latest CentOS 6 kernel.
>
>
> 3. In CentOS 6.3,  only  libvirt-0.9.10  is available.   Cloudstack-agent
> installation installs   libvirt-0.9.10
>   Therefore I had to installand overlaylibvirt-0.10.1over   
> libvirt-0.9.10

I used a fully updated CentOS 6.2 release (effectively 6.4). You should 
consider these instructions for an updated system.
>
>
> 4.   Your response   to my previous email about your openvswitch example To
> my question of commands  for openswitch  configuration  :
> > ovs-vsctl add-br br0
> > ovs-vsctl add-port br0 eth1
>
> The redhat network configuration should take care of creating all the
> bridges and linking the ports. But yes the configuration above should
> have the same effect as these two commands.
>
> Do you mean there is  NO NEED to execute  these two  commands at all
> as long as the files are configured, Because  these commands are
> listed in ACS installation guide for openvswitch configuration, an

RE: Is VM snapshot supported in KVM ?

2014-06-20 Thread Angeline Shen
Rayees:

Please ensure  in MS   Global setting   kvm.snapshot.enabled=true
It defaults to false currently.

Thanks

-Original Message-
From: Rayees Namathponnan [mailto:rayees.namathpon...@citrix.com] 
Sent: Thursday, June 19, 2014 9:47 PM
To: dev@cloudstack.apache.org
Subject: Is VM snapshot supported in KVM ?

Hi All,

Is VM snapshot supported in KVM, below doc says its supported in KVM,

https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshots

But if I try to take vm snapshot from UI,  I am getting message "VM snapshot is 
not enabled for hypervisor type: KVM"


Regards,
Rayees


https://cwiki.apache.org/confluence/display/CLOUDSTACK/Home edit permission

2013-12-02 Thread Angeline Shen
Hello Administrators:

Please allow me "edit" permissions  in order to add CloudStack test plans to:

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Home

Thank you.