Category Archives: Cloud

Change Ubuntu Cloud Image Size

Ubuntu Cloud Image Size 似乎各個版本的特性不太一樣, 而且似乎也要用不同的方式修改 Image size

Read more »

unsupported configuration: CPU mode ‘host-model’ for aarch64 kvm domain on aarch64 host is not supported by hypervisor

應該改 nova.conf
將 [libvirt] 內的
cpu_mode 改成 host-passthrough

應該只有影響 ocata

Ref.
OpenStack KVM

[ocata] unsupported configuration: CPU mode ‘host-model’ for aarch64 kvm domain on aarch64 host is not supported by hypervisor

程式解法
aarch64: set default cpu_mode to host-passthrough

Ubuntu Cloud Image Taiwan Mirror Site

每次都找不到, 備份一下

http://ftp.yzu.edu.tw/Linux/ubuntu-cloud-images/

ARM64 Hugepage(HugeTLB) Size

ARM64 and x86 hugepage size are different.

Debian/Ubuntu ARM64 kernel (4KB Pagesize)
Hugepage size is 2MB/1GB

64KB Pagesize, hugepage is 512MB.

x86_64
2MB : (has PSE cpuinfo flag)
1GB : (has PDPE1GB cpuinfo flag)

different configuration has different setting

ref.
Hugepages

QEMU Share Directory with Host Without Networking

If Guest Support 9P and virtio.

Add this line to QEMU command

-virtfs local,path=/path/to/share,mount_tag=host0,security_model=passthrough,id=host0

and in guest os, edit /etc/fstab and add

host0   /wherever    9p      trans=virtio,version=9p2000.L   0 0

ref.
https://superuser.com/questions/628169/how-to-share-a-directory-with-the-host-without-networking-in-qemu

Change Ubuntu Cloud Image Password

Ubuntu cloud image is very good for deploy a simple qemu image system.
But the image has it owns password and initial script.
Read more »

No valid host was found. There are not enough hosts available

OpenStack Horization error message
Read more »