diff --git a/appscale/tools/agents/azure_agent.py b/appscale/tools/agents/azure_agent.py index 3daafc40..aa94fd00 100644 --- a/appscale/tools/agents/azure_agent.py +++ b/appscale/tools/agents/azure_agent.py @@ -1524,7 +1524,9 @@ def check_marketplace_image(self, parameters): try: image = compute_client.virtual_machine_images.get( compatible_zone, publisher, offer, sku, version) - + if not image.plan: + AppScaleLogger.warn("It is not recommended to use a non-AppScale image") + return market_place_client = MarketplaceOrderingAgreements(credentials, subscription_id) term = market_place_client.marketplace_agreements.get(