-
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
266 idrac_network.py fails with AttributeError: 'NoneType' object has no attribute 'iDRAC'
#268
266 idrac_network.py fails with AttributeError: 'NoneType' object has no attribute 'iDRAC'
#268
Conversation
c1a3af8
to
f1ee21f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@grantcurell
Apologies for the delay. The content looks fine, but need these changes.
Please change the title to something like "Handling invalid share and unused imports cleanup" or whichever is more appropriate considering all the modules modified in this PR.
As a first set of comments.
- The README.md changes can be a separated from this PR for now.
- Please update the content to the latest
- We will review the message and get back on it
- Please exclude ome and redfish modules from this PR and lets keep it to idrac only
@grantcurell Please update the file tests/unit/plugins/modules/test_idrac_firmware.py, then the checks will pass. |
Apologies - I'll be traveling tomorrow. I'll take a look Monday and make the changes |
I just want to make sure I understand correctly, the request is to delete the changes to all the files in the commit except idrac_network.py and remove the fixes for #194 and #160 and leave both of those tickets open? |
|
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>
f1ee21f
to
b0a5b65
Compare
@grantcurell Can you enable "Allow edits from maintainers.” so that we can update |
To resolve UT error and indentation error, time being we are skipping this file from the PR. Rest of the content we are good to accept.
@grantcurell Can you please fix the issues or restore the idrac_firmware module without any changes so that checks will pass. |
This reverts commit 7c00d4c.
Apologies for not being more responsive. I took on a new project and am working pretty well at max capacity. I'll be out of town tomorrow but I'll take a look when I'm at the airport Monday |
No problem, since our release is due, we will merge now and we will push the necessary UT correction immediately |
README.md:
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:
AttributeError: 'NoneType' object has no attribute 'iDRAC'
#266All files:
Signed-off-by: Grant Curell grant_curell@dell.com