redhat-kejones / hattrick

Deprecated. DO NOT USE. Being refactored at:
https://github.com/RedHatGov/hattrick
GNU General Public License v3.0
10 stars 7 forks source link

Auto deploy of CFME, OCP and Tower #17

Open rhcreynold opened 6 years ago

rhcreynold commented 6 years ago

Right now deployment fails when calling deploy-rhhi4c.yml at CFME. Manual steps below but this needs to be automated. The issue is that floating ips come from RHOSP.

Deploy command: ansible-playbook -i inventories/inventory-hattrick --ask-vault-pass deploy-rhhi4c.yaml

Note: this will fail at the deploying of CFME as the hosts are unknown since they get a DHCP IP, you will need to run 08-rhcloudforms.yml after updating the cf-vars.yml file. Then run: ansible-playbook --ask-vault-pass 08-rhcloudforms.yml

For Tower: Update tower-vars.yml then run: ansible-playbook --ask-vault-pass 11-ansible-tower.yml

For OCP: Update ocp-vars.yml then run: ansible-playbook --ask-vault-pass rhocp.yml

rhcreynold commented 6 years ago

post osp deployment we should request 10 floating ips, store those as variables and assign those to tower, cfme, ocp and satellite:

tower: 1 cfme: 3 (1db, 1ui, 1worker) ocp: 5 (1 master, 1 infra, 3 app nodes) satellite: 1