Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-463

Credentials containing carriage return are not processed correctly.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • OADP 1.0.3
    • OADP 1.0.0, OADP 1.0.1, OADP 1.0.2
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Passed
    • OADP Sprint 218
    • 1
    • 0
    • 0
    • 0
    • None

      When creating an AWS credentials file on Windows 10, the file is created with cr/nl characters at the end of every line.
      Then, the oadp-*-aws-registry pod can't read the aws_access_key_id and displays an error message: CreateContainerConfigError (see operator pod error message below).
      The same file created on Linux with only nl characters at the end of every line works perfectly fine.

      Whatever platform [Linux/Microsoft Windows/MacOs] you use to create the credentials, the AWS keys should be read fine.

      Solution in code would probably just involve replacing any received credentials containing `\r\n` with `\n`

      https://github.com/openshift/oadp-operator/issues/621

              tkaovila@redhat.com Tiger Kaovilai
              tkaovila@redhat.com Tiger Kaovilai
              Maya Peretz Maya Peretz
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: