#571 cico agent pod fails to come up on OCP4 CI
Closed: Fixed 2 years ago by anoopcs. Opened 2 years ago by anoopcs.

Project namespace: https://jenkins-samba.apps.ocp.ci.centos.org/

cico agent pod when requested from a build job fails to come up with the following error:

2021/12/19 04:54:51 [go-init] No pre-start command defined, skip
2021/12/19 04:54:51 [go-init] Main command launched : /usr/local/bin/run-jnlp-client
failed to create /var/lib/alternatives/java.new: Permission denied
alternatives version 1.19.1 - Copyright (C) 2001 Red Hat, Inc.
This may be freely redistributed under the terms of the GNU Public License.

usage: alternatives --install <link> <name> <path> <priority>
                    [--initscript <service>]
                    [--family <family>]
                    [--slave <slave_link> <slave_name> <slave_path>]*
       alternatives --remove <name> <path>
       alternatives --auto <name>
       alternatives --config <name>
       alternatives --display <name>
       alternatives --set <name> <path>
       alternatives --list
       alternatives --remove-all <name>
       alternatives --add-slave <name> <path> <slave_link> <slave_name> <slave_path>
       alternatives --remove-slave <name> <path> <slave_name>

common options: --verbose --test --help --usage --version --keep-missing --keep-foreign
                --altdir <directory> --admindir <directory>
OPENSHIFT_JENKINS_JVM_ARCH='', CONTAINER_MEMORY_IN_MB='8796093022207', using /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-2.el8_5.x86_64/jre/bin/java
Downloading http://172.30.171.64:80//jnlpJars/remoting.jar ...
curl: (7) Failed to connect to 172.30.171.64 port 80: No route to host
2021/12/19 04:54:54 [go-init] Main command failed
2021/12/19 04:54:54 [go-init] exit status 7
2021/12/19 04:54:54 [go-init] No post-stop command defined, skip

Moreover it repeatedly tries to create the pod and fails forever..


Metadata Update from @arrfab:
- Issue assigned to arrfab

2 years ago

Metadata Update from @arrfab:
- Issue tagged with: centos-ci-infra, high-gain, medium-trouble, namespace-request

2 years ago

Per discussion on irc, we identified multiple problems, including with the base image that was now pulled for the jenkins:2 image stream (incompatible https://plugins.jenkins.io/openshift-sync/ plugin)

So we have cleared existing PV for samba project, and recreated it from scratch.
It's now available on https://jenkins-samba.apps.ocp.ci.centos.org/ so can you just confirm that a simple "hello world" job, using the cico-workspace label would work ?
That would deploy an ephemeral container from that template (that would have the secrets available, like ssh private key to connect to provisioned duffy nodes) , run the job and then removes that container.

Waiting on feedback first before closing, but we deployed multiple times some jenkins for ci-infra-test and it was working then fine for us

Metadata Update from @arrfab:
- Issue priority set to: Waiting on Reporter (was: Needs Review)

2 years ago

I haven't tried to allocate node but a simple test job using cico-workspace template completed successfully.

Update: Everything works now. I managed to successfully run a job to allocate and execute on node allocated from duffy provisioned pool.

Metadata Update from @anoopcs:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata
Boards 1
CentOS CI Infra Status: Backlog