Bug 999603 - openshift-origin-cartridge-jbossas does not requires 'bc' package
Summary: openshift-origin-cartridge-jbossas does not requires 'bc' package
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Dan Mace
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-21 17:01 UTC by Ricardo Katz
Modified: 2015-05-14 23:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-24 03:21:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ricardo Katz 2013-08-21 17:01:21 UTC
Description of problem:

The openshift-origin-cartridge-jbossas spec file does not requires the bc package as dependencies.

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

Release 2: https://mirror.openshift.com/pub/openshift-origin/release/2/rhel-6/packages/x86_64/


How reproducible:

Do the 'Minimal' install of RHEL6.

Install the openshift-origin-cartridge-jbossas and verify on '/usr/libexec/openshift/cartridges/jboss-as7/bin/control' that this script uses the 'bc' command.

Also verify on the SRPM of the cartridge that the spec file doesn't require this program to install

Actual result: The JBoss AS 7 is available as a gear, but doesn't start, returning an error to the user

Expected result: Jboss AS 7 installed and running as a gear on OpenShift Origin environment.

Comment 2 openshift-github-bot 2013-10-22 21:14:48 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/372840fd5f41873901a63f4a7d97323df2fbbaaf
Bug 999603: Add missing bc dependency to jboss cart specfiles

Comment 3 chunchen 2013-10-23 03:21:25 UTC
It's fixed, verified on devenv_3932, please refer to the following results:

1. Create a jbossas-7 app
rhc app create cas00 jbossas-7 --no-git
2. SSH into this app and run "bc -h"
3. Check the status of this app
rhc app show cas00 --state
4. Access this app url via browser

at step 2:
usage: bc [options] [file ...]
  -h  --help         print this usage and exit
  -i  --interactive  force interactive mode
  -l  --mathlib      use the predefined math routines
  -q  --quiet        don't print initial banner
  -s  --standard     non-standard bc constructs are errors
  -w  --warn         warn about non-standard bc constructs
  -v  --version      print version information and exit
at step 3:
Cartridge jbossas-7 is started
at step 4: 
access app url successfully


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