Unable to spin virtual machines using Red Hat Gold Images in Azure Cloud Solution Provider(CSP) subscriptions
Environment
- Microsoft Azure Cloud Solution Provider(CSP)
- Red Hat Cloud Access
- Red Hat Gold Images(BYOS)
Issue
-
Unable to create VMs using
Red Hat Gold Imagesunder Azure subscriptions purchased throughAzure Cloud Solution Provider(CSP). -
Creating a VM under
Azure Cloud Solution Provider(CSP)subscription results in below error.{"code":"MarketplacePurchaseEligibilityFailed","message":"Marketplace purchase eligibilty check returned errors. See inner errors for details. ","details":[{"code":"BadRequest","message":"Offer with PublisherId: 'redhat', OfferId: 'rhel-byos' cannot be purchased due to validation errors. For more information see details. Correlation Id: 'xxxxxx-xxxx-4633-xxxx-12345' This offer is not available for subscriptions from Microsoft Azure Cloud Solution providers, either choose a different subscription or contact your Microsoft Azure Cloud Solution provider for more information. Specific details for this offer is: publisher=‘redhat’ offer = ‘rhel-byos’, plan = ‘rhel-lvm86-gen2’. Correlation Id: 'xxxxxx-xxxx-4633-xxxx-12345'.[{\**"This offer is not available for subscriptions from Microsoft Azure Cloud Solution providers, either choose a different subscription or contact your Microsoft Azure Cloud Solution provider for more information**. Specific details for this offer is: publisher=‘redhat’ offer = ‘rhel-byos’, plan = ‘rhel-lvm86-gen2’. Correlation Id: 'xxxxxx-xxxx-4633-xxxx-12345'.\":\"StoreApi\"}]"}]}
Resolution
Disclaimer:
Links contained herein to external website(s) are provided for convenience only. Red Hat has not reviewed the links and is not responsible for the content or its availability. The inclusion of any link to an external website does not imply endorsement by Red Hat of the website or their entities, products or services. You agree that Red Hat is not responsible or liable for any loss or expenses that may result due to your use of (or reliance on) the external site or content.
-
RHEL BYOS
Goldimages in the Azure marketplace are intended only for Red Hat customers who have registered one or more eligible RHEL subscriptions with the Cloud Access program. Access to those Gold images is controlled using a native Azure marketplace feature - private plans, which allow marketplace publishers to limit access to specific customers using the customer's Azure subscription ID(s) or tenant ID(s). Private plans work fine for Azure customers who have their own Azure subscriptions but do not work for Azure customers who use Cloud Solution Provider (CSP) provided Azure subscriptions. More details about the CSP-managed subscription limitation and other considerations for using private plans can be found here. -
The recommended workaround for customers who are using CSP-managed Azure subscriptions is to use Microsoft's Azure Hybrid Benefit for Linux (AHB), which allows eligible customers to easily switch the software subscription model for their Azure RHEL VMs from PAYG to BYOS. This AHB scenario provides a RHEL Gold image like experience that can use any of the available RHEL PAYG VM images available in the Azure marketplace to quickly provision RHEL VMs while at the same time, removing the hourly RHEL software usage charges that are typically associated with the PAYG images. Customers who have registered their RHEL subscription(s) for Cloud Access Gold image access are automatically eligible to use AHB. More details can be found here.
Root Cause
- Microsoft Azure Marketplace does not support customers using a private offer with a CSP use case. This is by Microsoft's design and not a bug.
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.
Comments