GlorifiedTypist / k3s-oracle-cloud-free-tier

Create a k3s cluster on Oracle Cloud's free for life tier
GNU General Public License v3.0
30 stars 21 forks source link

unexpected operator error for module.free-tier-k3s.null_resource.kubeconfig (local-exec) #8

Closed valentinvieriu closed 3 years ago

valentinvieriu commented 3 years ago
module.free-tier-k3s.null_resource.kubeconfig (local-exec): /bin/sh: 1: [: 7: unexpected operator
module.free-tier-k3s.null_resource.kubeconfig: Still creating... [30s elapsed]
module.free-tier-k3s.oci_core_instance_pool.worker: Still creating... [30s elapsed]
module.free-tier-k3s.null_resource.kubeconfig (local-exec): /bin/sh: 1: [: 7: unexpected operator
module.free-tier-k3s.null_resource.kubeconfig (local-exec): /bin/sh: 1: [: 7: unexpected operator
module.free-tier-k3s.null_resource.kubeconfig: Still creating... [40s elapsed]
module.free-tier-k3s.oci_core_instance_pool.worker: Still creating... [40s elapsed]
module.free-tier-k3s.null_resource.kubeconfig (local-exec): /bin/sh: 1: [: 7: unexpected operator
module.free-tier-k3s.null_resource.kubeconfig (local-exec): /bin/sh: 1: [: 7: unexpected operator

This happens on Ubuntu Linux.

GlorifiedTypist commented 3 years ago

I never seen a vanilla Ubuntu install using bourne shell.

Out of interest what is the output of:

ps -p $$

In the terminal you are using to provision the cluster?

valentinvieriu commented 3 years ago
k3s-oracle-cloud-free-tier (PR-5 *) → ps -p $$
    PID TTY          TIME CMD
 914530 pts/4    00:00:00 bash