Comments (7)
@galexrt on my specific version of OSX the issue can be fixed by using LC_ALL rather than LC_CTYPE, see below.
Also note in the makefile there is an if statement that is being written to console, added an @ to silence.
$ git diff
diff --git a/Makefile b/Makefile
index 94ce364..a9ade67 100644
--- a/Makefile
+++ b/Makefile
@@ -54,7 +54,7 @@ token: ## Generate a kubeadm join token, if needed (token file is `DIRECTORY_OF_
fi
@if [ ! -f "$(MFILECWD)/.vagrant/KUBETOKEN" ]; then \
if [ -z "$(KUBETOKEN)" ]; then \
- echo "$(shell LC_CTYPE=C tr -cd 'a-z0-9' < /dev/urandom | fold -w 6 | head -n 1).$(shell cat /dev/urandom | LC_CTYPE=C tr -cd 'a-z0-9' < /dev/urandom | fold -w 16 | head -n 1)" > "$(MFILECWD)/.vagrant/KUBETOKEN"; \
+ echo "$(shell LC_ALL=C tr -cd 'a-z0-9' < /dev/urandom | fold -w 6 | head -n 1).$(shell cat /dev/urandom | LC_ALL=C tr -cd 'a-z0-9' < /dev/urandom | fold -w 16 | head -n 1)" > "$(MFILECWD)/.vagrant/KUBETOKEN"; \
else \
echo "$(KUBETOKEN)" > "$(MFILECWD)/.vagrant/KUBETOKEN"; \
fi; \
@@ -119,7 +119,7 @@ kubectl: ## Configure kubeconfig context for the cluster using `kubectl config`
@echo
pull: ## Add and download, or update the box image on the host.
- if !(vagrant box list | grep -q $(shell grep "^\$$box_image.*=.*'.*'\.freeze" "$(MFILECWD)/vagrantfiles/$(BOX_OS)/common" | cut -d\' -f2)); then \
+ @if !(vagrant box list | grep -q $(shell grep "^\$$box_image.*=.*'.*'\.freeze" "$(MFILECWD)/vagrantfiles/$(BOX_OS)/common" | cut -d\' -f2)); then \
vagrant \
box \
add \
from k8s-vagrant-multi-node.
@jbw976 Could you check if 6a1720d fixed these tr
error messages?
from k8s-vagrant-multi-node.
Seems to work OK now:
> make token
> cat .vagrant/KUBETOKEN
lgypb9.19zafgyfcgk5678o
from k8s-vagrant-multi-node.
Thanks for verifying! That is the "correct" output now.
Fix is now in master
will tag it soon.
from k8s-vagrant-multi-node.
I'm see similar issue with current master / head
commit e65032e881877d39dbd652561f6ec061fc5f2241 (HEAD -> master, origin/master, origin/HEAD)
Author: Alexander Trost <[email protected]>
Date: Mon Mar 4 18:36:33 2019 +0100
Removed mentions of unused vagrant-plugin-vagrant-reload plugin
Use Google DNS servers for Ubuntu as the "default" ones are sometimes
broken causing the whole environment install to fail.
Signed-off-by: Alexander Trost <[email protected]>
Using vagrant version;
$ vagrant version
Installed Version: 2.2.4
Latest Version: 2.2.4
You're running an up-to-date version of Vagrant!
Running the following command.
$ NODE_MEMORY_SIZE_GB=3 NODE_CPUS=2 NODE_COUNT=3 make up -j4
tr: Illegal byte sequence
tr: Illegal byte sequence
tr: Illegal byte sequence
tr: Illegal byte sequence
if !(vagrant box list | grep -q generic/fedora29); then \
vagrant \
box \
add \
--provider=virtualbox \
generic/fedora29; \
else \
vagrant box update --box=generic/fedora29; \
fi
==> box: Loading metadata for box 'generic/fedora29'
box: URL: https://vagrantcloud.com/generic/fedora29
Host info
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.12.6
BuildVersion: 16G1815
from k8s-vagrant-multi-node.
@damianoneill I see, thanks for debugging this!
Do you want to open a PR with this fix?
from k8s-vagrant-multi-node.
from k8s-vagrant-multi-node.
Related Issues (20)
- Problem with wrong IP on the master/worker HOT 1
- coredns is pending and not starting HOT 2
- Temporary failure resolving 'us.archive.ubuntu.com' HOT 1
- Failure to successfully boot environment HOT 2
- Network selection HOT 1
- Add details for network, dashboard and K8S version choices HOT 1
- Fail to create cluster due to undefined method `to_bool' for "false":String HOT 3
- k8's nodes not ready after installation using Kubernetes Version 1.16 HOT 2
- Deleting kubectl config on clean HOT 1
- `make up` hangs sometimes HOT 5
- Allow HTTP_PROXY and HTTPS_PROXY to bet set in the VMs
- vagrant reports the 2nd node as "preparing" HOT 7
- Unable to install docker-ce on Centos 8 box image. HOT 3
- Duplicate IP conflict HOT 1
- Ephemeral storage too small - larger / by default? HOT 9
- CentOS 8 broken HOT 1
- Ubuntu vagrant file error since vagrant cloud dependency HOT 3
- travis-ci.org is being shutdowned and migrated to travis-ci.com: Do we need to do anything? HOT 1
- GPU Passtrough support via kubevirt
- Automatically mount VirtIO disks to specific destination HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k8s-vagrant-multi-node.