dell / dellemc-openmanage-ansible-modules

Dell OpenManage Ansible Modules
GNU General Public License v3.0
335 stars 163 forks source link

[BUG]: idrac_attributes failing regularly #471

Closed markatdxb closed 1 year ago

markatdxb commented 1 year ago

Bug Description

i have automated process to update several LC attributes - see example below which regularly fails on first run. unfortunately its a fatal failure so retry process doesnt work seems that this module is pretty unstable / unreliable as its part of the playbook with other dell modules which work just fine

Component or Module Name

idrac_attributes

Ansible Version

Ansible 2.13.4

Python Version

Python 3.9.6

iDRAC/OME/OME-M version

idrac8 2.83.83.83

Operating System

happens on any OS

Playbook Used

Logs

sometime i get urlopen error EOF occurred in violation of protocol (_ssl.c:1129)

sometime: urlopen error Tunnel connection failed: 504 Gateway Timeout

Steps to Reproduce

standard playbook as mentioned above

Expected Behavior

set attributes without module error

Actual Behavior

fatal module crash

Screenshots

No response

Additional Information

No response

markatdxb commented 1 year ago

again the same error - urlopen error Tunnel connection failed: 504 Gateway Timeout interesting is that when i re-run the same playbook again, most of the time it works ok do i need to split idrac name change and other changes into 2 tasks ?

markatdxb commented 1 year ago

hello again - "msg": "urlopen error _ssl.c:1112: The handshake operation timed out", any advice on how to fix all these issues ? that module is pretty unusable in this condition

anupamaloke commented 1 year ago

Hi @markatdxb, any chance you could open a Support Ticket for this issue? We might have to get support team involved to see whether there is an underlying issue with iDRAC itself.

markatdxb commented 1 year ago

@anupamaloke i have this module implemented as part of the iDrac onboarding process with many other Dell modules in the same playbook.. So the issue is not related to specific iDrac but the module as other modules work just fine. Also when i re-run that process on iDrac where it previously failed, it usually succeed on the second or third attempt.

anupamaloke commented 1 year ago

@markatdxb, thank you for sharing your observation.

again the same error - urlopen error Tunnel connection failed: 504 Gateway Timeout interesting is that when i re-run the same playbook again, most of the time it works ok do i need to split idrac name change and other changes into 2 tasks ?

We will check it again on our end and come back. For now, could you please share your observation when you split these into two separate tasks?

anupamaloke commented 1 year ago

@markatdxb, could you also please drop us an email at OpenManageAnsible@dell.com regarding this issue?

anupamaloke commented 1 year ago

@markatdxb, checking to see whether you are still running into this issue.

anupamaloke commented 1 year ago

@markatdxb, I am closing this ticket. Please reopen or raise a new ticket if you are still running into an issue.