Installation of Compass in Different Formats
Go to file
Jerry Zhao 7b419b5621 install setuptools twice to ensure latest version
Change-Id: I52302733f96197cd4666cb1131cdbd3a2e3900f2
2015-04-18 14:25:16 +08:00
ci Add support for ansible regtest 2015-04-15 16:22:49 -07:00
docker/build make 1404 work 2015-03-26 00:31:30 -07:00
examples Initial commmit 2014-12-12 13:44:43 -08:00
install install setuptools twice to ensure latest version 2015-04-18 14:25:16 +08:00
.gitignore add vagrantfile for compass-install 2015-03-25 08:14:05 +00:00
.gitreview Added .gitreview 2014-12-12 17:39:15 +00:00
README.md Initial commmit 2014-12-12 13:44:43 -08:00
Vagrantfile regtest commissioning 2015-04-09 21:34:38 +08:00

README.md

Compass Install

How to use examples/compass?

  1. Make sure you have docker installed.
  2. Make sure you have working cobbler and chef servers, where all adapter related code has been updated to the latest.
  3. Go to your chef server's web UI and create a client with admin privileges, name it as docker-controller.
  4. You will have ONE CHANCE to copy the private key, copy it and paste it to replace conf/chef-client.pem
  5. Go to examples/compass/conf directory
  6. Edit chef-icehouse.conf, change '10.145.89.140' to your chef server's IP.
  7. Edit cobbler.conf and change the IP to your cobbler server's IP.
  8. 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
  1. Go to examples/compass and run docker build -t {image_name} .
  2. Once build finishes, run docker run -d -p 8080:80 -i -t {image_name}
  3. 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