Installation of Compass in Different Formats
a0ff252058
This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have. |
||
---|---|---|
ci | ||
docker/build | ||
examples | ||
install | ||
.gitignore | ||
.gitreview | ||
README.md | ||
Vagrantfile |
Compass Install
How to use examples/compass?
- Make sure you have docker installed.
- Make sure you have working cobbler and chef servers, where all adapter related code has been updated to the latest.
- Go to your chef server's web UI and create a client with admin privileges, name it as docker-controller.
- You will have ONE CHANCE to copy the private key, copy it and paste it to replace
conf/chef-client.pem
- Go to
examples/compass/conf
directory - Edit chef-icehouse.conf, change '10.145.89.140' to your chef server's IP.
- Edit cobbler.conf and change the IP to your cobbler server's IP.
- Edit compass.setting
- COMPASS_SUPPORTED_PROXY: this is not supported in containerized compass, use the default value
- COMPASS_SUPPORTED_DEFAULT_NOPROXY: default value
- COMPASS_SUPPORTED_NTP_SERVER: I am planning to move ntpd to cobbler container, so for now just point this value to any working compass server.
- COMPASS_DNS_SERVERS: cobbler server takes care of dns, use cobbler server IP
- COMPASS_SUPPROTED_DOMAINS: default
- COMPASS_SUPPORTED_DEFAULT_GATEWAY: default
- COMPASS_SUPPORTED_LOCAL_REPO: use
http://$your\_host\_for\_docker:8080
- Go to
examples/compass
and rundocker build -t {image_name} .
- Once build finishes, run
docker run -d -p 8080:80 -i -t {image_name}
- celery log will be displayed on terminal, once the start script finishes running, open your web browser and go to
http://$your\_host\_for\_docker:8080