[Openstack] Adding Ubuntu Images to Xenserver Powered Devstack
bob.ball at citrix.com
Tue Aug 6 16:40:57 UTC 2013
(Moved openstack at lists.openstack.org<mailto:openstack at lists.openstack.org> to BCC while we track down the problem - I hope to post the resolution when it is identified)
I see - it shouldn't get shut off, that's strange - sorry for not spotting that in your original email.
If you could upload the nova log file for the VM booting, and possibly a bugtool from the XenServer host (generated using xen-bugtool -y) somewhere so we can have a look at what happened?
Specifically we're interested in whether there were any errors reported in the nova process (n-cpu if you're using devstack) and what was reported from the xensource.log files at the time this occurred.
From: Qin Jia [mailto:jiaqin1017 at gmail.com]
Sent: 06 August 2013 15:28
To: Bob Ball
Cc: openstack at lists.openstack.org
Subject: Re: [Openstack] Adding Ubuntu Images to Xenserver Powered Devstack
Thank you Bob!
However, it doesn't help to wait for 5 minutes or inject credentials to the instance. It still got automatically shut-off at first, and then after I restarted it at the xenserver command or xencenter, it got stuck at that that message and never changed states for hours.
Do you mean the three-image the machine image/kernel/initrd? I also downloaded the machine image and kernel in http://cloud-images.ubuntu.com/precise/current/. There is no initrd image in precise. I added the ami image with the kernel and without aki image. But I encountered the same problem as I described before.
Thanks again for your prompt response!
On Tue, Aug 6, 2013 at 4:32 AM, Bob Ball <bob.ball at citrix.com<mailto:bob.ball at citrix.com>> wrote:
The qcow2 images provided by Ubuntu aren't set up correctly for the Xen console - this means that the output during the boot process doesn't go to the screen.
If you leave the image it should eventually (after perhaps 5 minutes on first boot) reach the login prompt.
If you have injected credentials then you should be able to login using them, however I believe that if you have left it to Ubuntu to generate a random password this is displayed on the screen at a point which is not visible through the VNC console.
The three-part images do not suffer from this, and are set up correctly for the Xen console.
From: Qin Jia [mailto:jiaqin1017 at gmail.com<mailto:jiaqin1017 at gmail.com>]
Sent: 06 August 2013 04:24
To: openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Subject: [Openstack] Adding Ubuntu Images to Xenserver Powered Devstack
I installed devstack on top of xenserver. Now I want to add a ubuntu image to it. I downloaded qcow2 image from here ( http://cloud-images.ubuntu.com/precise/current/) and used the guideline here (http://blogs.citrix.com/2012/10/17/upload-custom-images-to-a-xenserver-powered-openstack-cloud/) to convert the image to vhd format and add to openstack using glance.
But when I start the instance, it got shut-off automatically. When I try to restart the instance in Xensenver, it got stuck at the messages:
[ 1.612617] EXT4-fs (xvda1): mounted filesystem with ordered data mode. Opts: (null)
[ 2.245259] EXT4-fs (xvda1): re-mounted. Opts: (null)
One thing to mention is that I successfully added a cirros image to xenserver using the steps above.
So what's the problem here? Could any one give any suggestions?
Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openstack