Skip to content

Instantly share code, notes, and snippets.

@mccun934
Created January 29, 2018 21:30
Show Gist options
  • Save mccun934/5a21f94b0335241270607bb2335776c3 to your computer and use it in GitHub Desktop.
Save mccun934/5a21f94b0335241270607bb2335776c3 to your computer and use it in GitHub Desktop.
<pre><font color="#06989A"><b>Upgrade Step: correct_repositories (this may take a while) ...</b></font>
<font color="#CC0000"><b>rake aborted!</b></font>
<font color="#CC0000"><b>Not all the services have been started. Check the status report above and try again.</b></font>
<font color="#CC0000"><b>/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.158/lib/katello/tasks/reimport.rake:8:in `block (2 levels) in &lt;top (required)&gt;&apos;</b></font>
<font color="#CC0000"><b>Tasks: TOP =&gt; katello:correct_repositories =&gt; katello:check_ping</b></font>
<font color="#CC0000"><b>(See full trace by running task with --trace)</b></font>
<font color="#CC0000"><b>{:status=&gt;&quot;FAIL&quot;,</b></font>
<font color="#CC0000"><b> :services=&gt;</b></font>
<font color="#CC0000"><b> {:pulp=&gt;{:status=&gt;&quot;ok&quot;, :duration_ms=&gt;&quot;46&quot;},</b></font>
<font color="#CC0000"><b> :pulp_auth=&gt;{:status=&gt;&quot;ok&quot;, :duration_ms=&gt;&quot;57&quot;},</b></font>
<font color="#CC0000"><b> :candlepin=&gt;{:status=&gt;&quot;FAIL&quot;, :message=&gt;&quot;404 Resource Not Found&quot;},</b></font>
<font color="#CC0000"><b> :candlepin_auth=&gt;</b></font>
<font color="#CC0000"><b> {:status=&gt;&quot;FAIL&quot;,</b></font>
<font color="#CC0000"><b> :message=&gt;</b></font>
<font color="#CC0000"><b> &quot;Katello::Resources::Candlepin::CandlepinPing: 404 Resource Not Found (GET /candlepin/status)&quot;},</b></font>
<font color="#CC0000"><b> :foreman_tasks=&gt;{:status=&gt;&quot;ok&quot;, :duration_ms=&gt;&quot;28&quot;}}}</b></font>
<font color="#CC0000"><b>Upgrade step correct_repositories failed. Check logs for more information.</b></font>
stderr: Info: Loading facts : 0 00:00:00
Debug: Puppet::Type::Package::ProviderAptitude: fi: 0 0.0/s 00:00:03
Debug: template[/usr/share/foreman-installer/modul: 0 0.0/s 00:00:04
Debug: importing &apos;/usr/share/foreman-installer/mod: 0 0.0/s 00:00:05
Debug: importing &apos;/usr/share/foreman-installer/mod: 0 0.0/s 00:00:06
Debug: hiera(): Looking up pulp::email_port in YAM: 0 0.0/s 00:00:07
Debug: template[/usr/share/katello-installer-base/: 0 0.0/s 00:00:08
Debug: Automatically imported apache::mod::proxy f: 0 0.0/s 00:00:09
Debug: template[/usr/share/foreman-installer/modul: 0 0.0/s 00:00:10
Debug: template[/usr/share/foreman-installer/modul: 0 0.0/s 00:00:11
Debug: /File[/etc/pki/katello/private/katello-defa: 0 0.0/s 00:00:13
Debug: /File[/etc/foreman-proxy/foreman_ssl_key.pe: 0 0.0/s 00:00:14
Debug: Using settings: adding file resource &apos;state: 0 0.0/s 00:00:16
Debug: /Stage[main]/Foreman::Config/Concat[/etc/fo: 0/767, 0%, 0.0/s, elapsed: 00:00:17
Info: RESOURCE Pulp::Apache_plugin[puppet] : 6/767, 0%, 0.5/s, elapsed: 00:00:18, ETA: 00:25:24
Info: RESOURCE Package[ca-certificates] : 61/767, 7%, 6.1/s, elapsed: 00:00:19, ETA: 00:01:55
Info: RESOURCE File[passenger_package.conf] : 365/767, 47%, 6.1/s, elapsed: 00:00:20, ETA: 00:01:05
Info: RESOURCE Concat_file[05-foreman-ssl.conf] : 641/767, 83%, 52.3/s, elapsed: 00:00:21, ETA: 00:00:02
Debug: Executing &apos;/usr/bin/systemctl is-enabled sm: 766/767, 99%, 63.4/s, elapsed: 00:00:23
Debug: Executing &apos;/usr/sbin/foreman-rake -- config: 766/767, 99%, 63.4/s, elapsed: 00:00:42
Info: RESOURCE Foreman_config_entry[db_pending_mig: 766/767, 99%, 63.4/s, elapsed: 00:01:01
Info: RESOURCE Foreman_config_entry[db_pending_see: 766/767, 99%, 62.9/s, elapsed: 00:01:20
Notice: /Stage[main]/Certs::Candlepin/Exec[import : 766/767, 99%, 62.9/s, elapsed: 00:01:21
Notice: /Stage[main]/Apache::Service/Service[httpd: 766/767, 99%, 57.3/s, elapsed: 00:01:28
Debug: Executing &apos;/usr/bin/systemctl is-enabled qd: 766/767, 99%, 57.3/s, elapsed: 00:01:29
Info: RESOURCE Exec[bind queue to exchange and fil: 766/767, 99%, 11.1/s, elapsed: 00:01:31
Info: RESOURCE Exec[bind queue to exchange and fil: 766/767, 99%, 11.1/s, elapsed: 00:01:32
Info: RESOURCE Foreman_config_entry[pulp_client_ce: 766/767, 99%, 0.0/s, elapsed: 00:01:51
Info: RESOURCE Foreman_config_entry[pulp_client_ke: 766/767, 99%, 0.0/s, elapsed: 00:02:10
Debug: Executing &apos;/usr/bin/systemctl is-enabled fo: 766/767, 99%, 0.0/s, elapsed: 00:02:14
Debug: /Stage[main]/Certs::Foreman/Exec[foreman_ce: 766/767, 99%, 0.0/s, elapsed: 00:02:33
Debug: Executing &apos;/usr/bin/systemctl is-enabled fo: 766/767, 99%, 0.0/s, elapsed: 00:02:34
Info: RESOURCE Foreman_smartproxy[ibm-x3250m4-05.l: 766/767, 99%, 0.0/s, elapsed: 00:02:37
<font color="#4E9A06">Done </font>: 767/767, 100%, 0.0/s, elapsed: 00:02:50
<font color="#4E9A06">Done </font>: 767/767, 100%, 0.0/s, elapsed: 00:02:50
TASK [satellite-clone : Disassociate capsules from lifecycle environments to avoid communication with production capsules] ***********************************
Monday 29 January 2018 16:25:45 -0500 (0:08:07.520) 0:57:34.860 ********
<font color="#C4A000">changed: [localhost]</font>
cmd:
psql
foreman
-c
delete from katello_capsule_lifecycle_environments where capsule_id in (select smart_proxy_id from features_smart_proxies where feature_id = (select id from features where features.name = &apos;Pulp Node&apos;));
start: 2018-01-29 16:25:45.660081
end: 2018-01-29 16:25:45.672641
delta: 0:00:00.012560
stdout: DELETE 0
TASK [satellite-clone : fail] ********************************************************************************************************************************
Monday 29 January 2018 16:25:45 -0500 (0:00:00.233) 0:57:35.094 ********
<font color="#CC0000">fatal: [localhost]: FAILED! =&gt; {&quot;changed&quot;: false, &quot;msg&quot;: &quot;Something went wrong! Please check the output above for more information.&quot;}</font>
msg: Something went wrong! Please check the output above for more information.
PLAY RECAP ***************************************************************************************************************************************************
<font color="#CC0000">localhost</font> : <font color="#4E9A06">ok=51 </font> <font color="#C4A000">changed=18 </font> unreachable=0 <font color="#CC0000">failed=2 </font>
Monday 29 January 2018 16:25:45 -0500 (0:00:00.025) 0:57:35.120 ********
===============================================================================
satellite-clone : Run installer upgrade (satellite 6.2 only) ---------------------------------------------------------------------------------------- 487.52s
satellite-clone : Wait for foreman-tasks service to start ------------------------------------------------------------------------------------------- 300.51s
satellite-clone : run Satellite 6.2 installer ------------------------------------------------------------------------------------------------------- 175.53s
satellite-clone : Restart katello-service ------------------------------------------------------------------------------------------------------------ 36.51s
satellite-clone : Install Satellite 6.2 packages ----------------------------------------------------------------------------------------------------- 19.87s
satellite-clone : Cleanup paused tasks --------------------------------------------------------------------------------------------------------------- 18.82s
satellite-clone : Stop katello services -------------------------------------------------------------------------------------------------------------- 17.27s
satellite-clone : Restore pulp data ------------------------------------------------------------------------------------------------------------------- 6.08s
satellite-clone : Ensure libselinux-python package is present (required by ansible) ------------------------------------------------------------------- 5.36s
satellite-clone : Migrate candlepin db ---------------------------------------------------------------------------------------------------------------- 4.60s
satellite-clone : Restore mongo data ------------------------------------------------------------------------------------------------------------------ 4.34s
satellite-clone : migrate pulp db --------------------------------------------------------------------------------------------------------------------- 4.16s
satellite-clone : Clean yum info ---------------------------------------------------------------------------------------------------------------------- 2.23s
satellite-clone : Restore postgresql data ------------------------------------------------------------------------------------------------------------- 1.54s
satellite-clone : Start postgresql -------------------------------------------------------------------------------------------------------------------- 1.25s
satellite-clone : untar config files (for cloning only) ----------------------------------------------------------------------------------------------- 0.67s
satellite-clone : Identify the hostname from the backup config tar file ------------------------------------------------------------------------------- 0.38s
satellite-clone : Start mongod ------------------------------------------------------------------------------------------------------------------------ 0.37s
satellite-clone : check satellite version from the config files --------------------------------------------------------------------------------------- 0.37s
satellite-clone : create /etc/hosts ------------------------------------------------------------------------------------------------------------------- 0.37s
</pre>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment