osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kube_cluster_deploy fails


Hi Pawel,

Firstly, please remove the tls-disabled param which it's a known issue.
And m1.small is a bit small for master which 30mins timout maybe not
enough. Please address them and try again, then if you still see error,
pls provied the log /var/log/cloud-init-output.log on your master node.
Cheers.


On 16/04/19 2:02 AM, Pawel Konczalski wrote:
> Hi,
>
> i try to deploy a kubernetes cluster on OpenStack rocky with Magnum.
> All Heat steps runs fine except for the last one "kube_cluster_deploy":
>
> kube_cluster_deploy    c3a79e96-87d8-442e-83f1-91d7a1acd896    1
> minute    Create Failed    CREATE aborted (Task create from
> SoftwareDeployment "kube_cluster_deploy" Stack
> "kubernetes-cluster9-l4ol4ger3key"
> [b17bfab3-f46a-477b-921f-4719bfd8df06] Timed out)
>
> The cluster contains three control / compute nodes, Octavia is also
> installed and works fine as far as I can see.
>
> Atomic Image:
> https://dl.fedoraproject.org/pub/alt/atomic/stable/Fedora-Atomic-27-20180419.0/CloudImages/x86_64/images/Fedora-Atomic-27-20180419.0.x86_64.raw.xz
>
>
> The command was:
> openstack coe cluster template create kubernetes-cluster-template \
>   --image fedora-atomic-latest \
>   --external-network public \
>   --dns-nameserver 8.8.8.8 \
>   --master-flavor m1.small \
>   --flavor m1.large \
>   --coe kubernetes \
>   --docker-volume-size 10 \
>   --tls-disabled \
>   --floating-ip-enabled
>
> openstack coe cluster create kubernetes-cluster \
>   --cluster-template kubernetes-cluster-template \
>   --master-count 1 \
>   --node-count 1 \
>   --timeout 30 \
>   --keypair mykey
>
> Did someone run also into this Problem or know how to fix it?
>
> BR
>
> Pawel

-- 
Cheers & Best regards,
Feilong Wang (ç??é£?é¾?)
--------------------------------------------------------------------------
Senior Cloud Software Engineer
Tel: +64-48032246
Email: flwang at catalyst.net.nz
Catalyst IT Limited
Level 6, Catalyst House, 150 Willis Street, Wellington
--------------------------------------------------------------------------