using swift to store image,but kernel size is null

asked 2011-11-25 01:42:18 -0500

uec-publish-tarball ttylinux-uec-amd64-12.1_2.6.35-22_1.tar.gz glancetest

swift -A https://192.168.122.79:8080/auth/v1.0 -U system:root -K testpass list glance 4 5 6

euca-describe-images IMAGE ami-00000006 glancetest/ttylinux-uec-amd64-12.1_2.6.35-22_1.img.manifest.xml available private x86_64 machine aki-00000004 ari-00000005 IMAGE ari-00000005 glancetest/ttylinux-uec-amd64-12.1_2.6.35-22_1-initrd.manifest.xml available private x86_64 ramdisk IMAGE aki-00000004 glancetest/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml available private x86_64 kernel

euca-run-instance ami-00000006 -k test -t m1.tiny RESERVATION r-0k6jvmhn admin default INSTANCE i-00000002 ami-00000006 10.0.0.2 10.0.0.2 shutdown abc (admin, noc) 0 m1.tiny 2011-11-22T05:56:14Z nova aki-00000004 ari-00000005

Error Command: sudo tune2fs -c 0 -i 0 /dev/nbd15 Exit code: 1 Stdout: 'tune2fs 1.41.11 (14-Mar-2010)\n' Stderr: "tune2fs: Invalid argument while trying to open /dev/nbd15\r\nCouldn't find valid filesystem superblock.\n") 2011-11-22 12:45:17,213 ERROR nova.exception [-] Uncaught exception (nova.exception): TRACE: Traceback (most recent call last): (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/exception.py", line 87, in wrapped (nova.exception): TRACE: return f(args, *kw) (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt/connection.py", line 582, in spawn (nova.exception): TRACE: domain = self._create_new_domain(xml) (nova.exception): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/libvirt/connection.py", line 1168, in _create_new_domain (nova.exception): TRACE: domain.createWithFlags(launch_flags) (nova.exception): TRACE: File "/usr/lib/python2.6/dist-packages/libvirt.py", line 337, in createWithFlags (nova.exception): TRACE: if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self) (nova.exception): TRACE: libvirtError: internal error process exited while connecting to monitor: char device redirected to /dev/pts/1 (nova.exception): TRACE: qemu: could not load kernel '/var/lib/nova/instances/instance-0000000c/kernel': Inappropriate ioctl for device

/var/lib/nova/instances/instance-0000000c$ ll -rw-r--r-- 1 root root 0 2011-11-22 12:44 kernel

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2011-12-05 01:53:42 -0500

I solved it at last

edit flag offensive delete link more
0

answered 2012-03-19 10:46:57 -0500

kj-tanaka gravatar image

I'm facing the same issue now... How did you solve this?

edit flag offensive delete link more
0

answered 2012-03-19 17:29:36 -0500

kj-tanaka gravatar image

I found the link, and fixed. Thanks. https://github.com/openstack/glance/commit/1f28b6ca7efb9bed12052c10af71e57773693970 (https://github.com/openstack/glance/c...)

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-11-25 01:42:18 -0500

Seen: 51 times

Last updated: Mar 19 '12