I'm trying to run the basic dockerfile of bamboo agent on the Openshift 3.4 cluster.
I've added the docker init script equivalent to Openshift using the command and args in the deployment config settings. The issue I have is each time it starts up the pod (container) I get an output message of
starting container process caused "exec: \"atlassian/bamboo-agent-base\": stat atlassian/bamboo-agent-base: no such file or directory"
I've also setup the volume mount for the configuration from the cluster to persist for "
Any suggestions on why I would be seeing this error on the basic build example from the docker file running in Openshift? Appreciate any help.
Hello @Charles S., would it be possible to share your full Pod specification? I'm expecting there to be something wrong with the volume(mounts), but can't tell from the information you provided.
As a reference, below you can find the specs as used by our Kubernetes agents plugin (which uses a PVC, but this is not a requirement). I'm not an expert in OpenShift though, so not sure how this would translate.
- name: bamboo-agent
- name: agent-home
- name: agent-home
Here is the spec section of the config
- containerPort: 8080
- containerPort: 8443
- containerPort: 8447
- mountPath: /home/bamboo/bamboo-agent-home
- name: bambooagent
. *Apologies, the formatting is stripped when pasting - but assure the indention is correct on the config file.
@Charles S. what is the purpose of specifying a command (atlassian/bamboo-agent-base) for the container? The image definition contains an ENTRYPOINT (see https://bitbucket.org/atlassian-docker/docker-bamboo-agent-base/src/d18838b1b7cba21c8207b307d223432f0e736028/Dockerfile#lines-41), which starts the agent script. However, by providing a command in your spec, you are essentially overriding this (see https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#notes ). Obvioulsy, atlassian/bamboo-agent-base is not an executable, which should explain the error message you are seeing.
G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events