Bug 1160699
Summary: | App didn't inherit HA when created from another HA app. | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Brenton Leanhardt <bleanhar> |
Component: | oc | Assignee: | Miciah Dashiel Butler Masters <mmasters> |
Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.2.0 | CC: | adellape, anli, ffranz, jliggitt, jokerman, libra-bugs, libra-onpremise-devel, lxia, mmccomas, pruan, tiwillia, xtian |
Target Milestone: | --- | Keywords: | Upstream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rubygem-openshift-origin-controller-1.32.3.1-1 rhc-1.36.1.1-1 | Doc Type: | Bug Fix |
Doc Text: |
When creating an application from an existing application, details regarding the HA configuration of the original application were not available. As a result, applications created from an existing HA application would not themselves be HA as one would expect. This bug fix extends the REST API to provide HA application configuration details. The `rhc app-create --from-app` command now clones HA status from the original application.
|
Story Points: | --- |
Clone Of: | 1158737 | Environment: | |
Last Closed: | 2015-09-30 16:36:16 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: | |||
Bug Depends On: | 1158737 | ||
Bug Blocks: |
Description
Brenton Leanhardt
2014-11-05 12:57:52 UTC
Query step: env ose2.2.z/2014-11-24.3 Change the user can allowha true 1.rhc app-create app1 php-5.3 -s 2.rhc app enable-ha app1 3.rhc app-create app1clone --from-app app1 4.rhc app enable-ha app1clone Actual results: 4.# rhc app enable-ha app1clone RESULT: app1clone is now highly available Also can check the app's ha is false in mongodb Expected results: 4.# rhc app enable-ha app1clone Application is already HA Also can check the app's ha is true in mongodb Looks like we got this one in a rebase. Verified and pass on 2015-06-30.1, the package is rubygem-openshift-origin-controller-1.36.2.3-1.el6op.noarch. The copied applications inherit HA from another application. Both gears are embedded ha proxy cartridge. $ rhc app create sperl2 --from-app sperl Application Options ------------------- Domain: anlidom Cartridges: perl-5.10 From app: sperl Gear Size: Copied from 'sperl' Scaling: yes (copied from 'sperl') HA: yes (copied from 'sperl') Creating application 'sperl2' ... done Waiting for your DNS name to be available ... done Setting deployment configuration ... done 2) $ rhc app show sperl2 --gears ID State Cartridges Size SSH URL ---------------- ------- --------------------- ----- ------------------------------------------------------------- anlidom-sperl2-1 started perl-5.10 haproxy-1.4 small anlidom-sperl2-1.com.cn anlidom-sperl2-2 started perl-5.10 haproxy-1.4 small anlidom-sperl2-2.com.cn 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/RHSA-2015-1844.html |