Shut down foreman-tasks:
service foreman-tasks stop
Open the rails console:
foreman-rake console
| --- | |
| ### File managed with puppet ### | |
| ## Module: 'foreman_proxy' | |
| :settings_directory: /etc/foreman-proxy/settings.d | |
| # SSL Setup | |
| # if enabled, all communication would be verified via SSL | |
| # NOTE that both certificates need to be signed by the same CA in order for this to work |
| 2016-01-05 10:07:50 [I] Connecting to database specified by database.yml | |
| 2016-01-05 10:08:01 [D] [1m[36mSetting::General Load (1.5ms)[0m [1mSELECT "settings".* FROM "settings" WHERE "settings"."category" IN ('Setting::General') AND "settings"."name" = 'fix_db_cache' ORDER BY name LIMIT 1[0m | |
| 2016-01-05 10:08:01 [D] [1m[35mSetting Load (0.6ms)[0m SELECT "settings".* FROM "settings" ORDER BY name LIMIT 1 | |
| 2016-01-05 10:08:01 [D] [1m[36m (0.1ms)[0m [1mBEGIN[0m | |
| 2016-01-05 10:08:01 [D] [1m[35mSetting Load (0.3ms)[0m SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'discovery_fact' ORDER BY name LIMIT 1 | |
| 2016-01-05 10:08:02 [D] [1m[36mSetting Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'discovery_fact' AND "settings"."id" != 2) LIMIT 1[0m | |
| 2016-01-05 10:08:02 [D] removing discovery_fact from cache | |
| 2016-01-05 10:08:02 [D] [1m[35mSetting Load (0.4ms)[0m SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'discovery_auto' |
| 127.0.0.1 sat61devg.example.com sat61devg localhost localhost.localdomain localhost4 localhost4.localdomain4 | |
| ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 | |
| ## vagrant-hostmanager-start | |
| 192.168.52.10 sat61devg.example.com | |
| ## vagrant-hostmanager-end | |
| #your default puppet server - can be overridden in the host level | |
| #if none specified, plain "puppet" will be used. | |
| #:puppet_server: puppet | |
| :unattended: true | |
| :login: true | |
| :require_ssl: false | |
| :locations_enabled: true | |
| :organizations_enabled: true | |
| # The following values are used for providing default settings during db migrate |
| # ========================= | |
| # Pulp Server Configuration | |
| # ========================= | |
| # This settings in this file are all commented by default, and the commented settings show the | |
| # default values that Pulp will choose if not specified here. | |
| # -- Common Configuration ----------------------------------------------------- | |
| # = Database = |
| 2015-12-14 05:43:39 [I] Connecting to database specified by database.yml | |
| 2015-12-14 05:43:50 [D] [1m[36mSetting::General Load (1.6ms)[0m [1mSELECT "settings".* FROM "settings" WHERE "settings"."category" IN ('Setting::General') AND "settings"."name" = 'fix_db_cache' ORDER BY name LIMIT 1[0m | |
| 2015-12-14 05:43:50 [D] [1m[35mSetting Load (0.6ms)[0m SELECT "settings".* FROM "settings" ORDER BY name LIMIT 1 | |
| 2015-12-14 05:43:50 [D] [1m[36m (0.1ms)[0m [1mBEGIN[0m | |
| 2015-12-14 05:43:50 [D] [1m[35mSetting Load (0.3ms)[0m SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'dynflow_allow_dangerous_actions' ORDER BY name LIMIT 1 | |
| 2015-12-14 05:43:51 [D] [1m[36mSetting Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "settings" WHERE ("settings"."name" = 'dynflow_allow_dangerous_actions' AND "settings"."id" != 2) LIMIT 1[0m | |
| 2015-12-14 05:43:51 [D] removing dynflow_allow_dangerous_actions from cache | |
| 2015-12-14 05:43:51 [D] [1m[35mSetting Load (0.4ms)[0m SELECT "settings".* FROM "se |
| PATH | |
| remote: . | |
| specs: | |
| katello (2.2.0.77) | |
| anemone | |
| bastion | |
| deface (< 1.0.0) | |
| foreman-tasks (~> 0.6.0) | |
| foreman_docker (>= 0.2.0) | |
| gettext_i18n_rails |
| Execution of '/bin/yum -d 0 -e 0 -y install mongodb' returned 1: Error downloading packages: | |
| /Stage[main]/Mongodb::Client::Install/Package[mongodb_client]/ensure: change from absent to present failed: Execution of '/bin/yum -d 0 -e 0 -y install mongodb' returned 1: Error downloading packages: | |
| Execution of '/bin/yum -d 0 -e 0 -y install wget' returned 1: Error downloading packages: | |
| /Stage[main]/Candlepin::Install/Package[wget]/ensure: change from absent to present failed: Execution of '/bin/yum -d 0 -e 0 -y install wget' returned 1: Error downloading packages: | |
| Execution of '/bin/yum -d 0 -e 0 -y install katello-certs-tools' returned 1: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. | |
| /Stage[main]/Certs::Install/Package[katello-certs-tools]/ensure: change from absent to present failed: Execution of '/bin/yum -d 0 -e 0 -y install katello-certs-tools' returned 1: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. | |
| Execution of '/bin/yum -d 0 -e 0 -y install bind-utils' return |
Shut down foreman-tasks:
service foreman-tasks stop
Open the rails console:
foreman-rake console
| 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 |