Error reported from oo-accept-systems: undefined method `split'

Solution Verified - Updated -

Issue

The following error is seen when running oo-diagnostics or oo-accept-systems on an OpenShift broker host:

/usr/sbin/oo-accept-systems:150:in `version_cmp': undefined method `split' for 0.2:Float (NoMethodError)
        from /usr/sbin/oo-accept-systems:192:in `block (2 levels) in check_nodes_cartridges'
        from /usr/sbin/oo-accept-systems:192:in `each'
        from /usr/sbin/oo-accept-systems:192:in `sort_by'
        from /usr/sbin/oo-accept-systems:192:in `block in check_nodes_cartridges'
        from /usr/sbin/oo-accept-systems:184:in `each'
        from /usr/sbin/oo-accept-systems:184:in `check_nodes_cartridges'
        from /usr/sbin/oo-accept-systems:341:in `<main>'

Environment

  • OpenShift Enterprise 2.2

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.