Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the check against Satellite organization safe to fix RHSM issues #5908

Merged
merged 1 commit into from
Jul 30, 2019

Conversation

skateman
Copy link
Member

When you try to add your credentials for Red Hat Subscription Manager under Settings -> Region -> Red Hat Updates, the workflow breaks on a type conversion error which has been introduced to support organization for Satellite. The fix is to use try and convert the data to number so the comparison never fails.

@miq-bot add_label bug, hammer/yes, ivanchuk/yes
@miq-bot add_reviewer @h-kataria

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1731962

@miq-bot
Copy link
Member

miq-bot commented Jul 30, 2019

Checked commit skateman@c86c936 with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. 🍰

@h-kataria h-kataria self-assigned this Jul 30, 2019
@h-kataria h-kataria added this to the Sprint 117 Ending Aug 5, 2019 milestone Jul 30, 2019
@h-kataria h-kataria merged commit d182270 into ManageIQ:master Jul 30, 2019
@skateman skateman deleted the rhn-organization-try branch July 30, 2019 16:11
simaishi pushed a commit that referenced this pull request Jul 30, 2019
Make the check against Satellite organization safe to fix RHSM issues

(cherry picked from commit d182270)

https://bugzilla.redhat.com/show_bug.cgi?id=1731962
@simaishi
Copy link
Contributor

Ivanchuk backport details:

$ git log -1
commit f404f1e00dc96c89cecb1f77957e2ecdd0699888
Author: Harpreet Kataria <hkataria@redhat.com>
Date:   Tue Jul 30 11:58:36 2019 -0400

    Merge pull request #5908 from skateman/rhn-organization-try
    
    Make the check against Satellite organization safe to fix RHSM issues
    
    (cherry picked from commit d1822704512634446b858017adf999e560d7c850)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1731962

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants