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

[BUG]: email_address required in idrac_certificates module #582

Closed
GamerGun opened this issue Nov 16, 2023 · 1 comment · Fixed by #562
Closed

[BUG]: email_address required in idrac_certificates module #582

GamerGun opened this issue Nov 16, 2023 · 1 comment · Fixed by #562
Labels
needs-triage Issue requires triage. type/bug Something isn't working

Comments

@GamerGun
Copy link

GamerGun commented Nov 16, 2023

Bug Description

Hi,

email_address should NOT be required in the idrac_certificates module;

cert_params dictionary Certificate parameters to generate signing request.
email_address string / required The email associated with the CSR.

Since in the iDRAC GUI, it is not, see screenshot below.

Component or Module Name

dellemc.openmanage.idrac_certificates

Ansible Version

2.15.0

Python Version

3.9.16

iDRAC/OME/OME-M version

iDRAC 9

Operating System

RHEL 8.8

Playbook Used

dellemc.openmanage.idrac_certificates

Logs

Missing required arguments: email_address found in cert_params

Steps to Reproduce

- name: Check if iDRAC IP is defined

  block:

    - name: Generate CSR on iDRAC
    
      dellemc.openmanage.idrac_certificates:
        idrac_ip: "{{ idrac_ip }}"
        idrac_user: "{{ idrac_username }}"
        idrac_password: "{{ idrac_password }}"
        certificate_type: "HTTPS"
        command: "generate_csr"
        cert_params:
          common_name: "{{ cert_common_name }}"
          country_code: "NL"
          locality_name: "Somewhere"
          #email_address: someone@somewhere.com
          organization_name: "Company"
          organization_unit: "My Team"
          state_name: "Town"
          subject_alt_name:
            - "{{ cert_common_name }}"
        certificate_path: "ssl/"
        validate_certs: false
      register: csr_result
      delegate_to: localhost

Expected Behavior

CSR without e-mail address

Actual Behavior

Missing required arguments: email_address found in cert_params

Screenshots

Screenshot 2023-11-16 at 13 53 02

Additional Information

No response

@GamerGun GamerGun added needs-triage Issue requires triage. type/bug Something isn't working labels Nov 16, 2023
@GamerGun
Copy link
Author

I'm using dellemc.openmanage:8.4.0

The version from ~/.ansible/collections/ansible_collections/dellemc/openmanage/plugins/modules/idrac_certificates.py however is 7.0.0, not sure if related though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Issue requires triage. type/bug Something isn't working
Projects
None yet
1 participant