Skip to content

Instantly share code, notes, and snippets.

@jmrodri
Created September 25, 2015 18:12
Show Gist options
  • Save jmrodri/437cb71622be36ea3213 to your computer and use it in GitHub Desktop.
Save jmrodri/437cb71622be36ea3213 to your computer and use it in GitHub Desktop.
1. delete my hypervisor and engine VMs from libvirt
2. go to Hosts -> Discovered Hosts and delete each host individually
* if you get an error about tokens then you need to delete them manually from the DB:
* vagrant ssh
* sudo -s
* sudo -u foreman psql
* > delete from tokens;
* > \q
* repeat step 2, deleting hosts from UI
3. go to RHCI Installer -> Deployments, DELETE the deployment
4. go to Administer -> Settings / ForemanTasks change dynflow_allow_dangerous_actions to true, this allows you to delete the dynflow task
5. go to Monitor -> Tasks, search Deploy. Should be able to Force Unlock or one of the red buttons :)
Now you should be able to create the engine and hypervisor vms again using the launch scripts, wait for them to show up in the discovered hosts list. Then you can try creating a new deployment. Should take about 20-30 minutes for the sync to finish vs 3 hours.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment