| Summary: | Unexpected installation of php by packstack | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Daniel Berrangé <berrange> |
| Component: | openstack-packstack | Assignee: | Francesco Vollero <fvollero> |
| Status: | CLOSED ERRATA | QA Contact: | Ami Jeain <ajeain> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.0 | CC: | ajeain, aortega, derekh, ichavero, mlopes, mmagr, yeylon |
| Target Milestone: | z1 | Keywords: | ZStream |
| Target Release: | 4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-packstack-2013.2.1-0.21.dev948.el6ost | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-23 14:23:58 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Patch is on the works. Mid-Jan ought to be a safe call. verified: 1. ran a controller+compute setup 2. # rpm -q php package php is not installed Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2014-0046.html |
Description of problem: On a freshly installed RHEL-6.5 host I ran # packstack --install-hosts=192.168.122.84,192.168.122.82 Looking at the commands being run in another window I was surprised to see /usr/bin/python /usr/bin/yum -d 0 -e 0 -y install php This happened while the horizon service was being setup by packstack. After install completed, nothing appeared to depend on the php RPM (eg rpm -e php worked without breaking deps) It appears this was caused by the file /usr/lib/python2.6/site-packages/packstack/puppet/templates/horizon.pp:class which contains {'apache::mod::php': } I'm told that PHP is only required for Nagios, and this was not installed on my host # grep NAGIOS packstack-answers-20131209-162845.txt CONFIG_NAGIOS_INSTALL=n CONFIG_NAGIOS_HOST=192.168.122.84 CONFIG_NAGIOS_PW=bb006806b7b94ee1 In any case the /usr/lib/python2.6/site-packages/packstack/puppet/templates/nagios_server.pp file already has a requirement for 'apache::mod::php' So unless I'm missing something, the horizon.pp file is buggy in its request for php and should be fixed. Version-Release number of selected component (if applicable): openstack-packstack-2013.2.1-0.13.dev876.el6ost.noarch How reproducible: Always Steps to Reproduce: 1. packstack --install-hosts=192.168.122.84,192.168.122.82 2. rpm -q php Actual results: php is installed Expected results: php is not installed Additional info: