Bug 982377
Summary: | PostgreSQL cartridge should install postgresql-devel and other packages | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Hiro Asari <hasari> |
Component: | Containers | Assignee: | Hiro Asari <hasari> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.x | CC: | bmeng, jkeck, xtian |
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: | 2013-07-22 15:22:25 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: | |
Embargoed: |
Description
Hiro Asari
2013-07-08 20:51:19 UTC
The following packages should be installed in all cases. postgresql-server postgresql-libs postgresql-devel postgresql-contrib postgresql-plperl postgresql-plpython postgresql-pltcl Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/7e8a57675f86f9fc9c907e09f4013dce36288f8d Bug 982377 postgresql-devel and other packages should be installed in all supported cases. This led to a Ruby app being unable to build 'pg' gem when PostgreSQL 8.4 (not 9.2) was embedded. Checked on devenv_3471, issue has been fixed. On server, check the psql package, # rpm -qa|grep postgres |grep devel postgresql-devel-8.4.13-1.el6_3.x86_64 postgresql92-postgresql-devel-9.2.4-7.el6.x86_64 Build ruby 1.9 with gem 'pg', remote: Stopping Ruby cart remote: httpd (no pid file) not running remote: waiting for server to shut down.... done remote: server stopped remote: Postgres stopped remote: Running build on Ruby cart remote: Bundling RubyGems based on Gemfile/Gemfile.lock to repo/vendor/bundle with 'bundle install --deployment' remote: Fetching gem metadata from https://rubygems.org/.... remote: Installing pg (0.12.2) with native extensions ...... remote: .......... remote: .. remote: remote: Using bundler (1.1.4) remote: Your bundle is complete! It was installed into ./vendor/bundle remote: Starting Postgres remote: server starting remote: Postgres started remote: Starting Ruby cart To ssh://51dd00db0ef436089300000b.rhcloud.com/~/git/ruby19.git/ d92a44f..d3211d7 master -> master Move bug to verified. |