-
Notifications
You must be signed in to change notification settings - Fork 319
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_virtualmachine_info serialization fails with empty storageUri #137
Comments
@timmyreilly Thank you for your report, we will investigate and solve your problems as soon as possible. Thank you! |
fixes by #208! |
The #208 merged! |
I'm getting this exact same issue with version 1.9. I checked that #208 code is present on the installation. Is there something else that could cause the issue? |
@Chrysostomus Can you provide what results you return? Thank you very much! |
@Fred-sun The code fix in azure_rm_virtualmachine_info.py and azure_rm_virtualmachine.py fixes the error related to empty
|
@vijayreddiar Thanks for your feedback, I will check this parameter again. Thank you very much! |
@Fred-sun After updating these two lines of code in azure_rm_virtualmachine_info.py as below, it works fine.
|
@vijayreddiar Thank you for your contribution, welcome to submit PR, thank you! |
SUMMARY
The azure_rm_virtualmachine_info isn't properly deserializing a diagnosticsProfile with an empty storage uri.
ISSUE TYPE
COMPONENT NAME
azure_rm_virtualmachine_info
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Windows 10 -> bash
STEPS TO REPRODUCE
Create a vm, get info on vm.
ansible localhost -m azure_rm_virtualmachine_info -a "tags=environment:dev" -vvv
EXPECTED RESULTS
Expected to get information about vm's in the target subscription
With
az vm list
I get this:ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: