Hi all,
I am still not able to deploy the k8s cluster. For reference log is
available on
https://drive.google.com/file/d/1d0HTnO__-Fi2W9FFWazivlmrrglqYGYD/view?usp=sharing

Please help to resolve this issue.

On Tue, Feb 7, 2023 at 4:08 PM Pratik Chandrakar <[email protected]>
wrote:

> Hi all,
>  Logs of Control and Cluster Node. Please guide.
>
> On Thu, Feb 2, 2023 at 5:35 PM Kiran Chavala <[email protected]>
> wrote:
>
>> Hi Pratik
>>
>> I was able to deploy k8s cluster on 4.17.2 without any issue
>>
>> Please try to deploy the k8s cluster with a ssh key pair, so that you can
>> ssh to the master node, as it would help us in checking the logs on the
>> master node on why the "deploy-kube-system.service" failed to start
>>
>>
>> cloud@test2-control-18611f3ee0c:/var/log$ ls
>> alternatives.log  auth.log  cloud-init.log         cloud.log   cron.log
>>   debug    haproxy.log  kern.log  messages  pods     runit  sysstat
>> apache2           btmp      cloud-init-output.log  containers
>> daemon.log  faillog  journal      lastlog   ntpstats  private  samba  wtmp
>>
>> Regards
>> Kiran
>> ________________________________
>> From: Wei ZHOU <[email protected]>
>> Sent: 02 February 2023 17:00
>> To: [email protected] <[email protected]>
>> Subject: Re: Failed to create Kubernetes Cluster on ACS 4.17.2
>>
>> Hi Pratik,
>>
>> Did you create the k8s cluster on new or existing isolated networks ?
>>
>>
>> -Wei
>>
>> On Thu, 2 Feb 2023 at 11:14, Pratik Chandrakar <
>> [email protected]>
>> wrote:
>>
>> > Hi Kiran,
>> > Desired information is as follows,
>> >   1.  Cloudstack version you are using
>> >         *ACS 4.17.2*
>> >
>> >   2.   Kubernetes version iso you had used (
>> > http://packages.shapeblue.com/cks/)
>> >         *setup-1.23.3.iso* and *setup-1.21.3.iso*
>> >
>> >   3.  Which network you used to deploy the kubernetes ( isolated or
>> shared
>> > ) ?
>> > *       isolated*
>> >
>> >   4.   Are you able to ssh to the master node and worker node from the
>> > management server
>> >         *No*. But VMs are pinging from the router.
>> >
>> > On Thu, Feb 2, 2023 at 3:03 PM Kiran Chavala <
>> [email protected]>
>> > wrote:
>> >
>> > > Hi Pratik
>> > >
>> > > Could you please let me know the details of the environment
>> > >
>> > >
>> > >   1.  Cloudstack version you are using
>> > >
>> > >   2.   Kubernetes version iso you had used
>> > > http://packages.shapeblue.com/cks/
>> > >
>> > > <http://packages.shapeblue.com/cks/3.>
>> > >   3.  Which network you used to deploy the kubernetes ( isolated or
>> > shared
>> > > ) ?
>> > >
>> > >   4.   Are you able to ssh to the master node and worker node from the
>> > > management server
>> > >
>> > > ssh -i /var/cloudstack/management/.ssh/id_rsa -p 2222 root@<router
>> ip>
>> > > ssh -i /var/cloudstack/management/.ssh/id_rsa -p 2223 root@<routerip>
>> > >
>> > > If you are able to ssh then could you check if the containers are
>> started
>> > > on the host or check the kubelet service
>> > >
>> > > systemctl status kubelet
>> > >
>> > >
>> > >
>> > > Regards
>> > > Kiran
>> > >
>> > > <http://packages.shapeblue.com/cks/3.>
>> > >
>> > >
>> > > <http://packages.shapeblue.com/cks/3.>
>> > >
>> > >
>> > > <http://packages.shapeblue.com/cks/>
>> > >
>> > >
>> > > ________________________________
>> > > From: Pratik Chandrakar <[email protected]>
>> > > Sent: 02 February 2023 14:23
>> > > To: [email protected] <[email protected]>
>> > > Subject: Re: Failed to create Kubernetes Cluster on ACS 4.17.2
>> > >
>> > > Hi Kiran,
>> > > Compute Offering - 4P-8G Ram
>> > > Network Offering - DefaultNetworkOfferingforKubernetesService in
>> Advanced
>> > > Zone
>> > >
>> > > No exception/error was generated on the management server. but on VM
>> > > "*Failed
>> > > to start deploy-kube-system.service*" & "*Failed to Start Execute
>> cloud
>> > > user/final scripts*". And the UI shows *Create Kubernetes cluster
>> > > KubeCluster1.23.3 in progress* even after the error on VM.
>> > >
>> > >
>> > >
>> > > On Thu, Feb 2, 2023 at 1:46 PM Kiran Chavala <
>> > [email protected]>
>> > > wrote:
>> > >
>> > > > Hi Pratik
>> > > >
>> > > > Could you please send the management server log ( exception)
>> > > >
>> > > > What is compute offering you have used for deploying the k8s
>> cluster,
>> > can
>> > > > you make sure you use at least 2 gb ram and 2 cores offering
>> > > >
>> > > > Regards
>> > > > Kiran
>> > > > ________________________________
>> > > > From: Pratik Chandrakar <[email protected]>
>> > > > Sent: 02 February 2023 13:28
>> > > > To: [email protected] <[email protected]>
>> > > > Subject: Failed to create Kubernetes Cluster on ACS 4.17.2
>> > > >
>> > > > Hello,
>> > > > I am trying to create a Kubernetes cluster for learning purposes. I
>> > > > followed the steps available on
>> > > >
>> > >
>> >
>> https://docs.cloudstack.apache.org/en/latest/plugins/cloudstack-kubernetes-service.html
>> > > > but on deployment, I get "Failed to start
>> deploy-kube-system.service"
>> > > error
>> > > > on one of the VM. I tried this with multiple images (1.21.3, 1.23.3,
>> > > > 1.24.0) but the same error occurs.
>> > > > Please guide me on how to solve this problem.
>> > > >
>> > > > [image.png]
>> > > >
>> > > > --
>> > > > Thanks
>> > > > Pratik Chandrakar
>> > > >
>> > > >
>> > > >
>> > > >
>> > >
>> > > --
>> > > *Regards,*
>> > > *Pratik Chandrakar*
>> > >
>> > >
>> > >
>> > >
>> >
>> > --
>> > *Regards,*
>> > *Pratik Chandrakar*
>> >
>>
>>
>>
>>
>
> --
> *Regards,*
> *Pratik Chandrakar*
>


-- 
*Regards,*
*Pratik Chandrakar*

Reply via email to