Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Review request for Microsoft.HDInsight to add version preview/2023-04-15-preview #23743

Merged

Conversation

zeusone
Copy link
Contributor

@zeusone zeusone commented Apr 27, 2023

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.

ARM API Information (Control Plane)

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo. If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.

Changelog

Add a changelog entry for this PR by answering the following questions:

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  4. By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

Applicability: ⚠️

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

  • Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.
  • Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.

NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)

Please follow the link to find more details on PR review process.

@openapi-workflow-bot
Copy link

Hi, @zeusone Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. [email protected]

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Apr 27, 2023

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️Breaking Change(Cross-Version): 57 Warnings warning [Detail]
    compared swaggers (via Oad v0.10.4)] new version base version
    applications.json 2023-04-15-preview(4519fae) 2021-06-01(main)
    applications.json 2023-04-15-preview(4519fae) 2015-03-01-preview(main)
    cluster.json 2023-04-15-preview(4519fae) 2021-06-01(main)
    cluster.json 2023-04-15-preview(4519fae) 2015-03-01-preview(main)
    configurations.json 2023-04-15-preview(4519fae) 2021-06-01(main)
    configurations.json 2023-04-15-preview(4519fae) 2015-03-01-preview(main)
    extensions.json 2023-04-15-preview(4519fae) 2021-06-01(main)
    extensions.json 2023-04-15-preview(4519fae) 2015-03-01-preview(main)
    locations.json 2023-04-15-preview(4519fae) 2021-06-01(main)
    locations.json 2023-04-15-preview(4519fae) 2015-03-01-preview(main)
    operations.json 2023-04-15-preview(4519fae) 2021-06-01(main)
    operations.json 2023-04-15-preview(4519fae) 2015-03-01-preview(main)
    privateEndpointConnections.json 2023-04-15-preview(4519fae) 2021-06-01(main)
    privateLinkResources.json 2023-04-15-preview(4519fae) 2021-06-01(main)
    scriptActions.json 2023-04-15-preview(4519fae) 2021-06-01(main)
    scriptActions.json 2023-04-15-preview(4519fae) 2015-03-01-preview(main)
    virtualMachines.json 2023-04-15-preview(4519fae) 2021-06-01(main)
    virtualMachines.json 2023-04-15-preview(4519fae) 2015-03-01-preview(main)

    The following breaking changes are detected by comparison with the latest preview version:

    Only 28 items are listed, please refer to log for more details.

    Rule Message
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'Applications_List' to 'Applications_ListByCluster'. This will impact generated code.
    New: Microsoft.HDInsight/preview/2023-04-15-preview/applications.json#L38:7
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/applications.json#L38:7
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'Extension_EnableMonitoring' to 'Extensions_EnableMonitoring'. This will impact generated code.
    New: Microsoft.HDInsight/preview/2023-04-15-preview/extensions.json#L38:7
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json#L38:7
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'Extension_GetMonitoringStatus' to 'Extensions_GetMonitoringStatus'. This will impact generated code.
    New: Microsoft.HDInsight/preview/2023-04-15-preview/extensions.json#L91:7
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json#L91:7
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'Extension_DisableMonitoring' to 'Extensions_DisableMonitoring'. This will impact generated code.
    New: Microsoft.HDInsight/preview/2023-04-15-preview/extensions.json#L131:7
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json#L131:7
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'Extension_Create' to 'Extensions_Create'. This will impact generated code.
    New: Microsoft.HDInsight/preview/2023-04-15-preview/extensions.json#L322:7
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json#L322:7
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'Extension_Get' to 'Extensions_Get'. This will impact generated code.
    New: Microsoft.HDInsight/preview/2023-04-15-preview/extensions.json#L378:7
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json#L378:7
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'Extension_Delete' to 'Extensions_Delete'. This will impact generated code.
    New: Microsoft.HDInsight/preview/2023-04-15-preview/extensions.json#L421:7
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json#L421:7
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'ScriptActions_ListPersistedScripts' to 'ScriptActions_ListByCluster'. This will impact generated code.
    New: Microsoft.HDInsight/preview/2023-04-15-preview/scriptActions.json#L142:7
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/scriptActions.json#L141:7
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'ScriptExecutionHistory_List' to 'ScriptExecutionHistory_ListByCluster'. This will impact generated code.
    New: Microsoft.HDInsight/preview/2023-04-15-preview/scriptActions.json#L232:7
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/scriptActions.json#L231:7
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L1822:11
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json#L1742:11
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L1822:11
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json#L1742:11
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.HDInsight/preview/2023-04-15-preview/operations.json#L83:9
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/operations.json#L78:9
    ⚠️ 1025 - RequiredStatusChange The 'required' status changed from the old version('False') to the new version('True').
    New: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L1623:7
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json#L1540:7
    ⚠️ 1025 - RequiredStatusChange The 'required' status changed from the old version('False') to the new version('True').
    New: common-types/resource-management/v2/types.json#L54:7
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json#L1970:7
    ⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L1270:9
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json#L1227:9
    ⚠️ 1027 - DefaultValueChanged The new version has a different default value than the previous one.
    New: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L1270:9
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json#L1227:9
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L1742:5
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json#L1646:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L1742:5
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json#L1646:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.HDInsight/preview/2023-04-15-preview/scriptActions.json#L443:11
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/scriptActions.json#L455:11
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.HDInsight/preview/2023-04-15-preview/scriptActions.json#L224:13
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/scriptActions.json#L223:13
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.HDInsight/preview/2023-04-15-preview/scriptActions.json#L372:11
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/scriptActions.json#L370:11
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L1742:5
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json#L1646:5
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'vmsizes' renamed or removed?
    New: Microsoft.HDInsight/preview/2023-04-15-preview/locations.json#L400:7
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/locations.json#L461:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'vmsize_filters' renamed or removed?
    New: Microsoft.HDInsight/preview/2023-04-15-preview/locations.json#L400:7
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/locations.json#L461:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'cores_used' renamed or removed?
    New: Microsoft.HDInsight/preview/2023-04-15-preview/locations.json#L373:7
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/locations.json#L438:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'max_cores_allowed' renamed or removed?
    New: Microsoft.HDInsight/preview/2023-04-15-preview/locations.json#L373:7
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/locations.json#L438:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'region_name' renamed or removed?
    New: Microsoft.HDInsight/preview/2023-04-15-preview/locations.json#L352:7
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/locations.json#L418:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'cores_used' renamed or removed?
    New: Microsoft.HDInsight/preview/2023-04-15-preview/locations.json#L352:7
    Old: Microsoft.HDInsight/preview/2015-03-01-preview/locations.json#L418:7
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 1 Warnings warning [Detail]
    compared tags (via openapi-validator v2.0.0) new version base version
    package-preview-2023-04 package-preview-2023-04(4519fae) default(main)

    [must fix]The following errors/warnings are introduced by current PR:

    Rule Message Related RPC [For API reviewers]
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L1199


    The following errors/warnings exist before current PR submission:

    Only 28 items are listed, please refer to log for more details.

    Rule Message
    ResourceNameRestriction The resource name parameter 'clusterName' should be defined with a 'pattern' restriction.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/applications.json#L37
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/applications.json#L64
    ResourceNameRestriction The resource name parameter 'clusterName' should be defined with a 'pattern' restriction.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/applications.json#L82
    ResourceNameRestriction The resource name parameter 'applicationName' should be defined with a 'pattern' restriction.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/applications.json#L82
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/applications.json#L115
    CreateOperationAsyncResponseValidation An async PUT operation is tracked via Azure-AsyncOperation header. Set 'final-state-via' property to 'azure-async-operation' on 'x-ms-long-running-operation-options'
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/applications.json#L129
    CreateOperationAsyncResponseValidation An async PUT operation must return 201.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/applications.json#L166
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/applications.json#L167
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/applications.json#L214
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/applications.json#L223
    ResourceNameRestriction The resource name parameter 'clusterName' should be defined with a 'pattern' restriction.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/applications.json#L236
    ResourceNameRestriction The resource name parameter 'applicationName' should be defined with a 'pattern' restriction.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/applications.json#L236
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/applications.json#L269
    XmsParameterLocation The parameter 'SubscriptionIdParameter' is defined in global parameters section without 'x-ms-parameter-location' extension. This would add the parameter as the client property. Please ensure that this is exactly you want. If so, apply the extension 'x-ms-parameter-location': 'client'. Else, apply the extension 'x-ms-parameter-location': 'method'.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/applications.json#L496
    XmsParameterLocation The parameter 'ApiVersionParameter' is defined in global parameters section without 'x-ms-parameter-location' extension. This would add the parameter as the client property. Please ensure that this is exactly you want. If so, apply the extension 'x-ms-parameter-location': 'client'. Else, apply the extension 'x-ms-parameter-location': 'method'.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/applications.json#L527
    ResourceNameRestriction The resource name parameter 'clusterName' should be defined with a 'pattern' restriction.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L37
    CreateOperationAsyncResponseValidation An async PUT operation is tracked via Azure-AsyncOperation header. Set 'final-state-via' property to 'azure-async-operation' on 'x-ms-long-running-operation-options'
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L38
    CreateOperationAsyncResponseValidation An async PUT operation must return 201.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L108
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L109
    PatchIdentityProperty The patch operation body parameter schema should contains property 'identity'.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L151
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L162
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L202
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L208
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L252
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L291
    ResourceNameRestriction The resource name parameter 'clusterName' should be defined with a 'pattern' restriction.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L309
    ResourceNameRestriction The resource name parameter 'roleName' should be defined with a 'pattern' restriction.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L309
    DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json#L359
    ️⚠️Avocado: 1 Warnings warning [Detail]
    Rule Message
    ⚠️ CIRCULAR_REFERENCE The JSON file has a circular reference.
    readme: specification/hdinsight/resource-manager/readme.md
    json: Microsoft.HDInsight/preview/2023-04-15-preview/scriptActions.json
    ️❌ApiReadinessCheck: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    API Readiness check failed. Please make sure your service is deployed. "code: undefined,
    message: undefined"
    ️❌~[Staging] ServiceAPIReadinessTest: 90 Errors, 0 Warnings failed [Detail]

    Tag package-preview-2023-04; Prod region: Deployed

    Test run on region: westcentralus; Operation coverage: total: 54, untested: 0, failed: 51, passed: 3

    Service API Readiness Test failed. Check pipeline artifact for detail report.

    Only 28 items are listed, please refer to log for more details.

    Rule Message
    CLIENT_ERROR statusCode: 400,
    errorCode: NoRegisteredProviderFound,
    errorMessage: No registered resource provider found for location 'westcentralus' and API version '2023-04-15-preview' for type 'locations/checkNameAvailability'. The supported api-versions are '2015-03-01-preview, 2018-06-01-preview, 2021-06-01, 2023-04-15-preview'. The supported locations are 'eastasia, southeastasia, eastus, eastus2, westus, westus2, westus3, northcentralus, southcentralus, centralus, northeurope, westeurope, japaneast, japanwest, australiaeast, australiasoutheast, brazilsouth, centralindia, koreacentral, uksouth'.
    Source: runtime
    OperationId: Locations_CheckNameAvailability
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: error
    Source: response
    OperationId: Locations_CheckNameAvailability
    CLIENT_ERROR statusCode: 400,
    errorCode: LocationRequired,
    errorMessage: The location property is required for this definition.
    Source: runtime
    OperationId: Clusters_Create
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: error
    Source: response
    OperationId: Clusters_Create
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.HDInsight/clusters/clusternmxtpxl' under resource group 'apiTest-mhfMiO-23743' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: Clusters_Get
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: error
    Source: response
    OperationId: Clusters_Get
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.HDInsight/clusters/clusternmxtpxl' under resource group 'apiTest-mhfMiO-23743' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: Clusters_GetAzureAsyncOperationStatus
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: error
    Source: response
    OperationId: Clusters_GetAzureAsyncOperationStatus
    CLIENT_ERROR statusCode: 404,
    errorCode: PatchResourceNotFound,
    errorMessage: The resource '/subscriptions/db5eb68e-73e2-4fa8-b18a-46cd1be4cce5/resourceGroups/apiTest-mhfMiO-23743/providers/Microsoft.HDInsight/clusters/clusternmxtpxl' was not found when evaluating policies for a PATCH operation.
    Source: runtime
    OperationId: Clusters_Update
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: error
    Source: response
    OperationId: Clusters_Update
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.HDInsight/clusters/clusternmxtpxl' under resource group 'apiTest-mhfMiO-23743' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: Clusters_UpdateIdentityCertificate
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: error
    Source: response
    OperationId: Clusters_UpdateIdentityCertificate
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.HDInsight/clusters/clusternmxtpxl' under resource group 'apiTest-mhfMiO-23743' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: Clusters_UpdateGatewaySettings
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: error
    Source: response
    OperationId: Clusters_UpdateGatewaySettings
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.HDInsight/clusters/clusternmxtpxl' under resource group 'apiTest-mhfMiO-23743' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: Clusters_GetGatewaySettings
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: error
    Source: response
    OperationId: Clusters_GetGatewaySettings
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.HDInsight/clusters/clusternmxtpxl' under resource group 'apiTest-mhfMiO-23743' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: Clusters_ExecuteScriptActions
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.HDInsight/clusters/clusternmxtpxl' under resource group 'apiTest-mhfMiO-23743' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: Clusters_RotateDiskEncryptionKey
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: error
    Source: response
    OperationId: Clusters_RotateDiskEncryptionKey
    CLIENT_ERROR statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'clusternmxtpxl' not found.
    Source: runtime
    OperationId: Applications_Create
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: error
    Source: response
    OperationId: Applications_Create
    CLIENT_ERROR statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'clusternmxtpxl' not found.
    Source: runtime
    OperationId: Applications_ListByCluster
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: error
    Source: response
    OperationId: Applications_ListByCluster
    CLIENT_ERROR statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'clusternmxtpxl' not found.
    Source: runtime
    OperationId: Applications_Get
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: error
    Source: response
    OperationId: Applications_Get
    CLIENT_ERROR statusCode: 404,
    errorCode: ParentResourceNotFound,
    errorMessage: Can not perform requested operation on nested resource. Parent resource 'clusternmxtpxl' not found.
    Source: runtime
    OperationId: Applications_GetAzureAsyncOperationStatus
    OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: error
    Source: response
    OperationId: Applications_GetAzureAsyncOperationStatus
    CLIENT_ERROR statusCode: 404,
    errorCode: ResourceNotFound,
    errorMessage: The Resource 'Microsoft.HDInsight/clusters/clusternmxtpxl' under resource group 'apiTest-mhfMiO-23743' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
    Source: runtime
    OperationId: PrivateEndpointConnections_CreateOrUpdate
    ️️✔️SwaggerAPIView succeeded [Detail] [Expand]
    ️️✔️CadlAPIView succeeded [Detail] [Expand]
    ️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PoliCheck succeeded [Detail] [Expand]
    Validation passed for PoliCheck.
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    ️️✔️TypeSpec Validation succeeded [Detail] [Expand]
    Validation passes for TypeSpec Validation.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    @ghost ghost added the HDInsight label Apr 27, 2023
    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Apr 27, 2023

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

    Breaking Changes Tracking




    ️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 0c59461. SDK Automation 14.0.0
      command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️sdk/resourcemanager/hdinsight/armhdinsight [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New field `EnableSecureChannel` in struct `StorageAccount`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 1 additive change(s).
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 0c59461. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.1.2
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.1.2
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
      cmderr	[generate.py] [ForkJoinPool-1-worker-3] INFO com.azure.core.test.implementation.TestingHelpers - Environment variable 'AZURE_TEST_MODE' has not been set yet. Using 'Playback' mode.
    • ️✔️azure-resourcemanager-hdinsight [View full logs]  [Release SDK Changes]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 0c59461. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
      cmderr	[automation_generate.sh] npm notice
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 9.5.1 -> 9.6.6
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.6.6>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-hdinsight [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Model StorageAccount has a new parameter enable_secure_channel
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 0c59461. SDK Automation 14.0.0
      command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
      warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
    • ️✔️@azure/arm-hdinsight [View full logs]  [Release SDK Changes]
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Interface StorageAccount has a new optional parameter enableSecureChannel
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 0c59461. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      cmderr	[initScript.sh]
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    • ️✔️hdinsight [View full logs]  [Release Schema Changes]
    ️❌ azure-powershell failed [Detail]
    • Pipeline Framework Failed [Logs]Release - Generate from 0c59461. SDK Automation 14.0.0
      command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
      command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
      SSL error: syscall failure: Broken pipe
      Error: SSL error: syscall failure: Broken pipe
    • ️✔️Az.hdinsight.DefaultTag [View full logs
      error	Fatal error: SSL error: syscall failure: Broken pipe
      error	The following packages are still pending:
      error		Az.hdinsight.DefaultTag
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Apr 27, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/hdinsight/armhdinsight https://apiview.dev/Assemblies/Review/136819aa1fab4cc38f08cefb6d6eeefb
    Java azure-resourcemanager-hdinsight https://apiview.dev/Assemblies/Review/e47dfdd72c654fb1b5e5193b83e80f29
    .Net Azure.ResourceManager.HDInsight https://apiview.dev/Assemblies/Review/6a3796f5dd1f4007ab59751f2882e257
    JavaScript @azure/arm-hdinsight https://apiview.dev/Assemblies/Review/13b025095dc5471b98085152d6027f41

    @openapi-workflow-bot openapi-workflow-bot bot added ARMReview WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Apr 27, 2023
    @openapi-workflow-bot
    Copy link

    Hi, @zeusone your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board([email protected]).

    @zeusone zeusone marked this pull request as ready for review April 27, 2023 04:49
    @raych1 raych1 requested a review from v-jiaodi April 27, 2023 05:06
    @pilor pilor added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Apr 27, 2023
    @openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Apr 27, 2023
    @v-jiaodi
    Copy link
    Member

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @AzureRestAPISpecReview AzureRestAPISpecReview added the ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test label Apr 27, 2023
    @v-jiaodi v-jiaodi added the Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates label Apr 27, 2023
    @openapi-workflow-bot openapi-workflow-bot bot added commitAfterSignedOff and removed Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates labels Apr 27, 2023
    @openapi-workflow-bot
    Copy link

    Hi @zeusone, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff. If you have any questions, please post your questions in this channel https://aka.ms/swaggersupport.

    TaskHow to fixPriority
    AvocadoFix-AvocadoHigh
    Semantic validationFix-SemanticValidation-ErrorHigh
    Model validationFix-ModelValidation-ErrorHigh
    LintDiffFix-LintDiffhigh
    If you need further help, please feedback via swagger feedback.

    This reverts commit 65b7c6c.
    @v-jiaodi v-jiaodi added the Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates label Apr 27, 2023
    @chunyu3
    Copy link
    Member

    chunyu3 commented May 4, 2023

    Confirm with @zeusone and @raych1 , we will merge the api first, and service team will verify if there is any issue on the TIP env then fix that if any. Now we will ignore API Readiness Check failure.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review commitAfterSignedOff HDInsight new-api-version ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test resource-manager
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    5 participants