oo-admin-yum-validator doesn't guess OSE version

Solution In Progress - Updated -

Issue

  • When running an oo-diagnostics we saw the following error get thrown from oo-admin-yum-validator as a warning:
# oo-diagnostics
WARN: test_broker_certificate
Using a self-signed certificate for the broker
WARN: test_yum_configuration
        oo-admin-yum-validator reported some possible problems
        with your package source configuration:
--------------------------------------------------------------
      No roles have been specified. Attempting to guess the roles for this system...
Traceback (most recent call last):
  File "/usr/bin/oo-admin-yum-validator", line 917, in <module>
    validate_yum()
  File "/usr/bin/oo-admin-yum-validator", line 914, in validate_yum
    sys.exit(yum_vdtr.main())
  File "/usr/bin/oo-admin-yum-validator", line 817, in main
    self.run_checks()
  File "/usr/bin/oo-admin-yum-validator", line 754, in run_checks
    self.massage_roles()
  File "/usr/bin/oo-admin-yum-validator", line 730, in massage_roles
    self.guess_role()
  File "/usr/bin/oo-admin-yum-validator", line 678, in guess_role
    if not self.opts.product or repo.product == ose:
NameError: global name 'ose' is not defined

--------------------------------------------------------------
        Incorrect package source configuration could lead to
        failure to install the correct RPMs.

2 WARNINGS
NO ERRORS

Environment

  • OpenShift Enterprise 2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.