Source creation on Hybrid Cloud Console for Microsoft Azure fails with error: unable to import redhatinsights.subscriptions.cloud_provider_account due to invalid syntax

Solution Verified - Updated -

Issue

  • Unable to run ansible-playbook command for source creation in Azure.
  • ansible-playbook command fails with below error in Azure VM.
TASK [redhatinsights.subscriptions.auto_registration_verification : create verified cloud provider account] **********************
fatal: [AZURE_VM_HOSTNAME -> localhost]: FAILED! =>   msg: Unable to import redhatinsights.subscriptions.cloud_provider_account due to invalid syntax
  • Cannot enable gold image in Microsoft Azure as source creation fails with ansible-playbook command.

Environment

  • Red Hat Cloud Access
  • Microsoft Azure
  • Red Hat Enterprise Linux 8 or newer

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