Vagrant 1.8.7
MacOS Sierra 10.12.1
Not created.
https://github.com/coreos/coreos-kubernetes/blob/master/multi-node/vagrant/Vagrantfile
https://gist.github.com/jkanschik/db34fdac2da9aa3cc8a809f7458be6ad
Vagrant VMs should be created
On vagrant up, I get the following message (same for most other commands):
WARNING: can't open config file: /vagrant-substrate/staging/embedded/ssl/openssl.cnf
Generating RSA private key, 2048 bit long modulus
..............................................................................................................+++
...............................................................................................+++
e is 65537 (0x10001)
WARNING: can't open config file: /vagrant-substrate/staging/embedded/ssl/openssl.cnf
Unable to load config info from /vagrant-substrate/staging/embedded/ssl/openssl.cnf
failed generating SSL artifacts
git clone https://github.com/coreos/coreos-kubernetes.git
cd coreos-kubernetes/multi-node/vagrant
vagrant up
GH-7747
FYI: Openssl has been installed via brew:
$ brew install openssl
Warning: openssl-1.0.1h already installed
$ openssl version
OpenSSL 0.9.8zh 14 Jan 2016
The workaround to link the existing openssl as proposed in GH-7747 seems to work as well
sudo ln -sf /usr/local/bin/openssl /opt/vagrant/embedded/bin/openssl
Hi there,
It looks like this has been resolved within a previously shipped version of Vagrant so I am now closing this issue. If the original issue was not fully resolved, please reopen this issue or create a new one.
Cheers!
Problem exists on vagrant 1.9.1 with openssl from brew as well.
@jkanschik workaround solved it for me
Still happening on vagrant 1.9.4.
Also fixed with @jkanschik workaround but had to find out first where my openssl was installed (whereis openssl
)
Still happening on vagrant 1.9.5.
@cofyc Running the ssl scripts using the bundled openssl works fine for me. Can you post a debug gist of the output from the failed run. Thanks!
@chrisroberts
vagrant up --debug
output: https://gist.github.com/cofyc/fd74f1635cf7562eaea560ff156d8ce4
Mac OS version:
$ sw_vers -productVersion
10.11.6
Just ran into this myself.
user@laptop ~/dev/containerdev/coreos-kubernetes/multi-node/vagrant master vagrant up
WARNING: can't open config file: /opt/vagrant/embedded/openssl.cnf
Generating RSA private key, 2048 bit long modulus
.....................................................................................................................................................................................+++
.............................+++
e is 65537 (0x10001)
WARNING: can't open config file: /opt/vagrant/embedded/openssl.cnf
Unable to load config info from /opt/vagrant/embedded/openssl.cnf
failed generating SSL artifacts
sudo ln -sf /usr/local/bin/openssl /opt/vagrant/embedded/bin/openssl
Fixed it for me as well. Thanks @jkanschik !
Ubuntu 16.06
Vagrant 1.9.5
Ran into this today running vagrant 1.9.5. Problem is solved by manually linking brew'd version of openssl as others suggested.
Still happening in 1.9.8, symlink solution worked.
Using Vagrant 2.0.0-2 on Arch-Linux, same issue, symlink solution worked.
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Most helpful comment
The workaround to link the existing openssl as proposed in GH-7747 seems to work as well
sudo ln -sf /usr/local/bin/openssl /opt/vagrant/embedded/bin/openssl