tripleO `instack-virt-setup` end up with libvirtError: invalid argument: could not find capabilities for arch=x86_64 domaintype=kvm
I'm following the document (https://docs.openstack.org/developer/tripleo-docs/environments/virtual.html (https://docs.openstack.org/developer/...)) to deploy openstack on virtual machine. when execute instack-virt-setup
, it turn out to be error
Here is the log:
....
+ virsh net-define /dev/fd/63
++ sed -e s/%NETWORK_NAME%/brbm/ /usr/share/tripleo/templates/net.xml
Network brbm defined from /dev/fd/63
+ virsh net-autostart brbm
Network brbm marked as autostarted
+ virsh net-start brbm
Network brbm started
++ grep default
++ awk 'BEGIN{OFS=":";} {print $2,$3}'
++ sudo virsh net-list --all --persistent
+ default_net=active:yes
+ state=active
+ autostart=yes
+ '[' active '!=' active ']'
+ '[' yes '!=' yes ']'
Domain seed has been undefined
Vol baremetalbrbm_0.qcow2 deleted
Vol seed.qcow2 deleted
Using qemu as virtualization engine. Warning!: things will be extremely slow.
seed VM not running
seed VM not defined
Created machine seed with UUID 68c1db82-f46c-4683-bcac-5850945904a5
Seed VM created with MAC 52:54:00:b5:bc:d7
Vol baremetalbrbm_0.qcow2 created
chattr: Operation not supported while setting flags on /var/lib/libvirt/images/baremetalbrbm_0.qcow2
libvirt: Capabilities Utils error : invalid argument: could not find capabilities for arch=x86_64 domaintype=kvm
Traceback (most recent call last):
File "/usr/libexec/openstack-tripleo/configure-vm", line 156, in <module>
main()
File "/usr/libexec/openstack-tripleo/configure-vm", line 152, in main
a = conn.defineXML(libvirt_template)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3800, in defineXML
if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)
libvirt.libvirtError: invalid argument: could not find capabilities for arch=x86_64 domaintype=kvm