Re: Kubernetes architecture in ACS

2022-12-12 Thread Mevludin Blazevic

Hi Vivek,

we are using KCS in our Private Cloud infrastructure (Advanced Zone with 
Security Groups). After some bug fixes which came with ACS 4.17.0 
regarding Security Group assignment to the KCS nodes, all KCS can be 
deployed with the latest Cloudstack release.


We have a test environment also with Advanced Zone without Security 
Groups. While deploying KCS, an SSLHandshakeException never occurred. I 
guess there is something odd with the Cloudstack Management and 
Cloudstack Agent connection. A similar issue occurred while I removed 
cloudstack-agent from one of our hosts and perform a reinstall. It 
turned out that the installation content in /etc/cloudstack (in RHEL 8) 
must be deleted before reinstalling clodustack-agent. After that, adding 
the host to the management server was successful.


Furthermore, we are facing the same issue that the ssh connection to our 
KCS nodes is not working. This Github issue seems to address the 
problem: https://github.com/apache/cloudstack/issues/6929#issue-1469353248


Mevludin

Am 09.12.2022 um 19:31 schrieb Vivek Kumar:

Hello Mates,

I just want to know if someone using ACS kubernetes services for the production 
workload. I have been trying to configure the Kubernetes cluster in 4.17.0 and 
facing issues even while setting up the cluster,  First of all it’s giving me 
certificate error -


m.cloud.agent.api.AgentControlAnswer":{"result":"true","wait":"0","bypassHostMaintenance":"false"}}]
 }
2022-12-09 23:35:29,190 DEBUG [c.c.a.ApiServlet] (qtp681094281-15:ctx-34c8afaa ctx-08cfeb5e) 
(logid:9cf400e5) ===END===  172.31.61.55 -- GET  
name=admin&domainid=4ed7884c-0e65-11ed-8fe8-005056960d46&showicon=true&command=listAccounts&response=json
2022-12-09 23:35:30,247 WARN  [c.c.k.c.u.KubernetesClusterUtil] 
(API-Job-Executor-24:ctx-68274694 job-269646 ctx-4bab8a7a) (logid:01e8c932) API 
endpoint for Kubernetes cluster : test not available
javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
at 
java.base/sun.security.ssl.SSLSocketImpl.handleEOF(SSLSocketImpl.java:


This doesn't end and keep on going, Second, how do I login to the nodes or 
master node, while deploying the cluster I have given my ssh keys, but it’s not 
letting me login - whenever I login -


vivekkumar@Viveks-MacBook-Pro ~ % ssh root@172.31.37.86 -p 2224
Please login as the user "NONE" rather than the user "root".

^CConnection to 172.31.37.86 closed.
vivekkumar@Viveks-MacBook-Pro ~ % ssh NONE@172.31.37.86 -p 2224
NONE@172.31.37.86: Permission denied (publickey).
vivekkumar@Viveks-MacBook-Pro ~ % ssh 172.31.37.86 -p 2224
vivekkumar@172.31.37.86: Permission denied (publickey).


How to login and troubleshoot what’s going inside of the VM, Is there any 
architectural diagram or document which can explain the steps which gets 
involved for deploying a Kubernetes cluster.




Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com 
www.indiqus.com 






--
Mevludin Blazevic, M.Sc.

University of Koblenz-Landau
Computing Centre (GHRKO)
Universitaetsstrasse 1
D-56070 Koblenz, Germany
Room A023
Tel: +49 261/287-1326



Kubernetes architecture in ACS

2022-12-09 Thread Vivek Kumar
Hello Mates,

I just want to know if someone using ACS kubernetes services for the production 
workload. I have been trying to configure the Kubernetes cluster in 4.17.0 and 
facing issues even while setting up the cluster,  First of all it’s giving me 
certificate error - 


m.cloud.agent.api.AgentControlAnswer":{"result":"true","wait":"0","bypassHostMaintenance":"false"}}]
 }
2022-12-09 23:35:29,190 DEBUG [c.c.a.ApiServlet] (qtp681094281-15:ctx-34c8afaa 
ctx-08cfeb5e) (logid:9cf400e5) ===END===  172.31.61.55 -- GET  
name=admin&domainid=4ed7884c-0e65-11ed-8fe8-005056960d46&showicon=true&command=listAccounts&response=json
2022-12-09 23:35:30,247 WARN  [c.c.k.c.u.KubernetesClusterUtil] 
(API-Job-Executor-24:ctx-68274694 job-269646 ctx-4bab8a7a) (logid:01e8c932) API 
endpoint for Kubernetes cluster : test not available
javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
at 
java.base/sun.security.ssl.SSLSocketImpl.handleEOF(SSLSocketImpl.java:


This doesn't end and keep on going, Second, how do I login to the nodes or 
master node, while deploying the cluster I have given my ssh keys, but it’s not 
letting me login - whenever I login - 


vivekkumar@Viveks-MacBook-Pro ~ % ssh root@172.31.37.86 -p 2224
Please login as the user "NONE" rather than the user "root".

^CConnection to 172.31.37.86 closed.
vivekkumar@Viveks-MacBook-Pro ~ % ssh NONE@172.31.37.86 -p 2224
NONE@172.31.37.86: Permission denied (publickey).
vivekkumar@Viveks-MacBook-Pro ~ % ssh 172.31.37.86 -p 2224 
vivekkumar@172.31.37.86: Permission denied (publickey).


How to login and troubleshoot what’s going inside of the VM, Is there any 
architectural diagram or document which can explain the steps which gets 
involved for deploying a Kubernetes cluster. 




Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

vivek.ku...@indiqus.com 
www.indiqus.com 





-- 
This message is intended only for the use of the individual or entity to 
which it is addressed and may contain confidential and/or privileged 
information. If you are not the intended recipient, please delete the 
original message and any copy of it from your computer system. You are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited unless proper authorization has been 
obtained for such action. If you have received this communication in error, 
please notify the sender immediately. Although IndiQus attempts to sweep 
e-mail and attachments for viruses, it does not guarantee that both are 
virus-free and accepts no liability for any damage sustained as a result of 
viruses.