Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH hangs: timeout during server version negotiation #25

Closed
dt-valentin-magnan opened this issue Oct 20, 2022 · 10 comments
Closed

SSH hangs: timeout during server version negotiation #25

dt-valentin-magnan opened this issue Oct 20, 2022 · 10 comments

Comments

@dt-valentin-magnan
Copy link

dt-valentin-magnan commented Oct 20, 2022

Hello,

I cannot ssh to the machine after running vagrant up --provider qemu --debug

Here is the output:

DEBUG ssh: == Net-SSH connection debug-level log START ==
DEBUG ssh: D, [2022-10-19T15:05:16.318336 #81401] DEBUG -- net.ssh.transport.session[10b8]: establishing connection to 127.0.0.1:50022
D, [2022-10-19T15:05:16.318775 #81401] DEBUG -- net.ssh.transport.session[10b8]: connection established
I, [2022-10-19T15:05:16.318811 #81401]  INFO -- net.ssh.transport.server_version[10cc]: negotiating protocol version
D, [2022-10-19T15:05:16.318819 #81401] DEBUG -- net.ssh.transport.server_version[10cc]: local is `SSH-2.0-Ruby/Net::SSH_6.1.0 x86_64-darwin19'

DEBUG ssh: == Net-SSH connection debug-level log END ==
 INFO ssh: SSH not ready: #<Vagrant::Errors::NetSSHException: An error occurred in the underlying SSH library that Vagrant uses.
The error message is shown below. In many cases, errors from this
library are caused by ssh-agent issues. Try disabling your SSH
agent or removing some keys and try again.

If the problem persists, please report a bug to the net-ssh project.

timeout during server version negotiating>
 INFO machine: Calling action: read_state on provider QEMU (71HlBUYhOOM)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f780c889da8>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f782de97490>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f782de97468>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f782de97468>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f782de97490>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
DEBUG ssh: Checking key permissions: /Users/[user]/.vagrant.d/insecure_private_key
 INFO ssh: Attempting SSH connection...
 INFO ssh: Attempting to connect to SSH...
 INFO ssh:   - Host: 127.0.0.1
 INFO ssh:   - Port: 50022
 INFO ssh:   - Username: vagrant
 INFO ssh:   - Password? false
 INFO ssh:   - Key Path: ["/Users/[user]/.vagrant.d/insecure_private_key"]
DEBUG ssh:   - connect_opts: {:auth_methods=>["none", "hostbased", "publickey"], :config=>false, :forward_agent=>false, :send_env=>false, :keys_only=>true, :verify_host_key=>:never, :password=>nil, :port=>50022, :timeout=>15, :user_known_hosts_file=>[], :verbose=>:debug, :logger=>#<Logger:0x00007f782de18ed8 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x00007f782de18eb0 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x00007f782de18e60 @shift_period_suffix=nil, @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<StringIO:0x00007f782de18f28>, @binmode=false, @mon_data=#<Monitor:0x00007f782de18e38>, @mon_data_owner_object_id=4320>>, :keys=>["/Users/[user]/.vagrant.d/insecure_private_key"], :remote_user=>"vagrant"}
 INFO machine: Calling action: read_state on provider QEMU (71HlBUYhOOM)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f782de09320>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f782dd3a610>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f782dd3a5e8>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f782dd3a5e8>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f782dd3a610>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]

It seems like the VM hangs, or there is an issue with SSH : timeout during server version negotiating.

Any idea where it could come from ?
I have tried also by disabling the ssh-agent but I do have the same issue.

Version details:

OS : MacOS 12.6
Qemu : 7.1.0
Vagrant : 2.2.19
vagrant-qemu (0.3.3, global)
@ppggff
Copy link
Owner

ppggff commented Oct 21, 2022

Please provide your Vagrantfile?

@dt-valentin-magnan
Copy link
Author

Here is the autogenerated Vagrantfile (I did not touch it):

# -*- mode: ruby -*-
# vi: set ft=ruby :

# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
  # The most common configuration options are documented and commented below.
  # For a complete reference, please see the online documentation at
  # https://docs.vagrantup.com.

  # Every Vagrant development environment requires a box. You can search for
  # boxes at https://vagrantcloud.com/search.
  config.vm.box = "generic/ubuntu2204"

  # Disable automatic box update checking. If you disable this, then
  # boxes will only be checked for updates when the user runs
  # `vagrant box outdated`. This is not recommended.
  # config.vm.box_check_update = false

  # Create a forwarded port mapping which allows access to a specific port
  # within the machine from a port on the host machine. In the example below,
  # accessing "localhost:8080" will access port 80 on the guest machine.
  # NOTE: This will enable public access to the opened port
  # config.vm.network "forwarded_port", guest: 80, host: 8080

  # Create a forwarded port mapping which allows access to a specific port
  # within the machine from a port on the host machine and only allow access
  # via 127.0.0.1 to disable public access
  # config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"

  # Create a private network, which allows host-only access to the machine
  # using a specific IP.
  # config.vm.network "private_network", ip: "192.168.33.10"

  # Create a public network, which generally matched to bridged network.
  # Bridged networks make the machine appear as another physical device on
  # your network.
  # config.vm.network "public_network"

  # Share an additional folder to the guest VM. The first argument is
  # the path on the host to the actual folder. The second argument is
  # the path on the guest to mount the folder. And the optional third
  # argument is a set of non-required options.
  # config.vm.synced_folder "../data", "/vagrant_data"

  # Provider-specific configuration so you can fine-tune various
  # backing providers for Vagrant. These expose provider-specific options.
  # Example for VirtualBox:
  #
  # config.vm.provider "virtualbox" do |vb|
  #   # Display the VirtualBox GUI when booting the machine
  #   vb.gui = true
  #
  #   # Customize the amount of memory on the VM:
  #   vb.memory = "1024"
  # end
  #
  # View the documentation for the provider you are using for more
  # information on available options.

  # Enable provisioning with a shell script. Additional provisioners such as
  # Ansible, Chef, Docker, Puppet and Salt are also available. Please see the
  # documentation for more information about their specific syntax and use.
  # config.vm.provision "shell", inline: <<-SHELL
  #   apt-get update
  #   apt-get install -y apache2
  # SHELL
end

And the commands I've executed:

# From console 1
vagrant init generic/ubuntu2204
vagrant up --provider qemu

# From console 2
vagrant ssh

@ppggff
Copy link
Owner

ppggff commented Oct 24, 2022

I think the box is not boot well, please provide the full of output of vagrant up --provider qemu --debug.
(maybe you need to kill the running qemu process first)

@dt-valentin-magnan
Copy link
Author

Yes, usually I need to stop the qemu process manually before re-running the vagrant command.

Here is the output you asked for:

DEBUG manager: Successfully loaded plugin `vagrant-parallels`.
 INFO manager: Loading plugin `vagrant-qemu` with default require: `vagrant-qemu`
 INFO manager: Registered plugin: QEMU
DEBUG manager: Successfully loaded plugin `vagrant-qemu`.
 INFO loader: Set :root = ["#<Pathname:/Users/[USER]/Vagrantfile>"]
DEBUG loader: Populating proc cache for #<Pathname:/Users/[USER]/Vagrantfile>
DEBUG loader: Load procs for pathname: /Users/[USER]/Vagrantfile
 INFO loader: Loading configuration in order: [:home, :root]
DEBUG loader: Loading from: root (evaluating)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
 INFO loader: Set "2780_machine_default" = []
 INFO loader: Loading configuration in order: [:home, :root, "2780_machine_default"]
DEBUG loader: Loading from: root (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
 WARN vagrantfile: Failed to locate generic/ubuntu2204 with version 4.1.16
 WARN vagrantfile: Performing lookup with initial values generic/ubuntu2204 with version
 INFO environment: Running hook: environment_plugins_loaded
 INFO runner: Running action: environment_plugins_loaded #<Vagrant::Action::Builder:0x00007f7eb1bebc20>
 INFO environment: Running hook: environment_load
 INFO runner: Running action: environment_load #<Vagrant::Action::Builder:0x00007f7eb09ce6f0>
DEBUG checkpoint_client: starting plugin check
 INFO cli: CLI: [] "up" ["--provider", "qemu"]
DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command ["--provider", "qemu"]
DEBUG checkpoint_client: waiting for checkpoint to complete...
DEBUG checkpoint_client: plugin check complete
 INFO checkpoint_client: new version of Vagrant available - 2.3.2
 INFO interface: info: A new version of Vagrant is available: 2.3.2 (installed version: 2.2.19)!
To upgrade visit: https://www.vagrantup.com/downloads.html
 INFO interface: info: ==> vagrant: A new version of Vagrant is available: 2.3.2 (installed version: 2.2.19)!
==> vagrant: To upgrade visit: https://www.vagrantup.com/downloads.html
==> vagrant: A new version of Vagrant is available: 2.3.2 (installed version: 2.2.19)!
==> vagrant: To upgrade visit: https://www.vagrantup.com/downloads.html
 INFO interface: info:

DEBUG checkpoint_client: no alert notifications to display
DEBUG command: 'Up' each target VM...
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command:  -- names: ["default"]
DEBUG command:  -- options: {:provider=>"qemu"}
DEBUG command: Finding machine that match name: default
 INFO command: Active machine found with name default. Using provider: qemu
 INFO environment: Getting machine: default (qemu)
 INFO environment: Uncached load of machine.
 INFO loader: Set "2780_machine_default" = []
 INFO loader: Loading configuration in order: [:home, :root, "2780_machine_default"]
DEBUG loader: Loading from: root (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
 INFO box_collection: Box found: generic/ubuntu2204 (libvirt)
 INFO environment: Running hook: authenticate_box_url
 INFO host: Autodetecting host type for [#<Vagrant::Environment: /Users/[USER]>]
DEBUG host: Trying: slackware
DEBUG host: Trying: freebsd
DEBUG host: Trying: void
DEBUG host: Trying: arch
DEBUG host: Trying: darwin
 INFO host: Detected: darwin!
 INFO runner: Running action: authenticate_box_url #<Vagrant::Action::Builder:0x00007f7eb1bcb5d8>
 INFO warden: Calling IN action: #<VagrantPlugins::CloudCommand::AddAuthentication:0x00007f7eb1b30808>
 WARN authenticate-box-url: Authentication token not found as GET parameter.
 INFO warden: Calling OUT action: #<VagrantPlugins::CloudCommand::AddAuthentication:0x00007f7eb1b30808>
 INFO loader: Set :"3380_generic/ubuntu2204_libvirt" = ["#<Pathname:/Users/[USER]/.vagrant.d/boxes/generic-VAGRANTSLASH-ubuntu2204/4.1.16/libvirt/Vagrantfile>"]
DEBUG loader: Populating proc cache for #<Pathname:/Users/[USER]/.vagrant.d/boxes/generic-VAGRANTSLASH-ubuntu2204/4.1.16/libvirt/Vagrantfile>
DEBUG loader: Load procs for pathname: /Users/[USER]/.vagrant.d/boxes/generic-VAGRANTSLASH-ubuntu2204/4.1.16/libvirt/Vagrantfile
 INFO loader: Loading configuration in order: [:"3380_generic/ubuntu2204_libvirt", :home, :root, "2780_machine_default"]
DEBUG loader: Loading from: 3380_generic/ubuntu2204_libvirt (evaluating)
DEBUG loader: Loading from: 3380_generic/ubuntu2204_libvirt (evaluating)
DEBUG loader: Loading from: root (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
 INFO machine: Initializing machine: default
 INFO machine:   - Provider: VagrantPlugins::QEMU::Provider
 INFO machine:   - Box: #<Vagrant::Box:0x00007f7eb1ac9518>
 INFO machine:   - Data dir: /Users/[USER]/.vagrant/machines/default/qemu
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
DEBUG environment: Attempting to acquire process-lock: machine-action-cefe6c34d241af215c57628cc3283572
DEBUG environment: Attempting to acquire process-lock: dotlock
 INFO environment: Acquired process lock: dotlock
 INFO environment: Released process lock: dotlock
 INFO environment: Acquired process lock: machine-action-cefe6c34d241af215c57628cc3283572
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7eb1bf0658>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb1a58c78>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb1a58c28>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb1a58c28>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb1a58c78>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO environment: Released process lock: machine-action-cefe6c34d241af215c57628cc3283572
DEBUG environment: Attempting to acquire process-lock: dotlock
 INFO environment: Acquired process lock: dotlock
 INFO environment: Released process lock: dotlock
 INFO interface: Machine: metadata ["provider", :qemu, {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
DEBUG environment: Attempting to acquire process-lock: machine-action-cefe6c34d241af215c57628cc3283572
DEBUG environment: Attempting to acquire process-lock: dotlock
 INFO environment: Acquired process lock: dotlock
 INFO environment: Released process lock: dotlock
 INFO environment: Acquired process lock: machine-action-cefe6c34d241af215c57628cc3283572
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0995040>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0a2bd50>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0a2bd28>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0a2bd28>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0a2bd50>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO environment: Released process lock: machine-action-cefe6c34d241af215c57628cc3283572
DEBUG environment: Attempting to acquire process-lock: dotlock
 INFO environment: Acquired process lock: dotlock
 INFO environment: Released process lock: dotlock
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
DEBUG environment: Attempting to acquire process-lock: machine-action-cefe6c34d241af215c57628cc3283572
DEBUG environment: Attempting to acquire process-lock: dotlock
 INFO environment: Acquired process lock: dotlock
 INFO environment: Released process lock: dotlock
 INFO environment: Acquired process lock: machine-action-cefe6c34d241af215c57628cc3283572
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7eb1c33520>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea09ea180>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea09ea158>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea09ea158>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea09ea180>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO environment: Released process lock: machine-action-cefe6c34d241af215c57628cc3283572
DEBUG environment: Attempting to acquire process-lock: dotlock
 INFO environment: Acquired process lock: dotlock
 INFO environment: Released process lock: dotlock
 INFO command: With machine: default (#<VagrantPlugins::QEMU::Provider:0x00007f7e8280eb90 @machine=#<Vagrant::Machine: default (VagrantPlugins::QEMU::Provider)>, @driver=#<VagrantPlugins::QEMU::Driver:0x00007f7e8280ea00 @vm_id="QNeQ37YDgXI", @data_dir=#<Pathname:/Users/[USER]/.vagrant/machines/default/qemu>, @tmp_dir=#<Pathname:/Users/[USER]/.vagrant.d/tmp/vagrant-qemu>>, @cap_logger=#<Log4r::Logger:0x00007f7ea303eb88 @fullname="vagrant::capability_host::vagrantplugins::qemu::provider", @outputters=[], @additive=true, @name="provider", @path="vagrant::capability_host::vagrantplugins::qemu", @parent=#<VagrantLogger:0x00007f7eb1a28cd0 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x00007f7eb094e0e0 @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x00007f7eb09589a0 @formatter=#<Log4r::BasicFormatter:0x00007f7eb0959620 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x00007f7eb1a28b68 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @cap_host_chain=[[:qemu, #<#<Class:0x00007f7e8280c110>:0x00007f7eb1c1ae58>]], @cap_args=[#<Vagrant::Machine: default (VagrantPlugins::QEMU::Provider)>], @cap_caps={:docker=>#<Vagrant::Registry:0x00007f7ea303fd30 @items={:public_address=>#<Proc:0x00007f7eb0954710 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/docker/plugin.rb:60>, :proxy_machine=>#<Proc:0x00007f7eb0954620 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/docker/plugin.rb:65>, :has_communicator=>#<Proc:0x00007f7eb0954508 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/docker/plugin.rb:70>}, @results_cache={}>, :hyperv=>#<Vagrant::Registry:0x00007f7ea303fb78 @items={:public_address=>#<Proc:0x00007f7eb1a10680 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:25>, :snapshot_list=>#<Proc:0x00007f7eb1a10590 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:30>, :configure_disks=>#<Proc:0x00007f7eb1a10568 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:35>, :cleanup_disks=>#<Proc:0x00007f7eb1a10540 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:40>, :validate_disk_ext=>#<Proc:0x00007f7eb1a10518 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:45>, :default_disk_exts=>#<Proc:0x00007f7eb1a104f0 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:50>, :set_default_disk_ext=>#<Proc:0x00007f7eb1a104c8 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:55>}, @results_cache={}>, :virtualbox=>#<Vagrant::Registry:0x00007f7ea303f920 @items={:forwarded_ports=>#<Proc:0x00007f7eb1a01ea0 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:27>, :nic_mac_addresses=>#<Proc:0x00007f7eb1a01e78 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:32>, :public_address=>#<Proc:0x00007f7eb1a01e50 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:37>, :configure_disks=>#<Proc:0x00007f7eb1a01e00 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:42>, :cleanup_disks=>#<Proc:0x00007f7eb1a01dd8 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:47>, :validate_disk_ext=>#<Proc:0x00007f7eb1a01db0 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:52>, :default_disk_exts=>#<Proc:0x00007f7eb1a01d88 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:57>, :set_default_disk_ext=>#<Proc:0x00007f7eb1a01d60 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:62>, :snapshot_list=>#<Proc:0x00007f7eb1a01d38 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:67>}, @results_cache={}>, :parallels=>#<Vagrant::Registry:0x00007f7ea303f790 @items={:public_address=>#<Proc:0x00007f7eb1b319d8 /Users/[USER]/.vagrant.d/gems/2.7.4/gems/vagrant-parallels-2.2.5/lib/vagrant-parallels/plugin.rb:76>, :forwarded_ports=>#<Proc:0x00007f7eb1b319b0 /Users/[USER]/.vagrant.d/gems/2.7.4/gems/vagrant-parallels-2.2.5/lib/vagrant-parallels/plugin.rb:81>, :host_address=>#<Proc:0x00007f7eb1b31988 /Users/[USER]/.vagrant.d/gems/2.7.4/gems/vagrant-parallels-2.2.5/lib/vagrant-parallels/plugin.rb:86>, :nic_mac_addresses=>#<Proc:0x00007f7eb1b31960 /Users/[USER]/.vagrant.d/gems/2.7.4/gems/vagrant-parallels-2.2.5/lib/vagrant-parallels/plugin.rb:91>, :snapshot_list=>#<Proc:0x00007f7eb1b31938 /Users/[USER]/.vagrant.d/gems/2.7.4/gems/vagrant-parallels-2.2.5/lib/vagrant-parallels/plugin.rb:96>}, @results_cache={}>}>)
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
DEBUG environment: Attempting to acquire process-lock: machine-action-cefe6c34d241af215c57628cc3283572
DEBUG environment: Attempting to acquire process-lock: dotlock
 INFO environment: Acquired process lock: dotlock
 INFO environment: Released process lock: dotlock
 INFO environment: Acquired process lock: machine-action-cefe6c34d241af215c57628cc3283572
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7eb1c6b678>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb09d6be8>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb09d6b48>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb09d6b48>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb09d6be8>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO environment: Released process lock: machine-action-cefe6c34d241af215c57628cc3283572
DEBUG environment: Attempting to acquire process-lock: dotlock
 INFO environment: Acquired process lock: dotlock
 INFO environment: Released process lock: dotlock
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command:  -- names: ["default"]
DEBUG command:  -- options: {:provider=>"qemu"}
DEBUG command: Finding machine that match name: default
 INFO command: Active machine found with name default. Using provider: qemu
 INFO environment: Getting machine: default (qemu)
 INFO environment: Returning cached machine: default (qemu)
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
DEBUG environment: Attempting to acquire process-lock: machine-action-cefe6c34d241af215c57628cc3283572
DEBUG environment: Attempting to acquire process-lock: dotlock
 INFO environment: Acquired process lock: dotlock
 INFO environment: Released process lock: dotlock
 INFO environment: Acquired process lock: machine-action-cefe6c34d241af215c57628cc3283572
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7eb1ca9888>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0aeff98>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0aeff70>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0aeff70>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0aeff98>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO environment: Released process lock: machine-action-cefe6c34d241af215c57628cc3283572
DEBUG environment: Attempting to acquire process-lock: dotlock
 INFO environment: Acquired process lock: dotlock
 INFO environment: Released process lock: dotlock
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
DEBUG environment: Attempting to acquire process-lock: machine-action-cefe6c34d241af215c57628cc3283572
DEBUG environment: Attempting to acquire process-lock: dotlock
 INFO environment: Acquired process lock: dotlock
 INFO environment: Released process lock: dotlock
 INFO environment: Acquired process lock: machine-action-cefe6c34d241af215c57628cc3283572
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7eb1cc0970>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0b67110>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0b670e8>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0b670e8>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0b67110>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO environment: Released process lock: machine-action-cefe6c34d241af215c57628cc3283572
DEBUG environment: Attempting to acquire process-lock: dotlock
 INFO environment: Acquired process lock: dotlock
 INFO environment: Released process lock: dotlock
 INFO command: With machine: default (#<VagrantPlugins::QEMU::Provider:0x00007f7e8280eb90 @machine=#<Vagrant::Machine: default (VagrantPlugins::QEMU::Provider)>, @driver=#<VagrantPlugins::QEMU::Driver:0x00007f7e8280ea00 @vm_id="QNeQ37YDgXI", @data_dir=#<Pathname:/Users/[USER]/.vagrant/machines/default/qemu>, @tmp_dir=#<Pathname:/Users/[USER]/.vagrant.d/tmp/vagrant-qemu>>, @cap_logger=#<Log4r::Logger:0x00007f7ea303eb88 @fullname="vagrant::capability_host::vagrantplugins::qemu::provider", @outputters=[], @additive=true, @name="provider", @path="vagrant::capability_host::vagrantplugins::qemu", @parent=#<VagrantLogger:0x00007f7eb1a28cd0 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x00007f7eb094e0e0 @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x00007f7eb09589a0 @formatter=#<Log4r::BasicFormatter:0x00007f7eb0959620 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x00007f7eb1a28b68 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @cap_host_chain=[[:qemu, #<#<Class:0x00007f7e8280c110>:0x00007f7eb1c1ae58>]], @cap_args=[#<Vagrant::Machine: default (VagrantPlugins::QEMU::Provider)>], @cap_caps={:docker=>#<Vagrant::Registry:0x00007f7ea303fd30 @items={:public_address=>#<Proc:0x00007f7eb0954710 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/docker/plugin.rb:60>, :proxy_machine=>#<Proc:0x00007f7eb0954620 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/docker/plugin.rb:65>, :has_communicator=>#<Proc:0x00007f7eb0954508 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/docker/plugin.rb:70>}, @results_cache={}>, :hyperv=>#<Vagrant::Registry:0x00007f7ea303fb78 @items={:public_address=>#<Proc:0x00007f7eb1a10680 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:25>, :snapshot_list=>#<Proc:0x00007f7eb1a10590 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:30>, :configure_disks=>#<Proc:0x00007f7eb1a10568 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:35>, :cleanup_disks=>#<Proc:0x00007f7eb1a10540 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:40>, :validate_disk_ext=>#<Proc:0x00007f7eb1a10518 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:45>, :default_disk_exts=>#<Proc:0x00007f7eb1a104f0 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:50>, :set_default_disk_ext=>#<Proc:0x00007f7eb1a104c8 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:55>}, @results_cache={}>, :virtualbox=>#<Vagrant::Registry:0x00007f7ea303f920 @items={:forwarded_ports=>#<Proc:0x00007f7eb1a01ea0 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:27>, :nic_mac_addresses=>#<Proc:0x00007f7eb1a01e78 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:32>, :public_address=>#<Proc:0x00007f7eb1a01e50 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:37>, :configure_disks=>#<Proc:0x00007f7eb1a01e00 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:42>, :cleanup_disks=>#<Proc:0x00007f7eb1a01dd8 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:47>, :validate_disk_ext=>#<Proc:0x00007f7eb1a01db0 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:52>, :default_disk_exts=>#<Proc:0x00007f7eb1a01d88 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:57>, :set_default_disk_ext=>#<Proc:0x00007f7eb1a01d60 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:62>, :snapshot_list=>#<Proc:0x00007f7eb1a01d38 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:67>}, @results_cache={}>, :parallels=>#<Vagrant::Registry:0x00007f7ea303f790 @items={:public_address=>#<Proc:0x00007f7eb1b319d8 /Users/[USER]/.vagrant.d/gems/2.7.4/gems/vagrant-parallels-2.2.5/lib/vagrant-parallels/plugin.rb:76>, :forwarded_ports=>#<Proc:0x00007f7eb1b319b0 /Users/[USER]/.vagrant.d/gems/2.7.4/gems/vagrant-parallels-2.2.5/lib/vagrant-parallels/plugin.rb:81>, :host_address=>#<Proc:0x00007f7eb1b31988 /Users/[USER]/.vagrant.d/gems/2.7.4/gems/vagrant-parallels-2.2.5/lib/vagrant-parallels/plugin.rb:86>, :nic_mac_addresses=>#<Proc:0x00007f7eb1b31960 /Users/[USER]/.vagrant.d/gems/2.7.4/gems/vagrant-parallels-2.2.5/lib/vagrant-parallels/plugin.rb:91>, :snapshot_list=>#<Proc:0x00007f7eb1b31938 /Users/[USER]/.vagrant.d/gems/2.7.4/gems/vagrant-parallels-2.2.5/lib/vagrant-parallels/plugin.rb:96>}, @results_cache={}>}>)
 INFO interface: info: Bringing machine 'default' up with 'qemu' provider...
Bringing machine 'default' up with 'qemu' provider...
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
DEBUG environment: Attempting to acquire process-lock: machine-action-cefe6c34d241af215c57628cc3283572
DEBUG environment: Attempting to acquire process-lock: dotlock
 INFO environment: Acquired process lock: dotlock
 INFO environment: Released process lock: dotlock
 INFO environment: Acquired process lock: machine-action-cefe6c34d241af215c57628cc3283572
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7eb0b57738>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0b057f8>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0b057d0>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0b057d0>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0b057f8>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO environment: Released process lock: machine-action-cefe6c34d241af215c57628cc3283572
DEBUG environment: Attempting to acquire process-lock: dotlock
 INFO environment: Acquired process lock: dotlock
 INFO environment: Released process lock: dotlock
 INFO batch_action: Enabling parallelization by default.
 INFO batch_action: Disabling parallelization because only executing one action
 INFO batch_action: Batch action will parallelize: false
 INFO batch_action: Starting action: #<Vagrant::Machine:0x00007f7eb1aaa140> up {:destroy_on_error=>true, :install_provider=>false, :parallel=>true, :provision_ignore_sentinel=>false, :provision_types=>nil, :provider=>"qemu"}
 INFO machine: Calling action: up on provider QEMU (QNeQ37YDgXI)
DEBUG environment: Attempting to acquire process-lock: machine-action-cefe6c34d241af215c57628cc3283572
DEBUG environment: Attempting to acquire process-lock: dotlock
 INFO environment: Acquired process lock: dotlock
 INFO environment: Released process lock: dotlock
 INFO environment: Acquired process lock: machine-action-cefe6c34d241af215c57628cc3283572
 INFO interface: Machine: action ["up", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x00007f7eb0aac298>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::HandleBox:0x00007f7eb1c50198>
 INFO handle_box: Machine already has box. HandleBox will not run.
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb1c3a578>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BoxCheckOutdated:0x00007f7eb1c3a550>
 INFO interface: output: Checking if box 'generic/ubuntu2204' version '4.1.16' is up to date...
 INFO interface: output: ==> default: Checking if box 'generic/ubuntu2204' version '4.1.16' is up to date...
==> default: Checking if box 'generic/ubuntu2204' version '4.1.16' is up to date...
 INFO environment: Running hook: authenticate_box_downloader
 INFO runner: Running action: authenticate_box_downloader #<Vagrant::Action::Builder:0x00007f7eb1c0b6d8>
 INFO warden: Calling IN action: #<VagrantPlugins::CloudCommand::AddDownloaderAuthentication:0x00007f7eb1bb19a8>
DEBUG client: No authentication token in environment or /Users/[USER]/.vagrant.d/data/vagrant_login_token
DEBUG client: No authentication token in environment or /Users/[USER]/.vagrant.d/data/vagrant_login_token
 INFO warden: Calling OUT action: #<VagrantPlugins::CloudCommand::AddDownloaderAuthentication:0x00007f7eb1bb19a8>
 INFO downloader: Downloader starting download:
 INFO downloader:   -- Source: https://vagrantcloud.com/generic/ubuntu2204
 INFO downloader:   -- Destination: /var/folders/69/5wrtqtrs4tx_zsltzwrh69mm0000gq/T/vagrant-load-metadata20221024-13554-1eu1cky
 INFO subprocess: Starting process: ["/opt/vagrant/embedded/bin/curl", "-q", "--fail", "--location", "--max-redirs", "10", "--verbose", "--user-agent", "Vagrant/2.2.19 (+https://www.vagrantup.com; ruby2.7.4) ", "-H", "Accept: application/json", "--output", "/var/folders/69/5wrtqtrs4tx_zsltzwrh69mm0000gq/T/vagrant-load-metadata20221024-13554-1eu1cky", "https://vagrantcloud.com/generic/ubuntu2204"]
 INFO subprocess: Command in the installer. Specifying DYLD_LIBRARY_PATH...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stderr:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
DEBUG subprocess: stderr: *   Trying 13.226.139.2:443...
DEBUG subprocess: stderr: * Connected to vagrantcloud.com (13.226.139.2) port 443 (#0)
DEBUG subprocess: stderr: * ALPN, offering http/1.1
DEBUG subprocess: stderr: * successfully set certificate verify locations:
*  CAfile: /opt/vagrant/embedded/cacert.pem
*  CApath: none
DEBUG subprocess: stderr: } [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
DEBUG subprocess: stderr: * TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
DEBUG subprocess: stderr: * TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [10 bytes data]
DEBUG subprocess: stderr: * TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [4972 bytes data]
DEBUG subprocess: stderr: * TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [264 bytes data]
DEBUG subprocess: stderr: * TLSv1.3 (IN), TLS handshake, Finished (20):
{ [36 bytes data]
DEBUG subprocess: stderr: * TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
DEBUG subprocess: stderr: * TLSv1.3 (OUT), TLS handshake, Finished (20):
} [36 bytes data]
DEBUG subprocess: stderr: * SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN, server did not agree to a protocol
DEBUG subprocess: stderr: * Server certificate:
*  subject: CN=vagrantcloud.com
*  start date: Jun  8 00:00:00 2022 GMT
DEBUG subprocess: stderr: *  expire date: Jul  6 23:59:59 2023 GMT
*  subjectAltName: host "vagrantcloud.com" matched cert's "vagrantcloud.com"
DEBUG subprocess: stderr: *  issuer: C=US; O=Amazon; OU=Server CA 1B; CN=Amazon
*  SSL certificate verify ok.
DEBUG subprocess: stderr: } [5 bytes data]
> GET /generic/ubuntu2204 HTTP/1.1
> Host: vagrantcloud.com
> User-Agent: Vagrant/2.2.19 (+https://www.vagrantup.com; ruby2.7.4)
> Accept: application/json
>
DEBUG subprocess: stderr: { [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [124 bytes data]
DEBUG subprocess: stderr: * Mark bundle as not supporting multiuse
< HTTP/1.1 301 Moved Permanently
< Content-Type: text/html
< Content-Length: 115
< Connection: keep-alive
< Server: Cowboy
< Date: Mon, 24 Oct 2022 13:21:57 GMT
< Location: https://vagrantcloud.com/generic/boxes/ubuntu2204
< Cache-Control: no-cache
< X-Request-Id: f1c59cb5-c9d7-4a54-84c0-ce9f49262457
< X-Runtime: 0.001388
< Via: 1.1 vegur, 1.1 ab5caf6bf2b6f9baee9bc88a44561308.cloudfront.net (CloudFront)
< X-Cache: Miss from cloudfront
< X-Amz-Cf-Pop: YTO50-C2
DEBUG subprocess: stderr: < X-Amz-Cf-Id: ltkY3fKJAR0qWm0R3LZFcgxh5nPhCnLGtK3g2-HnUfIeVUZa2sxtWQ==
<
* Ignoring the response-body
{ [115 bytes data]
100   115  100   115    0     0    305      0 --:--:-- --:--:-- --:--:--   305
* Connection #0 to host vagrantcloud.com left intact
* Issue another request to this URL: 'https://vagrantcloud.com/generic/boxes/ubuntu2204'
DEBUG subprocess: stderr: * Found bundle for host vagrantcloud.com: 0x600000340300 [serially]
* Re-using existing connection! (#0) with host vagrantcloud.com
* Connected to vagrantcloud.com (13.226.139.2) port 443 (#0)
DEBUG subprocess: stderr: } [5 bytes data]
> GET /generic/boxes/ubuntu2204 HTTP/1.1
> Host: vagrantcloud.com
> User-Agent: Vagrant/2.2.19 (+https://www.vagrantup.com; ruby2.7.4)
> Accept: application/json
>
DEBUG subprocess: stderr: { [5 bytes data]
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Type: application/json; charset=utf-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Server: Cowboy
< Date: Mon, 24 Oct 2022 13:21:57 GMT
< X-Frame-Options: SAMEORIGIN
< X-Xss-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< X-Download-Options: noopen
< X-Permitted-Cross-Domain-Policies: none
< Referrer-Policy: strict-origin-when-cross-origin
< Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
< Etag: W/"0f1b21743db845561426329ae6a2b519"
DEBUG subprocess: stderr: < Cache-Control: max-age=0, private, must-revalidate
< X-Request-Id: 97108db5-7e0f-4733-a261-da5dad3f3b43
< X-Runtime: 0.118873
< Via: 1.1 vegur, 1.1 ab5caf6bf2b6f9baee9bc88a44561308.cloudfront.net (CloudFront)
< X-Cache: Miss from cloudfront
< X-Amz-Cf-Pop: YTO50-C2
< X-Amz-Cf-Id: sUKLLY_KKLgyz6V8q06vF2xLL3OBP-Eug0gk4t2ZCqYPfN_ZzCJFbA==
<
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0{ [5 bytes data]
100 16308    0 16308    0     0  26051      0 --:--:-- --:--:-- --:--:--  758k
* Connection #0 to host vagrantcloud.com left intact
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 0
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x00007f7eb0a2c750>
 INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x00007f7eb0b04128>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::IsState:0x00007f7eb1c99e88>
DEBUG is_state: Checking if machine state is 'not_created'
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7eb0a643d0>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0a46538>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0a46510>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0a46510>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0a46538>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
DEBUG is_state: -- Machine state: stopped
 INFO warden: Calling IN action: #<VagrantPlugins::CommandUp::StoreBoxMetadata:0x00007f7eb1c832c8>
DEBUG storeboxmetadata: Writing box metadata file to /Users/[USER]/.vagrant/machines/default/qemu/box_meta
 INFO warden: Calling OUT action: #<VagrantPlugins::CommandUp::StoreBoxMetadata:0x00007f7eb1c832c8>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::IsState:0x00007f7eb1c99e88>
 INFO runner: Running action: machine_action_up #<Vagrant::Action::Warden:0x00007f7ea098ca08>
 INFO warden: Calling IN action: #<Proc:0x00007f7eb1a607c0 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:126 (lambda)>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x00007f7ea098c940>
 INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x00007f7eb0b8d8d8>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::IsState:0x00007f7eb0b340f8>
DEBUG is_state: Checking if machine state is 'running'
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7eb0ae7e88>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0a853c8>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0a853a0>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0a853a0>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0a853c8>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
DEBUG is_state: -- Machine state: stopped
 INFO warden: Calling IN action: #<VagrantPlugins::CommandUp::StoreBoxMetadata:0x00007f7eb1cc0ab0>
DEBUG storeboxmetadata: Writing box metadata file to /Users/[USER]/.vagrant/machines/default/qemu/box_meta
 INFO warden: Calling OUT action: #<VagrantPlugins::CommandUp::StoreBoxMetadata:0x00007f7eb1cc0ab0>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::IsState:0x00007f7eb0b340f8>
 INFO runner: Running action: machine_action_up #<Vagrant::Action::Warden:0x00007f7eb0a3eba8>
 INFO warden: Calling IN action: #<Proc:0x00007f7eb1912aa8 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:126 (lambda)>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Provision:0x00007f7eb0a3ea68>
 INFO provision: Checking provisioner sentinel file...
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::EnvSet:0x00007f7ea09c9520>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::PrepareForwardedPortCollisionParams:0x00007f7ea09c94d0>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::HandleForwardedPortCollisions:0x00007f7ea09c9480>
DEBUG environment: Attempting to acquire process-lock: fpcollision
DEBUG environment: Attempting to acquire process-lock: dotlock
 INFO environment: Acquired process lock: dotlock
 INFO environment: Released process lock: dotlock
 INFO environment: Acquired process lock: fpcollision
 INFO handle_port_collisions: Detecting any forwarded port collisions...
DEBUG handle_port_collisions: Extra in use: {}
DEBUG handle_port_collisions: Remap: {2222=>50022}
DEBUG handle_port_collisions: Repair: false
DEBUG handle_port_collisions: Remap port override: 2222 => 50022
 INFO environment: Released process lock: fpcollision
DEBUG environment: Attempting to acquire process-lock: dotlock
 INFO environment: Acquired process lock: dotlock
 INFO environment: Released process lock: dotlock
 INFO warden: Calling IN action: #<VagrantPlugins::SyncedFolderNFS::ActionCleanup:0x00007f7eb1beb3b0>
 WARN nfs: nfs_valid_ids not set, cleanup cannot occur
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::SyncedFolderCleanup:0x00007f7eb1b80088>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Delayed:0x00007f7eb1ada188>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::SyncedFolders:0x00007f7eb1ad9e90>
 INFO synced_folders: SyncedFolders loading from cache: false
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::WarnNetworks:0x00007f7eb19714e0>
 INFO interface: warn: Warning! The QEMU provider doesn't support any of the Vagrant
high-level network configurations (`config.vm.network`). They
will be silently ignored.
 INFO interface: warn: ==> default: Warning! The QEMU provider doesn't support any of the Vagrant
==> default: high-level network configurations (`config.vm.network`). They
==> default: will be silently ignored.
==> default: Warning! The QEMU provider doesn't support any of the Vagrant
==> default: high-level network configurations (`config.vm.network`). They
==> default: will be silently ignored.
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::SetHostname:0x00007f7eb19712d8>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::StartInstance:0x00007f7eb0b46898>
 INFO interface: output: Starting the instance...
 INFO interface: output: ==> default: Starting the instance...
==> default: Starting the instance...
 INFO subprocess: Starting process: ["/opt/homebrew/bin/qemu-system-aarch64", "-machine", "virt,accel=hvf,highmem=on", "-cpu", "host", "-smp", "2", "-m", "4G", "-device", "virtio-net-device,netdev=net0", "-netdev", "user,id=net0,hostfwd=tcp::50022-:22", "-drive", "if=virtio,format=qcow2,file=/Users/[USER]/.vagrant/machines/default/qemu/QNeQ37YDgXI/linked-box.img", "-drive", "if=pflash,format=raw,file=/Users/[USER]/.vagrant/machines/default/qemu/QNeQ37YDgXI/edk2-aarch64-code.fd,readonly=on", "-drive", "if=pflash,format=raw,file=/Users/[USER]/.vagrant/machines/default/qemu/QNeQ37YDgXI/edk2-arm-vars.fd", "-chardev", "socket,id=mon0,path=/Users/[USER]/.vagrant.d/tmp/vagrant-qemu/QNeQ37YDgXI/qemu_socket,server=on,wait=off", "-mon", "chardev=mon0,mode=readline", "-chardev", "socket,id=ser0,path=/Users/[USER]/.vagrant.d/tmp/vagrant-qemu/QNeQ37YDgXI/qemu_socket_serial,server=on,wait=off", "-serial", "chardev:ser0", "-pidfile", "/Users/[USER]/.vagrant/machines/default/qemu/QNeQ37YDgXI/qemu.pid", "-parallel", "null", "-monitor", "none", "-display", "none", "-vga", "none", "-daemonize"]
DEBUG subprocess: Command not in installer, not touching env vars.
 INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::WaitForCommunicator:0x00007f7eb0ade608>
 INFO interface: output: Waiting for machine to boot. This may take a few minutes...
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: output: ==> default: Waiting for machine to boot. This may take a few minutes...
==> default: Waiting for machine to boot. This may take a few minutes...
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0ec9a98>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0e12550>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0e12528>
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0e12528>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0e12550>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0d66b60>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0c9f308>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0c9f2e0>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0c9f2e0>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0c9f308>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
DEBUG ssh: Checking key permissions: /Users/[USER]/.vagrant.d/insecure_private_key
 INFO interface: detail: SSH address: 127.0.0.1:50022
 INFO interface: detail:     default: SSH address: 127.0.0.1:50022
    default: SSH address: 127.0.0.1:50022
 INFO interface: detail: SSH username: vagrant
 INFO interface: detail:     default: SSH username: vagrant
    default: SSH username: vagrant
 INFO interface: detail: SSH auth method: private key
 INFO interface: detail:     default: SSH auth method: private key
    default: SSH auth method: private key
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0c0c350>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0b48d10>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0b48ce8>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0b48ce8>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0b48d10>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
DEBUG ssh: Checking key permissions: /Users/[USER]/.vagrant.d/insecure_private_key
 INFO ssh: Attempting SSH connection...
 INFO ssh: Attempting to connect to SSH...
 INFO ssh:   - Host: 127.0.0.1
 INFO ssh:   - Port: 50022
 INFO ssh:   - Username: vagrant
 INFO ssh:   - Password? false
 INFO ssh:   - Key Path: ["/Users/[USER]/.vagrant.d/insecure_private_key"]
DEBUG ssh:   - connect_opts: {:auth_methods=>["none", "hostbased", "publickey"], :config=>false, :forward_agent=>false, :send_env=>false, :keys_only=>true, :verify_host_key=>:never, :password=>nil, :port=>50022, :timeout=>15, :user_known_hosts_file=>[], :verbose=>:debug, :logger=>#<Logger:0x00007f7ea0aaaf20 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x00007f7ea0aaaef8 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x00007f7ea0aaaea8 @shift_period_suffix=nil, @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<StringIO:0x00007f7ea0aaaf70>, @binmode=false, @mon_data=#<Monitor:0x00007f7ea0aaae80>, @mon_data_owner_object_id=3640>>, :keys=>["/Users/[USER]/.vagrant.d/insecure_private_key"], :remote_user=>"vagrant"}
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0aa3068>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea316f9f8>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea316f9d0>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea316f9d0>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea316f9f8>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea30ca070>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0d06a70>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0d06a48>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0d06a48>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0d06a70>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7eb0c71060>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0aefb60>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0aefb10>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0aefb10>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0aefb60>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0a12798>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea099f3d8>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea099f360>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea099f360>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea099f3d8>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7eb08c6960>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0e94398>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0e94370>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0e94370>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0e94398>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0dfa928>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0d3dc88>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0d3dc60>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0d3dc60>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0d3dc88>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0c9c1a8>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0bc4960>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0bc4938>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0bc4938>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0bc4960>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0b22fc0>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0a82bd8>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0a82bb0>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0a82bb0>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0a82bd8>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea315d1b8>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea3099a38>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea3099a10>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea3099a10>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea3099a38>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7eb0cf80d8>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0b844b8>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0b843c8>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0b843c8>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0b844b8>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7eb0ac77c8>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb1c33728>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb1c33700>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb1c33700>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb1c33728>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea098e9c0>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0f09800>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0f097d8>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0f097d8>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0f09800>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0e71168>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0db99c8>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0db99a0>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0db99a0>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0db99c8>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0d12920>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0c430f8>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0c430d0>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0c430d0>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0c430f8>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
DEBUG ssh: == Net-SSH connection debug-level log START ==
DEBUG ssh: D, [2022-10-24T09:21:58.836396 #13554] DEBUG -- net.ssh.transport.session[e4c]: establishing connection to 127.0.0.1:50022
D, [2022-10-24T09:21:58.837169 #13554] DEBUG -- net.ssh.transport.session[e4c]: connection established
I, [2022-10-24T09:21:58.837229 #13554]  INFO -- net.ssh.transport.server_version[e60]: negotiating protocol version
D, [2022-10-24T09:21:58.837258 #13554] DEBUG -- net.ssh.transport.server_version[e60]: local is `SSH-2.0-Ruby/Net::SSH_6.1.0 x86_64-darwin19'

DEBUG ssh: == Net-SSH connection debug-level log END ==
 INFO ssh: SSH not ready: #<Vagrant::Errors::NetSSHException: An error occurred in the underlying SSH library that Vagrant uses.
The error message is shown below. In many cases, errors from this
library are caused by ssh-agent issues. Try disabling your SSH
agent or removing some keys and try again.

If the problem persists, please report a bug to the net-ssh project.

timeout during server version negotiating>
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0b9c2f8>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0ad8ba0>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0ad8b78>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0ad8b78>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0ad8ba0>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
DEBUG ssh: Checking key permissions: /Users/[USER]/.vagrant.d/insecure_private_key
 INFO ssh: Attempting SSH connection...
 INFO ssh: Attempting to connect to SSH...
 INFO ssh:   - Host: 127.0.0.1
 INFO ssh:   - Port: 50022
 INFO ssh:   - Username: vagrant
 INFO ssh:   - Password? false
 INFO ssh:   - Key Path: ["/Users/[USER]/.vagrant.d/insecure_private_key"]
DEBUG ssh:   - connect_opts: {:auth_methods=>["none", "hostbased", "publickey"], :config=>false, :forward_agent=>false, :send_env=>false, :keys_only=>true, :verify_host_key=>:never, :password=>nil, :port=>50022, :timeout=>15, :user_known_hosts_file=>[], :verbose=>:debug, :logger=>#<Logger:0x00007f7ea0a804a0 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x00007f7ea0a80478 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x00007f7ea0a80428 @shift_period_suffix=nil, @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<StringIO:0x00007f7ea0a804f0>, @binmode=false, @mon_data=#<Monitor:0x00007f7ea0a80400>, @mon_data_owner_object_id=3700>>, :keys=>["/Users/[USER]/.vagrant.d/insecure_private_key"], :remote_user=>"vagrant"}
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0a78a20>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea3129278>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea3129250>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea3129250>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea3129278>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0a6b870>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0cc0138>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0cc0110>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0cc0110>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0cc0138>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7eb0b5ee20>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb1c90798>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb1c906f8>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb1c906f8>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb1c90798>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7eb0a464e8>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb1b0ae50>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb1b0ad38>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb1b0ad38>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb1b0ae50>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0ee5c98>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0e2cf90>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0e2cf68>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0e2cf68>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0e2cf90>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0d8ea20>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0cca6e8>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0cca6c0>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0cca6c0>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0cca6e8>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0c20be8>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0b54f98>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0b54f70>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0b54f70>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0b54f98>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0ab3530>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea318ad20>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea318acf8>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea318acf8>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea318ad20>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea30e9380>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0a39c08>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0a39be0>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0a39be0>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0a39c08>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7eb0c88210>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0b0e150>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0b0e128>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0b0e128>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0b0e150>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7eb0a5ddf0>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb09f0250>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb09f0200>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb09f0200>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb09f0250>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0f3efc8>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0e7e660>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0e7e638>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0e7e638>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0e7e660>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0de8ca0>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0d23ea0>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0d23e78>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0d23e78>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0d23ea0>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0c7e400>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0baaa88>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0baaa60>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0baaa60>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0baaa88>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea0b14d58>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0a783b8>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0a78390>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0a78390>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0a783b8>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
DEBUG ssh: == Net-SSH connection debug-level log START ==
DEBUG ssh: D, [2022-10-24T09:22:13.849759 #13554] DEBUG -- net.ssh.transport.session[e88]: establishing connection to 127.0.0.1:50022
D, [2022-10-24T09:22:13.850116 #13554] DEBUG -- net.ssh.transport.session[e88]: connection established
I, [2022-10-24T09:22:13.850147 #13554]  INFO -- net.ssh.transport.server_version[e9c]: negotiating protocol version
D, [2022-10-24T09:22:13.850155 #13554] DEBUG -- net.ssh.transport.server_version[e9c]: local is `SSH-2.0-Ruby/Net::SSH_6.1.0 x86_64-darwin19'

DEBUG ssh: == Net-SSH connection debug-level log END ==
 INFO ssh: SSH not ready: #<Vagrant::Errors::NetSSHException: An error occurred in the underlying SSH library that Vagrant uses.
The error message is shown below. In many cases, errors from this
library are caused by ssh-agent issues. Try disabling your SSH
agent or removing some keys and try again.

If the problem persists, please report a bug to the net-ssh project.

timeout during server version negotiating>
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7ea3141800>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0a6a060>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0a6a038>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7ea0a6a038>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7ea0a6a060>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
DEBUG ssh: Checking key permissions: /Users/[USER]/.vagrant.d/insecure_private_key
 INFO ssh: Attempting SSH connection...
 INFO ssh: Attempting to connect to SSH...
 INFO ssh:   - Host: 127.0.0.1
 INFO ssh:   - Port: 50022
 INFO ssh:   - Username: vagrant
 INFO ssh:   - Password? false
 INFO ssh:   - Key Path: ["/Users/[USER]/.vagrant.d/insecure_private_key"]
DEBUG ssh:   - connect_opts: {:auth_methods=>["none", "hostbased", "publickey"], :config=>false, :forward_agent=>false, :send_env=>false, :keys_only=>true, :verify_host_key=>:never, :password=>nil, :port=>50022, :timeout=>15, :user_known_hosts_file=>[], :verbose=>:debug, :logger=>#<Logger:0x00007f7eb0cfa6a8 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x00007f7eb0cfa680 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x00007f7eb0cfa630 @shift_period_suffix=nil, @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<StringIO:0x00007f7eb0cfa6f8>, @binmode=false, @mon_data=#<Monitor:0x00007f7eb0cfa608>, @mon_data_owner_object_id=3760>>, :keys=>["/Users/[USER]/.vagrant.d/insecure_private_key"], :remote_user=>"vagrant"}
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)
 INFO interface: Machine: action ["read_state", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_read_state #<Vagrant::Action::Builder:0x00007f7eb0ceac30>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0b77e20>
 INFO warden: Calling IN action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0b77d80>
 INFO warden: Calling OUT action: #<VagrantPlugins::QEMU::Action::ReadState:0x00007f7eb0b77d80>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f7eb0b77e20>
 INFO interface: Machine: action ["read_state", "end", {:target=>:default}]
 INFO machine: Calling action: read_state on provider QEMU (QNeQ37YDgXI)

@ppggff
Copy link
Owner

ppggff commented Oct 25, 2022

["/opt/homebrew/bin/qemu-system-aarch64", "-machine", "virt,accel=hvf,highmem=on", "-cpu", "host", "-smp", "2", "-m", "4G", "-device", "virtio-net-device,netdev=net0", "-netdev", "user,id=net0,hostfwd=tcp::50022-:22", "-drive", "if=virtio,format=qcow2,file=/Users/[USER]/.vagrant/machines/default/qemu/QNeQ37YDgXI/linked-box.img", "-drive", "if=pflash,format=raw,file=/Users/[USER]/.vagrant/machines/default/qemu/QNeQ37YDgXI/edk2-aarch64-code.fd,readonly=on", "-drive", "if=pflash,format=raw,file=/Users/[USER]/.vagrant/machines/default/qemu/QNeQ37YDgXI/edk2-arm-vars.fd", "-chardev", "socket,id=mon0,path=/Users/[USER]/.vagrant.d/tmp/vagrant-qemu/QNeQ37YDgXI/qemu_socket,server=on,wait=off", "-mon", "chardev=mon0,mode=readline", "-chardev", "socket,id=ser0,path=/Users/[USER]/.vagrant.d/tmp/vagrant-qemu/QNeQ37YDgXI/qemu_socket_serial,server=on,wait=off", "-serial", "chardev:ser0", "-pidfile", "/Users/[USER]/.vagrant/machines/default/qemu/QNeQ37YDgXI/qemu.pid", "-parallel", "null", "-monitor", "none", "-display", "none", "-vga", "none", "-daemonize"]

The reason is that you try to run the x86 box on an arm platform. It will not wok.
Please try the "Work with a x86_64 box (basic config)" example config in the Readme file.
Or you can use a arm (aarch64) box instead.

@dt-valentin-magnan
Copy link
Author

Oh I understand... but I thought Qemu was doing emulation and not virtualization.

From what I have understood, emulation system software, like Qemu, does not rely on the host's processor architecture.

I was just using it for this specific purpose 😞 : run any kind of box on my arm architectured host.

Do you know, if it is possible another way, and still locally? (a non-docker one since I could have to run apps which themselves run docker containers)?

Thanks anyway for you help!

@ppggff
Copy link
Owner

ppggff commented Oct 26, 2022

Oh I understand... but I thought Qemu was doing emulation and not virtualization.

From what I have understood, emulation system software, like Qemu, does not rely on the host's processor architecture.

Yes, qemu can emulation x86 on arm. This requires proper configuration, such as the "Work with a x86_64 box (basic config)" example in the Readme.md.

I was just using it for this specific purpose 😞 : run any kind of box on my arm architectured host.

It is the limitation of this plugin, it cannot guess the arch type (x86, arm ...) from the box. For now :)

Do you know, if it is possible another way, and still locally? (a non-docker one since I could have to run apps which themselves run docker containers)?

Thanks anyway for you help!

The Readme.md example does not meet your needs?
What are the complete requirements?

@dt-valentin-magnan
Copy link
Author

It works perfectly @ppggff! 😃
I have read it too fast... The Readme is just as it should be!

Thanks for your work and help!

@brandonros
Copy link

brandonros commented Nov 26, 2022

Is there a way to force a box to download for x86_64 instead of aarch64? hashicorp/vagrant#12610

 username = "#{`whoami`}"
Vagrant.configure('2') do |config|
  config.vm.define "vm" do |config|
    config.vm.synced_folder ".", "/vagrant", type: "smb", smb_username: username
    config.vm.box = "debian/bullseye64"
    config.vm.provider "qemu" do |qe|
      qe.arch = "x86_64"
      qe.machine = "q35"
      qe.cpu = "max"
      qe.net_device = "virtio-net-pci"
    end
  end
end

up seems to succeed but vagrant ssh fails

vagrant up:

 INFO interface: info: 

 INFO interface: success: Machine 'vm' has a post `vagrant up` message. This is a message
from the creator of the Vagrantfile, and not from Vagrant itself:

Vanilla Debian box. See https://app.vagrantup.com/debian for help and bug reports
 INFO interface: success: ==> vm: Machine 'vm' has a post `vagrant up` message. This is a message
==> vm: from the creator of the Vagrantfile, and not from Vagrant itself:
==> vm: 
==> vm: Vanilla Debian box. See https://app.vagrantup.com/debian for help and bug reports
==> vm: Machine 'vm' has a post `vagrant up` message. This is a message
==> vm: from the creator of the Vagrantfile, and not from Vagrant itself:
==> vm: 
==> vm: Vanilla Debian box. See https://app.vagrantup.com/debian for help and bug reports
 INFO environment: Running hook: environment_unload
 INFO runner: Running action: environment_unload #<Vagrant::Action::Builder:0x00007fb163ae8de8>

vagrant ssh:

 INFO ssh: Invoking SSH: /usr/bin/ssh ["[email protected]", "-p", "50022", "-o", "LogLevel=FATAL", "-o", "Compression=yes", "-o", "DSAAuthentication=yes", "-o", "IdentitiesOnly=yes", "-o", "StrictHostKeyChecking=no", "-o", "UserKnownHostsFile=/dev/null", "-i", "/Users/brandonros/.vagrant.d/insecure_private_key"]

just hangs

@ppggff
Copy link
Owner

ppggff commented Nov 28, 2022

Is there a way to force a box to download for x86_64 instead of aarch64? hashicorp/vagrant#12610

This seems to require the cooperation of the box: it's hard to know the arch of "debian/bullseye64".

just hangs

Please try https://github.com/ppggff/vagrant-qemu/wiki/buster64-on-x86_64
If this doesn't work, please open a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants