Bug 685155 - openstack-swift complain about "POSTIN scriptlet failure" on installation
Summary: openstack-swift complain about "POSTIN scriptlet failure" on installation
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: openstack-swift
Version: 15
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: David Nalley
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 733884 745951 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-15 13:01 UTC by Fraud
Modified: 2012-02-14 22:52 UTC (History)
6 users (show)

Fixed In Version: openstack-swift-1.4.3-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-14 22:52:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch (diff -up) to fix teh spec file (3.20 KB, patch)
2011-03-15 13:05 UTC, Fraud
no flags Details | Diff
patch (diff -up) with a version increment (3.42 KB, patch)
2011-03-15 13:11 UTC, Fraud
no flags Details | Diff

Description Fraud 2011-03-15 13:01:46 UTC
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

Comment 1 Fraud 2011-03-15 13:05:29 UTC
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

Comment 2 Fraud 2011-03-15 13:11:24 UTC
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.

Comment 3 Fraud 2011-03-15 13:58:21 UTC
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.

Comment 4 Mark McLoughlin 2011-10-17 10:39:51 UTC
*** Bug 745951 has been marked as a duplicate of this bug. ***

Comment 5 Mark McLoughlin 2011-10-17 10:39:59 UTC
*** Bug 733884 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.