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_image: Required parameter 'hyperVGeneration' is missing #422

Closed
achevalet opened this issue Feb 8, 2021 · 2 comments · Fixed by #432
Closed

azure_rm_image: Required parameter 'hyperVGeneration' is missing #422

achevalet opened this issue Feb 8, 2021 · 2 comments · Fixed by #432
Labels
has_pr PR fixes have been made

Comments

@achevalet
Copy link

SUMMARY

Creating image from blob_uri fails with "Required parameter 'hyperVGeneration' is missing".

ISSUE TYPE
  • Bug Report
COMPONENT NAME

azure_rm_image

ANSIBLE VERSION
ansible 2.10.5
  config file = None
  configured module search path = ['/home/xxx/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.6/site-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 3.6.8 (default, Nov 16 2020, 16:55:22) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
OS / ENVIRONMENT

CentOS Linux release 7.9.2009 (Core)

STEPS TO REPRODUCE
- name: Create an image from blob
  azure_rm_image:
    resource_group: myResourceGroup
    name: myImage
    source: https://my_blob_uri
    os_type: Linux
EXPECTED RESULTS

Image is created.

ACTUAL RESULTS

Image is not created.

fatal: [localhost]: FAILED! => {"changed": false, "msg": "Error creating image myimage - Azure Error: InvalidParameter\nMessage: Required parameter 'hyperVGeneration' is missing (null).\nTarget: hyperVGeneration"}

@Fred-sun
Copy link
Collaborator

@achevalet Thank you for asking this question. I will investigate and add this Feature! Thank you very much!

@Fred-sun Fred-sun added the work in In trying to solve, or in working with contributors label Feb 18, 2021
@Fred-sun Fred-sun added has_pr PR fixes have been made and removed work in In trying to solve, or in working with contributors labels Feb 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has_pr PR fixes have been made
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants