During the installation, it is not possible to finish the cluster-init operation because CJOC start process does not finish correctly
[cjoc] stderr: Running docker-exec on 192.168.1.100: [cjoc] Warning: Permanently added '192.168.1.100' (ECDSA) to the list of known hosts. [cjoc] cat: /var/jenkins_home/secrets/initialAdminPassword: No such file or directory [cjoc] Script terminated with an error (1) [cjoc] There were one or more errors [cjoc] 02:00:00 Failure (255) Retrying in 5 seconds..
- CloudBees Jenkins Enterprise (CJE)
You have to enable access to CJOC in one of those two ways.
disable CJOC security to be able to log in
How to disable CJOC authorization in PSE
I changed the security realm and since then cje operations are failing
stop CJOC and delete all its persistent data, probably easier if you don’t have anything that you want to keep
dna stop cjoc
if your project uses AWS then delete all EBS snapshots and volumes with tag cloudbees:pse:account=cjoc
if your project uses NFS then delete /mnt/cjoc/CONTAINER_ID/ folder on master worker that runs CJOC (
cje run list-applications)
After you do one of these steps you can run prepare cluster-init and apply again