You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I specified the nfs server with IPv6 address in share_name of idrac_server_config_profile, the process failed.
I confirmed that following part can't handle IPv6 address correctly.
#idrac_server_config_profile.py
if ":" in share_name:
nfs_split = share_name.split(":")
share = {"share_ip": nfs_split[0], "share_name": nfs_split[1], "share_type": "NFS"}
IP address(share_ip) and share name(share_name) are separated by the first colon,
so if IPv6 address was designated, share_ip and share_name cannot be obtained correctly.
I have confirmed that it works if the above part is changed as follows.
if ":/" in share_name:
nfs_split = share_name.rsplit(":",1)
share = {"share_ip": nfs_split[0], "share_name": nfs_split[1], "share_type": "NFS"}
Component or Module Name
idrac_server_config_profile
Ansible Version
any
Python Version
any
iDRAC/OME/OME-M version
any
Operating System
any
Playbook Used
tasks:
name: Import SCP from a network share and wait for this job to get completed
idrac_server_config_profile_custom:
idrac_ip: '{{ idrac_ip }}'
idrac_user: '{{ idrac_user }}'
idrac_password: '{{ idrac_password }}'
command: 'import'
share_name: 'fd01::3:/share' #IPv6 address
scp_file: '{{ scp_config }}'
scp_components: 'ALL'
job_wait: True
validate_certs: false
Logs
fatal: [idracca]: FAILED! => {"attempts": 2, "changed": false, "error_info": {"error": {"@Message.ExtendedInfo": [{"Message": "The property ShareName is a required property and must be included in the request.", "MessageArgs": ["ShareName"], "[email protected]": 1, "MessageId": "Base.1.12.PropertyMissing", "RelatedProperties": ["#/ShareParameters/ShareName"], "[email protected]": 1, "Resolution": "Ensure that the property is in the request body and has a valid value and resubmit the request if the operation failed.", "Severity": "Warning"}], "code": "Base.1.12.GeneralError", "message": "A general error has occurred. See ExtendedInfo for more information"}}, "msg": "HTTP Error 400: Bad Request"}
Steps to Reproduce
run playbook as mentioned above
Expected Behavior
work correctly
Actual Behavior
playbook(module) failed
Screenshots
No response
Additional Information
Please let me know if this feature is planned to be implemented in the future.
The text was updated successfully, but these errors were encountered:
Bug Description
When I specified the nfs server with IPv6 address in share_name of idrac_server_config_profile, the process failed.
I confirmed that following part can't handle IPv6 address correctly.
#idrac_server_config_profile.py
IP address(share_ip) and share name(share_name) are separated by the first colon,
so if IPv6 address was designated, share_ip and share_name cannot be obtained correctly.
I have confirmed that it works if the above part is changed as follows.
Component or Module Name
idrac_server_config_profile
Ansible Version
any
Python Version
any
iDRAC/OME/OME-M version
any
Operating System
any
Playbook Used
tasks:
idrac_server_config_profile_custom:
idrac_ip: '{{ idrac_ip }}'
idrac_user: '{{ idrac_user }}'
idrac_password: '{{ idrac_password }}'
command: 'import'
share_name: 'fd01::3:/share' #IPv6 address
scp_file: '{{ scp_config }}'
scp_components: 'ALL'
job_wait: True
validate_certs: false
Logs
fatal: [idracca]: FAILED! => {"attempts": 2, "changed": false, "error_info": {"error": {"@Message.ExtendedInfo": [{"Message": "The property ShareName is a required property and must be included in the request.", "MessageArgs": ["ShareName"], "[email protected]": 1, "MessageId": "Base.1.12.PropertyMissing", "RelatedProperties": ["#/ShareParameters/ShareName"], "[email protected]": 1, "Resolution": "Ensure that the property is in the request body and has a valid value and resubmit the request if the operation failed.", "Severity": "Warning"}], "code": "Base.1.12.GeneralError", "message": "A general error has occurred. See ExtendedInfo for more information"}}, "msg": "HTTP Error 400: Bad Request"}
Steps to Reproduce
run playbook as mentioned above
Expected Behavior
work correctly
Actual Behavior
playbook(module) failed
Screenshots
No response
Additional Information
Please let me know if this feature is planned to be implemented in the future.
The text was updated successfully, but these errors were encountered: