Bug 1266649

Summary: [Bug] OSP installer does not alert users when entitlements are exhausted
Product: Red Hat OpenStack Reporter: Bryan Yount <byount>
Component: foreman-installerAssignee: Mike Burns <mburns>
Status: CLOSED EOL QA Contact: Omri Hochman <ohochman>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0 (Juno)CC: rhos-maint, srevivo
Target Milestone: ---Keywords: ZStream
Target Release: 6.0 (Juno)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-29 13:25:04 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 Bryan Yount 2015-09-26 04:12:24 UTC
Description of problem:
A customer reported an issue where they had gone through multiple deployments trying to get everything deployed correct using the Foreman-based OSP installer. After clicking Deploy the last time, the deployment was hanging at 37%.

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

How reproducible:
Very

Steps to Reproduce:
1. Create an OSP deployment
2. Deploy it
3. Delete the deployment
4. Create/deploy another deployment
5. Repeat until entitlements are exhausted

Actual results:
Installer does not complete

Expected results:
Installer should alert the user to the entitlement issue

Comment 3 Bryan Yount 2015-09-26 04:14:48 UTC
The deployment failed at this stage:

      subscription-manager register --username='user' --password='password'
      subscription-manager attach --pool="poolID"
    
    # workaround for RHEL 6.4 bug https://bugzilla.redhat.com/show_bug.cgi?id=1008016
    subscription-manager repos --list > /dev/null
    subscription-manager repos --disable=*
    subscription-manager repos --enable=rhel-7-server-rpms --enable=rhel-7-server-openstack-6.0-rpms --enable=rhel-7-server-openstack-6.0-installer-rpms --enable=rhel-ha-for-rhel-7-server-rpms --enable=rhel-7-server-rh-common-rpms

Comment 4 Jaromir Coufal 2016-09-29 13:25:04 UTC
Closing list of bugs for RHEL OSP Installer since its support cycle has already ended [0]. If there is some bug closed by mistake, feel free to re-open.

For new deployments, please, use RHOSP director (starting with version 7).

-- Jaromir Coufal
-- Sr. Product Manager
-- Red Hat OpenStack Platform

[0] https://access.redhat.com/support/policy/updates/openstack/platform