Bug 806976

Summary: packaging: main pulp package includes files owned and referenced by subpackages
Product: [Retired] Pulp Reporter: Jeff Ortel <jortel>
Component: rel-engAssignee: Jeff Ortel <jortel>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 1.0.0   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-25 14:15:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeff Ortel 2012-03-26 16:32:31 UTC
Description of problem:

All of the conf files under /etc/pulp are being included in the main pulp package event when owned by and included in subpackages.

Version-Release number of selected component (if applicable):

1.0.0-5

How reproducible:

Always

Steps to Reproduce:
1. Install older version of pulp and pulp-admin on the same box.
2. Edit /etc/pulp/admin/admin.conf
3. yum update pulp
  
Actual results:
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package pulp.noarch 0:1.0.0-5.el6 will be updated
---> Package pulp.noarch 0:1.0.0-6.el6 will be an update
--> Processing Dependency: grinder >= 0.0.141 for package: pulp-1.0.0-6.el6.noarch
--> Running transaction check
---> Package grinder.noarch 0:0.0.139-1.el6 will be updated
---> Package grinder.noarch 0:0.0.141-1.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch            Version                   Repository     Size
================================================================================
Updating:
 pulp             noarch          1.0.0-6.el6               pulp          715 k
Updating for dependencies:
 grinder          noarch          0.0.141-1.el6             pulp          138 k

Transaction Summary
================================================================================
Upgrade       2 Package(s)

Total size: 852 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test


Transaction Check Error:
  file /etc/pulp/admin/admin.conf from install of pulp-1.0.0-6.el6.noarch conflicts with file from package pulp-admin-1.0.0-5.el6.noarch
  file /etc/pulp/admin/job.conf from install of pulp-1.0.0-6.el6.noarch conflicts with file from package pulp-admin-1.0.0-5.el6.noarch
  file /etc/pulp/admin/task.conf from install of pulp-1.0.0-6.el6.noarch conflicts with file from package pulp-admin-1.0.0-5.el6.noarch

Error Summary
-------------


Expected results:

No errors.


Additional info:

Comment 1 Jeff Ortel 2012-03-26 20:36:02 UTC
Fixed.

Comment 2 Jeff Ortel 2012-03-26 20:36:19 UTC
build: 1.0.0-8

Comment 3 Preethi Thomas 2012-03-26 20:38:09 UTC
[root@pulp-v1-server ~]# yum update pulp
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
epel/metalink                                            |  10 kB     00:00     
epel                                                     | 4.0 kB     00:00     
epel/primary_db                                          | 4.3 MB     00:02     
pulp-v1-testing                                          | 1.3 kB     00:00     
pulp-v1-testing/primary                                  | 6.6 kB     00:00     
pulp-v1-testing                                                           21/21
rhel6                                                    | 4.0 kB     00:00     
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package pulp.noarch 0:1.0.0-6.el6 will be updated
---> Package pulp.noarch 0:1.0.0-8.el6 will be an update
--> Processing Dependency: grinder >= 0.0.142 for package: pulp-1.0.0-8.el6.noarch
--> Running transaction check
---> Package grinder.noarch 0:0.0.141-1.el6 will be updated
---> Package grinder.noarch 0:0.0.144-1.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package        Arch          Version              Repository              Size
================================================================================
Updating:
 pulp           noarch        1.0.0-8.el6          pulp-v1-testing        714 k
Updating for dependencies:
 grinder        noarch        0.0.144-1.el6        pulp-v1-testing        139 k

Transaction Summary
================================================================================
Upgrade       2 Package(s)

Total download size: 853 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): grinder-0.0.144-1.el6.noarch.rpm                  | 139 kB     00:00     
(2/2): pulp-1.0.0-8.el6.noarch.rpm                       | 714 kB     00:02     
--------------------------------------------------------------------------------
Total                                           205 kB/s | 853 kB     00:04     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : grinder-0.0.144-1.el6.noarch                                 1/4 
  Updating   : pulp-1.0.0-8.el6.noarch                                      2/4 
  Cleanup    : pulp-1.0.0-6.el6.noarch                                      3/4 
  Cleanup    : grinder-0.0.141-1.el6.noarch                                 4/4 
Installed products updated.

Updated:
  pulp.noarch 0:1.0.0-8.el6                                                     

Dependency Updated:
  grinder.noarch 0:0.0.144-1.el6                                                

Complete!

Comment 4 Preethi Thomas 2012-03-26 20:40:44 UTC
verified
upgraded pulp without error.

Comment 5 Jeff Ortel 2012-03-26 20:41:15 UTC
Also fixed on pulp_v1 and master.
Unfortunately pulp.spec files fixes need to be tested separately on all (3) branches to QE needs to set back to MODIFIED after verification.

Comment 6 Preethi Thomas 2012-05-25 14:15:56 UTC
Pulp v1.1 Release