Bug 721321 - pulp-server restart warns, when pulp-cds installed as well
Summary: pulp-server restart warns, when pulp-cds installed as well
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: rel-eng
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Sprint 27
Assignee: Jay Dobies
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-14 09:41 UTC by Šimon Lukašík
Modified: 2012-02-24 20:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Šimon Lukašík 2011-07-14 09:41:35 UTC
Description of problem:
Both packages, pulp-server and pulp-cds bring in the Apache's Alias for
/pulp/repos location. As a result, when pulp-cds package is installed
the /var/www/pub/repos is ignored and the restartat of pulp-server
warns.

Version-Release number of selected component (if applicable):
pulp-0.0.206-1.fc14.noarch
pulp-cds-0.0.206-1.fc14.noarch

How reproducible:
deterministic

Steps to Reproduce:
1. service pulp-server restart
2.
3.
  
Actual results:
Stopping httpd: [  OK  ]
Stopping Qpid AMQP daemon: [  OK  ]
Stopping mongod: [  OK  ]
Starting mongod: [  OK  ]
Starting Qpid AMQP daemon: [  OK  ]
Starting httpd: [Thu Jul 14 05:40:05 2011] [warn] The Alias directive in /etc/httpd/conf.d/pulp.conf at line 53 will probably never match because it overlaps an earlier Alias.
[  OK  ]

Expected results:
Either no conflict in configuration or conflict in rpm's spec file.
No warning.

Additional info:
# grep /pulp/repos /etc/httpd/conf.d/pulp.conf 
Alias /pulp/repos /var/www/pub/repos
# grep /pulp/repos /etc/httpd/conf.d/pulp-cds.conf
Alias /pulp/repos /var/lib/pulp-cds/repos

Comment 1 Sayli Karmarkar 2011-07-18 06:33:08 UTC
We need to make pulp-cds conflict with pulp. This isn't supported currently.

Comment 2 Jay Dobies 2011-08-10 14:37:20 UTC
commit 7d7a593f17d8c0c69026b52351d4c1fe4176a21a
Author: Jay Dobies <jason.dobies>
Date:   Wed Aug 10 10:37:06 2011 -0400

    721321 - Don't allow pulp and pulp-cds to be installed on the same box

pulp.spec

Comment 3 Jeff Ortel 2011-08-12 21:48:31 UTC
build: 0.224

Comment 4 Preethi Thomas 2011-08-30 19:20:38 UTC
[root@pulp-f15 ~]# rpm -q pulp
pulp-0.0.228-1.fc15.noarch
[root@pulp-f15 ~]# yum install pulp-cds
Loaded plugins: pulp-profile-update
repo-new                                                 | 2.9 kB     00:00     
repo-new/primary_db                                      | 1.1 kB     00:00     
testing-fedora-pulp                                      | 2.9 kB     00:00     
updates/metalink                                         |  20 kB     00:00     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package pulp-cds.noarch 0:0.0.228-1.fc15 will be installed
--> Processing Conflict: pulp-0.0.228-1.fc15.noarch conflicts pulp-cds
--> Processing Conflict: pulp-cds-0.0.228-1.fc15.noarch conflicts pulp
--> Finished Dependency Resolution
Error: pulp conflicts with pulp-cds-0.0.228-1.fc15.noarch
Error: pulp-cds conflicts with pulp-0.0.228-1.fc15.noarch
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@pulp-f15 ~]#

Comment 5 Preethi Thomas 2012-02-24 20:17:48 UTC
Pulp v1.0 is released
Closed Current Release.

Comment 6 Preethi Thomas 2012-02-24 20:18:38 UTC
Pulp v1.0 is released.


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