Bug 983403
Summary: | [Config] Various issues with the configuration files and contents of /etc/swift | ||
---|---|---|---|
Product: | [Red Hat Storage] 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: | urgent | ||
Version: | 2.1 | CC: | bbandari, lpabon, madam, rhs-bugs, sabose, sdharane, vagarwal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-23 22:32:30 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: | |||
Bug Depends On: | |||
Bug Blocks: | 985807 |
Description
pushpesh sharma
2013-07-11 07:04:03 UTC
I am not sure if we say that /etc/swift should have just six files as described. Normal openstack-swift installs those directories and configuration files and gluster-swift installs the configuration files that end in *.conf-gluster for the user to use as a template to configure their .conf files. To satisfy the requirements in this bug, we would need to create our own version of the swift rpms and deviate from the vanilla installation which we are trying to no longer do. Our solution will be to make sure that the Gluster for Swift rpm sets up the environment correctly. It may have to unset or reconfigure what openstack-swift packages have setup. Start/ status of gluster-swift related services not working - service gluster-swift-account status --> returns /etc/init.d/gluster-swift-account: line 18: /usr/share/openstack-swift/functions: No such file or directory service gluster-swift-account start --> returns /etc/init.d/gluster-swift-account: line 18: /usr/share/openstack-swift/functions: No such file or directory Fixed RPM spec file for gluster-swift. New version with the fix is gluster-swift-1.8.0-6.11.el6 Contents of /etc/swift/ are now only 6 sample *.conf-gluster files.Fix looks good to me.Configuration of gluster-swift with these new set of config file is much simpler. [root@luigi ~]# rpm -qa|grep swift gluster-swift-container-1.8.0-6.11.el6rhs.noarch gluster-swift-1.8.0-6.11.el6rhs.noarch gluster-swift-proxy-1.8.0-6.11.el6rhs.noarch gluster-swift-account-1.8.0-6.11.el6rhs.noarch gluster-swift-object-1.8.0-6.11.el6rhs.noarch gluster-swift-plugin-1.8.0-4.el6rhs.noarch 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/RHBA-2013-1262.html |