Skip to content
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

Authentication Failed when using Ansible modules on UCSM versions >= 4.2 #239

Open
underqualifieditguy opened this issue Nov 1, 2023 · 4 comments

Comments

@underqualifieditguy
Copy link

underqualifieditguy commented Nov 1, 2023

We seem to be facing "Authentication Failed" messages when querying data from UCSM versions >= 4.2, namely on 64xx FI hardware.

This is the output from an Ansible playbook run against UCSM version 4.2(2e). This happens regardless of if we're using local or LDAP authentication.

All of the below servers are connected to the same UCSM domain & server hostnames have been scrubbed in the below output.

fatal: [Server -> localhost]: FAILED! => {"changed": false, "msg": "[ErrorCode]: 551[ErrorDescription]: Authentication failed"}
fatal: [Server -> localhost]: FAILED! => {"changed": false, "msg": "[ErrorCode]: 551[ErrorDescription]: Authentication failed"}
ok: [Server -> localhost] => {"changed": false, "objects": {"sys/rack-unit-9/fw-status": {"back_up_holder_oper_state": "ready", "back_up_holder_pack_version": "", "child_action": null, "cimc_version": "", "dn": "sys/rack-unit-9/fw-status", "firmware_state": "", "oper_state": "ready", "package_version": "4.2(3g)C,4.2(2e)C", "pld_version": "", "rn": "fw-status", "sacl": null, "service_pack_oper_state": "ready", "service_pack_version": "", "status": null}}}
ok: [Server -> localhost] => {"changed": false, "objects": {"sys/rack-unit-1/fw-status": {"back_up_holder_oper_state": "ready", "back_up_holder_pack_version": "", "child_action": null, "cimc_version": "", "dn": "sys/rack-unit-1/fw-status", "firmware_state": "", "oper_state": "ready", "package_version": "4.2(3g)C,4.2(2e)C", "pld_version": "", "rn": "fw-status", "sacl": null, "service_pack_oper_state": "ready", "service_pack_version": "", "status": null}}}
ok: [Server -> localhost] => {"changed": false, "objects": {"sys/rack-unit-6/fw-status": {"back_up_holder_oper_state": "ready", "back_up_holder_pack_version": "", "child_action": null, "cimc_version": "", "dn": "sys/rack-unit-6/fw-status", "firmware_state": "", "oper_state": "ready", "package_version": "4.2(3g)C,4.2(2e)C", "pld_version": "", "rn": "fw-status", "sacl": null, "service_pack_oper_state": "ready", "service_pack_version": "", "status": null}}}
ok: [Server -> localhost] => {"changed": false, "objects": {"sys/rack-unit-14/fw-status": {"back_up_holder_oper_state": "ready", "back_up_holder_pack_version": "", "child_action": null, "cimc_version": "", "dn": "sys/rack-unit-14/fw-status", "firmware_state": "", "oper_state": "ready", "package_version": "4.2(3g)C,4.2(2e)C", "pld_version": "", "rn": "fw-status", "sacl": null, "service_pack_oper_state": "ready", "service_pack_version": "", "status": null}}}
ok: [Server -> localhost] => {"changed": false, "objects": {"sys/rack-unit-1/fw-status": {"back_up_holder_oper_state": "ready", "back_up_holder_pack_version": "", "child_action": null, "cimc_version": "", "dn": "sys/rack-unit-1/fw-status", "firmware_state": "", "oper_state": "ready", "package_version": "4.2(3g)C,4.2(2e)C", "pld_version": "", "rn": "fw-status", "sacl": null, "service_pack_oper_state": "ready", "service_pack_version": "", "status": null}}}
ok: [Server -> localhost] => {"changed": false, "objects": {"sys/rack-unit-5/fw-status": {"back_up_holder_oper_state": "ready", "back_up_holder_pack_version": "", "child_action": null, "cimc_version": "", "dn": "sys/rack-unit-5/fw-status", "firmware_state": "", "oper_state": "ready", "package_version": "4.2(3g)C,4.2(2e)C", "pld_version": "", "rn": "fw-status", "sacl": null, "service_pack_oper_state": "ready", "service_pack_version": "", "status": null}}}
ok: [Server -> localhost] => {"changed": false, "objects": {"sys/rack-unit-7/fw-status": {"back_up_holder_oper_state": "ready", "back_up_holder_pack_version": "", "child_action": null, "cimc_version": "", "dn": "sys/rack-unit-7/fw-status", "firmware_state": "", "oper_state": "ready", "package_version": "4.2(3g)C,4.2(2e)C", "pld_version": "", "rn": "fw-status", "sacl": null, "service_pack_oper_state": "ready", "service_pack_version": "", "status": null}}}
ok: [Server -> localhost] => {"changed": false, "objects": {"sys/rack-unit-6/fw-status": {"back_up_holder_oper_state": "ready", "back_up_holder_pack_version": "", "child_action": null, "cimc_version": "", "dn": "sys/rack-unit-6/fw-status", "firmware_state": "", "oper_state": "ready", "package_version": "4.2(3g)C,4.2(2e)C", "pld_version": "", "rn": "fw-status", "sacl": null, "service_pack_oper_state": "ready", "service_pack_version": "", "status": null}}}
fatal: [Server -> localhost]: FAILED! => {"changed": false, "msg": "[ErrorCode]: 551[ErrorDescription]: Authentication failed"}
fatal: [Server -> localhost]: FAILED! => {"changed": false, "msg": "[ErrorCode]: 551[ErrorDescription]: Authentication failed"}
fatal: [Server -> localhost]: FAILED! => {"changed": false, "msg": "[ErrorCode]: 551[ErrorDescription]: Authentication failed"}
fatal: [Server -> localhost]: FAILED! => {"changed": false, "msg": "[ErrorCode]: 551[ErrorDescription]: Authentication failed"}
fatal: [Server -> localhost]: FAILED! => {"changed": false, "msg": "[ErrorCode]: 551[ErrorDescription]: Authentication failed"}
ok: [Server -> localhost] => {"changed": false, "objects": {"sys/rack-unit-2/fw-status": {"back_up_holder_oper_state": "ready", "back_up_holder_pack_version": "", "child_action": null, "cimc_version": "", "dn": "sys/rack-unit-2/fw-status", "firmware_state": "", "oper_state": "ready", "package_version": "4.2(3g)C,4.2(2e)C", "pld_version": "", "rn": "fw-status", "sacl": null, "service_pack_oper_state": "ready", "service_pack_version": "", "status": null}}}
ok: [Server -> localhost] => {"changed": false, "objects": {"sys/rack-unit-2/fw-status": {"back_up_holder_oper_state": "ready", "back_up_holder_pack_version": "", "child_action": null, "cimc_version": "", "dn": "sys/rack-unit-2/fw-status", "firmware_state": "", "oper_state": "ready", "package_version": "4.2(3g)C,4.2(2e)C", "pld_version": "", "rn": "fw-status", "sacl": null, "service_pack_oper_state": "ready", "service_pack_version": "", "status": null}}}
ok: [Server -> localhost] => {"changed": false, "objects": {"sys/rack-unit-7/fw-status": {"back_up_holder_oper_state": "ready", "back_up_holder_pack_version": "", "child_action": null, "cimc_version": "", "dn": "sys/rack-unit-7/fw-status", "firmware_state": "", "oper_state": "ready", "package_version": "4.2(3g)C,4.2(2e)C", "pld_version": "", "rn": "fw-status", "sacl": null, "service_pack_oper_state": "ready", "service_pack_version": "", "status": null}}}
ok: [Server -> localhost] => {"changed": false, "objects": {"sys/rack-unit-13/fw-status": {"back_up_holder_oper_state": "ready", "back_up_holder_pack_version": "", "child_action": null, "cimc_version": "", "dn": "sys/rack-unit-13/fw-status", "firmware_state": "", "oper_state": "ready", "package_version": "4.2(3g)C,4.2(2e)C", "pld_version": "", "rn": "fw-status", "sacl": null, "service_pack_oper_state": "ready", "service_pack_version": "", "status": null}}}
fatal: [Server -> localhost]: FAILED! => {"changed": false, "msg": "[ErrorCode]: 551[ErrorDescription]: Authentication failed"}
fatal: [Server -> localhost]: FAILED! => {"changed": false, "msg": "[ErrorCode]: 551[ErrorDescription]: Authentication failed"}
fatal: [Server -> localhost]: FAILED! => {"changed": false, "msg": "[ErrorCode]: 551[ErrorDescription]: Authentication failed"}
ok: [Server -> localhost] => {"changed": false, "objects": {"sys/rack-unit-4/fw-status": {"back_up_holder_oper_state": "ready", "back_up_holder_pack_version": "", "child_action": null, "cimc_version": "", "dn": "sys/rack-unit-4/fw-status", "firmware_state": "", "oper_state": "ready", "package_version": "4.2(3g)C,4.2(2e)C", "pld_version": "", "rn": "fw-status", "sacl": null, "service_pack_oper_state": "ready", "service_pack_version": "", "status": null}}}
fatal: [Server -> localhost]: FAILED! => {"changed": false, "msg": "[ErrorCode]: 551[ErrorDescription]: Authentication failed"}
fatal: [Server -> localhost]: FAILED! => {"changed": false, "msg": "[ErrorCode]: 551[ErrorDescription]: Authentication failed"}
fatal: [Server -> localhost]: FAILED! => {"changed": false, "msg": "[ErrorCode]: 551[ErrorDescription]: Authentication failed"}
fatal: [Server -> localhost]: FAILED! => {"changed": false, "msg": "[ErrorCode]: 551[ErrorDescription]: Authentication failed"}
fatal: [Server -> localhost]: FAILED! => {"changed": false, "msg": "[ErrorCode]: 551[ErrorDescription]: Authentication failed"}
ok: [Server -> localhost] => {"changed": false, "objects": {"sys/rack-unit-8/fw-status": {"back_up_holder_oper_state": "ready", "back_up_holder_pack_version": "", "child_action": null, "cimc_version": "", "dn": "sys/rack-unit-8/fw-status", "firmware_state": "", "oper_state": "ready", "package_version": "4.2(3g)C,4.2(2e)C", "pld_version": "", "rn": "fw-status", "sacl": null, "service_pack_oper_state": "ready", "service_pack_version": "", "status": null}}}
fatal: [Server -> localhost]: FAILED! => {"changed": false, "msg": "[ErrorCode]: 551[ErrorDescription]: Authentication failed"}
ok: [Server -> localhost] => {"changed": false, "objects": {"sys/rack-unit-3/fw-status": {"back_up_holder_oper_state": "ready", "back_up_holder_pack_version": "", "child_action": null, "cimc_version": "", "dn": "sys/rack-unit-3/fw-status", "firmware_state": "", "oper_state": "ready", "package_version": "4.2(3g)C,4.2(2e)C", "pld_version": "", "rn": "fw-status", "sacl": null, "service_pack_oper_state": "ready", "service_pack_version": "", "status": null}}}
@underqualifieditguy
Copy link
Author

Any update?

Copy link

github-actions bot commented Jan 7, 2024

This issue is stale because it has been open for 60 days with no activity.

@github-actions github-actions bot added the stale label Jan 7, 2024
@dsoper2
Copy link
Contributor

dsoper2 commented Jan 8, 2024

Adding a comment to keep open. Issue is tracked internally.

@github-actions github-actions bot removed the stale label Jan 9, 2024
@saripurigopi
Copy link

Please check if Info Policy is enabled. May need to upgrade UCSM to one of 4.1(3m) / 4.2(3h) / 4.3(2b) versions that has fix for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants