Comment 0 for bug 1921658

Revision history for this message
Seyeong Kim (seyeongkim) wrote :

I can't compose kvm host on maas 2.8.4 ( bionic)

I upgraded twisted and related component with pip but the symptom is the same.

MaaS 2.9.x in Focal works fine.

Any advice for this issue?

Thanks.

Reproducer is below.[1]

[1]

1) Create file to be used as loopback device

sudo dd if=/dev/zero of=lvm bs=16000 count=1M

2) sudo losetup /dev/loop39 lvm

3) sudo pvcreate /dev/loop39

4) sudo vgcreate maas_data_vg /dev/loop39

5) Save below xml:
<pool type='logical'>
<name>maas_guest_lvm_vg</name>
<source>
<name>maas_data_vg</name>
<format type='lvm2'/>
</source>
<target>
<path>/dev/maas_data_vg</path>
</target>
</pool>

6) virsh pool-create maas_guest_lvm_vg.xml

7) Add KVM host in MaaS

8) Attempt to compose a POD using storage pool maas_guest_lvm_vg

9) GUI will fail with:

Pod unable to compose machine: Unable to compose machine because: Failed talking to pod: Start tag expected, '<' not found, line 1, column 1 (<string>, line 1)