Bug 1770366
Summary: | [RFE] Improve upgrade efficiency by moving RPM post-installation scripts to the installer. | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Dylan Gross <dgross> |
Component: | Packaging | Assignee: | Eric Helms <ehelms> |
Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.6.0 | CC: | ahumbe, bkearney, egolov, ehelms |
Target Milestone: | 6.8.0 | Keywords: | FutureFeature, PrioBumpGSS, Triaged |
Target Release: | Unused | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-27 12:59:24 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
Dylan Gross
2019-11-08 19:56:55 UTC
FailedQA.
@Satellite 6.8.0 Snap12
tfm-rubygem-redhat_access-2.2.13-1.el7sat.noarch
# for p in foreman tfm-rubygem-foreman-tasks tfm-rubygem-foreman_bootdisk tfm-rubygem-foreman_discovery tfm-rubygem-foreman_openscap tfm-rubygem-foreman_remote_execution tfm-rubygem-redhat_access tfm-rubygem-foreman_templates tfm-rubygem-foreman_ansible; do echo === $p ================= ; rpm -q --scripts $p | grep foreman-rake ; done
=== foreman =================
/usr/sbin/foreman-rake security:generate_token >/dev/null 2>&1 || :
/usr/sbin/foreman-rake security:generate_encryption_key >/dev/null 2>&1 || :
=== tfm-rubygem-foreman-tasks =================
=== tfm-rubygem-foreman_bootdisk =================
=== tfm-rubygem-foreman_discovery =================
=== tfm-rubygem-foreman_openscap =================
=== tfm-rubygem-foreman_remote_execution =================
=== tfm-rubygem-redhat_access =================
/usr/sbin/foreman-rake db:migrate >> /var/log/foreman/db_migrate.log 2>&1 || :
/usr/sbin/foreman-rake db:seed >> /var/log/foreman/db_seed.log 2>&1 || :
/usr/sbin/foreman-rake apipie:cache:index >> /var/log/foreman/apipie_cache.log 2>&1 || :
=== tfm-rubygem-foreman_templates =================
=== tfm-rubygem-foreman_ansible =================
>>> yet tfm-rubygem-redhat_access rpm postscript contains db:migrate, db:seed and apipie:cache:index tasks
This shouldn't be ON_QA as satellite6/satellite-packaging/merge_requests/4440 is still open VERIFIED.
@Satellite 6.8.0 Snap16
foreman-2.1.2.12-1.el7sat.noarch
tfm-rubygem-foreman-tasks-2.0.2-1.fm2_1.el7sat.noarch
tfm-rubygem-foreman_bootdisk-17.0.2-2.fm2_1.el7sat.noarch
tfm-rubygem-foreman_discovery-16.1.0-1.el7sat.noarch
tfm-rubygem-foreman_openscap-4.0.3-1.fm2_1.el7sat.noarch
tfm-rubygem-foreman_remote_execution-3.3.7-1.el7sat.noarch
tfm-rubygem-redhat_access-2.2.17-1.fm2_1.el7sat.noarch
tfm-rubygem-foreman_templates-9.0.1-1.fm2_1.el7sat.noarch
tfm-rubygem-foreman_ansible-5.1.3-1.el7sat.noarch
# for p in foreman tfm-rubygem-foreman-tasks tfm-rubygem-foreman_bootdisk tfm-rubygem-foreman_discovery tfm-rubygem-foreman_openscap tfm-rubygem-foreman_remote_execution tfm-rubygem-redhat_access tfm-rubygem-foreman_templates tfm-rubygem-foreman_ansible; do echo === $p ================= ; rpm -q --scripts $p | grep foreman-rake ; done
=== foreman =================
/usr/sbin/foreman-rake security:generate_token >/dev/null 2>&1 || :
/usr/sbin/foreman-rake security:generate_encryption_key >/dev/null 2>&1 || :
=== tfm-rubygem-foreman-tasks =================
=== tfm-rubygem-foreman_bootdisk =================
=== tfm-rubygem-foreman_discovery =================
=== tfm-rubygem-foreman_openscap =================
=== tfm-rubygem-foreman_remote_execution =================
=== tfm-rubygem-redhat_access =================
=== tfm-rubygem-foreman_templates =================
=== tfm-rubygem-foreman_ansible =================
>>> these rpms postscripts no longer contain db:migrate, db:seed and apipie:cache:index tasks (speeding up rpm installation/update)
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Satellite 6.8 release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:4366 |