Re: [Openstack] Xen image starts Kernel Panic in Diablo

2011-10-10 Thread Vishvananda Ishaya
The injection only works with ubuntu images, so ttylinux is out. I'm not sure why it wasn't working for you. Metadata will not work in flat mode unless you specifically create forwarding rules, so using ubuntu cloud images you might have to wait for the request to time out. Not sure why it wo

Re: [Openstack] Xen image starts Kernel Panic in Diablo

2011-10-06 Thread Rogério Vinhal Nunes
I've got it working right now using FlatDHCPManager. :) The problem with the tty's is that there's no tty configured to the instance image, but I can access it quite fine with ssh, both the ttylinux and the Ubuntu image. I may open a bug later to documentate the change I had to do with libvirt.xml.

Re: [Openstack] Xen image starts Kernel Panic in Diablo

2011-10-05 Thread Rogério Vinhal Nunes
It's not clear to me why should I be using DHCP. I've configured the system to use the simple FlatManager, shouldn't it inject the desired IP in the image when the instance spawns? Is there a DHCP running even if I don't use Vlan or FlatDHCP? I've actually used tcpdump to look for DHCP packages an

Re: [Openstack] Xen image starts Kernel Panic in Diablo

2011-10-04 Thread Vishvananda Ishaya
Yes that is the rule. But that rule is not going to work if you don't receive an ip address via dhcp. So you need to make sure the dhcp piece is working. My guess is that once you get dhcp working, the metadata rule will work since it looks like it is being created correctly. Vish On Oct 4,

Re: [Openstack] Xen image starts Kernel Panic in Diablo

2011-10-04 Thread Rogério Vinhal Nunes
I don't think the ubuntu image is expecting xvda anywhere. The disk is sda and after I've changed the libvirt.xml.template, so is "root=" option. The image is the ubuntu localimage mentioned in the documentation. I've tried to "telnet 169.254.169.254 32" in the compute node and it didn't find anyt

Re: [Openstack] Xen image starts Kernel Panic in Diablo

2011-10-04 Thread Vishvananda Ishaya
It looks like your dhcp is failing for some reason. There are a number of things that could theoretically cause this. You might start using tcpdump to find out if the dhcp request packet is coming out of the vm and if it is being responded to by dnsmasq on the nova-network host. I'm not sure

Re: [Openstack] Xen image starts Kernel Panic in Diablo

2011-10-04 Thread Rogério Vinhal Nunes
That pretty much solved the disk image problem, thanks. You really should put that in the official documentation, that is no trace of that option in it. But it's still not working. After that I had to change the libvirt.xml.template to use sda instead of xvda in the root option. There should be sd

Re: [Openstack] Xen image starts Kernel Panic in Diablo

2011-10-03 Thread Rogério Vinhal Nunes
Hey guys, I'm still trying to get this working, but I still don't understand what's happening. In the ttylinux busybox I do a fdisk -l and it says the disk is only 18 MB large and doesn't have a valid partition table: / # fdisk -l Disk /dev/sda: 18 MB, 18874368 bytes 255 heads, 63 s

Re: [Openstack] Xen image starts Kernel Panic in Diablo

2011-09-28 Thread Rogério Vinhal Nunes
Yes, I've tried the ttylinux right now, it starts the instance, but it booted up a busybox, probably a recover from initrd (see output in the end of this e-maill). I can access the instance by doing a xl console in the host, describe-instances shows the status "running test". I've successfully boo

Re: [Openstack] Xen image starts Kernel Panic in Diablo

2011-09-28 Thread Joshua Harlow
Can u try with the ttylinux images and see if those work for you? I know when I tried it I had to adjust the libvirt xml was creating (which may have not been the right solution) to get those to work. I think the ttylinux ones might work better (from the last time I tried). On 9/27/11 7:11 PM,

Re: [Openstack] Xen image starts Kernel Panic in Diablo

2011-09-27 Thread Rogério Vinhal Nunes
Yes, I am able to start a vm with libvirt and Xen, but I've not tried a xml based on the one openstack generates. I will see if I can try tomorrow to run a separate VM modifying OS's libvirt xml. I really need to use libvirt due to the live migration support, thus XCP or XenServer + xenapi would n

Re: [Openstack] Xen image starts Kernel Panic in Diablo

2011-09-27 Thread Todd Deshane
2011/9/27 Rogério Vinhal Nunes : > Hello, I've upgraded to Diablo to see if this issue was resolved, but > apparently it isn't. > > There is already a thread talking about it, but it didn't come to a solution > that I could use. After having Openstack configured with Xen and libvirt in > Ubuntu 10.