-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 27/07/16 15:01, Rick Wagner wrote: > Hello DevTools SMEs, > > We have a customer with a failing CDK installation. They appear > (we are asking for validation) to be running RHEL 7.2 under QEMU. > > When they try 'vagrant up', they get the following: "Error while > creating domain: Error saving the server: Call to > virDomainDefineXML failed: invalid argument: could not find > capabilities for domaintype=kvm" > > Google suggests this error is telling us kvm isn't recognized as a > supported feature of the guest o/s. (There are a couple of > suggested workarounds, with mixed results.) > > Before we start poking at it in the customer's environment, we'd > like to ask if we have encountered this before ourselves (and if we > have a known good remedy). > > Any hard-won experiences to share?
Vagrant when using the libvirt backend will default to using kvm, if the user does not have perms ( eg. the virsh create command will ask for the root passwd ), or have the kvm perms relaxed so the user can create the domain - this is going to fail. Essentially, the virt stack is offloaded to libvirt ( with assumptions ) - and changes in there will need to be validated by the user themselves. if the user is trying to use emulated qemu setup ( ie, just qemu and not qemu-kvm ) vagrant will fail as well. We've had a few people come around asking about this on the centos channels recently, including trying to run vagrant with xen backends, which are not supported by vagrant itself. regards - -- Karanbir Singh, Project Lead, The CentOS Project, London, UK Red Hat Ext. 8274455 | DID: 0044 207 009 4455 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBAgAGBQJXmOoLAAoJEI3Oi2Mx7xbt4FsH/3ABBZPybQ5spZJNTAmzdozD YOBCbJYYJaUaR5gR5I90eyhyu+2JzZpYfteb2ZZ25aeGgiDYv2NLicGCdoOrMum3 eoAFZq3/3I2YOdAN7B71fiV6PPSCdSFy14AfwDgSI330eBDnm7j0rgHUcQvCW9Fc PPEVcZigVqWdIrugKABuW7/DgKOPWLmXCvcXWxTy3erhBg0u7I/sf3w4CQgRzEhe 1Hp+l1LotOwdlifDwsl6FvJFvA+gEq/laF2i+fy6dB9EQmkWM+IBt6efDIya9Fo4 LB9DOudUIGlGNuJIBy8JfXnme7ivHww5Hw/FyvUmJLp3I+axeRSYEj2n2FXVZZA= =k5V4 -----END PGP SIGNATURE----- _______________________________________________ Devtools mailing list [email protected] https://www.redhat.com/mailman/listinfo/devtools
