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

On-prem-builder install does not move user.toml files to correct location #200

Open
drakoswraith opened this issue Oct 8, 2019 · 0 comments

Comments

@drakoswraith
Copy link

drakoswraith commented Oct 8, 2019

I installed the On Prem Habitat Builder Depot on two servers, both of which showed this behavior. I installed it once on CentOS 7.6 and once on RHEL 7.6.
After installing, i found that the Builder Depot wasn't showing all of it's correct configuration when I pulled up the web UI initially (for example SSL and OAuth).
I found the below log entries noting that the user.toml files were not being watched due to remaining in the svc folders, and moved the user.toml files to the newer locations to resolve the issue.

Please update the install process to move the user.toml files to the updated standard location.

Log entries from journalctl -u hab-sup
Oct 07 21:34:12 computername.dev.local hab[4191]: builder-api-proxy.default(UCW): Not watching user.toml, because it is located in deprecated path (/hab/svc/builder-api-proxy).
Oct 07 21:36:38 computername.dev.local hab[26247]: builder-api.default(UCW): Not watching user.toml, because it is located in deprecated path (/hab/svc/builder-api).
Oct 07 21:36:38 computername.dev.local hab[26247]: builder-datastore.default(UCW): Not watching user.toml, because it is located in deprecated path (/hab/svc/builder-datastore).
Oct 07 22:00:54 computername.dev.local hab[30473]: builder-minio.default(UCW): Not watching user.toml, because it is located in deprecated path (/hab/svc/builder-minio).

Oct 07 21:34:12 computername.dev.local hab[4191]: hab-sup(CF): The user configuration location at /hab/svc/builder-api-proxy/user.toml is deprecated, consider putting it in /hab/user/builder-api-proxy/config/user.toml
Oct 07 21:36:38 computername.dev.local hab[26247]: hab-sup(CF): The user configuration location at /hab/svc/builder-api/user.toml is deprecated, consider putting it in /hab/user/builder-api/config/user.toml
Oct 07 21:36:38 computername.dev.local hab[26247]: hab-sup(CF): The user configuration location at /hab/svc/builder-datastore/user.toml is deprecated, consider putting it in /hab/user/builder-datastore/config/user.toml
Oct 07 22:00:54 computername.dev.local hab[30473]: hab-sup(CF): The user configuration location at /hab/svc/builder-minio/user.toml is deprecated, consider putting it in /hab/user/builder-minio/config/user.toml

Resolved issue via:
mkdir -p /hab/user/builder-api-proxy/config/
mkdir -p /hab/user/builder-api/config/
mkdir -p /hab/user/builder-datastore/config/
mkdir -p /hab/user/builder-minio/config/
cp /hab/svc/builder-api-proxy/user.toml /hab/user/builder-api-proxy/config/
cp /hab/svc/builder-api/user.toml /hab/user/builder-api/config/
cp /hab/svc/builder-datastore/user.toml /hab/user/builder-datastore/config/
cp /hab/svc/builder-minio/user.toml /hab/user/builder-minio/config/

Versions:
CentOS Linux release 7.6.1810 (Core)
RHEL 7.6

habitat/builder-api/8473/20190830141422
habitat/builder-api-proxy/8467/20190829194024
habitat/builder-datastore/7809/20181019215440
habitat/builder-memcached/7728/20180929144821
habitat/builder-minio/7764/20181006010221

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant