Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-10 Thread France
Thank you Rafael. Now we have an additional VHD image available. Because i'm already using Carloses solution which works nicely (even has cloud init scripts), i'm not going to test yours. I would suggest you gzip it before sharing next time. It will be much smaller. I'm also thinking about

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread France
Carlos, thank you for your efforts and prompt response. I'm about to try it out right now. Had other urgent work and a weeding over the weekend (not mine). I will let you know, how it goes. Regards, F. On 7/9/13 7:09 AM, Carlos Reategui wrote: Hi France, Ok I think I got the scripts up on

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread France
I created it directly on VirtulBox. I guess i understood wrongly. Doesn't matter, i'm going to use Carloses script now. On 7/9/13 4:09 AM, Kirk Kosinski wrote: Hi, try putting /boot on a separate ext3-formatted partition. Also, be careful what options you select when installing Ubuntu. I

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread France
I just found the first error: Script downloads ubuntu-12.04-server-cloudimg-amd64-root.tar.gz (actually ubuntu-12.04.3-server-cloudimg-amd64-root.tar.gz redirects to ubuntu-12.04-server-cloudimg-amd64-root.tar.gz), but then tries to uncompress ubuntu-12.04.3-server-cloudimg-amd64-root.tar.gz:

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread France
That fixed the first error, but there are two more: -- Saving to: `cloud-set-guest-password-ubuntu' 100%[] 4,153 --.-K/s in 0s 2013-09-09 08:59:45 (50.8 MB/s) -

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread France
As i have no NFS primary storage (all NFS servers are mounted as secondary storages in CS 4.1.1) i have to find another way of converting ubuntu-12.04-server-cloudimg-amd64.fs to .vhd. :-/ On 9/9/13 12:20 PM, France wrote: That fixed the first error, but there are two more: -- Saving to:

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread Dean Kamali
France Can you send me a step by step instructions on how to use this script, and I will create the vhd file and share it with you, I have a 100Mbps link, so downloading it should be quick :) On Mon, Sep 9, 2013 at 7:31 AM, France mailingli...@isg.si wrote: As i have no NFS primary storage

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread France
Well it's pretty easy. 1. Connect to Ubuntu (or CentOS). 2. Dl all from https://github.com/creategui/CloudStackImageScripts (make it executable using chmod a+x createUbuntuCSimageXen.sh) 3. Fix URL in createUbuntuCSimageXen.sh like this:

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread Carlos Reátegui
This is odd. It downloads it as .3 for me. Hmm. I'll change it so that one downloads the tar outside of the script and passes it in instead. On Sep 9, 2013, at 3:00 AM, France mailingli...@isg.si wrote: I just found the first error: Script downloads

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread Carlos Reátegui
Other PV 64 On Sep 9, 2013, at 2:14 AM, France mailingli...@isg.si wrote: Carlos, just one quick question. Which OS type should be used when registering this Ubuntu created VHD on CS 4.1.1 with XS 6.0.2? https://github.com/creategui/CloudStackImageScripts Tnx. F.

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread Carlos Reátegui
The script should be run from an Ubuntu 12.04 machine otherwise chroot will not work right. On Sep 9, 2013, at 3:20 AM, France mailingli...@isg.si wrote: That fixed the first error, but there are two more: -- Saving to: `cloud-set-guest-password-ubuntu'

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread Carlos Reátegui
I'll upload and image in a couple hours. On Sep 9, 2013, at 4:31 AM, France mailingli...@isg.si wrote: As i have no NFS primary storage (all NFS servers are mounted as secondary storages in CS 4.1.1) i have to find another way of converting ubuntu-12.04-server-cloudimg-amd64.fs to .vhd.

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread France
If you do and it works, i will be eternally grateful! :-) On 9/9/13 3:43 PM, Carlos Reátegui wrote: I'll upload and image in a couple hours. On Sep 9, 2013, at 4:31 AM, France mailingli...@isg.si wrote:

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread Travis Graham
If you change the LINK to http://cloud-images.ubuntu.com/releases/precise/release/ubuntu-12.04-server-cloudimg-amd64-root.tar.gz it wont redirect and things should stay current for newer point releases and you wont have to update the script when newer versions are cut. On Sep 9, 2013, at 9:43

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread Carlos Reategui
try this: http://reategui.com/CSImages/ubuntu-12.04.3-server-cloudimg-amd64.vhd.bz2 Just created this with the script and tested it on CS 4.1.1 + XS 6.0.2 (patched up to 22). ubuntu/passw0rd Register it as Other PV 64 bit You can check the Password Enabled flag and the password will be set by

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread Dean Kamali
if I set template to Ubuntu 12.4 it will boot with (no bootable devises found), and if I set template to other PV 64 bit, it won't boot, and it will keep on looping. what else can I try? On Mon, Sep 9, 2013 at 9:53 AM, Travis Graham tgra...@tgraham.us wrote: If you change the LINK to

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread France
Updating kernel from 52 to 53 worked too. :-) ubuntu@u1204test:~$ uname -a Linux u1204test 3.2.0-53-virtual #81-Ubuntu SMP Thu Aug 22 21:21:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux Personally I'm missing partition layout, but at least now i have a Ubuntu 12.04 install and a script which i

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread Carlos Reátegui
Hmm. Don't know. I don't have partitions on it. What os is your management server? I am wondering if there is a difference in the way the template is getting registered. On Sep 9, 2013, at 12:33 PM, Dean Kamali dean.kam...@gmail.com wrote: Thanks Carlos I have setup it as Other PV 64

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread Carlos Reátegui
Any reason for needing partitions? Previously is was creating them but found them to be more of a pain. On Sep 9, 2013, at 1:16 PM, France mailingli...@isg.si wrote: Updating kernel from 52 to 53 worked too. :-) ubuntu@u1204test:~$ uname -a Linux u1204test 3.2.0-53-virtual #81-Ubuntu SMP

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread Dean Kamali
Thanks Carlos I have setup it as Other PV 64 bit (Xenserver 6.0.2 and CS 4.1.1 ) however I'm getting an exception RuntimeError: Unable to find partition containing kernel http://pastebin.com/raw.php?i=FiNbxBHn So far, this template is broken :( Dean On Mon, Sep 9, 2013 at 1:42 PM, Carlos

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread France
I've registered it another time, but using your URL directly, so it was bziped. It _worked_ again and i'm about to deploy another test instance from it. The problem must not be in the template. On 9/9/13 10:44 PM, Carlos Reategui wrote: Just in case: $ md5sum

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread Carlos Reategui
It's possible because he ran the script from CentOS instead of ubuntu. I will be uploading a working template shortly. On Mon, Sep 9, 2013 at 9:32 AM, Dean Kamali dean.kam...@gmail.com wrote: if I set template to Ubuntu 12.4 it will boot with (no bootable devises found), and if I set

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread Carlos Reategui
Just in case: $ md5sum ubuntu-12.04.3-server-cloudimg-amd64.vhd.bz2 1043fff5c04978a6088e40fa341c36fa ubuntu-12.04.3-server-cloudimg-amd64.vhd.bz2 That is very odd that you are not able to register it without bunziping it. here is the md5 of the uncompressed vhd: $ md5sum

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread France
Tested and retested, still everything works. Cloudinit is nice addition too. Resized root for me. ;-) I have no need for ac2 user, so it was removed from template creation. Time to call it a night. F.

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread France
Regarding createVHD.sh, which requires XenServer with NFS SR. Doesn't createUbuntuCSimageXen.sh basically create a RAW image? If so, it could be converted to VHD using vhd-util: http://blogs.citrix.com/2012/10/04/convert-a-raw-image-to-xenserver-vhd/ What do you think? Regards, F. On 7/9/13

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-09 Thread Rafael Weingartner
Guys, I am following this discussion for a while. And googling about the idea of converting a HVM template to PV, I found out that it is an error prone task and the best thing to do is to create a PV VM and then a template that is based on a PV image. So, I did it, I do not actually know if I

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-06 Thread France
Have you managed to publish it? If so, please provide URL to it, if not, please send it to my email address. Tnx. F. On 5/9/13 7:42 PM, Carlos Reategui wrote: As others have mentioned you will need to select one of the Other options if you want to run 12.04. I have not tried to boot from iso

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-06 Thread France
Tnx for suggestion/answer Kirk. I'll go and create Ubuntu 12.04 LTS PV VHD using VirtualBox on my desktop machine. So when i have a working Ubuntu 12.04 LTS PV image/VHD for XS 6.0.2 i have to import it into CS 4.1.1 with XS 6.0.2. Which option should i select then for OS Type when

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-06 Thread Kirk Kosinski
Hi, try putting /boot on a separate ext3-formatted partition. Also, be careful what options you select when installing Ubuntu. I recall that the Ubuntu Cloud Image option in some Ubuntu versions breaks compatibility with XenServer. Lastly, it's not clear from your email how you created the

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-06 Thread Carlos Reategui
Hi France I made some last minute adjustments so the script may have some issues but hopefully should be straight forward enough. If not let me know. You will need to include the xe-guest-utilities_6.0.2-766_amd64.deb in the directory from the XenServer tools install iso. I could not find a

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-06 Thread Carlos Reategui
Hi France, Ok I think I got the scripts up on github now. Let me know if they work for you. On Fri, Sep 6, 2013 at 7:17 PM, Carlos Reategui car...@reategui.com wrote: Hi France I made some last minute adjustments so the script may have some issues but hopefully should be straight forward

Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-05 Thread France
Hi all. has anyone successfully installed Ubuntu 12.04 LTS or 14.04 LTS on XenServer 6.0.2 with CS 4.1.1? If so, how was it done? Maybe you shoud share the template with us? :-) Officially only 10.* is supported:

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-05 Thread Rafael Weingartner
I am trying to create a VM from ISO, I am using the Ubuntu 12.04 LTS, but, the error that I am getting is different. I am using xen 4.1 over Ubuntu server 12.10 and XCP 2013/9/5 Shanker Balan shanker.ba...@shapeblue.com On 05-Sep-2013, at 3:43 PM, France mailingli...@isg.si wrote: Hi all.

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-05 Thread Travis Graham
We ran into that issue as well. Had to select Other 64 bit to make things work. I want to say there was one other gotcha. But I'm not at my laptop and can't remember. We did get a 12.04.3 instance up and created a template to use for spinning up other instances. Travis On Thursday, September 5,

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-05 Thread Carlos Reategui
As others have mentioned you will need to select one of the Other options if you want to run 12.04. I have not tried to boot from iso and seem to remember someone saying it will not work in PV mode so you will probably need to try with Other (64 bit) or Other Linux (64 bit). Once you have it up

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-05 Thread Kirk Kosinski
The problem is that installing Ubuntu (any version) from ISO is not supported by XenServer. Using the Other (not Other PV) OS Type will allow it, but the result is an HVM mode VM which has disadvantages (poor performance, no XS Tools, no live migration). The supported way to install Ubuntu on