Re: Review Request 12623: CLOUDSTACK-2328: Linux native VXLAN support on KVM hypervisor

2013-08-24 Thread ASF Subversion and Git Services

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


Commit 914e7c4542cf59bdf0e53d21fee8a2c36024cadb in branch refs/heads/master 
from Toshiaki Hatano
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=914e7c4 ]

Revert "CLOUDSTACK-2328: Linux native VXLAN support on KVM hypervisor"

This reverts commit 34ae32e0c24777f9ac9cf265447688a3e21680c7.


- ASF Subversion and Git Services


On Aug. 21, 2013, 2:51 a.m., Toshiaki Hatano wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12623/
> ---
> 
> (Updated Aug. 21, 2013, 2:51 a.m.)
> 
> 
> Review request for cloudstack, Alena Prokharchyk, Chiradeep Vittal, Murali 
> Reddy, Hugo Trippaers, and Sheng Yang.
> 
> 
> Bugs: https://issues.apache.org/jira/browse/CLOUDSTACK-2328
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> CLOUDSTACK-2328: Linux native VXLAN support on KVM hypervisor
> 
> Initial patch for VXLAN support.
> Fully functional, hopefully, for GuestNetwork - AdvancedZone.
> 
> Patch Note:
>  in cloudstack-server
> - Add isolation method VXLAN
> - Add VxlanGuestNetworkGuru as plugin for VXLAN isolation
> - Modify NetworkServiceImpl to handle extended vNet range for VXLAN isolation
> - Add VXLAN isolation option in zoneWizard UI
> 
>  in cloudstack-agent (kvm)
> - Add modifyvxlan.sh script that handle bridge/vxlan interface manipulation 
> script
> -- Usage is exactly same to modifyvlan.sh
> - BridgeVifDriver will call modifyvxlan.sh instead of modifyvlan.sh when 
> VXLAN is used for isolation
> 
> Database changes:
> - No change in database structure.
> - VXLAN isolation uses same tables that VLAN uses to store vNet allocation 
> status.
> 
> Known Issue:
> - Some resource still says 'VLAN' in log even if VXLAN is used
> - in UI, "Network - GuestNetworks" dosen't display VNI
> -- VLAN ID field displays "N/A"
> 
> 
> Diffs
> -
> 
>   api/src/com/cloud/network/Networks.java f8166c6 
>   api/src/com/cloud/network/PhysicalNetwork.java f6cb1a6 
>   client/pom.xml 1afe5b8 
>   client/tomcatconf/componentContext.xml.in f36d0ee 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/BridgeVifDriver.java
>  195cf40 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
>  a156ae6 
>   
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/OvsVifDriver.java
>  7038d7e 
>   plugins/network-elements/vxlan/pom.xml PRE-CREATION 
>   
> plugins/network-elements/vxlan/src/com/cloud/network/guru/VxlanGuestNetworkGuru.java
>  PRE-CREATION 
>   
> plugins/network-elements/vxlan/test/com/cloud/network/guru/VxlanGuestNetworkGuruTest.java
>  PRE-CREATION 
>   plugins/pom.xml 0812642 
>   scripts/vm/network/vnet/modifyvlan.sh 8ed3905 
>   scripts/vm/network/vnet/modifyvxlan.sh PRE-CREATION 
>   server/src/com/cloud/network/NetworkManagerImpl.java c683809 
>   server/src/com/cloud/network/NetworkServiceImpl.java eadd7bc 
> 
> Diff: https://reviews.apache.org/r/12623/diff/
> 
> 
> Testing
> ---
> 
> #) Test set up
> - Components
>   - 1x management server
>   - 1x nfs storage
>   - 3x Linux KVM host
>   -- CentOS 6.4 based
>   -- Replace kernel by version 3.8.13, VXLAN kernel module built as loadable 
> module
>   -- Replace iproute2 by version iproute2-ss130430
>   -- BridgeVifDriver (Default)
> 1. create advanced zone from zone wizard without security group option
> 2. select hypervisor: KVM
> 3. assign Guest network to separated physical network, isolated by VXLAN
>specify bridge name (traffic label) for Guest network, this bridge should 
> have IPv4 address (global/private both are OK).
> 4. assign Guest vNet range 1-2
> 5. other parameter are normal
> 6. add 2 more hosts into same zone/pod/cluster after zone wizard is finished
> 
> #) Test case 1: start/stop VR
> 1. Create network offering, same configuration as 
> DefaultIsolatedNetworkOfferingWithSourceNatService but persistent
> 2. Create network with network offering which is created in step 0
> 3. Confirm VR is started and bridge/vxlan device created on host
> 4. Delete network which is created in step 1
> 5. Confirm VR is deleted and bridge/vxlan device deleted on host
> 
> #) Test case 2: start/stop an instance (VR is on same host)
> 1. Add an instance from UI, create network during wizard.
> 2. Confirm VM and VR are on the same host
> 3. Confirm it's pingable from VM to VR
> 4. Confirm it's pingable from VM to public network (after opening Egress rule)
> 5. Destroy instance
> 6. Confirm bridge/vxlan device is still on the host
> 7. Delete network after the VM is expunged
> 8. Confirm VR are deleted and bridge/vxlan device deleted on the host
> 
> #) Test c

Re: [VOTE] Apache Cloudstack 4.2.0

2013-08-24 Thread Sebastien Goasguen
Animesh, 

In the 4.0 testing procedure we had some basic test for AWS, they are not there 
in the 4.2 test procedure.

Since it apparently got broken in 4.1 , I would like to make sure that we have 
AWS working in 4.2.

I will try to test this on monday

-Sebastien

On Aug 23, 2013, at 2:55 PM, Animesh Chaturvedi  
wrote:

> 
> 
> Hi All,
> 
> I've created a 4.2.0 release, with the following artifacts up for a
> vote:
> 
> Git Branch and Commit SH:
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.2
> Commit: 06f28722b6fe5827d58861e9a9d47fe46aaafefa
> 
> List of changes:
> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob_plain;f=CHANGES;hb=4.2
> 
> Source release (checksums and signatures are available at the same
> location):
> https://dist.apache.org/repos/dist/dev/cloudstack/4.2.0/
> 
> PGP release keys (signed using 94BE0D7C):
> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
> 
> Testing instructions are here:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+test+procedure
> 
> Vote will be open for 72 hours.
> 
> For sanity in tallying the vote, can PMC members please be sure to indicate 
> "(binding)" with their vote?
> 
> [ ] +1  approve
> [ ] +0  no opinion
> [ ] -1  disapprove (and reason why)
> 



Re: Trying to find newest system VMs for 4.2

2013-08-24 Thread Mike Tutkowski
At one point, I noticed a complaint in the console about failing to mount
/export/secondary because the sudo password failed three times.

I'm not sure how that would be. I shouldn't expect a prompt on the console
from the CSMS.

I also notice I get prompted for a sudo password when starting the CSMS.

I provide it, but the prompt comes back again anyways. Eventually it just
continues running the rest of the code to start up the CSMS.

Maybe my sudoers file needs to be set up differently, but I'm not sure what
it's supposed to look like.

I did run sudo apt-get install sudo during the install process up front.


On Sat, Aug 24, 2013 at 12:51 AM, Mike Tutkowski <
mike.tutkow...@solidfire.com> wrote:

> Yeah, I downloaded the VMware one. I'm going to give that one a shot.
>
>
> On Sat, Aug 24, 2013 at 12:44 AM, Prasanna Santhanam wrote:
>
>> Hmm, I got 404ed too
>>
>> ~ » wget
>> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-06-12-master-xen.vhd.bz2
>> Resolving download.cloud.com... 176.32.99.153
>> Connecting to download.cloud.com|176.32.99.153|:80... connected.
>> HTTP request sent, awaiting response... 404 Not Found
>> 2013-08-24 12:11:00 ERROR 404: Not Found.
>>
>> VmWare and KVM templates seem to be fine though.
>>
>> On Sat, Aug 24, 2013 at 12:04:02AM -0600, Mike Tutkowski wrote:
>> > I noticed I can't download the XenServer system template as is
>> specified in
>> > the newest 4.2 DB:
>> >
>> >
>> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-06-12-master-xen.vhd.bz2
>> >
>> > I've tried with a CS script and just plain old trying to download it
>> from a
>> > web browser.
>> >
>> > Any thoughts on this?
>> >
>> > Thanks!
>> >
>> >
>> > On Fri, Aug 23, 2013 at 11:41 PM, Mike Tutkowski <
>> > mike.tutkow...@solidfire.com> wrote:
>> >
>> > > Awesome - thanks!
>> > >
>> > > I've been trying to get away from DevCloud2 lately...just to get more
>> of a
>> > > feel for what a user would experience in the real world.
>> > >
>> > >
>> > > On Fri, Aug 23, 2013 at 11:35 PM, Prasanna Santhanam > >wrote:
>> > >
>> > >> The tinyLinux template is only in the db in a devcloud environment.
>> > >> You can download and register it as any other template.
>> > >>
>> > >> The other template in regular binary installs is of a CentOS 5.6
>> > >> template with XS tools on it. This one is downloaded by the SSVM for
>> > >> you.
>> > >>
>> > >> On Fri, Aug 23, 2013 at 11:21:17PM -0600, Mike Tutkowski wrote:
>> > >> > Hey Prasanna,
>> > >> >
>> > >> > If I wanted to install the tinyLinux template, can I just download
>> it
>> > >> from
>> > >> > the URL in the DB, then via the GUI upload it? Is that the
>> preferred
>> > >> > approach?
>> > >> >
>> > >> > Thanks!
>> > >> >
>> > >> >
>> > >> > On Fri, Aug 23, 2013 at 11:11 PM, Mike Tutkowski <
>> > >> > mike.tutkow...@solidfire.com> wrote:
>> > >> >
>> > >> > > Thanks for that info, Prasanna!
>> > >> > >
>> > >> > >
>> > >> > > On Fri, Aug 23, 2013 at 11:08 PM, Prasanna Santhanam <
>> t...@apache.org
>> > >> >wrote:
>> > >> > >
>> > >> > >> The jobs for generating the systemvm templates are used only for
>> > >> > >> testing. It's only an indication of how you can build the
>> templates
>> > >> > >> yourself. I'd recommend you take these systemvm templates for a
>> spin
>> > >> > >> if you choose to use the latest on jenkins and want to put
>> those in
>> > >> > >> production.
>> > >> > >>
>> > >> > >> The templates you see in the vm_template table are the ones
>> certified
>> > >> > >> by Citrix QA. Those templates may be from a slightly older
>> build of
>> > >> > >> the jenkins job but are well tested.
>> > >> > >>
>> > >> > >> The jenkins setup also has limited bandwidth so artifact
>> downloads
>> > >> > >> are going to be slow. Please don't use them in an automated
>> script
>> > >> > >> against any test environments. Otoh the url in the vm_template
>> table
>> > >> > >> should be much faster.
>> > >> > >>
>> > >> > >> On Sat, Aug 24, 2013 at 12:01:17AM +, Rayees Namathponnan
>> wrote:
>> > >> > >> > 4.2 template building  from
>> > >> > >> http://jenkins.cloudstack.org/job/build-systemvm-4.2/1/console
>> > >> > >> >
>> > >> > >> > Note : build Job not yet completed
>> > >> > >> >
>> > >> > >> > Regards,
>> > >> > >> > Rayees
>> > >> > >> >
>> > >> > >> > -Original Message-
>> > >> > >> > From: Animesh Chaturvedi
>> > >> > >> > Sent: Friday, August 23, 2013 4:56 PM
>> > >> > >> > To: Chiradeep Vittal; dev@cloudstack.apache.org
>> > >> > >> > Cc: Prasanna Santhanam; Rayees Namathponnan
>> > >> > >> > Subject: RE: Trying to find newest system VMs for 4.2
>> > >> > >> >
>> > >> > >> > Rayees added the system vm template job to jenkins for 4.2
>> and just
>> > >> > >> started a build.
>> > >> > >> >
>> > >> > >> > > -Original Message-
>> > >> > >> > > From: Chiradeep Vittal
>> > >> > >> > > Sent: Friday, August 23, 2013 4:34 PM
>> > >> > >> > > To: dev@cloudstack.apache.org
>> > >> > >> > > Cc: Animesh Chaturvedi; Prasanna S

Re: [VOTE] Apache Cloudstack 4.2.0

2013-08-24 Thread Joe Brockmeier
On Fri, Aug 23, 2013, at 10:57 PM, Mike Tutkowski wrote:
> Yeah, I would really appreciate Monday and Tuesday to run regression
> tests on this.

+1 - In the future I think we should probably schedule votes like this
to allow 72 hours during "business hours" if at all possible. (Though
some people do have more time on the weekend for testing if CloudStack
isn't part of their $dayjob...)

(Note that it's not just 72 hours, though - we also need a "lazy
majority" of at least 3 PMC members.)

Best,

jzb
-- 
Joe Brockmeier
j...@zonker.net
Twitter: @jzb
http://www.dissociatedpress.net/


[DOC] CLOUDSTACK-1525: SystemVM SSH

2013-08-24 Thread Marty Sweet
Hi guys,

Is anyone currently working on 1525? It covers about how to access
systemvms regarding different hypervisors?

If not, I should be able to get this done today and push it to the review
board, as it's currently in the 4.2 branch.
https://issues.apache.org/jira/browse/CLOUDSTACK-1525


Marty


Re: [DOC] CLOUDSTACK-1525: SystemVM SSH

2013-08-24 Thread David Nalley
Feel free to assign it to yourself and submit a patch.

--David

On Sat, Aug 24, 2013 at 9:46 AM, Marty Sweet  wrote:
> Hi guys,
>
> Is anyone currently working on 1525? It covers about how to access
> systemvms regarding different hypervisors?
>
> If not, I should be able to get this done today and push it to the review
> board, as it's currently in the 4.2 branch.
> https://issues.apache.org/jira/browse/CLOUDSTACK-1525
>
>
> Marty


Re: Review Request 12623: CLOUDSTACK-2328: Linux native VXLAN support on KVM hypervisor

2013-08-24 Thread Marcus Sorensen
What's going on here? Was there a problem with the patch?
On Aug 24, 2013 1:18 AM, "ASF Subversion and Git Services" <
asf...@urd.zones.apache.org> wrote:

>
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/12623/#review25501
> ---
>
>
> Commit 914e7c4542cf59bdf0e53d21fee8a2c36024cadb in branch
> refs/heads/master from Toshiaki Hatano
> [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=914e7c4 ]
>
> Revert "CLOUDSTACK-2328: Linux native VXLAN support on KVM hypervisor"
>
> This reverts commit 34ae32e0c24777f9ac9cf265447688a3e21680c7.
>
>
> - ASF Subversion and Git Services
>
>
> On Aug. 21, 2013, 2:51 a.m., Toshiaki Hatano wrote:
> >
> > ---
> > This is an automatically generated e-mail. To reply, visit:
> > https://reviews.apache.org/r/12623/
> > ---
> >
> > (Updated Aug. 21, 2013, 2:51 a.m.)
> >
> >
> > Review request for cloudstack, Alena Prokharchyk, Chiradeep Vittal,
> Murali Reddy, Hugo Trippaers, and Sheng Yang.
> >
> >
> > Bugs: https://issues.apache.org/jira/browse/CLOUDSTACK-2328
> >
> >
> > Repository: cloudstack-git
> >
> >
> > Description
> > ---
> >
> > CLOUDSTACK-2328: Linux native VXLAN support on KVM hypervisor
> >
> > Initial patch for VXLAN support.
> > Fully functional, hopefully, for GuestNetwork - AdvancedZone.
> >
> > Patch Note:
> >  in cloudstack-server
> > - Add isolation method VXLAN
> > - Add VxlanGuestNetworkGuru as plugin for VXLAN isolation
> > - Modify NetworkServiceImpl to handle extended vNet range for VXLAN
> isolation
> > - Add VXLAN isolation option in zoneWizard UI
> >
> >  in cloudstack-agent (kvm)
> > - Add modifyvxlan.sh script that handle bridge/vxlan interface
> manipulation script
> > -- Usage is exactly same to modifyvlan.sh
> > - BridgeVifDriver will call modifyvxlan.sh instead of modifyvlan.sh when
> VXLAN is used for isolation
> >
> > Database changes:
> > - No change in database structure.
> > - VXLAN isolation uses same tables that VLAN uses to store vNet
> allocation status.
> >
> > Known Issue:
> > - Some resource still says 'VLAN' in log even if VXLAN is used
> > - in UI, "Network - GuestNetworks" dosen't display VNI
> > -- VLAN ID field displays "N/A"
> >
> >
> > Diffs
> > -
> >
> >   api/src/com/cloud/network/Networks.java f8166c6
> >   api/src/com/cloud/network/PhysicalNetwork.java f6cb1a6
> >   client/pom.xml 1afe5b8
> >   client/tomcatconf/componentContext.xml.in f36d0ee
> >
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/BridgeVifDriver.java
> 195cf40
> >
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
> a156ae6
> >
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/OvsVifDriver.java
> 7038d7e
> >   plugins/network-elements/vxlan/pom.xml PRE-CREATION
> >
> plugins/network-elements/vxlan/src/com/cloud/network/guru/VxlanGuestNetworkGuru.java
> PRE-CREATION
> >
> plugins/network-elements/vxlan/test/com/cloud/network/guru/VxlanGuestNetworkGuruTest.java
> PRE-CREATION
> >   plugins/pom.xml 0812642
> >   scripts/vm/network/vnet/modifyvlan.sh 8ed3905
> >   scripts/vm/network/vnet/modifyvxlan.sh PRE-CREATION
> >   server/src/com/cloud/network/NetworkManagerImpl.java c683809
> >   server/src/com/cloud/network/NetworkServiceImpl.java eadd7bc
> >
> > Diff: https://reviews.apache.org/r/12623/diff/
> >
> >
> > Testing
> > ---
> >
> > #) Test set up
> > - Components
> >   - 1x management server
> >   - 1x nfs storage
> >   - 3x Linux KVM host
> >   -- CentOS 6.4 based
> >   -- Replace kernel by version 3.8.13, VXLAN kernel module built as
> loadable module
> >   -- Replace iproute2 by version iproute2-ss130430
> >   -- BridgeVifDriver (Default)
> > 1. create advanced zone from zone wizard without security group option
> > 2. select hypervisor: KVM
> > 3. assign Guest network to separated physical network, isolated by VXLAN
> >specify bridge name (traffic label) for Guest network, this bridge
> should have IPv4 address (global/private both are OK).
> > 4. assign Guest vNet range 1-2
> > 5. other parameter are normal
> > 6. add 2 more hosts into same zone/pod/cluster after zone wizard is
> finished
> >
> > #) Test case 1: start/stop VR
> > 1. Create network offering, same configuration as
> DefaultIsolatedNetworkOfferingWithSourceNatService but persistent
> > 2. Create network with network offering which is created in step 0
> > 3. Confirm VR is started and bridge/vxlan device created on host
> > 4. Delete network which is created in step 1
> > 5. Confirm VR is deleted and bridge/vxlan device deleted on host
> >
> > #) Test case 2: start/stop an instance (VR is on same host)
> > 1. Add an instance from UI, create network during wizard.
> > 2. Confirm VM and VR are on the same host
> > 3.

System VM stuck in Expunging State

2013-08-24 Thread Mike Tutkowski
Hi,

I have a VM (SSVM) that's stuck in the Expunging State.

It's not interfering with anything that I'm aware of as I have another SSVM
up and running just fine, but I'd like to remove it from the database.

Does anyone know which table/tables I need to modify to make sure I get rid
of all of the necessary data?

Thanks!

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


Re: System VM stuck in Expunging State

2013-08-24 Thread Marcus Sorensen
It might be better to take a look and see why it fails to expunge. In
the past I've seen things like null pointers that have led to fixed
bugs. You can turn down the expunge intervals to get it to try every
60 seconds or something, so you can watch what goes wrong.

On Sat, Aug 24, 2013 at 3:53 PM, Mike Tutkowski
 wrote:
> Hi,
>
> I have a VM (SSVM) that's stuck in the Expunging State.
>
> It's not interfering with anything that I'm aware of as I have another SSVM
> up and running just fine, but I'd like to remove it from the database.
>
> Does anyone know which table/tables I need to modify to make sure I get rid
> of all of the necessary data?
>
> Thanks!
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud
> *™*


Re: System VM stuck in Expunging State

2013-08-24 Thread Mike Tutkowski
That would be great.

Is there a global setting for that, Marcus?

Thanks


On Sat, Aug 24, 2013 at 5:26 PM, Marcus Sorensen wrote:

> It might be better to take a look and see why it fails to expunge. In
> the past I've seen things like null pointers that have led to fixed
> bugs. You can turn down the expunge intervals to get it to try every
> 60 seconds or something, so you can watch what goes wrong.
>
> On Sat, Aug 24, 2013 at 3:53 PM, Mike Tutkowski
>  wrote:
> > Hi,
> >
> > I have a VM (SSVM) that's stuck in the Expunging State.
> >
> > It's not interfering with anything that I'm aware of as I have another
> SSVM
> > up and running just fine, but I'd like to remove it from the database.
> >
> > Does anyone know which table/tables I need to modify to make sure I get
> rid
> > of all of the necessary data?
> >
> > Thanks!
> >
> > --
> > *Mike Tutkowski*
> > *Senior CloudStack Developer, SolidFire Inc.*
> > e: mike.tutkow...@solidfire.com
> > o: 303.746.7302
> > Advancing the way the world uses the
> > cloud
> > *™*
>



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


Re: System VM stuck in Expunging State

2013-08-24 Thread Marcus Sorensen
Yes, there are expunge global settings.
On Aug 24, 2013 6:35 PM, "Mike Tutkowski" 
wrote:

> That would be great.
>
> Is there a global setting for that, Marcus?
>
> Thanks
>
>
> On Sat, Aug 24, 2013 at 5:26 PM, Marcus Sorensen  >wrote:
>
> > It might be better to take a look and see why it fails to expunge. In
> > the past I've seen things like null pointers that have led to fixed
> > bugs. You can turn down the expunge intervals to get it to try every
> > 60 seconds or something, so you can watch what goes wrong.
> >
> > On Sat, Aug 24, 2013 at 3:53 PM, Mike Tutkowski
> >  wrote:
> > > Hi,
> > >
> > > I have a VM (SSVM) that's stuck in the Expunging State.
> > >
> > > It's not interfering with anything that I'm aware of as I have another
> > SSVM
> > > up and running just fine, but I'd like to remove it from the database.
> > >
> > > Does anyone know which table/tables I need to modify to make sure I get
> > rid
> > > of all of the necessary data?
> > >
> > > Thanks!
> > >
> > > --
> > > *Mike Tutkowski*
> > > *Senior CloudStack Developer, SolidFire Inc.*
> > > e: mike.tutkow...@solidfire.com
> > > o: 303.746.7302
> > > Advancing the way the world uses the
> > > cloud
> > > *™*
> >
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud
> *™*
>


Re: Trying to find newest system VMs for 4.2

2013-08-24 Thread Abhinandan Prateek
For Xen system template download location is
http://download.cloud.com/templates/4.2/systemvmtemplate-2013-07-12-master-xen.vhd.bz2
.

On Sat, Aug 24, 2013 at 12:14 PM, Prasanna Santhanam  wrote:

> Hmm, I got 404ed too
>
> ~ » wget
> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-06-12-master-xen.vhd.bz2
> Resolving download.cloud.com... 176.32.99.153
> Connecting to download.cloud.com|176.32.99.153|:80... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2013-08-24 12:11:00 ERROR 404: Not Found.
>
> VmWare and KVM templates seem to be fine though.
>
> On Sat, Aug 24, 2013 at 12:04:02AM -0600, Mike Tutkowski wrote:
> > I noticed I can't download the XenServer system template as is specified
> in
> > the newest 4.2 DB:
> >
> >
> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-06-12-master-xen.vhd.bz2
> >
> > I've tried with a CS script and just plain old trying to download it
> from a
> > web browser.
> >
> > Any thoughts on this?
> >
> > Thanks!
> >
> >
> > On Fri, Aug 23, 2013 at 11:41 PM, Mike Tutkowski <
> > mike.tutkow...@solidfire.com> wrote:
> >
> > > Awesome - thanks!
> > >
> > > I've been trying to get away from DevCloud2 lately...just to get more
> of a
> > > feel for what a user would experience in the real world.
> > >
> > >
> > > On Fri, Aug 23, 2013 at 11:35 PM, Prasanna Santhanam  >wrote:
> > >
> > >> The tinyLinux template is only in the db in a devcloud environment.
> > >> You can download and register it as any other template.
> > >>
> > >> The other template in regular binary installs is of a CentOS 5.6
> > >> template with XS tools on it. This one is downloaded by the SSVM for
> > >> you.
> > >>
> > >> On Fri, Aug 23, 2013 at 11:21:17PM -0600, Mike Tutkowski wrote:
> > >> > Hey Prasanna,
> > >> >
> > >> > If I wanted to install the tinyLinux template, can I just download
> it
> > >> from
> > >> > the URL in the DB, then via the GUI upload it? Is that the preferred
> > >> > approach?
> > >> >
> > >> > Thanks!
> > >> >
> > >> >
> > >> > On Fri, Aug 23, 2013 at 11:11 PM, Mike Tutkowski <
> > >> > mike.tutkow...@solidfire.com> wrote:
> > >> >
> > >> > > Thanks for that info, Prasanna!
> > >> > >
> > >> > >
> > >> > > On Fri, Aug 23, 2013 at 11:08 PM, Prasanna Santhanam <
> t...@apache.org
> > >> >wrote:
> > >> > >
> > >> > >> The jobs for generating the systemvm templates are used only for
> > >> > >> testing. It's only an indication of how you can build the
> templates
> > >> > >> yourself. I'd recommend you take these systemvm templates for a
> spin
> > >> > >> if you choose to use the latest on jenkins and want to put those
> in
> > >> > >> production.
> > >> > >>
> > >> > >> The templates you see in the vm_template table are the ones
> certified
> > >> > >> by Citrix QA. Those templates may be from a slightly older build
> of
> > >> > >> the jenkins job but are well tested.
> > >> > >>
> > >> > >> The jenkins setup also has limited bandwidth so artifact
> downloads
> > >> > >> are going to be slow. Please don't use them in an automated
> script
> > >> > >> against any test environments. Otoh the url in the vm_template
> table
> > >> > >> should be much faster.
> > >> > >>
> > >> > >> On Sat, Aug 24, 2013 at 12:01:17AM +, Rayees Namathponnan
> wrote:
> > >> > >> > 4.2 template building  from
> > >> > >> http://jenkins.cloudstack.org/job/build-systemvm-4.2/1/console
> > >> > >> >
> > >> > >> > Note : build Job not yet completed
> > >> > >> >
> > >> > >> > Regards,
> > >> > >> > Rayees
> > >> > >> >
> > >> > >> > -Original Message-
> > >> > >> > From: Animesh Chaturvedi
> > >> > >> > Sent: Friday, August 23, 2013 4:56 PM
> > >> > >> > To: Chiradeep Vittal; dev@cloudstack.apache.org
> > >> > >> > Cc: Prasanna Santhanam; Rayees Namathponnan
> > >> > >> > Subject: RE: Trying to find newest system VMs for 4.2
> > >> > >> >
> > >> > >> > Rayees added the system vm template job to jenkins for 4.2 and
> just
> > >> > >> started a build.
> > >> > >> >
> > >> > >> > > -Original Message-
> > >> > >> > > From: Chiradeep Vittal
> > >> > >> > > Sent: Friday, August 23, 2013 4:34 PM
> > >> > >> > > To: dev@cloudstack.apache.org
> > >> > >> > > Cc: Animesh Chaturvedi; Prasanna Santhanam
> > >> > >> > > Subject: Re: Trying to find newest system VMs for 4.2
> > >> > >> > >
> > >> > >> > > This is a very good question. I don't think we should
> release 4.2
> > >> > >> > > source with master-systemvm.
> > >> > >> > > Can we add a systemvm build job for 4.2
> > >> > >> > >
> > >> > >> > > On 8/23/13 11:39 AM, "Mike Tutkowski" <
> > >> mike.tutkow...@solidfire.com>
> > >> > >> > > wrote:
> > >> > >> > >
> > >> > >> > > >Perhaps we are just supposed to set up 4.2 with the system
> > >> templates
> > >> > >> > > >we need from master?
> > >> > >> > > >
> > >> > >> > > >
> > >> > >> > > >On Fri, Aug 23, 2013 at 11:28 AM, Mike Tutkowski <
> > >> > >> > > >mike.tutkow...@solidfire.com> wrote:
> > >> > >> > > >
> > >> > >> > > >> Hi,
> > >> > >> > > 

Re: Trying to find newest system VMs for 4.2

2013-08-24 Thread Mike Tutkowski
Great, thanks!

I had a pretty much brand new copy of 4.2 yesterday and the link was
incorrect. I assume someone will or has already corrected this in the
codebase or will do so before 4.2 goes out the door?

I can open a JIRA ticket, if we need that.

Thanks again!


On Sat, Aug 24, 2013 at 9:53 PM, Abhinandan Prateek  wrote:

> For Xen system template download location is
> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-07-12-master-xen.vhd.bz2
> .
>
> On Sat, Aug 24, 2013 at 12:14 PM, Prasanna Santhanam wrote:
>
>> Hmm, I got 404ed too
>>
>> ~ » wget
>> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-06-12-master-xen.vhd.bz2
>> Resolving download.cloud.com... 176.32.99.153
>> Connecting to download.cloud.com|176.32.99.153|:80... connected.
>> HTTP request sent, awaiting response... 404 Not Found
>> 2013-08-24 12:11:00 ERROR 404: Not Found.
>>
>> VmWare and KVM templates seem to be fine though.
>>
>> On Sat, Aug 24, 2013 at 12:04:02AM -0600, Mike Tutkowski wrote:
>> > I noticed I can't download the XenServer system template as is
>> specified in
>> > the newest 4.2 DB:
>> >
>> >
>> http://download.cloud.com/templates/4.2/systemvmtemplate-2013-06-12-master-xen.vhd.bz2
>> >
>> > I've tried with a CS script and just plain old trying to download it
>> from a
>> > web browser.
>> >
>> > Any thoughts on this?
>> >
>> > Thanks!
>> >
>> >
>> > On Fri, Aug 23, 2013 at 11:41 PM, Mike Tutkowski <
>> > mike.tutkow...@solidfire.com> wrote:
>> >
>> > > Awesome - thanks!
>> > >
>> > > I've been trying to get away from DevCloud2 lately...just to get more
>> of a
>> > > feel for what a user would experience in the real world.
>> > >
>> > >
>> > > On Fri, Aug 23, 2013 at 11:35 PM, Prasanna Santhanam > >wrote:
>> > >
>> > >> The tinyLinux template is only in the db in a devcloud environment.
>> > >> You can download and register it as any other template.
>> > >>
>> > >> The other template in regular binary installs is of a CentOS 5.6
>> > >> template with XS tools on it. This one is downloaded by the SSVM for
>> > >> you.
>> > >>
>> > >> On Fri, Aug 23, 2013 at 11:21:17PM -0600, Mike Tutkowski wrote:
>> > >> > Hey Prasanna,
>> > >> >
>> > >> > If I wanted to install the tinyLinux template, can I just download
>> it
>> > >> from
>> > >> > the URL in the DB, then via the GUI upload it? Is that the
>> preferred
>> > >> > approach?
>> > >> >
>> > >> > Thanks!
>> > >> >
>> > >> >
>> > >> > On Fri, Aug 23, 2013 at 11:11 PM, Mike Tutkowski <
>> > >> > mike.tutkow...@solidfire.com> wrote:
>> > >> >
>> > >> > > Thanks for that info, Prasanna!
>> > >> > >
>> > >> > >
>> > >> > > On Fri, Aug 23, 2013 at 11:08 PM, Prasanna Santhanam <
>> t...@apache.org
>> > >> >wrote:
>> > >> > >
>> > >> > >> The jobs for generating the systemvm templates are used only for
>> > >> > >> testing. It's only an indication of how you can build the
>> templates
>> > >> > >> yourself. I'd recommend you take these systemvm templates for a
>> spin
>> > >> > >> if you choose to use the latest on jenkins and want to put
>> those in
>> > >> > >> production.
>> > >> > >>
>> > >> > >> The templates you see in the vm_template table are the ones
>> certified
>> > >> > >> by Citrix QA. Those templates may be from a slightly older
>> build of
>> > >> > >> the jenkins job but are well tested.
>> > >> > >>
>> > >> > >> The jenkins setup also has limited bandwidth so artifact
>> downloads
>> > >> > >> are going to be slow. Please don't use them in an automated
>> script
>> > >> > >> against any test environments. Otoh the url in the vm_template
>> table
>> > >> > >> should be much faster.
>> > >> > >>
>> > >> > >> On Sat, Aug 24, 2013 at 12:01:17AM +, Rayees Namathponnan
>> wrote:
>> > >> > >> > 4.2 template building  from
>> > >> > >> http://jenkins.cloudstack.org/job/build-systemvm-4.2/1/console
>> > >> > >> >
>> > >> > >> > Note : build Job not yet completed
>> > >> > >> >
>> > >> > >> > Regards,
>> > >> > >> > Rayees
>> > >> > >> >
>> > >> > >> > -Original Message-
>> > >> > >> > From: Animesh Chaturvedi
>> > >> > >> > Sent: Friday, August 23, 2013 4:56 PM
>> > >> > >> > To: Chiradeep Vittal; dev@cloudstack.apache.org
>> > >> > >> > Cc: Prasanna Santhanam; Rayees Namathponnan
>> > >> > >> > Subject: RE: Trying to find newest system VMs for 4.2
>> > >> > >> >
>> > >> > >> > Rayees added the system vm template job to jenkins for 4.2
>> and just
>> > >> > >> started a build.
>> > >> > >> >
>> > >> > >> > > -Original Message-
>> > >> > >> > > From: Chiradeep Vittal
>> > >> > >> > > Sent: Friday, August 23, 2013 4:34 PM
>> > >> > >> > > To: dev@cloudstack.apache.org
>> > >> > >> > > Cc: Animesh Chaturvedi; Prasanna Santhanam
>> > >> > >> > > Subject: Re: Trying to find newest system VMs for 4.2
>> > >> > >> > >
>> > >> > >> > > This is a very good question. I don't think we should
>> release 4.2
>> > >> > >> > > source with master-systemvm.
>> > >> > >> > > Can we add a systemvm build job for 4.2
>> > >> > >> > >
>> > >> > 

[ACS4.2] Don;t use libvirt 0.10.2+ if you are using NFS as primary storage on KVM

2013-08-24 Thread Edison Su
There is a "bug" in libvirt 0.10.2+:

 /* Short-circuit if already mounted */
385
 if ((rc = virStorageBackendFileSystemIsMounted(pool)) != 0) {
386
 if (rc == 1) {
387
 virReportError(VIR_ERR_OPERATION_INVALID,
388
_("Target '%s' is already mounted"),
389
pool->def->target.path);
390
 }
391
 return -1;
392
 }
393

If the NFS mount point exists on KVM host, and if the libvirt storage is 
missing for some reason(BUG CLOUDSTACk-2729), then the storage pool will never 
be created in libvirt unless you stop all the VMs, and umount the mount point.

While, on libvirt 0.9.10, the code handles the situation is different:
   /* Short-circuit if already mounted */
409
 if ((ret = virStorageBackendFileSystemIsMounted(pool)) != 0) {
410
 if (ret < 0)
411
 return -1;
412
 else
413
 return 0;
414
 }

So please stay on libvirt 0.9.10, or ask Redhat to fix the issue.