Closed najamansari closed 4 years ago
Consequently when I try to SSH into the master and list salt keys (as part of the Saltstack Fundamentals tutorial), I get this error:
$ vagrant ssh master
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-51-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Tue Sep 3 14:57:44 UTC 2019
System load: 0.0 Processes: 89
Usage of /: 2.5% of 61.80GB Users logged in: 0
Memory usage: 5% IP address for eth0: 10.0.2.15
Swap usage: 0% IP address for eth1: 192.168.50.10
0 packages can be updated.
0 updates are security updates.
vagrant@saltmaster:~$ sudo su
root@saltmaster:/home/vagrant# salt-key list-all
bash: salt-key: command not found
root@saltmaster:/home/vagrant#
I was able to fix my issue with running vagrant up
by running bcdedit /set hypervisorlaunchtype off
and rebooting.
What's the output of
vagrant version
and
virtualbox --help
@najamansari does @ITSchadenfreude 's fix work for you?
The bcdedit
command isn't available on my system (Fedora 30). Here are the details you requested:
$ vagrant version
Installed Version: 2.2.5
Vagrant was unable to check for the latest version of Vagrant.
Please check manually at https://www.vagrantup.com
$ virtualbox --help
Oracle VM VirtualBox VM Selector v6.0.10_RPMFusion
(C) 2005-2019 Oracle Corporation
All rights reserved.
No special options.
If you are looking for --startvm and related options, you need to use VirtualBoxVM.
Note that I was able to get past this by SSH'ing into the machine and running the command manually:
$ vagrant ssh master
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-51-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Fri Sep 6 11:54:55 UTC 2019
System load: 0.12 Processes: 91
Usage of /: 2.5% of 61.80GB Users logged in: 0
Memory usage: 5% IP address for eth0: 10.0.2.15
Swap usage: 0% IP address for eth1: 192.168.50.10
0 packages can be updated.
0 updates are security updates.
vagrant@saltmaster:~$ sudo su - -c '/bin/sh /tmp/bootstrap_salt.sh -P -c /tmp -F -c /tmp -k /tmp/minion-seed-keys -M -N stable'
* INFO: Running version: 2019.05.20
...
# Installation output stripped
...
* INFO: Salt installed!
Hi,
When I run
vagrant up
, I get the below error(s):