| Summary: | Upgrade from RHS2.0-U5 to U6 results in broken gluster-swift services, it gives 503 for every request | |||
|---|---|---|---|---|
| Product: | Red Hat Gluster Storage | Reporter: | pushpesh sharma <psharma> | |
| Component: | gluster-swift | Assignee: | Luis Pabón <lpabon> | |
| Status: | CLOSED ERRATA | QA Contact: | pushpesh sharma <psharma> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 2.0 | CC: | asriram, bbandari, gluster-bugs, grajaiya, lpabon, madam, rhs-bugs, sdharane, ssaha, tkatarki, vagarwal | |
| Target Milestone: | --- | Keywords: | ZStream | |
| Target Release: | --- | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: |
Installing or upgrading the gluster-swift-plugin RPM overwrites /etc/swift configuration files. Hence, the customer configuration is overwritten, causing data unavailability. Now, the RPM installs or upgrades new configuration files with a non-conflicting extension and customer configuration files are not overwritten, maintaining data availability.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1001418 (view as bug list) | Environment: | ||
| Last Closed: | 2013-09-04 18:11:35 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: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 997940, 1001418 | |||
|
Description
pushpesh sharma
2013-08-23 12:25:37 UTC
We need to fix this before shipping u6. Seems that fix https://code.engineering.redhat.com/gerrit/#/c/8453/ for bug 969224 (https://bugzilla.redhat.com/show_bug.cgi?id=969224) did not actually resolve the issue since the config files were still being deleted. We now include the config files as part of the RPM and include the directive %config(noreplace) in the RPM specfile for upgrades, installations, and removals. When the system is now upgraded to this fix number, any of the config files edited are kepted verbatim. When the system is upgraded to RHS2.1, their config files are saved as ${configfile}.rpmsave since they will need to re-inspect the file using the new grizzly settings. Adding keyword ZStream. The change is awating review in GlusterFS upstream. http://review.gluster.org/#/c/5706/1 1.Upgrade from U4,U5(gluster-swift-plugin-1.0-5.noarch.rpm) --> to U6(gluster-swift-plugin-1.0-7.noarch.rpm) went well, all config files kept as it is, and new conf files are saved with -gluster extentions. 2. While upgrading from U6 - > RHS2.1 a.) all modified config files got saved with *.rpmsave extention and all unmodified config files got erased. b.) all ring related files and folder removed (*ring.gz & *builders ) , as these needed to be created afresh. 3. A proper upgrade documentation of RHS2.1 is all it need. U6 seems good to go from gluster-swift point of view. Marking the BZ as verfied based on above observations. Hi Luis, Could you update the doc text for this bug which will help me write the errata text for this bug. Regards, Anjana 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, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-1205.html |