-
Notifications
You must be signed in to change notification settings - Fork 163
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
idrac_network.py fails with AttributeError: 'NoneType' object has no attribute 'iDRAC'
#266
Comments
This happens because the liason share is required but there is no error handling in the event that a connection to the share fails. Since this is not handled it eventually results in the nonetype object. Specifically |
grantcurell
added a commit
to grantcurell/dellemc-openmanage-ansible-modules
that referenced
this issue
Apr 16, 2021
README.md: - Added TOC - Based on user feedback took @anupamaloke 's answer and provided an explanation for the required shares along with how to easily handle the share - Changed the header Playbooks to Sample Playbooks so user's would have a better idea of what was there idrac_network.py: - Added error handling such that if the share is not valid the module gracefully fails. Fixes dell#266 - Removed open_url from imports since it was unused Signed-off-by: Grant Curell <grant_curell@dell.com>
grantcurell
added a commit
to grantcurell/dellemc-openmanage-ansible-modules
that referenced
this issue
May 3, 2021
README.md: - Added TOC - Based on user feedback took @anupamaloke 's answer and provided an explanation for the required shares along with how to easily handle the share - Changed the header Playbooks to Sample Playbooks so user's would have a better idea of what was there idrac_network.py: - Added error handling such that if the share is not valid the module gracefully fails. Fixes dell#266 - Fixes dell#194 - Removed open_url from imports since it was unused Signed-off-by: Grant Curell <grant_curell@dell.com>
grantcurell
added a commit
to grantcurell/dellemc-openmanage-ansible-modules
that referenced
this issue
May 3, 2021
README.md: - Added TOC - Based on user feedback took @anupamaloke 's answer and provided an explanation for the required shares along with how to easily handle the share - Changed the header Playbooks to Sample Playbooks so user's would have a better idea of what was there dellemc_configure_idrac_eventing.py dellemc_configure_idrac_services.py dellemc_idrac_lc_attributes.py dellemc_system_lockdown_mode.py idrac_bios.py idrac_firmware.py idrac_network.py idrac_syslog.pyidrac_timezone_ntp.py: - Added error handling such that if a share is used and not valid the module gracefully fails. - Fixes dell#266 - Fixes dell#194 - Fixes dell#154 All files: - optimized imports Signed-off-by: Grant Curell <grant_curell@dell.com>
grantcurell
added a commit
to grantcurell/dellemc-openmanage-ansible-modules
that referenced
this issue
May 3, 2021
README.md: - Added TOC - Based on user feedback took @anupamaloke 's answer and provided an explanation for the required shares along with how to easily handle the share - Changed the header Playbooks to Sample Playbooks so user's would have a better idea of what was there dellemc_configure_idrac_eventing.py dellemc_configure_idrac_services.py dellemc_idrac_lc_attributes.py dellemc_system_lockdown_mode.py idrac_bios.py idrac_firmware.py idrac_network.py idrac_syslog.pyidrac_timezone_ntp.py: - Added error handling such that if a share is used and not valid the module gracefully fails. - Fixes dell#266 - Fixes dell#194 - Fixes dell#160 All files: - optimized imports Signed-off-by: Grant Curell <grant_curell@dell.com>
grantcurell
added a commit
to grantcurell/dellemc-openmanage-ansible-modules
that referenced
this issue
Jun 16, 2021
dellemc_configure_idrac_eventing.py dellemc_configure_idrac_services.py dellemc_idrac_lc_attributes.py dellemc_system_lockdown_mode.py idrac_bios.py idrac_firmware.py idrac_network.py idrac_syslog.pyidrac_timezone_ntp.py: Added error handling such that if a share is used and not valid the module gracefully fails. - Fixes dell#266 - Fixes dell#160 Signed-off-by: Grant Curell <grant_curell@dell.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When attempting to update the idrac IP with input:
I receive:
I've run the error down and it occurs because my instance of
omdrivers.lifecycle.iDRAC.iDRACConfig.iDRACConfig
has no value_sysconfig
in:The text was updated successfully, but these errors were encountered: