Description of problem: Not able to start swift after upgrade from 3.0.4 to 3.1 [root@server swift]# swift-init main restart Signal proxy-server pid: 6311 signal: 15 No proxy-server running Signal container-server pid: 6312 signal: 15 No container-server running Signal account-server pid: 6313 signal: 15 No account-server running Signal object-server pid: 6314 signal: 15 No object-server running Starting proxy-server...(/etc/swift/proxy-server.conf) Starting container-server...(/etc/swift/container-server.conf) Starting account-server...(/etc/swift/account-server.conf) Starting object-server...(/etc/swift/object-server.conf) Error trying to load config from /etc/swift/proxy-server.conf: No module named gluster.swift.proxy.server Error trying to load config from /etc/swift/container-server.conf: No module named gluster.swift.container.server Error trying to load config from /etc/swift/account-server.conf: No module named gluster.swift.account.server Error trying to load config from /etc/swift/object-server.conf: No module named gluster.swift.obj.server Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Upgrade/Install to 3.1 2. run command swift-init main restart Additional info: Issue is due to missing __init__.py script. Earlier /usr/lib/python2.6/site-packages/gluster/__init__.py script was part of glusterfs-api package but this script was moved out to python-gluster package in RHS-3.1 So installing python-gluster package solve the issue.
Thanks Bipin. Just confirmed the state of things as reported above: RHS 3.0.4 contains: glusterfs-api-3.6.0.53-1.el6rhs.x86_64.rpm [ppai@pp 1249989]$ rpm -qlp ./glusterfs-api-3.6.0.53-1.el6rhs.x86_64.rpm /usr/lib/python2.6/site-packages/gluster/__init__.py /usr/lib/python2.6/site-packages/gluster/__init__.pyc /usr/lib/python2.6/site-packages/gluster/__init__.pyo /usr/lib/python2.6/site-packages/gluster/gfapi.py /usr/lib/python2.6/site-packages/gluster/gfapi.pyc /usr/lib/python2.6/site-packages/gluster/gfapi.pyo /usr/lib/python2.6/site-packages/glusterfs_api-3.6.0.53-py2.6.egg-info /usr/lib64/glusterfs/3.6.0.53/xlator/mount/api.so /usr/lib64/libgfapi.so.0 /usr/lib64/libgfapi.so.0.0.0 RHS 3.1 contains: glusterfs-api-3.7.1-11.el6rhs.x86_64.rpm python-gluster-3.7.1-11.el6rhs.x86_64.rpm [ppai@pp 1249989]$ rpm -qlp ./glusterfs-api-3.7.1-11.el6rhs.x86_64.rpm /usr/lib64/glusterfs/3.7.1/xlator/mount/api.so /usr/lib64/libgfapi.so.0 /usr/lib64/libgfapi.so.0.0.0 [ppai@pp 1249989]$ rpm -qlp ./python-gluster-3.7.1-11.el6rhs.x86_64.rpm /usr/lib/python2.6/site-packages/gluster/__init__.py /usr/lib/python2.6/site-packages/gluster/__init__.pyc /usr/lib/python2.6/site-packages/gluster/__init__.pyo
Tested with glusterfs-3.7.1-13.el7rhgs python-gluster package is pulled in as dependency while installing swiftonfile [root@ ~]# rpm -qa | grep swiftonfile swiftonfile-1.13.1-4.el7rhgs.noarch [root@ ~]# rpm -qR swiftonfile | grep gluster python-gluster >= 3.7.1
Hi Prashanth, Could you please provide the downstream gerrit link for this fix. Thanks, Bipin Kunal
(In reply to SATHEESARAN from comment #12) > Tested with glusterfs-3.7.1-13.el7rhgs > python-gluster package is pulled in as dependency while installing > swiftonfile > > [root@ ~]# rpm -qa | grep swiftonfile > swiftonfile-1.13.1-4.el7rhgs.noarch > > [root@ ~]# rpm -qR swiftonfile | grep gluster > python-gluster >= 3.7.1 Please confirm that the issue fix is verified on RHEL6 platform as well
(In reply to Rejy M Cyriac from comment #15) > (In reply to SATHEESARAN from comment #12) > > Tested with glusterfs-3.7.1-13.el7rhgs > > python-gluster package is pulled in as dependency while installing > > swiftonfile > > > > [root@ ~]# rpm -qa | grep swiftonfile > > swiftonfile-1.13.1-4.el7rhgs.noarch > > > > [root@ ~]# rpm -qR swiftonfile | grep gluster > > python-gluster >= 3.7.1 > > Please confirm that the issue fix is verified on RHEL6 platform as well Missed out to check the package dependency chain in RHGS 3.1 based on RHEL 6.7 Thanks Rejy for pointing that out. Tested with RHGS 3.1 ( based on RHEL 6.7 ) [root@ ~]# rpm -qa | grep swiftonfile swiftonfile-1.13.1-4.el6rhs.noarch [root@ ~]# rpm -qa | grep python-gluster python-gluster-3.7.1-13.el6rhs.x86_64 [root@ ~]# rpm -qR swiftonfile | grep gluster python-gluster >= 3.7.1
Prashanth, Please review and sign-off the edited doc text.
Doc text looks good to me.
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. https://rhn.redhat.com/errata/RHSA-2015-1845.html