Ask Your Question
0

tripleO `instack-virt-setup` end up with libvirtError: invalid argument: could not find capabilities for arch=x86_64 domaintype=kvm

asked 2017-02-27 02:20:55 -0500

kermit gravatar image

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
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-03-13 08:49:49 -0500

nuriel77 gravatar image

Hi,

Did you check if virtualization is enabled in BIOS?

Try running:

egrep '(vmx|svm)' /proc/cpuinfo

If virtualization is enabled you should get some output.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-02-27 02:19:00 -0500

Seen: 737 times

Last updated: Mar 13 '17