Join GitHub today
Newly bootstrapped salt-master crashed with "ImportError: cannot import name DEFAULT_MINION_OPTS" #44435
Description of Issue/Question
When attempting to bootstrap a new master using the development HEAD, I am now getting a failure
This kills an automatic provision of a Vagrant Box using Salt with a fatal error.
It also pretty well kills SaltConf presentations which are based on this code. :-(
Please note that this bug is demonstrated by a change in Salt -- not a change in bootstrap_salt.
install Vagrant and Virtualbox
Steps to Reproduce Issue
Create a Vagrantfile like:
vernoncole@vc-ddell:/projects/learn-salt/lessons/vagrant_basics$ vagrant up
vernoncole@vc-ddell:/projects/learn-salt/lessons/vagrant_basics$ vagrant ssh
vagrant@lesson1:~$ wget -O bootstrap_salt.sh http://bootstrap.saltstack.com
vagrant@lesson1:~$ sudo sh bootstrap_salt.sh -P -D -L git develop
. . . [ clip ] . . .
vernoncole@vc-ddell:/projects/learn-salt/lessons/vagrant_basics$ vagrant --version
vagrant@lessons1:~$ sudo salt --versions-report
added a commit
Nov 8, 2017
referenced this issue
Nov 8, 2017
@rallytime Yes. Fix confirmed.
It took me a bit to figure out the bootstrap_salt.sh command line to pull the correct commit out of your repository (rather than my own or the main), but after a couple of Homer Simpson "doh" moments ... it works perfectly.