Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot start harbor: pre-start script fails due to lack of python intepreter (Xenial & Jammy) #149

Open
dennisjbell opened this issue Apr 3, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@dennisjbell
Copy link

Describe the bug

Tried to deploy as described in the manifest directory examples. First tried on ubuntu-jammy, but when that failed, tried again on ubuntu-xenial, which is used in the example manifest.

bosh deployment output:

Task 345 | 23:52:06 | L executing pre-start: harbor-app/f74876ed-744e-4c39-ad43-d58b810133af (0) (canary) (00:03:02)
                    L Error: Action Failed get_task: Task bf645736-e545-4a77-772f-e5e2ca8c636b result: 1 of 4 pre-start scripts failed. Failed Jobs: harbor. Successful Jobs: enable-bosh-dns, bosh-dns, user_add.

Content of pre-start script for harbor job:

/var/vcap/jobs/harbor/bin/pre-start: /var/vcap/packages/harbor-app/prepare: /usr/bin/python: bad interpreter: No such file or directory

There iis no /usr/bin/python on ubuntu-xenial stemcell, nor is there python in the path at all. There is /usr/bin/python3

Reproduction steps

  1. Deploy as described in the manifests examples
  2. Note failure

Expected behavior

Harbor job should start, and python should be present, or python3 should be used.

Additional context

No response

@dennisjbell dennisjbell added the bug Something isn't working label Apr 3, 2023
@stonezdj
Copy link
Contributor

stonezdj commented Dec 22, 2023

The current purpose of this repo is primarily to serve as a dependency for Harbor Tile as part of the BOSH release. Due to resource limits, we do not support the Bosh release.

@norman-abramovitz
Copy link

So the tile does not work either if you are using this bosh release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants