i have a two node OpenStack Diablo Cluster up and running. I tried to get the small tty-Linux Image running and it worked without problems.
我有一个双节点OpenStack暗黑破坏神群集启动并运行。我试图让小的tty-Linux Image运行,它没有问题。
In my naivity i now tried to get my own OpenSuse images working wich i created with OpenSuse Studio. I have tried .vmdk and .raw running with:
在我的天真中,我现在尝试使用OpenSuse Studio创建自己的OpenSuse图像。我试过.vmdk和.raw运行:
glance add name="My-raw" is_public=true container_format=bare disk_format=raw < /cloud/images/My_Appliance.raw
glance add name =“My-raw”is_public = true container_format = bare disk_format = raw
launch per dashboard or euca-run-instances ...
按仪表板或euca-run-instances启动......
I use qemu as libvirt_type. The instances will be shown as running but i cannot ping them nor is there a console output, so guess they are not started correctly. /var/log/nova/nova-compute.log and /var/log/libvirt/qemu/instance-xx.log show no errors.
我使用qemu作为libvirt_type。实例将显示为正在运行,但我无法ping它们,也没有控制台输出,所以猜测它们没有正确启动。 /var/log/nova/nova-compute.log和/var/log/libvirt/qemu/instance-xx.log显示没有错误。
Is it even possible to run those images without kernel and ramdisk? If not, how do i get/generate these?
甚至可以在没有内核和ramdisk的情况下运行这些映像吗?如果没有,我如何获得/生成这些?
1 个解决方案
#1
0
With libvirt, you should be able to run raw or qcow2 images, you don't need a kernel or ramdisk. Try testing with one of the QCOW2 Ubuntu cloud images (e.g., oneiric-server-cloudimg-amd64-disk1.img)
使用libvirt,您应该能够运行raw或qcow2映像,不需要内核或ramdisk。尝试使用其中一个QCOW2 Ubuntu云映像进行测试(例如,oneiric-server-cloudimg-amd64-disk1.img)
See also the Image Management chapter in the OpenStack Compute admin guide. This chapter has information on where to get images, as well as how to create them.
另请参阅OpenStack Compute管理指南中的“映像管理”一章。本章提供了有关获取图像的位置以及如何创建图像的信息。
#1
0
With libvirt, you should be able to run raw or qcow2 images, you don't need a kernel or ramdisk. Try testing with one of the QCOW2 Ubuntu cloud images (e.g., oneiric-server-cloudimg-amd64-disk1.img)
使用libvirt,您应该能够运行raw或qcow2映像,不需要内核或ramdisk。尝试使用其中一个QCOW2 Ubuntu云映像进行测试(例如,oneiric-server-cloudimg-amd64-disk1.img)
See also the Image Management chapter in the OpenStack Compute admin guide. This chapter has information on where to get images, as well as how to create them.
另请参阅OpenStack Compute管理指南中的“映像管理”一章。本章提供了有关获取图像的位置以及如何创建图像的信息。