Description of problem: The install complain about post install failure. Here is the relevant part of teh installation process: [..] Running Transaction Installing : python-greenlet-0.3.1-4.fc15.x86_64 1/12 Installing : pyxattr-0.5.0-3.fc15.x86_64 2/12 Installing : python-eventlet-0.9.12-2.fc15.noarch 3/12 Installing : python-webob-1.0-2.fc15.noarch 4/12 Installing : python-paste-deploy-1.3.4-2.fc15.noarch 5/12 Installing : openstack-swift-1.1.0-2.fc15.noarch 6/12 Installing : openstack-swift-container-1.1.0-2.fc15.noarch 7/12 Non-fatal POSTIN scriptlet failure in rpm package openstack-swift-container-1.1.0-2.fc15.noarch error reading information on service swift-container: No such file or directory warning: %post(openstack-swift-container-1.1.0-2.fc15.noarch) scriptlet failed, exit status 1 Installing : openstack-swift-auth-1.1.0-2.fc15.noarch 8/12 Non-fatal POSTIN scriptlet failure in rpm package openstack-swift-auth-1.1.0-2.fc15.noarch error reading information on service swift-auth: No such file or directory warning: %post(openstack-swift-auth-1.1.0-2.fc15.noarch) scriptlet failed, exit status 1 Installing : openstack-swift-proxy-1.1.0-2.fc15.noarch 9/12 Non-fatal POSTIN scriptlet failure in rpm package openstack-swift-proxy-1.1.0-2.fc15.noarch error reading information on service swift-proxy: No such file or directory warning: %post(openstack-swift-proxy-1.1.0-2.fc15.noarch) scriptlet failed, exit status 1 Installing : openstack-swift-account-1.1.0-2.fc15.noarch 10/12 Non-fatal POSTIN scriptlet failure in rpm package openstack-swift-account-1.1.0-2.fc15.noarch error reading information on service swift-account: No such file or directory warning: %post(openstack-swift-account-1.1.0-2.fc15.noarch) scriptlet failed, exit status 1 Installing : openstack-swift-object-1.1.0-2.fc15.noarch 11/12 Non-fatal POSTIN scriptlet failure in rpm package openstack-swift-object-1.1.0-2.fc15.noarch error reading information on service swift-object: No such file or directory warning: %post(openstack-swift-object-1.1.0-2.fc15.noarch) scriptlet failed, exit status 1 Installing : openstack-swift-doc-1.1.0-2.fc15.noarch 12/12 Installed: openstack-swift.noarch 0:1.1.0-2.fc15 openstack-swift-account.noarch 0:1.1.0-2.fc15 openstack-swift-auth.noarch 0:1.1.0-2.fc15 openstack-swift-container.noarch 0:1.1.0-2.fc15 openstack-swift-doc.noarch 0:1.1.0-2.fc15 openstack-swift-object.noarch 0:1.1.0-2.fc15 openstack-swift-proxy.noarch 0:1.1.0-2.fc15 Dependency Installed: python-eventlet.noarch 0:0.9.12-2.fc15 python-greenlet.x86_64 0:0.3.1-4.fc15 python-paste-deploy.noarch 0:1.3.4-2.fc15 python-webob.noarch 0:1.0-2.fc15 pyxattr.x86_64 0:0.5.0-3.fc15 Complete! [..] Version-Release number of selected component (if applicable): [kyzh@lap ~]$ rpm -qa openstack-swift* openstack-swift-1.1.0-2.fc15.noarch openstack-swift-object-1.1.0-2.fc15.noarch openstack-swift-auth-1.1.0-2.fc15.noarch openstack-swift-doc-1.1.0-2.fc15.noarch openstack-swift-proxy-1.1.0-2.fc15.noarch openstack-swift-account-1.1.0-2.fc15.noarch openstack-swift-container-1.1.0-2.fc15.noarch How reproducible: 100% Steps to Reproduce: 1. Install openstack-swift-* 2. 3. Actual results: The swift services are not available for management for in chkconfig. Expected results: Installation add to chkconfig the swift-* services. Additional info: Will provide the patch to fix the spec file
Created attachment 484462 [details] patch (diff -up) to fix teh spec file patch (diff -up) that replace "swift-" by "openstack-swift-" when "swift-" was related to the service in the .spec file
Created attachment 484465 [details] patch (diff -up) with a version increment Patch to replace "swift-" by "openstack-swift-" when "swift-" was related to the service in the .spec file.
I use the patch and rebuild the package. It installed and didn't complain: [..] Running Transaction Installing : openstack-swift-1.1.0-3.fc15.noarch 1/12 Updating : openstack-swift-proxy-1.1.0-3.fc15.noarch 2/12 Updating : openstack-swift-object-1.1.0-3.fc15.noarch 3/12 Updating : openstack-swift-container-1.1.0-3.fc15.noarch 4/12 Updating : openstack-swift-auth-1.1.0-3.fc15.noarch 5/12 Updating : openstack-swift-account-1.1.0-3.fc15.noarch 6/12 Installing : openstack-swift-doc-1.1.0-3.fc15.noarch 7/12 Cleanup : openstack-swift-account-1.1.0-2.fc15.noarch 8/12 Cleanup : openstack-swift-auth-1.1.0-2.fc15.noarch 9/12 Cleanup : openstack-swift-container-1.1.0-2.fc15.noarch 10/12 Cleanup : openstack-swift-object-1.1.0-2.fc15.noarch 11/12 Cleanup : openstack-swift-proxy-1.1.0-2.fc15.noarch 12/12 Installed: openstack-swift.noarch 0:1.1.0-3.fc15 openstack-swift-doc.noarch 0:1.1.0-3.fc15 Updated: openstack-swift-account.noarch 0:1.1.0-3.fc15 openstack-swift-auth.noarch 0:1.1.0-3.fc15 openstack-swift-container.noarch 0:1.1.0-3.fc15 openstack-swift-object.noarch 0:1.1.0-3.fc15 openstack-swift-proxy.noarch 0:1.1.0-3.fc15 Complete! [..] [kyzh@lap ~]$ chkconfig |grep -i openstack openstack-swift-account 0:off 1:off 2:off 3:off 4:off 5:off 6:off openstack-swift-auth 0:off 1:off 2:off 3:off 4:off 5:off 6:off openstack-swift-container 0:off 1:off 2:off 3:off 4:off 5:off 6:off openstack-swift-object 0:off 1:off 2:off 3:off 4:off 5:off 6:off openstack-swift-proxy 0:off 1:off 2:off 3:off 4:off 5:off 6:off We can see that we have the entry correctly added to chkconfig.
*** Bug 745951 has been marked as a duplicate of this bug. ***
*** Bug 733884 has been marked as a duplicate of this bug. ***
http://pkgs.fedoraproject.org/gitweb/?p=openstack-swift.git;a=commit;h=3216a70f663e6ad2f04e2af2fe51df43235e81cb