hashicorp / vagrant

Vagrant is a tool for building and distributing development environments.
https://www.vagrantup.com
Other
26.27k stars 4.43k forks source link

Sata error #12709

Open ognif opened 2 years ago

ognif commented 2 years ago

Today I run a existing vagrant config to build an Ubuntu Image. After some update chaos I cannot install anymore this maschine. VM Workstation always crash with error: The device "sata" is not supported by current hwversion. Failed to start the virtual maschine VM Workstation really crashes multiple times. Very anoying to catch this error message.

However, I checked my old Linux Vagrant VM and this was build up with SCSI harddisk. Why now vagrant try to build "Sata" harddsk? What I have to change to get back working SCSI?

My Vagrant file:

Vagrant.configure("2") do |config|
  config.vm.provider "vmware_desktop"
  config.vm.box = "bento/ubuntu-21.04"
  config.vm.boot_timeout = 6000
  config.vm.define "ingo_vagrant_linux"
  config.vm.synced_folder ".", "/vagrant"

  # ubuntu package under release is not accessible by to vagrant therefore ansible should be installed like this on ubuntu20
  config.vm.provision :shell, inline: "apt update && apt install -qy ansible"
  config.vm.provision "Set System Locale", privileged: true, type: "shell", inline: "timedatectl set-timezone Europe/Berlin && localectl set-x11-keymap de"

  config.vm.provision "ansible_local" do |ansible|
    ansible.playbook = "playbook.yml"
    ansible.limit = "all"
    ansible.install_mode = :pip
    ansible.extra_vars = { ansible_python_interpreter:"/usr/bin/python3" }
  end 

  config.vm.provider :vmware_desktop do |vmware|
    vmware.vmx["memsize"] = "16000"
    vmware.vmx["numvcpus"] = "8"
    vmware.vmx['mks.enable3d'] = true
    vmware.gui = true
  end
end

My Host is Windows 10 and VM Workstation 16 Pro (16.2.3 build-19376536) Vagrant, Vagrant Utility and VMWare Plugin are updated.

humphrey commented 2 years ago

I am having the same issue (just after updating from MacOS Catalina to Moterey). Opening vmware and changing the hwversion of the machine to just one higher fixed it for me... but then I had other issues so I still haven't managed to get vagrant and vmware working on Moterey.

kaitlincart commented 1 year ago

Hi,

I'm sorry we weren't able to respond sooner. Were you able to resolve your sata error? There have been multiple Vagrant releases since the original report, have you upgraded recently?

Thanks, Kait