Bug 2105898
| Summary: | Removing pulp2 content fails during Upgrade to 6.11 when on dedicated mount points | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Evgeni Golov <egolov> |
| Component: | Satellite Maintain | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED ERRATA | QA Contact: | Gaurav Talreja <gtalreja> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.11.0 | CC: | agadhave, ahumbe, apatel, aupadhye, avnkumar, egolov, gscarbor, gtalreja, jjansky, jkrajice, kgaikwad, msunil, osousa, pcfe, pdwyer, peter.vreman, pmendezh, rcavalca, saydas, zhunting |
| Target Milestone: | 6.11.1 | Keywords: | PrioBumpGSS, Triaged, Upgrades |
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | rubygem-foreman_maintain-1.0.14 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 2027567 | Environment: | |
| Last Closed: | 2022-07-27 17:27:10 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2027567 | ||
| Bug Blocks: | |||
|
Description
Evgeni Golov
2022-07-11 06:22:24 UTC
Hi, Tested upgrade to Satellite 6.11.1 Snap 2.2 from Satellite 6.9.9, with version rubygem-foreman_maintain-1.0.14-1.el7sat.noarch Steps followed, 1. Prepared Satellite 6.9.9 with /var/lib/mongodb as a dedicated mount point, then upgraded to 6.10.7 (Also, Tried adding a second pulp directory mount point to /var/cache/pulp.) 2. As "foreman-maintain content remove-pulp2" procedure is now run while upgrading to 6.11 # foreman-maintain upgrade run --target-version 6.11 --whitelist 'repositories-validate,repositories-setup' ... -------------------------------------------------------------------------------- Add maintenance_mode tables/chain to nftables/iptables: [OK] -------------------------------------------------------------------------------- Remove pulp2: / Removing pulp2 packages / Removing mongo packages | Removing additional packages - Dropping migration tables | Dropping migrations - Deleted: /etc/pki/pulp/content /var/lib/pulp/published - The directories /var/lib/mongodb/,/var/cache/pulp are individual mountpoints. The satellite-maintain won't delete these directories. You need to remove content and these directories on your own. \ stopping pulpcore-content Warning: Stopping pulpcore-api.service, but it can still be activated by: pulpcore-api.socket Warning: Stopping pulpcore-content.service, but it can still be activated by: pulpcore-content.socket / Done restarting pulpcore services [OK] -------------------------------------------------------------------------------- ... It seems that instead of fail-upgrading here, the steps above pass in upgrades when there are mount points listed by remove-pulp2 that cannot be deleted. Is this expected? Thanks, Gaurav Yes, I think this is in line with what I'd expect. Ack, Thanks for confirming, I'm marking this BZ as verified 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 (Satellite 6.11.1 Async Bug Fix Update), 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/RHBA-2022:5742 |