Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8285EC8E0 for ; Mon, 9 Sep 2013 10:21:05 +0000 (UTC) Received: (qmail 59733 invoked by uid 500); 9 Sep 2013 10:21:04 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 59701 invoked by uid 500); 9 Sep 2013 10:21:02 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 59260 invoked by uid 99); 9 Sep 2013 10:21:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Sep 2013 10:21:00 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.9.21.22] (HELO mail.hosting.isg.si) (193.9.21.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Sep 2013 10:20:56 +0000 Received: from mail.hosting.isg.si (localhost.localdomain [127.0.0.1]) by mail.hosting.isg.si (Postfix) with ESMTP id C459D266C005; Mon, 9 Sep 2013 12:20:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=isg.si; h=message-id:date :from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=postfix; bh=jlPY2xviK RAoC2ZSQWFzvGTRjbA=; b=NAz13cJhVLJTn2BcvSTPon2kpQppRcyvb4d6Xjrul afZGmtOXve7Qb9h0ldbSVIr8IDIhyOkJZM8gS+6r/TtxacKPyn9SOByKu1HoDyJr MLYfOQoTHPgLgQKwTxBXpLmcQDJOlh9orB6khAiiEVEeK9msnctsspvD8rGQ5emv T0= DomainKey-Signature: a=rsa-sha1; c=simple; d=isg.si; h=message-id:date :from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=postfix; b=QVG n6BZM7Xzp+Z49LTLSMiwPcP9EGuHnBmLlaSarBJjG/Qd6TXGYdSuP9pOaJR8vbUJ qN/8p5qqzbRtWs3SwO+a98W93Ytd3siJN0Npvtrd5L01fHZqQx45nlSBndD2S+i0 WWhSVqivwLUT7KJpXd6Xc2eS2cthNR8lFZc0+bkY= Received: from [10.31.0.254] (cns.isg.si [91.223.182.11]) by mail.hosting.isg.si (Postfix) with ESMTPSA id B4421266C003; Mon, 9 Sep 2013 12:20:34 +0200 (CEST) Message-ID: <522DA0F2.8060204@isg.si> Date: Mon, 09 Sep 2013 12:20:34 +0200 From: France User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: users@cloudstack.apache.org CC: Carlos Reategui Subject: Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general? References: <52285942.3090601@isg.si> <52285F81.60901@isg.si> <5229B5B4.5000801@isg.si> <522D8FC4.8040107@isg.si> <522D916B.4030201@isg.si> <522D9C33.3070906@isg.si> In-Reply-To: <522D9C33.3070906@isg.si> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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) - `cloud-set-guest-password-ubuntu' saved [4153/4153] cp: cannot stat `/run/resolvconf/resolv.conf': No such file or directory FATAL: kernel too old rm: cannot remove `ubuntu-12.04-server-cloudimg-amd64/run/resolvconf/resolv.conf': No such file or directory Done creating image. You can mount it to check it out using: mount -o loop ubuntu-12.04-server-cloudimg-amd64.fs ubuntu-12.04-server-cloudimg-amd64 If you are happy with it, copy ubuntu-12.04-server-cloudimg-amd64.fs to one of your XenServer hosts and create the vhd file using createVHD.sh -- First is about resolv.conf which is at /etc/resolv.conf in my CentOS install. I can work around that by creating softlink, even thou resolv.conf is normally populated using DHCP client. The other "FATAL: kernel too old" might be in relation to CentOS kernel, once script chroots into Ubuntu install. I'm just going to leave this for now and install xen tools or guest utilities once i have the first Ubuntu VM running in case if they weren't already. Now it's time to test .vhd creation. Regards, F. On 9/9/13 12:00 PM, France wrote: > 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: > > --- > This filesystem will be automatically checked every 34 mounts or > 180 days, whichever comes first. Use tune2fs -c or -i to override. > Untar file system > tar: ubuntu-12.04.3-server-cloudimg-amd64-root.tar.gz: Cannot open: No > such file or directory > tar: Error is not recoverable: exiting now > tar: Child returned status 2 > tar: Error exit delayed from previous errors > Extract done > Begin customizing image > ./createUbuntuCSimageXen.sh: line 66: etc/init/hvc0.conf: No such file > or directory > sed: can't read boot/grub/menu.lst: No such file or directory > sed: can't read etc/fstab: No such file or directory > sed: can't read boot/grub/grub.cfg: No such file or directory > sed: can't read etc/fstab: No such file or directory > sed: can't read etc/fstab: No such file or directory > sed: can't read etc/cloud/cloud.cfg: No such file or directory > ./createUbuntuCSimageXen.sh: line 80: > etc/cloud/cloud.cfg.d/90_dpkg.cfg: No such file or directory > can't find file to patch at input line 3 > Perhaps you used the wrong -p or --strip option? > The text leading up to this was: > -------------------------- > |--- > /usr/lib/python2.7/dist-packages/cloudinit/DataSourceCloudStack.py.old > 2012-04-11 03:54:56.000000000 +0000 > |+++ > /usr/lib/python2.7/dist-packages/cloudinit/DataSourceCloudStack.py > 2013-09-07 01:01:02.482498743 +0000 > -------------------------- > File to patch: > --- > > I'll just change that LINK variable to: > http://cloud-images.ubuntu.com/releases/precise/release/ubuntu-12.04-server-cloudimg-amd64-root.tar.gz > > On 9/9/13 11:14 AM, France 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. >