Difference between revisions of "Vagrant up --provider=libvirt"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 2: | Line 2: | ||
*<code>[[vagrant init fedora/32-cloud-base]]</code> | *<code>[[vagrant init fedora/32-cloud-base]]</code> | ||
− | vagrant up --provider=libvirt | + | [[vagrant]] up --provider=libvirt |
Revision as of 08:24, 11 April 2021
vagrant up --provider=libvirt
With errors
vagrant up --provider=libvirt Bringing machine 'default' up with 'libvirt' provider... ==> default: Box 'fedora/32-cloud-base' could not be found. Attempting to find and install... default: Box Provider: libvirt default: Box Version: >= 0 ==> default: Loading metadata for box 'fedora/32-cloud-base' default: URL: https://vagrantcloud.com/fedora/32-cloud-base ==> default: Adding box 'fedora/32-cloud-base' (v32.20200422.0) for provider: libvirt default: Downloading: https://vagrantcloud.com/fedora/boxes/32-cloud-base/versions/32.20200422.0/providers/libvirt.box default: Download redirected to host: download.fedoraproject.org default: Calculating and comparing box checksum... The box failed to unpackage properly. Please verify that the box file you're trying to add is not corrupted and that enough disk space is available and then try again. The output from attempting to unpackage (if any): x box.img: Write failed x metadata.json: Write failed x Vagrantfile: Write failed bsdtar: Error exit delayed from previous errors.
vagrant up --provider=libvirt Bringing machine 'default' up with 'libvirt' provider... There was error while creating libvirt storage pool: Call to virStoragePoolDefineXML failed: operation failed: Storage source conflict with pool: 'images'
vagrant up --provider=libvirt Bringing machine 'default' up with 'libvirt' provider... ==> default: Box 'fedora/32-cloud-base' could not be found. Attempting to find and install... default: Box Provider: libvirt default: Box Version: >= 0 ==> default: Loading metadata for box 'fedora/32-cloud-base' default: URL: https://vagrantcloud.com/fedora/32-cloud-base ==> default: Adding box 'fedora/32-cloud-base' (v32.20200422.0) for provider: libvirt default: Downloading: https://vagrantcloud.com/fedora/boxes/32-cloud-base/versions/32.20200422.0/providers/libvirt.box Download redirected to host: download.fedoraproject.org default: Calculating and comparing box checksum... ==> default: Successfully added box 'fedora/32-cloud-base' (v32.20200422.0) for 'libvirt'! ==> default: Uploading base box image as volume into Libvirt storage... ==> default: Creating image (snapshot of base box volume). ==> default: Creating domain with the following settings... ==> default: -- Name: root_default ==> default: -- Domain type: kvm ==> default: -- Cpus: 1 ==> default: -- Feature: acpi ==> default: -- Feature: apic ==> default: -- Feature: pae ==> default: -- Memory: 512M ==> default: -- Management MAC: ==> default: -- Loader: ==> default: -- Nvram: ==> default: -- Base box: fedora/32-cloud-base ==> default: -- Storage pool: default ==> default: -- Image: /var/lib/libvirt/images/root_default.img (41G) ==> default: -- Volume Cache: default ==> default: -- Kernel: ==> default: -- Initrd: ==> default: -- Graphics Type: vnc ==> default: -- Graphics Port: -1 ==> default: -- Graphics IP: 127.0.0.1 ==> default: -- Graphics Password: Not defined ==> default: -- Video Type: cirrus ==> default: -- Video VRAM: 9216 ==> default: -- Sound Type: ==> default: -- Keymap: en-us ==> default: -- TPM Path: ==> default: -- INPUT: type=mouse, bus=ps2 Error while creating domain: Error saving the server: Call to virDomainDefineXML failed: invalid argument: could not get preferred machine for /usr/bin/qemu-system-x86_64 type=kvm
vagrant up --provider=libvirt Bringing machine 'default' up with 'libvirt' provider... ==> default: Box 'bento/fedora-32' could not be found. Attempting to find and install... default: Box Provider: libvirt default: Box Version: >= 0 ==> default: Loading metadata for box 'bento/fedora-32' default: URL: https://vagrantcloud.com/bento/fedora-32 The box you're attempting to add doesn't support the provider you requested. Please find an alternate box or use an alternate provider. Double-check your requested provider to verify you didn't simply misspell it. If you're adding a box from HashiCorp's Vagrant Cloud, make sure the box is released. Name: bento/fedora-32 Address: https://vagrantcloud.com/bento/fedora-32 Requested provider: [:libvirt]
See also
Advertising: