TritonDataCenter / triton-kubernetes

Kubernetes on Triton
Mozilla Public License 2.0
184 stars 44 forks source link

Error with pre-create check when setting up new nodes on rancher using HA #30

Closed pragmaticivan closed 6 years ago

pragmaticivan commented 6 years ago
screen shot 2018-01-08 at 10 09 12 am screen shot 2018-01-08 at 10 09 17 am
fayazg commented 6 years ago

Can you give a little info on your environment? Are you setting up nodes using rancher UI here? What parameters did you use?

pragmaticivan commented 6 years ago
name=triton-test
ha=true
networks=public,My-Fabric-Network
compute_count=5
etcd_package=kvm_16g
orchestration_package=kvm_16g
compute_package=kvm_16g
triton_image_name=ubuntu-certified-16.04
triton_image_version=20170221
docker_engine_install_url=https://releases.rancher.com/install-docker/1.12.sh

I pretty much settled upa HA server with, even If I settled up compute_count=5,

It just created 2 master computer + 1 mysql. Nothing else.

fayazg commented 6 years ago
networks=public,My-Fabric-Network
etcd_package=kvm_16g
orchestration_package=kvm_16g
compute_package=kvm_16g

Is this on public cloud or your own private Triton?

pragmaticivan commented 6 years ago

private Triton, but it has both networks.

fayazg commented 6 years ago

Didn't the cli (./triton-kubernetes.sh -e triton_environment.conf) throw any errors, or you using the UI with those parameters to create your environment?

pragmaticivan commented 6 years ago

Not really, it created the machines all right, but rancher is not able to create more nodes, maybe it's a problem with the driver it used for docker-machine with rancher

fayazg commented 6 years ago

It shouldn't use docker-machine if you used the CLI. If you used the UI (it uses machine-driver), you have to enter /root/.ssh/id_rsa as the input for private key.

pragmaticivan commented 6 years ago

hey @fayazg this problem only happens if I try to add nodes using the UI before I perform the script with -e.

I will close that since it may not be relevant any way.

I ended up having issues to understand what are people using for Storage with kubernetes when using triton.