vmware / harbor-boshrelease

CFF BOSH Release for Project Harbor
Apache License 2.0
36 stars 24 forks source link

Passing an incorrect certificate in the Harbor installation corrupts the install #111

Open Turbots opened 4 years ago

Turbots commented 4 years ago

Hello,

We tried installing Harbor Bosh release in Enterprise PKS and provided an incorrect certificate.

The timeout for the pre-start script in the Bosh release was set to the default of 60 minutes.

The prestart script fails at this line: https://github.com/vmware/harbor-boshrelease/blob/master/jobs/harbor/templates/bin/pre-start.erb.sh#L309

You can see that, if the certificate is incorrect, it will continue to return something other than HTTP 200 OK which means this script will stall the process for 60 minutes, without much feedback, even in the logs, there's nothing there except the echo statement. Also, since the problem is in the pre-start script, monit will not boot up properly.

Possible solutions:

stonezdj commented 10 months ago

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.