Bug 1128299
| Summary: | Possible race condition when trying to re-run katello-installer while dynflow (sync?) tasks exist. | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Corey Welton <cwelton> |
| Component: | Installation | Assignee: | Ivan Necas <inecas> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Tazim Kolhar <tkolhar> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.0.3 | CC: | bbuckingham, cwelton, tkolhar |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-08-12 13:57:32 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Corey Welton
2014-08-08 20:25:13 UTC
There were significant improvements made both on dynflow as well as pulp tasking. Putting ON_QA as I was not able to reproduce the issue and there is quite fair chance it was resolved in the 6.1 as part of other fixes VERIFIED : rpm -qa | grep foreman foreman-vmware-1.7.2.15-1.el7sat.noarch foreman-postgresql-1.7.2.15-1.el7sat.noarch qeblade36.rhq.lab.eng.bos.redhat.com-foreman-proxy-1.0-1.noarch foreman-1.7.2.15-1.el7sat.noarch foreman-proxy-1.7.2.4-1.el7sat.noarch qeblade36.rhq.lab.eng.bos.redhat.com-foreman-client-1.0-1.noarch ruby193-rubygem-foreman_docker-1.2.0.7-1.el7sat.noarch ruby193-rubygem-foreman_hooks-0.3.7-2.el7sat.noarch rubygem-hammer_cli_foreman_discovery-0.0.1.4-1.el7sat.noarch foreman-selinux-1.7.2.13-1.el7sat.noarch ruby193-rubygem-foreman_gutterball-0.0.1.9-1.el7sat.noarch puppet-foreman_scap_client-0.3.3-7.el7sat.noarch foreman-gce-1.7.2.15-1.el7sat.noarch ruby193-rubygem-foreman-redhat_access-0.1.0-1.el7sat.noarch ruby193-rubygem-foreman-tasks-0.6.12.3-1.el7sat.noarch rubygem-hammer_cli_foreman_tasks-0.0.3.3-1.el7sat.noarch foreman-debug-1.7.2.15-1.el7sat.noarch foreman-libvirt-1.7.2.15-1.el7sat.noarch foreman-compute-1.7.2.15-1.el7sat.noarch ruby193-rubygem-foreman_discovery-2.0.0.9-1.el7sat.noarch rubygem-hammer_cli_foreman_bootdisk-0.1.2.5-1.el7sat.noarch foreman-ovirt-1.7.2.15-1.el7sat.noarch rubygem-hammer_cli_foreman-0.1.4.7-1.el7sat.noarch ruby193-rubygem-foreman_bootdisk-4.0.2.10-1.el7sat.noarch qeblade36.rhq.lab.eng.bos.redhat.com-foreman-proxy-client-1.0-1.noarch steps: 1. Start some sync processes, and possibly have them hang, 2. ifdown eth0 3. restart the system 4. Re-run katello-installer (perhaps to fix a bad proxy URL or something) # katello-installer Installing Info: START 620 [0%] [Installing Debug: /Stage[main]/Apache::Mod::Wsgi/File[wsgi.co [0%] [Installing Debug: /Stage[main]/Apache::Mod::Alias/Apache::Mod [0%] [Installing Debug: /Stage[main]/Foreman_proxy::Config/Foreman_ [0%] [Installing Debug: /Stage[main]/Pulp::Config/File[/etc/pulp/se [0%] [Installing Debug: /Stage[main]/Postgresql::Server::Config/Con [0%] [Installing Debug: /Stage[main]/Apache::Mod::Ssl/Apache::Mod[s [0%] [Installing Info: Applying configuration version '1430131294' [0%] [Installing Info: RESOURCE Apache::Mod[suexec] [0%] [Installing Info: RESOURCE File[/var/lib/puppet/concat/bin/con [0%] [Installing Info: RESOURCE Package[mongodb_client] [0%] [Installing Info: RESOURCE Apache::Vhost[foreman] [1%] [Installing Info: RESOURCE Apache::Mod[access_compat] [3%] [Installing Info: RESOURCE File[/etc/pki/katello] [8%] [Installing Info: RESOURCE Ca[katello-default-ca] [9%] [Installing Info: RESOURCE Privkey[/etc/pki/katello/private/ka [9%] [Installing Info: RESOURCE Pubkey[/etc/puppet/client_cert.pem] [10%] Installing Info: RESOURCE Package[elasticsearch] [12%] Installing Info: RESOURCE Cert[qeblade36.rhq.lab.eng.bos.redh [14%] Installing Info: RESOURCE Concat_fragment[qdrouter+header.con [15%] Installing Info: RESOURCE Package[foreman-proxy] [16%] Installing Info: RESOURCE File[expires.load] [21%] Installing Info: RESOURCE File[authz_groupfile.load] [22%] Installing Info: RESOURCE Apache::Mod[ext_filter] [31%] Installing Info: RESOURCE Apache::Mod[dav_fs] [32%] Installing Info: RESOURCE File[/var/lib/puppet/concat/_var_li [38%] Installing Info: RESOURCE Exec[restart-systemd] [39%] Installing Info: RESOURCE File[ssl.load] [41%] Installing Info: RESOURCE File[/var/cache/tomcat] [45%] Installing Info: RESOURCE File[/var/lib/puppet/concat/_etc_ht [49%] Installing Info: RESOURCE Package[gutterball] [52%] Installing Info: RESOURCE Cert[qeblade36.rhq.lab.eng.bos.redh [56%] Installing Debug: /File[/var/lib/puppet/concat/_var_lib_pgsql [58%] Installing Info: RESOURCE Postgresql::Server::Pg_hba_rule[all [62%] Installing Debug: /Stage[main]/Postgresql::Server::Service/Po [63%] Installing Debug: /Stage[main]/Gutterball::Database/Postgresq [64%] Installing Debug: /Stage[main]/Foreman::Database::Postgresql/ [65%] Installing Debug: /Stage[main]/Candlepin::Database::Postgresq [65%] Installing Debug: /Stage[main]/Candlepin::Database::Postgresq [65%] Installing Debug: /Stage[main]/Candlepin::Database::Postgresq [66%] Installing Debug: /Stage[main]/Candlepin::Database::Postgresq [66%] Installing Debug: Executing '/usr/bin/psql -d postgres -p 543 [66%] Installing Debug: /Stage[main]/Gutterball::Database/Postgresq [67%] Installing Debug: /Stage[main]/Candlepin::Database::Postgresq [68%] Installing Debug: /Stage[main]/Candlepin::Database::Postgresq [69%] Installing Debug: /Stage[main]/Gutterball::Database/Postgresq [71%] Installing Debug: /Stage[main]/Gutterball::Database/Postgresq [73%] Installing Info: RESOURCE File[dav_fs.conf] [75%] Installing Debug: /Stage[main]/Foreman::Database::Postgresql/ [75%] Installing Info: RESOURCE Cert[qeblade36.rhq.lab.eng.bos.redh [78%] Installing Info: RESOURCE Pubkey[/etc/pki/katello/qpid_router [80%] Installing Debug: /File[/etc/httpd/conf.d/authz_owner.load]/s [82%] Installing Debug: /File[/etc/httpd/conf.d/logio.load]/seluser [82%] Installing Debug: /File[/etc/httpd/conf.d/passenger.load]/sel [82%] Installing Info: RESOURCE File[/etc/httpd/conf.d/05-foreman-s [83%] Installing Info: RESOURCE Cert[qeblade36.rhq.lab.eng.bos.redh [84%] Installing Info: RESOURCE Concat_fragment[puppet.conf+10-main [86%] Installing Info: RESOURCE File[/var/lib/puppet/ssl/private_ke [90%] Installing Debug: Prefetching crontab resources for cron [90%] Installing Info: RESOURCE User[foreman] [92%] Installing Info: RESOURCE Foreman_config_entry[db_pending_mig [94%] Installing Debug: Executing '/usr/bin/systemctl is-enabled pu [96%] Installing Info: RESOURCE Service[puppetmaster] [96%] Installing Info: RESOURCE Foreman_proxy::Settings_file[puppet [96%] Installing Info: RESOURCE File[/etc/foreman-proxy/settings.d/ [99%] Installing Info: /Stage[main]/Foreman_proxy::Config/Foreman_p [99%] Installing Notice: /Stage[main]/Foreman_proxy::Service/Servic [99%] Installing Info: RESOURCE Cert[qeblade36.rhq.lab.eng.bos.redh [99%] Installing Debug: /Stage[main]/Certs::Gutterball/Certs::Sslto [99%] Installing Info: RESOURCE Exec[add-private-key-to-nss-db] [99%] Installing Info: RESOURCE Privkey[/etc/pki/katello/private/ja [99%] Installing Debug: /Stage[main]/Certs::Candlepin/Exec[create c [99%] Installing Debug: /Stage[main]/Certs::Candlepin/Exec[import c [99%] Installing Notice: /Stage[main]/Certs::Candlepin/Exec[import [99%] Installing Info: RESOURCE Cert[qeblade36.rhq.lab.eng.bos.redh [99%] Installing Info: RESOURCE Package[pulp-rpm-plugins] [99%] Installing Info: RESOURCE Key_bundle[/etc/pki/pulp/nodes/node [99%] Installing Info: RESOURCE File[/etc/default/pulp_workers] [99%] Installing Info: RESOURCE Service[httpd] [99%] Installing Info: RESOURCE Qpid::Router::Ssl_profile[client] [99%] Installing Info: RESOURCE Service[qdrouterd] [99%] Installing Debug: /Stage[main]/Katello::Qpid/Exec[create kate [99%] Installing Debug: /Stage[main]/Katello::Qpid/Exec[bind katell [99%] Installing Notice: /Stage[main]/Katello::Qpid/Exec[bind katel [99%] Installing Info: RESOURCE Package[ruby193-rubygem-foreman-tas [99%] Installing Info: RESOURCE Service[foreman] [99%] Installing Debug: /Stage[main]/Certs::Foreman/Exec[foreman_ce [99%] Installing Info: RESOURCE Foreman_smartproxy[qeblade36.rhq.la [99%] Installing Notice: /Stage[main]/Foreman_proxy::Register/Forem [99%] Installing Debug: Finishing transaction 39716760 [99%] Installing Debug: Stored state in 0.11 seconds [99%] Installing Done [100%]Installing Done [100%] [] Success! * Katello is running at https://qeblade36.rhq.lab.eng.bos.redhat.com Initial credentials are admin / GvSWQ3evZjBcudW4 * Capsule is running at https://qeblade36.rhq.lab.eng.bos.redhat.com:9090 * To install additional capsule on separate machine continue by running:" capsule-certs-generate --capsule-fqdn "$CAPSULE" --certs-tar "~/$CAPSULE-certs.tar" The full log is at /var/log/katello-installer/katello-installer.log This bug is slated to be released with Satellite 6.1. This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015. |