Azure cloud access playbook fails with error "This module requires the python 'requests-oauthlib' package. Try pip install requests-oauthlib"

Solution Verified - Updated -

Issue

  • While creating the Azure cloud source with RHEL Management bundle , the cloud access playbook fails with the below error:

    TASK [redhatinsights.subscriptions.auto_registration_verification : create verified cloud provider account] *************************************************************************
    fatal: [example.com -> localhost]: FAILED! => {"changed": false, "msg": "This module requires the python 'requests-oauthlib' package. Try `pip install requests-oauthlib`."}
    
    PLAY RECAP ******************************************************************************************************************************************************
    example.com                : ok=5    changed=0    unreachable=0    failed=1    skipped=15   rescued=0    ignored=0
    

Environment

  • Red Hat Enterprise Linux
  • Red Hat Hybrid Cloud Console
  • Red Hat Cloud Access
  • Microsoft Azure

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content