Describe the bug
The following command should create an image definition and display it to the user:
az sig image-definition create -g gallery --gallery-name imagegallery --gallery-image-definition sharedimage --publisher Ace --offer AcesOffer --sku Standard_Ace_v1 --os-type Linux --debug
It successfully creates the image, but the GET after the long pending create operation fails. The corresponding show operation in the CLI throws the same error. Debug info below.
To Reproduce
az sig image-definition create -g gallery --gallery-name imagegallery --gallery-image-definition sharedimage --publisher Ace --offer AcesOffer --sku Standard_Ace_v1 --os-type Linux --debug
Expected behavior
After the definition is created, it should be displayed to the user.
Environment summary
Windows 10 / MSI / 2.0.59
Additional context
Debug output from CLI:
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/074434f8-16f6-44d4-b452-dcbb0e24a5f3/resourcegroups/gallery?api-version=2018-05-01'
msrest.http_logger : Request method: 'GET'
msrest.http_logger : Request headers:
msrest.http_logger : 'Accept': 'application/json'
msrest.http_logger : 'accept-language': 'en-US'
msrest.http_logger : 'User-Agent': 'python/3.6.6 (Windows-10-10.0.17763-SP0) msrest/0.6.4 msrest_azure/0.6.0 resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.59'
msrest.http_logger : Request body:
msrest.http_logger : None
msrest.universal_http : Configuring redirects: allow=True, max=30
msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
msrest.universal_http : Configuring proxies: ''
msrest.universal_http : Evaluate proxies against ENV settings: True
urllib3.connectionpool : Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool : https://management.azure.com:443 "GET /subscriptions/074434f8-16f6-44d4-b452-dcbb0e24a5f3/resourcegroups/gallery?api-version=2018-05-01 HTTP/1.1" 200 264
msrest.http_logger : Response status: 200
msrest.http_logger : Response headers:
msrest.http_logger : 'Cache-Control': 'no-cache'
msrest.http_logger : 'Pragma': 'no-cache'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'Content-Encoding': 'gzip'
msrest.http_logger : 'Expires': '-1'
msrest.http_logger : 'Vary': 'Accept-Encoding'
msrest.http_logger : 'x-ms-ratelimit-remaining-subscription-reads': '11999'
msrest.http_logger : 'x-ms-request-id': '31a3078f-6028-43ee-837a-d3dd80c5d597'
msrest.http_logger : 'x-ms-correlation-request-id': '31a3078f-6028-43ee-837a-d3dd80c5d597'
msrest.http_logger : 'x-ms-routing-request-id': 'CANADACENTRAL:20190329T072846Z:31a3078f-6028-43ee-837a-d3dd80c5d597'
msrest.http_logger : 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger : 'X-Content-Type-Options': 'nosniff'
msrest.http_logger : 'Date': 'Fri, 29 Mar 2019 07:28:46 GMT'
msrest.http_logger : 'Content-Length': '264'
msrest.http_logger : Response content:
msrest.http_logger : {"id":"/subscriptions/074434f8-16f6-44d4-b452-dcbb0e24a5f3/resourceGroups/gallery","name":"gallery","location":"eastus2","tags":{},"properties":{"provisioningState":"Succeeded"}}
adal-python : c2d62e65-9143-42c8-88a6-cd53571eb40d - Authority:Performing instance discovery: ...
adal-python : c2d62e65-9143-42c8-88a6-cd53571eb40d - Authority:Performing static instance discovery
adal-python : c2d62e65-9143-42c8-88a6-cd53571eb40d - Authority:Authority validated via static instance discovery
adal-python : c2d62e65-9143-42c8-88a6-cd53571eb40d - TokenRequest:Getting token from cache with refresh if necessary.
adal-python : c2d62e65-9143-42c8-88a6-cd53571eb40d - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python : c2d62e65-9143-42c8-88a6-cd53571eb40d - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python : c2d62e65-9143-42c8-88a6-cd53571eb40d - CacheDriver:Found 4 potential entries.
adal-python : c2d62e65-9143-42c8-88a6-cd53571eb40d - CacheDriver:Resource specific token found.
adal-python : c2d62e65-9143-42c8-88a6-cd53571eb40d - CacheDriver:Returning token from cache lookup, AccessTokenId: b'NVALVLohK4U96bF+A/NK2fLzF23LtBHKxBLI1hKWXog=', RefreshTokenId: b'HAuFCqVP8XCA2HjvCSh0J7o886Kt6kEHJx3gqm0FXG0='
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/074434f8-16f6-44d4-b452-dcbb0e24a5f3/resourceGroups/gallery/providers/Microsoft.Compute/galleries/imagegallery/images/sharedimage?api-version=2018-06-01'
msrest.http_logger : Request method: 'PUT'
msrest.http_logger : Request headers:
msrest.http_logger : 'Accept': 'application/json'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'accept-language': 'en-US'
msrest.http_logger : 'Content-Length': '204'
msrest.http_logger : 'User-Agent': 'python/3.6.6 (Windows-10-10.0.17763-SP0) msrest/0.6.4 msrest_azure/0.6.0 computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.59'
msrest.http_logger : Request body:
msrest.http_logger : {"location": "eastus2", "tags": {}, "properties": {"osType": "Linux", "osState": "Generalized", "identifier": {"publisher": "AceEldeib", "offer": "AcesOffer", "sku": "Standard_Ace_v1"}, "disallowed": {}}}
msrest.universal_http : Configuring redirects: allow=True, max=30
msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
msrest.universal_http : Configuring proxies: ''
msrest.universal_http : Evaluate proxies against ENV settings: True
urllib3.connectionpool : Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool : https://management.azure.com:443 "PUT /subscriptions/074434f8-16f6-44d4-b452-dcbb0e24a5f3/resourceGroups/gallery/providers/Microsoft.Compute/galleries/imagegallery/images/sharedimage?api-version=2018-06-01 HTTP/1.1" 201 516
msrest.http_logger : Response status: 201
msrest.http_logger : Response headers:
msrest.http_logger : 'Cache-Control': 'no-cache'
msrest.http_logger : 'Pragma': 'no-cache'
msrest.http_logger : 'Content-Length': '516'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'Expires': '-1'
msrest.http_logger : 'Azure-AsyncOperation': 'https://management.azure.com/subscriptions/074434f8-16f6-44d4-b452-dcbb0e24a5f3/providers/Microsoft.Compute/locations/eastus2/capsOperations/a2ce22bb-0a04-4e74-8b42-fb7088d516c0?api-version=2018-06-01'
msrest.http_logger : 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger : 'x-ms-served-by': '4d86c36f-05ee-47a3-a591-5bc9a17da36d_131971668177413472,4d86c36f-05ee-47a3-a591-5bc9a17da36d_131971668177413472'
msrest.http_logger : 'x-ms-request-id': 'a2ce22bb-0a04-4e74-8b42-fb7088d516c0'
msrest.http_logger : 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0'
msrest.http_logger : 'x-ms-ratelimit-remaining-subscription-writes': '1199'
msrest.http_logger : 'x-ms-correlation-request-id': 'dc3b4a6e-0702-45a5-b370-8afb097cda4c'
msrest.http_logger : 'x-ms-routing-request-id': 'CANADACENTRAL:20190329T072847Z:dc3b4a6e-0702-45a5-b370-8afb097cda4c'
msrest.http_logger : 'X-Content-Type-Options': 'nosniff'
msrest.http_logger : 'Date': 'Fri, 29 Mar 2019 07:28:47 GMT'
msrest.http_logger : Response content:
msrest.http_logger : {
"type": "Microsoft.Compute/galleries/images",
"location": "eastus2",
"tags": {},
"id": "/subscriptions/074434f8-16f6-44d4-b452-dcbb0e24a5f3/resourceGroups/gallery/providers/Microsoft.Compute/galleries/imagegallery/images/sharedimage",
"name": "sharedimage",
"properties": {
"osType": "Linux",
"osState": "Generalized",
"identifier": {
"publisher": "AceEldeib",
"offer": "AcesOffer",
"sku": "Standard_Ace_v1"
},
"provisioningState": "Creating"
}
}
msrest.universal_http.requests : Configuring retry: max_retries=4, backoff_factor=0.8, max_backoff=90
adal-python : 92268931-e220-4fc8-bc92-57c8721332c6 - Authority:Performing instance discovery: ...
adal-python : 92268931-e220-4fc8-bc92-57c8721332c6 - Authority:Performing static instance discovery
adal-python : 92268931-e220-4fc8-bc92-57c8721332c6 - Authority:Authority validated via static instance discovery
adal-python : 92268931-e220-4fc8-bc92-57c8721332c6 - TokenRequest:Getting token from cache with refresh if necessary.
adal-python : 92268931-e220-4fc8-bc92-57c8721332c6 - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python : 92268931-e220-4fc8-bc92-57c8721332c6 - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python : 92268931-e220-4fc8-bc92-57c8721332c6 - CacheDriver:Found 4 potential entries.
adal-python : 92268931-e220-4fc8-bc92-57c8721332c6 - CacheDriver:Resource specific token found.
adal-python : 92268931-e220-4fc8-bc92-57c8721332c6 - CacheDriver:Returning token from cache lookup, AccessTokenId: b'NVALVLohK4U96bF+A/NK2fLzF23LtBHKxBLI1hKWXog=', RefreshTokenId: b'HAuFCqVP8XCA2HjvCSh0J7o886Kt6kEHJx3gqm0FXG0='
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/074434f8-16f6-44d4-b452-dcbb0e24a5f3/providers/Microsoft.Compute/locations/eastus2/capsOperations/a2ce22bb-0a04-4e74-8b42-fb7088d516c0?api-version=2018-06-01'
msrest.http_logger : Request method: 'GET'
msrest.http_logger : Request headers:
msrest.http_logger : 'Accept': 'application/json'
msrest.http_logger : 'x-ms-client-request-id': '47d3a49a-51f4-11e9-aaa8-e0d55ee2941f'
msrest.http_logger : 'User-Agent': 'python/3.6.6 (Windows-10-10.0.17763-SP0) msrest/0.6.4 msrest_azure/0.6.0 computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.59'
msrest.http_logger : Request body:
msrest.http_logger : None
msrest.universal_http : Configuring redirects: allow=True, max=30
msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
msrest.universal_http : Configuring proxies: ''
msrest.universal_http : Evaluate proxies against ENV settings: True
urllib3.connectionpool : Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool : https://management.azure.com:443 "GET /subscriptions/074434f8-16f6-44d4-b452-dcbb0e24a5f3/providers/Microsoft.Compute/locations/eastus2/capsOperations/a2ce22bb-0a04-4e74-8b42-fb7088d516c0?api-version=2018-06-01 HTTP/1.1" 200 None
msrest.http_logger : Response status: 200
msrest.http_logger : Response headers:
msrest.http_logger : 'Cache-Control': 'no-cache'
msrest.http_logger : 'Pragma': 'no-cache'
msrest.http_logger : 'Transfer-Encoding': 'chunked'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'Content-Encoding': 'gzip'
msrest.http_logger : 'Expires': '-1'
msrest.http_logger : 'Vary': 'Accept-Encoding'
msrest.http_logger : 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger : 'x-ms-served-by': '4d86c36f-05ee-47a3-a591-5bc9a17da36d_131971668177413472,4d86c36f-05ee-47a3-a591-5bc9a17da36d_131971668177413472'
msrest.http_logger : 'x-ms-request-id': 'd0ea193e-87f5-4bd1-9bee-cb6ea4d3b39e'
msrest.http_logger : 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0'
msrest.http_logger : 'x-ms-ratelimit-remaining-subscription-reads': '11999'
msrest.http_logger : 'x-ms-correlation-request-id': '7761354e-78b6-4528-b8ca-aa9c31cac6b2'
msrest.http_logger : 'x-ms-routing-request-id': 'WESTUS:20190329T073131Z:7761354e-78b6-4528-b8ca-aa9c31cac6b2'
msrest.http_logger : 'X-Content-Type-Options': 'nosniff'
msrest.http_logger : 'Date': 'Fri, 29 Mar 2019 07:31:30 GMT'
msrest.http_logger : Response content:
msrest.http_logger : {
"startTime": "2019-03-29T07:28:47.2665486+00:00",
"endTime": "2019-03-29T07:28:48.4696926+00:00",
"status": "Succeeded",
"name": "a2ce22bb-0a04-4e74-8b42-fb7088d516c0"
}
msrest.service_client : Accept header absent and forced to application/json
adal-python : 0897fe7d-5f9e-430d-b3ec-cce25bb6de6a - Authority:Performing instance discovery: ...
adal-python : 0897fe7d-5f9e-430d-b3ec-cce25bb6de6a - Authority:Performing static instance discovery
adal-python : 0897fe7d-5f9e-430d-b3ec-cce25bb6de6a - Authority:Authority validated via static instance discovery
adal-python : 0897fe7d-5f9e-430d-b3ec-cce25bb6de6a - TokenRequest:Getting token from cache with refresh if necessary.
adal-python : 0897fe7d-5f9e-430d-b3ec-cce25bb6de6a - CacheDriver:finding with query keys: {'_clientId': '...', 'userId': '...'}
adal-python : 0897fe7d-5f9e-430d-b3ec-cce25bb6de6a - CacheDriver:Looking for potential cache entries: {'_clientId': '...', 'userId': '...'}
adal-python : 0897fe7d-5f9e-430d-b3ec-cce25bb6de6a - CacheDriver:Found 4 potential entries.
adal-python : 0897fe7d-5f9e-430d-b3ec-cce25bb6de6a - CacheDriver:Resource specific token found.
adal-python : 0897fe7d-5f9e-430d-b3ec-cce25bb6de6a - CacheDriver:Returning token from cache lookup, AccessTokenId: b'NVALVLohK4U96bF+A/NK2fLzF23LtBHKxBLI1hKWXog=', RefreshTokenId: b'HAuFCqVP8XCA2HjvCSh0J7o886Kt6kEHJx3gqm0FXG0='
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/074434f8-16f6-44d4-b452-dcbb0e24a5f3/resourceGroups/gallery/providers/Microsoft.Compute/galleries/imagegallery/images/sharedimage?api-version=2018-06-01'
msrest.http_logger : Request method: 'GET'
msrest.http_logger : Request headers:
msrest.http_logger : 'Accept': 'application/json'
msrest.http_logger : 'x-ms-client-request-id': '47d3a49a-51f4-11e9-aaa8-e0d55ee2941f'
msrest.http_logger : 'User-Agent': 'python/3.6.6 (Windows-10-10.0.17763-SP0) msrest/0.6.4 msrest_azure/0.6.0 computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.59'
msrest.http_logger : Request body:
msrest.http_logger : None
msrest.universal_http : Configuring redirects: allow=True, max=30
msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
msrest.universal_http : Configuring proxies: ''
msrest.universal_http : Evaluate proxies against ENV settings: True
urllib3.connectionpool : Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool : https://management.azure.com:443 "GET /subscriptions/074434f8-16f6-44d4-b452-dcbb0e24a5f3/resourceGroups/gallery/providers/Microsoft.Compute/galleries/imagegallery/images/sharedimage?api-version=2018-06-01 HTTP/1.1" 404 156
msrest.http_logger : Response status: 404
msrest.http_logger : Response headers:
msrest.http_logger : 'Cache-Control': 'no-cache'
msrest.http_logger : 'Pragma': 'no-cache'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'Expires': '-1'
msrest.http_logger : 'x-ms-failure-cause': 'gateway'
msrest.http_logger : 'x-ms-request-id': '4ef00751-60c9-45fb-8061-60a37a92bf16'
msrest.http_logger : 'x-ms-correlation-request-id': '4ef00751-60c9-45fb-8061-60a37a92bf16'
msrest.http_logger : 'x-ms-routing-request-id': 'WESTUS:20190329T073131Z:4ef00751-60c9-45fb-8061-60a37a92bf16'
msrest.http_logger : 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger : 'X-Content-Type-Options': 'nosniff'
msrest.http_logger : 'Date': 'Fri, 29 Mar 2019 07:31:31 GMT'
msrest.http_logger : 'Content-Length': '156'
msrest.http_logger : Response content:
msrest.http_logger : {"error":{"code":"InvalidResourceType","message":"The resource type could not be found in the namespace 'Microsoft.Compute' for api version '2018-06-01'."}}
msrest.exceptions : The resource type could not be found in the namespace 'Microsoft.Compute' for api version '2018-06-01'.
Might be a parameter issue, I got the same error for image-version create when I left out --target-regions...should get a better error if so.
Hello @alexeldeib, this works for me.
I have two questions for you:
az feature register --namespace Microsoft.Compute --name GalleryPreviewaz provider register --name Microsoft.ComputeWhat does az feature show -n GalleryPreview --namespace Microsoft.Compute show in terms of registration state?
Apologies -- got sloppy switching back and forth between subs with this feature enabled and disabled during testing.
Still, I don't think the scenario above should occur at all. The image creation actually succeeds in the logs:
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/074434f8-16f6-44d4-b452-dcbb0e24a5f3/resourceGroups/gallery/providers/Microsoft.Compute/galleries/imagegallery/images/sharedimage?api-version=2018-06-01'
msrest.http_logger : Request method: 'PUT'
msrest.http_logger : Request headers:
msrest.http_logger : 'Accept': 'application/json'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'accept-language': 'en-US'
msrest.http_logger : 'Content-Length': '204'
msrest.http_logger : 'User-Agent': 'python/3.6.6 (Windows-10-10.0.17763-SP0) msrest/0.6.4 msrest_azure/0.6.0 computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.59'
msrest.http_logger : Request body:
msrest.http_logger : {"location": "eastus2", "tags": {}, "properties": {"osType": "Linux", "osState": "Generalized", "identifier": {"publisher": "AceEldeib", "offer": "AcesOffer", "sku": "Standard_Ace_v1"}, "disallowed": {}}}
msrest.universal_http : Configuring redirects: allow=True, max=30
msrest.universal_http : Configuring request: timeout=100, verify=True, cert=None
msrest.universal_http : Configuring proxies: ''
msrest.universal_http : Evaluate proxies against ENV settings: True
urllib3.connectionpool : Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool : https://management.azure.com:443 "PUT /subscriptions/074434f8-16f6-44d4-b452-dcbb0e24a5f3/resourceGroups/gallery/providers/Microsoft.Compute/galleries/imagegallery/images/sharedimage?api-version=2018-06-01 HTTP/1.1" 201 516
>>> msrest.http_logger : Response status: 201
msrest.http_logger : Response headers:
msrest.http_logger : 'Cache-Control': 'no-cache'
msrest.http_logger : 'Pragma': 'no-cache'
msrest.http_logger : 'Content-Length': '516'
msrest.http_logger : 'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger : 'Expires': '-1'
msrest.http_logger : 'Azure-AsyncOperation': 'https://management.azure.com/subscriptions/074434f8-16f6-44d4-b452-dcbb0e24a5f3/providers/Microsoft.Compute/locations/eastus2/capsOperations/a2ce22bb-0a04-4e74-8b42-fb7088d516c0?api-version=2018-06-01'
msrest.http_logger : 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
msrest.http_logger : 'x-ms-served-by': '4d86c36f-05ee-47a3-a591-5bc9a17da36d_131971668177413472,4d86c36f-05ee-47a3-a591-5bc9a17da36d_131971668177413472'
msrest.http_logger : 'x-ms-request-id': 'a2ce22bb-0a04-4e74-8b42-fb7088d516c0'
msrest.http_logger : 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0'
msrest.http_logger : 'x-ms-ratelimit-remaining-subscription-writes': '1199'
msrest.http_logger : 'x-ms-correlation-request-id': 'dc3b4a6e-0702-45a5-b370-8afb097cda4c'
msrest.http_logger : 'x-ms-routing-request-id': 'CANADACENTRAL:20190329T072847Z:dc3b4a6e-0702-45a5-b370-8afb097cda4c'
msrest.http_logger : 'X-Content-Type-Options': 'nosniff'
msrest.http_logger : 'Date': 'Fri, 29 Mar 2019 07:28:47 GMT'
msrest.http_logger : Response content:
>>> msrest.http_logger : {
"type": "Microsoft.Compute/galleries/images",
"location": "eastus2",
"tags": {},
"id": "/subscriptions/074434f8-16f6-44d4-b452-dcbb0e24a5f3/resourceGroups/gallery/providers/Microsoft.Compute/galleries/imagegallery/images/sharedimage",
"name": "sharedimage",
"properties": {
"osType": "Linux",
"osState": "Generalized",
"identifier": {
"publisher": "AceEldeib",
"offer": "AcesOffer",
"sku": "Standard_Ace_v1"
},
"provisioningState": "Creating"
}
}
Is that intended behavior for an unregistered subscription? Feels a bit like an RBAC hole that an unregistered sub has permissions to to create operations and not read operations...can't speak for the corresponding RP team however, so feel free to close if this is working as expected.
@alexeldeib, You are right that image creation should not have succeeded if the subscription is unregistered. I will try to surface this issue to the compute team in charge of shared image galleries
cc: @yugangw-msft @axayjo
@alexeldeib are you able to view the resource by running:
az resource show --ids "/subscriptions/074434f8-16f6-44d4-b452-dcbb0e24a5f3/resourceGroups/gallery/providers/Microsoft.Compute/galleries/imagegallery/images/sharedimage"
Also fyi, @alexeldeib, as this repo/issue is public be careful not to include sensitive information in your comments.
Yes, I am able to see it both in the CLI and in the Portal. I did just register the subscription after you mentioned this could be the issue. However, I went back and checked in the portal and I've been using the unregistered subscription to do custom image operations without issue for a while now -- 7 days ago according to activity log. I have multiple image versions published there.
The whole reason I found this issue was testing cross-subscription OS image pulls for AKS-Engine (see https://github.com/Azure/aks-engine/issues/721 and https://github.com/Azure/aks-engine/pull/913). My setup was to create the image gallery and definition via CLI in one subscription, and then create my cluster from the other subscription. I thought I had enabled both for the feature, but it looks like the feature was only registered on the subscription in which I was attempting to create VMs/VMSS using the image -- the subscription in which I have been creating images, galleries, and definitions, it seems, was not registered until this afternoon.
I'm not aware of any sensitive info in this issue, do edit it out or ping me offline if I missed something. I am treating both of these subs as non-sensitive -- they are throwaway subscriptions with no real use and are for testing this demo case only. They will be deleted and don't have anything else in them.
@alexeldeib, thanks for the info and clarification. I've reached out to people responsible for the sig service and referred them to this issue, as this is a service end issue, regardless.
To confirm, now that you've registered for the feature, are you now able to run az sig image-definition create and show without any issues?
Apologies for missing the follow up here. As far as I can tell, az image show works fine for me. I don't have a new subscription to validate the behavior is valid in terms of feature registration. I haven't validated az image create, but I think this is safe to close. If I do find anything else I'll reopen with more details.