Open srividhyak27 opened 8 years ago
Also having this issue on Vagrant 1.8.5 and Fedora 24.
Me too!, My environment is:
Details:
$ > uname -a
Linux xxxxxx 4.7.9-200.fc24.x86_64 #1 SMP Thu Oct 20 14:26:16 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ > vagrant version
Installed Version: 1.8.6
Latest Version: 1.8.6
$ > openssl version
OpenSSL 1.0.2j-fips 26 Sep 2016
$ > openssl version -d
OPENSSLDIR: "/etc/pki/tls"
$ > virtualbox --help
Oracle VM VirtualBox Manager 5.1.4
(C) 2005-2016 Oracle Corporation
All rights reserved.
I set set -x
to debug the process in my bash console
$ > set -x && vagrant up
+ vagrant up
++ which openssl
+ OPENSSL=/opt/vagrant/embedded/bin/openssl
+ '[' -z ssl ']'
+ OUTDIR=ssl
+ '[' '!' -d ssl ']'
+ OUTFILE=ssl/ca.pem
+ '[' -f ssl/ca.pem ']'
+ /opt/vagrant/embedded/bin/openssl genrsa -out ssl/ca-key.pem 2048
WARNING: can't open config file: /etc/ssl/openssl.cnf
Generating RSA private key, 2048 bit long modulus
..............................+++
................................+++
e is 65537 (0x10001)
+ /opt/vagrant/embedded/bin/openssl req -x509 -new -nodes -key ssl/ca-key.pem -days 10000 -out ssl/ca.pem -subj /CN=kube-ca
WARNING: can't open config file: /etc/ssl/openssl.cnf
Unable to load config info from /etc/ssl/openssl.cnf
failed generating SSL artifacts
++ __vte_prompt_command
+++ HISTTIMEFORMAT=
+++ history 1
+++ sed 's/^ *[0-9]\+ *//'
++ local 'command=vagrant up'
++ command='vagrant up'
++ local 'pwd=~'
++ '[' /home/christian/git/coreos-kubernetes/multi-node/vagrant '!=' /home/christian ']'
++ pwd='~/git/coreos-kubernetes/multi-node/vagrant'
+++ __vte_osc7
++++ __vte_urlencode /home/christian/git/coreos-kubernetes/multi-node/vagrant
++++ LC_ALL=C
++++ str=/home/christian/git/coreos-kubernetes/multi-node/vagrant
++++ '[' -n /home/christian/git/coreos-kubernetes/multi-node/vagrant ']'
++++ safe=/home/christian/git/coreos-kubernetes/multi-node/vagrant
++++ printf %s /home/christian/git/coreos-kubernetes/multi-node/vagrant
++++ str=
++++ '[' -n '' ']'
++++ '[' -n '' ']'
+++ printf '\033]7;file://%s%s\007' sysadmin-01.xxxxxx /home/christian/git/coreos-kubernetes/multi-node/vagrant
++ printf '\033]777;notify;Command completed;%s\007\033]0;%s@%s:%s\007%s' 'vagrant up' christian sysadmin-01 '~/git/coreos-kubernetes/multi-node/vagrant' ''
bumt too. 1.8.5 Vagrant and Fedora 24 Update: solved for me
sudo ln -sf /usr/local/bin/openssl /opt/vagrant/embedded/bin/openssl
Thanks @Mangirdaz! That's solved it for me as well.
Thanks @Mangirdaz ! It also works for mac
Thanks @Mangirdaz. I also use Mac
great it worked !
Thanks. @mangirdaz
Need adjust openssl source path on mac.
sudo mv /opt/vagrant/embedded/bin/openssl /opt/vagrant/embedded/bin/openssl.orig
sudo ln -sf /usr/bin/openssl /opt/vagrant/embedded/bin/openssl
The same thing that SydOps did on OS X worked on Ubuntu 16.04
Same issue on 16.04. Followed instruction of SydOps as well.
Thanks @SydOps, the fix worked for me too:
$vagrant --version
Vagrant 1.9.3
$sw_vers
ProductName: Mac OS X
ProductVersion: 10.12.5
BuildVersion: 16F73
the problem is really in vagrant, see https://github.com/mitchellh/vagrant/issues/8013
Same issue; Arch-Linux with latest-updates installed, Vagrant 2.0.0-2 . Thanks @ozbillwang , fix worked.
[single-node]# vagrant version Installed Version: 1.8.6 Latest Version: 1.8.6
You're running an up-to-date version of Vagrant! /opt/vagrant/embedded/bin/openssl: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory failed generating SSL CA artifacts
[single-node]# vagrant up /opt/vagrant/embedded/bin/openssl: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory failed generating SSL CA artifacts
openssl version: [single-node]# openssl version OpenSSL 1.0.1e-fips 11 Feb 2013
Similar to the issue: https://github.com/coreos/coreos-kubernetes/issues/635
Thanks.