SSH Smoke Test section - Jenkins, using master node as agent node
When launching the SSH Smoke Test the console output gives a Waiting for next available executor everlasting message.. Increasing the number of executor to 1 for the master node overcome this issue but triggers a warning message.. Following links, I am not reading the according documentation (see: https://jenkins.io/doc/book/security/controller-isolation/ and https://wiki.jenkins.io/display/JENKINS/Distributed+builds). Has anyone followed this implementation successfully and can share details?
Answers
-
Also, I have difficulties to understand where this SSH job should be run?
The pipeline script does not specify any specific node; when the number of executor is set to 0 for the master/built-in/controller node, a pod is created. But with the pipeline script does not point to a specific container to provision the pod.
Also, am I correct in my assumptions that we want to test the dev VM infrastructure? Hence, the idea is to get a transient pod on the Kubernetes cluster that would connect to the dev VM to launch theinspeccommand?Thanks
0 -
~ attempt to amend post; issue with captcha test ~~
0 -
Also, looking at the
/var/log/auth.logon the dev VM indicades that the triggered pod is unable to negociate (no matching key exchange method found). Do you think that using the jenkins/ssh-agent could help to get secure solution?0 -
SSH smoke test would run on the jenkins server itself. Jenkins server is supposed to connect to the remote dev machine and launch a script/run scans.
Installing a ssh pipeline plugin should suffice imho.
You should check whether your remote server (to which jenkins is supposed to connect), allows access with SSH keys. This configuration typically resides inside /etc/ssh/sshd_config file. The configurations that you may need to have enabled are
ChallengeResponseAuthentication yes PermitRootLogin yes
You could also debug this by getting inside jenkins server's console using
kubectl execcommand and trying to establish ssh connection manually. Try to use-vvvvto get verbose output.These are just some possible cases and may help you to proceed further. If you are still stuck and not able to proceed further, best way to seek help is to join the office hours on Mon/Tue where I could help by looking at your setup live with screenshare, which is much faster a process.
0
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 750 Linux Foundation IT Professional Programs
- 373 Cloud Engineer IT Professional Program
- 169 Advanced Cloud Engineer IT Professional Program
- 74 DevOps IT Professional Program - Discontinued
- 4 DevOps & GitOps IT Professional Program
- 99 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 1 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 3 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 1 Open Source Best Practice Training
- 1 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 769 Linux Distributions
- 81 Debian
- 68 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 955 Programming and Development
- 310 Kernel Development
- 627 Software Development
- 983 Software
- 375 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)
