Bug 695853

Summary: pulp - missing dependencies for mod_python
Product: [Retired] Pulp Reporter: Kedar Bidarkar <kbidarka>
Component: nodesAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: dgao
Target Milestone: ---   
Target Release: Sprint 22   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 12:10:38 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:
Bug Depends On:    
Bug Blocks: 647488    

Description Kedar Bidarkar 2011-04-12 19:58:00 UTC
Description of problem:

service httpd restart throws error, reporting 
Invalid command 'PythonAuthenHandler', perhaps misspelled or defined by a module not included in the server configuration


Version-Release number of selected component (if applicable):
build is pulp-cds 161 and gofer 31

How reproducible:

pulp-cds has missing dependencies for mod_python

Steps to Reproduce:
1. restart httpd service , throws errors along with pulp
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Pradeep Kilambi 2011-04-12 20:11:14 UTC
fixed! commit 4e42bcdd53b3987b35240d05be51383275680554

# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.0 (Santiago

Dependencies Resolved

==================================================================================================================================
 Package           Arch         Version                              Repository                                              Size
==================================================================================================================================
Updating:
 pulp              noarch       0.0.162-1.git.11.4e42bcd.el6         /pulp-0.0.162-1.git.11.4e42bcd.el6.noarch              2.6 M
 pulp-cds          noarch       0.0.162-1.git.11.4e42bcd.el6         /pulp-cds-0.0.162-1.git.11.4e42bcd.el6.noarch          236 k
 pulp-client       noarch       0.0.162-1.git.11.4e42bcd.el6         /pulp-client-0.0.162-1.git.11.4e42bcd.el6.noarch       1.0 M
 pulp-common       noarch       0.0.162-1.git.11.4e42bcd.el6         /pulp-common-0.0.162-1.git.11.4e42bcd.el6.noarch       273  
Installing for dependencies:
 mod_python        x86_64       3.3.1-14.el6.1                       epel                                                   293 k

Transaction Summary
==================================================================================================================================
Install       1 Package(s)
Upgrade       4 Package(s)

Total size: 4.1 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : mod_python-3.3.1-14.el6.1.x86_64                                                                           1/9 
  Updating       : pulp-common-0.0.162-1.git.11.4e42bcd.el6.noarch                                                            2/9 
  Updating       : pulp-client-0.0.162-1.git.11.4e42bcd.el6.noarch                                                            3/9 
/etc/rc.d/init.d /
/
  Updating       : pulp-0.0.162-1.git.11.4e42bcd.el6.noarch                                                                   4/9 
  Updating       : pulp-cds-0.0.162-1.git.11.4e42bcd.el6.noarch                                                               5/9 
warning: /etc/pulp/cds.conf created as /etc/pulp/cds.conf.rpmnew
  Cleanup        : pulp-0.0.161-1.git.118.1e1f7a3.el6.noarch                                                                  6/9 
  Cleanup        : pulp-client-0.0.161-1.git.118.1e1f7a3.el6.noarch                                                           7/9 
  Cleanup        : pulp-cds-0.0.161-1.git.118.1e1f7a3.el6.noarch                                                              8/9 
  Cleanup        : pulp-common-0.0.161-1.git.118.1e1f7a3.el6.noarch                                                           9/9 

Dependency Installed:
  mod_python.x86_64 0:3.3.1-14.el6.1                                                                                              

Updated:
  pulp.noarch 0:0.0.162-1.git.11.4e42bcd.el6                      pulp-cds.noarch 0:0.0.162-1.git.11.4e42bcd.el6                 
  pulp-client.noarch 0:0.0.162-1.git.11.4e42bcd.el6               pulp-common.noarch 0:0.0.162-1.git.11.4e42bcd.el6              

Complete!

Comment 2 Jay Dobies 2011-04-13 19:22:53 UTC
Fixed in build 0.163.

Comment 3 Preethi Thomas 2011-04-15 15:17:36 UTC
Looks like this is not fixed for Rhel6 when using pulp 163 build.

Comment 4 dgao 2011-04-15 15:25:40 UTC
[root@pulp-qe-rhel6 ~]# yum deplist pulp|grep "mod"
  dependency: mod_ssl
   provider: mod_ssl.x86_64 1:2.2.15-5.el6
  dependency: mod_wsgi
   provider: mod_wsgi.x86_64 3.2-1.el6
[root@pulp-qe-rhel6 ~]# 
[root@pulp-qe-rhel6 ~]# yum deplist pulp-cds|grep "mod"
  dependency: mod_ssl
   provider: mod_ssl.x86_64 1:2.2.15-5.el6
  dependency: mod_python
   provider: mod_python.x86_64 3.3.1-14.el6.1

Looks like the dependency is set to only pulp-cds. If you don't have that package installed, mod_python will not be pulled in. As a result, trying to start httpd will result in:


Invalid command 'PythonAuthenHandler', perhaps misspelled or defined by a module not included in the server configuration

Comment 5 Pradeep Kilambi 2011-04-15 16:45:30 UTC
yes I already fixed this yesterday:


commit d3d963f85606cf795925f054b444815096fd7270
Author: Pradeep Kilambi <pkilambi>
Date:   Thu Apr 14 18:24:43 2011 -0400

    adding mod_python dep for server package on el6

Comment 6 Jeff Ortel 2011-04-19 18:49:18 UTC
build: 0.168

Comment 7 Kedar Bidarkar 2011-05-25 16:44:15 UTC
Dependencies Resolved

=================================================================================================================================================================================
 Package                                       Arch                           Version                                                    Repository                         Size
=================================================================================================================================================================================
Installing:
 pulp                                          noarch                         0.0.180-1.el6                                              rhel-pulp                         591 k
Installing for dependencies:
 PyYAML                                        x86_64                         3.09-5.el6                                                 epel                              158 k
 apr                                           x86_64                         1.3.9-3.el6                                                rhel-pnq                          123 k
 apr-util                                      x86_64                         1.3.9-3.el6                                                rhel-pnq                           87 k
 apr-util-ldap                                 x86_64                         1.3.9-3.el6                                                rhel-pnq                           15 k
 boost                                         x86_64                         1.41.0-11.el6                                              rhel-pnq                           17 k
 boost-date-time                               x86_64                         1.41.0-11.el6                                              rhel-pnq                           37 k
 boost-filesystem                              x86_64                         1.41.0-11.el6                                              rhel-pnq                           44 k
 boost-graph                                   x86_64                         1.41.0-11.el6                                              rhel-pnq                           80 k
 boost-iostreams                               x86_64                         1.41.0-11.el6                                              rhel-pnq                           36 k
 boost-program-options                         x86_64                         1.41.0-11.el6                                              rhel-pnq                          107 k
 boost-python                                  x86_64                         1.41.0-11.el6                                              rhel-pnq                          122 k
 boost-regex                                   x86_64                         1.41.0-11.el6                                              rhel-pnq                          485 k
 boost-serialization                           x86_64                         1.41.0-11.el6                                              rhel-pnq                          164 k
 boost-signals                                 x86_64                         1.41.0-11.el6                                              rhel-pnq                           42 k
 boost-system                                  x86_64                         1.41.0-11.el6                                              rhel-pnq                           23 k
 boost-test                                    x86_64                         1.41.0-11.el6                                              rhel-pnq                          390 k
 boost-thread                                  x86_64                         1.41.0-11.el6                                              rhel-pnq                           40 k
 boost-wave                                    x86_64                         1.41.0-11.el6                                              rhel-pnq                          200 k
 createrepo                                    noarch                         0.9.8-4.el6                                                rhel-pnq                           81 k
 deltarpm                                      x86_64                         3.5-0.5.20090913git.el6                                    rhel-pnq                           71 k
 gofer                                         noarch                         0.37-1.el6                                                 rhel-pulp                          38 k
 grinder                                       noarch                         0.0.99-1.el6                                               rhel-pulp                         118 k
 httpd                                         x86_64                         2.2.15-5.el6                                               rhel-pnq                          811 k
 httpd-tools                                   x86_64                         2.2.15-5.el6                                               rhel-pnq                           68 k
 js                                            x86_64                         1.70-12.el6                                                epel                              365 k
 libicu                                        x86_64                         4.2.1-9.el6                                                rhel-pnq                          4.9 M
 libpcap                                       x86_64                         14:1.0.0-6.20091201git117cb5.el6                           rhel-pnq                          126 k
 libyaml                                       x86_64                         0.1.3-1.el6                                                epel                               52 k
 mailcap                                       noarch                         2.1.31-1.1.el6                                             rhel-pnq                           26 k
 mod_python                                    x86_64                         3.3.1-14.el6.1                                             epel                              293 k
 mod_ssl                                       x86_64                         1:2.2.15-5.el6                                             rhel-pnq                           85 k
 mod_wsgi                                      x86_64                         3.2-1.el6                                                  rhel-pnq                           65 k
 mongodb                                       x86_64                         1.6.4-3.el6                                                epel                               11 M
 mongodb-server                                x86_64                         1.6.4-3.el6                                                epel                              2.3 M
 pulp-client                                   noarch                         0.0.180-1.el6                                              rhel-pulp                         248 k
 pulp-common                                   noarch                         0.0.180-1.el6                                              rhel-pulp                          55 k
 pymongo                                       x86_64                         1.9-6.el6                                                  epel                              123 k
 python-BeautifulSoup                          noarch                         1:3.0.8.1-1.el6                                            epel                               43 k
 python-bson                                   x86_64                         1.9-6.el6                                                  epel                               48 k
 python-deltarpm                               x86_64                         3.5-0.5.20090913git.el6                                    rhel-pnq                           27 k
 python-gofer                                  noarch                         0.37-1.el6                                                 rhel-pulp                          72 k
 python-httplib2                               noarch                         0.4.0-4.el6                                                epel                               33 k
 python-isodate                                noarch                         0.4.4-1.el6                                                rhel-pulp                          35 k
 python-ldap                                   x86_64                         2.3.10-1.el6                                               rhel-pnq                          125 k
 python-oauth2                                 noarch                         1.2.1-3.el6                                                rhel-pulp                          24 k
 python-qpid                                   noarch                         0.7.946106-12.el6                                          rhel-pnq                          419 k
 python-setuptools                             noarch                         0.6.10-3.el6                                               rhel-pnq                          336 k
 python-simplejson                             x86_64                         2.0.9-3.1.el6                                              rhel-pnq                          126 k
 python-webpy                                  noarch                         0.32-8.el6                                                 rhel-pulp                         248 k
 qpid-cpp-client                               x86_64                         0.7.946106-5.el6                                           rhel-pnq                          963 k
 qpid-cpp-server                               x86_64                         0.7.946106-5.el6                                           rhel-pnq                          836 k

Transaction Summary
=================================================================================================================================================================================
Install      52 Package(s)
Upgrade       0 Package(s)

Total download size: 27 M
Installed size: 92 M
Is this ok [y/N]: y
Downloading Packages:


mod_python now added to pulp as dependency

Comment 8 Preethi Thomas 2011-08-16 12:10:38 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 9 Preethi Thomas 2011-08-16 12:22:31 UTC
Closing with Community Release 15

pulp-0.0.223-4.