subscription-manager returns: "error: no such option: --org"

Solution Verified - Updated -

Environment

  • Red Hat Satellite v 6.x
  • Red Hat Enterprise Linux v 6.1
  • Red Hat Enterprise Linux v 5.7

Issue

  • When registering a system with subscription-manager using --org option gives error as:
subscription-manager returns:  error: no such option: --org

Resolution

  • Update to the subscription-manager package which supports --org option.

  • To check if existing subscription-manager package supports --org option, run

# man subscription-manager |grep -w "org"

Root Cause

  • Existing subscription-manager package doesn't have the --org option available.

Diagnostic Steps

  • To check subscription-manager package version on existing system , run
# rpm -qa|grep subscription-manager  

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.