Re: Using newer DIY SystemVMs

2013-03-14 Thread Serge A. Salamanka
On 07.03.2013 23:09, Chip Childers wrote: On Thu, Mar 07, 2013 at 01:07:26PM -0700, Marcus Sorensen wrote: Ok, didn't realize we were going to point people to this particular system vm for production installs, I thought this was just a proof-of-concept for building custom ones. The intent

Re: Using newer DIY SystemVMs

2013-03-14 Thread Rohit Yadav
Hi Serge, We've a wiki (Pl. feel free to edit the wiki in case you think anything is missing or let us know if you have any questions): https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+on+master+branch Blog on build automation of appliance using veewee+vbox using jenkins:

Re: Using newer DIY SystemVMs

2013-03-14 Thread Rohit Yadav
Serge, oops wrong wiki, this one: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Build+Your+Own+SystemVM+Templates On Thu, Mar 14, 2013 at 2:24 PM, Rohit Yadav bhais...@apache.org wrote: Hi Serge, We've a wiki (Pl. feel free to edit the wiki in case you think anything is missing or

Re: Using newer DIY SystemVMs

2013-03-14 Thread Serge A. Salamanka
Thank you, Rohit That is enough to start with. I'll write back on the progress. #Serge On 14.03.2013 11:55, Rohit Yadav wrote: Serge, oops wrong wiki, this one: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Build+Your+Own+SystemVM+Templates On Thu, Mar 14, 2013 at 2:24 PM, Rohit

Re: Using newer DIY SystemVMs

2013-03-12 Thread Marcus Sorensen
Console doesn't seem to work. I'm seeing this in the console proxy logs: java.lang.IllegalArgumentException at com.cloud.consoleproxy.ConsoleProxyAjaxHandler.doHandle(ConsoleProxyAjaxHandler.java:90) at

Re: Using newer DIY SystemVMs

2013-03-12 Thread Chip Childers
On Tue, Mar 12, 2013 at 01:15:45PM -0600, Marcus Sorensen wrote: Console doesn't seem to work. I'm seeing this in the console proxy logs: java.lang.IllegalArgumentException at com.cloud.consoleproxy.ConsoleProxyAjaxHandler.doHandle(ConsoleProxyAjaxHandler.java:90) at

Re: Using newer DIY SystemVMs

2013-03-12 Thread Marcus Sorensen
I'm testing the ones Rohit links to in this email thread, the ones Jenkins builds. On Tue, Mar 12, 2013 at 1:18 PM, Chip Childers chip.child...@sungard.com wrote: On Tue, Mar 12, 2013 at 01:15:45PM -0600, Marcus Sorensen wrote: Console doesn't seem to work. I'm seeing this in the console proxy

Re: Using newer DIY SystemVMs

2013-03-12 Thread Chip Childers
On Tue, Mar 12, 2013 at 01:19:24PM -0600, Marcus Sorensen wrote: I'm testing the ones Rohit links to in this email thread, the ones Jenkins builds. Ack - thanks.

Re: Using newer DIY SystemVMs

2013-03-11 Thread Rohit Yadav
Was AFK this weekend, thanks Chip for replying :) On Fri, Mar 8, 2013 at 10:50 PM, Chip Childers chip.child...@sungard.com wrote: On Thu, Mar 07, 2013 at 08:55:19PM -0700, Marcus Sorensen wrote: Just for confirmation, we are going to require a new system VM in 4.2 (or 5.0?), right? I believe

Re: Using newer DIY SystemVMs

2013-03-11 Thread Chiradeep Vittal
On 3/8/13 9:20 AM, Chip Childers chip.child...@sungard.com wrote: On Thu, Mar 07, 2013 at 08:55:19PM -0700, Marcus Sorensen wrote: Just for confirmation, we are going to require a new system VM in 4.2 (or 5.0?), right? I believe that's the best thing to do, yes. What about upgrading, is

Re: Using newer DIY SystemVMs

2013-03-11 Thread Chiradeep Vittal
This procedure already exists somewhere. System VM upgrades aren't new to CS. Let me see if I can dig it up. http://incubator.apache.org/cloudstack/docs/en-US/Apache_CloudStack/4.0.1-i ncubating/html/Release_Notes/upgrade-instructions.html

Re: Using newer DIY SystemVMs

2013-03-08 Thread Chip Childers
On Thu, Mar 07, 2013 at 08:55:19PM -0700, Marcus Sorensen wrote: Just for confirmation, we are going to require a new system VM in 4.2 (or 5.0?), right? I believe that's the best thing to do, yes. What about upgrading, is there a facility for updating the system VM template? I know there's

Re: Using newer DIY SystemVMs

2013-03-07 Thread Marcus Sorensen
Hmm. I think I was deceived by the /etc/init directory existing. I'm not sure why it's there, but I don't think the template is using upstart. I'm having a hard time reliably recreating the issue, but I think it's related to other reports where the default gateway is missing (I've seen this

Re: Using newer DIY SystemVMs

2013-03-07 Thread Marcus Sorensen
I see the qcow2 is now compressed, thanks. You can probably skip putting it in a bz2 now, it's about the same size. On Thu, Mar 7, 2013 at 10:58 AM, Marcus Sorensen shadow...@gmail.com wrote: Hmm. I think I was deceived by the /etc/init directory existing. I'm not sure why it's there, but I

Re: Using newer DIY SystemVMs

2013-03-07 Thread Rohit Yadav
On Fri, Mar 8, 2013 at 12:08 AM, Marcus Sorensen shadow...@gmail.com wrote: I see the qcow2 is now compressed, thanks. You can probably skip putting it in a bz2 now, it's about the same size. Had this thought but since we use the cloud-install-sys-tmplt script, it assumes a qcow2.bz2, see:

Re: Using newer DIY SystemVMs

2013-03-07 Thread Chip Childers
On Thu, Mar 07, 2013 at 01:07:26PM -0700, Marcus Sorensen wrote: Ok, didn't realize we were going to point people to this particular system vm for production installs, I thought this was just a proof-of-concept for building custom ones. The intent was to be able to actually reproduce our

Re: Using newer DIY SystemVMs

2013-03-06 Thread Rohit Yadav
Thanks a lot Marcus, your findings have been useful. I've applied the locale fix and a grub2 boot timeout fix (systemvms should boot 5 seconds faster now). Alright so far we're good, tested and systemvm seems to work on KVM (Marcus) and Xen, anyone to help us with VMWare? Marcus, about the

Re: Using newer DIY SystemVMs

2013-03-06 Thread Marcus Sorensen
There may be one other minor thing that needs to be addressed. In getting rid of the patchdisk, my networking on the router is a bit inconsistent. It looks like maybe networking is starting before cloud-early-config completes, as /etc/network/interfaces looks right, but I don't always get an ip on

Re: Using newer DIY SystemVMs

2013-03-06 Thread Marcus Sorensen
Just to be clear, that script may have no effect whatsoever, and I'm not sure how to verify other than rebooting a bunch of times. I don't have the time to do that at the moment. On Wed, Mar 6, 2013 at 2:48 PM, Marcus Sorensen shadow...@gmail.com wrote: There may be one other minor thing that

Re: Using newer DIY SystemVMs

2013-03-06 Thread Marcus Sorensen
After reading a little more about upstart, I don't think this script does anything. I'm not entirely sure at the moment however how best to ensure that networking starts after cloud-early-config, short of converting cloud-early-config to an upstart script. It looks like this debian build is using

Re: Using newer DIY SystemVMs

2013-03-05 Thread Chiradeep Vittal
OK, one more niggle about the previous system vm. We tried to enable aesni [1] to boost encryption performance (ipsec vpn, anything ssl), but the system vm would crash on Vmware if we did that (hence the module blacklisted). Could someone try the new systemvm on VMWare with aesni enabled? I

Re: Using newer DIY SystemVMs

2013-03-05 Thread Marcus Sorensen
Rohit, I think I tracked down why the router keeps rebooting. When it comes up, the first thing we do is run get_template_version.sh, which replies: /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) Cloudstack Release 4.2.0 Tue Mar 5 13:17:51 UTC

Re: Using newer DIY SystemVMs

2013-03-04 Thread Marcus Sorensen
Rohit, thanks for this. I'm going to play with your system vm template to see if we can support KVM virtio communication rather than ssh to KVM system vms. One thing I thought I'd mention was that it might be better to compress the qcow2 image natively (via qemu-img convert -c flag) rather than

Re: Using newer DIY SystemVMs

2013-03-04 Thread Rohit Yadav
Hi all, Thanks to Mate (blogs.citrix.com/2012/10/04/convert-a-raw-image-to-xenserver-vhd/) I'm able to ship appliances that work for Xen. Chiradeep, there is no need to use the powershell hack now, if people still want vhdx, they can use that hack. The current appliance for Xen (vbox-raw-vhd)

Re: Using newer DIY SystemVMs

2013-03-04 Thread Marcus Sorensen
I can run it through some basic VPC testing. On my system VM/console proxy, I don't seem to get a default route. I noticed this when trying to register a new template, then checked the console proxy VM as well. After running 'ip route add default via 192.168.100.1' I was able to register the

Re: Using newer DIY SystemVMs

2013-03-01 Thread Prasanna Santhanam
-- Prasanna., On 01-Mar-2013, at 17:33, Rohit Yadav bhais...@apache.org wrote: Hi all, Just want to share that the do-it-yourself systemvm appliance feature works for me, for Xen. There is one catch though, VirtualBox exports VHD appliance which is said to be compliant with HyperV. I

Re: Using newer DIY SystemVMs

2013-03-01 Thread Chiradeep Vittal
On 3/1/13 4:03 AM, Rohit Yadav bhais...@apache.org wrote: - Saw systemvms started from the template, saw patching happening, logged in with creds (root/password) to verify that it was indeed the new one (Linux 3.2 :) - The agents were running fine, there was a latency issue (agents were lagging

Re: Using newer DIY SystemVMs

2013-03-01 Thread Ahmad Emneina
wow, roll your own template sounds awesome. Rohit == awesomesauce On Fri, Mar 1, 2013 at 9:59 AM, Chiradeep Vittal chiradeep.vit...@citrix.com wrote: On 3/1/13 4:03 AM, Rohit Yadav bhais...@apache.org wrote: - Saw systemvms started from the template, saw patching happening, logged in

Re: Using newer DIY SystemVMs

2013-03-01 Thread Sheng Yang
Thank Rohit! I would try this template for ipv6 later... --Sheng On Fri, Mar 1, 2013 at 10:23 AM, Ahmad Emneina aemne...@gmail.com wrote: wow, roll your own template sounds awesome. Rohit == awesomesauce On Fri, Mar 1, 2013 at 9:59 AM, Chiradeep Vittal chiradeep.vit...@citrix.com wrote: