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

azure_rm_gallery: add disabled to aliases #58672

Conversation

Andersson007
Copy link
Contributor

SUMMARY

azure_rm_gallery: add disabled to aliases

because tests always fail for unrelated PRs with:

10:20 <testhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1562154933.93-98980176504656/ > /dev/null 2>&1 && sleep 0'
10:20 The full traceback is:
10:20 WARNING: The below traceback may *not* be related to the actual failure.
10:20   File "/tmp/ansible_azure_rm_galleryimageversion_payload_DCkqlY/__main__.py", line 397, in create_update_resource
10:20     30)
10:20   File "/tmp/ansible_azure_rm_galleryimageversion_payload_DCkqlY/ansible_azure_rm_galleryimageversion_payload.zip/ansible/module_utils/azure_rm_common_rest.py", line 80, in query
10:20     raise exp
10:20 
10:20 fatal: [testhost]: FAILED! => {
10:20     "changed": false, 
10:20     "invocation": {
10:20         "module_args": {
10:20             "ad_user": null, 
10:20             "adfs_authority_url": null, 
10:20             "api_profile": "latest", 
10:20             "append_tags": true, 
10:20             "auth_source": null, 
10:20             "cert_validation_mode": null, 
10:20             "client_id": null, 
10:20             "cloud_environment": "AzureCloud", 
10:20             "gallery_image_name": "myImage", 
10:20             "gallery_name": "myGalleryebce060794", 
10:20             "location": "West US", 
10:20             "name": "10.1.3", 
10:20             "password": null, 
10:20             "profile": null, 
10:20             "publishing_profile": {
10:20                 "endOfLifeDate": "2021-10-01t00:00:00+00:00", 
10:20                 "excludeFromLatest": true, 
10:20                 "replicaCount": 3, 
10:20                 "source": {
10:20                     "managedImage": {
10:20                         "id": "/subscriptions/6d22db98-3e5f-4ab9-bdf9-2f911a2775f7/resourceGroups/ansible-core-ci-prod-991ee744-e8ec-4af3-888b-6f86a91dedfc-1/providers/Microsoft.Compute/images/testimagea"
10:20                     }
10:20                 }, 
10:20                 "storageAccountType": "Standard_LRS", 
10:20                 "targetRegions": [
10:20                     {
10:20                         "name": "West US", 
10:20                         "regionalReplicaCount": 1
10:20                     }, 
10:20                     {
10:20                         "name": "East US", 
10:20                         "regionalReplicaCount": 2, 
10:20                         "storageAccountType": "Standard_ZRS"
10:20                     }
10:20                 ]
10:20             }, 
10:20             "resource_group": "ansible-core-ci-prod-991ee744-e8ec-4af3-888b-6f86a91dedfc-1", 
10:20             "secret": null, 
10:20             "state": "present", 
10:20             "subscription_id": null, 
10:20             "tags": null, 
10:20             "tenant": null
10:20         }
10:20     }, 
10:20     "msg": "Error creating the GalleryImageVersion instance: Azure Error: InvalidParameter\nMessage: Parameter 'galleryImageVersion.properties.storageProfile' is not allowed.\nTarget: galleryImageVersion.properties.storageProfile"
10:20 }
10:20 
10:20 PLAY RECAP *********************************************************************
10:20 testhost                   : ok=29   changed=8    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   
10:20 
10:21 Command exited with status 2 after 276.723038912 seconds.
10:21 NOTICE: If azure_rm_gallery failed due to permissions, the test policy may need to be updated. For help, consult @mattclay or @gundalow on GitHub or #ansible-devel on IRC.
ISSUE TYPE
  • Bugfix Pull Request

@zikalino
Copy link
Contributor

zikalino commented Jul 3, 2019

good :-) i will handle this tomorrow and hopefully reenable

@zikalino zikalino merged commit 2e9db87 into ansible:devel Jul 3, 2019
@ansibot
Copy link
Contributor

ansibot commented Jul 3, 2019

@ansibot ansibot added affects_2.9 This issue/PR affects Ansible v2.9 azure bug This issue/PR relates to a bug. cloud community_review In order to be merged, this PR must follow the community review workflow. needs_triage Needs a first human triage before being processed. support:community This issue/PR relates to code supported by the Ansible community. traceback This issue/PR includes a traceback. labels Jul 3, 2019
@Andersson007
Copy link
Contributor Author

@zikalino , thank you!

@mattclay
Copy link
Member

mattclay commented Jul 3, 2019

@zikalino @Andersson007 Can one of you open an issue to track this test being disabled? It should be added to this project: https://github.com/ansible/ansible/projects/22

@Andersson007
Copy link
Contributor Author

@mattclay i remember that you said in ansible-devel, i left my work for today

@Andersson007
Copy link
Contributor Author

Andersson007 commented Jul 3, 2019

If i my day job allows me I’ll do it tomorrow

@Andersson007
Copy link
Contributor Author

@mattclay , done

@sivel sivel removed the needs_triage Needs a first human triage before being processed. label Jul 5, 2019
@ansible ansible locked and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.9 This issue/PR affects Ansible v2.9 azure bug This issue/PR relates to a bug. cloud community_review In order to be merged, this PR must follow the community review workflow. support:community This issue/PR relates to code supported by the Ansible community. traceback This issue/PR includes a traceback.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants