Uploaded image for project: 'RHEL Conversions'
  1. RHEL Conversions
  2. RHELC-45

Incorrectly logging error with unavailable RHSM certificate

    XMLWordPrintable

Details

    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • 2022-Q3

    Description

      Introduced in https://github.com/oamg/convert2rhel/pull/203

      Reproduce:

      1. Run unsigned convert2rhel (e.g. from copr) without the -y option
      2. Answer "n" to the first question if we want to continue (that's under the step "Convert: List third-party packages")
      3. Observe rollback error:
      [01/04/2022 11:16:35] TASK - [Rollback: Removing installed RHSM certificate] ********************
      ERROR - OSError(2): No such file or directory

      Acceptance criteria:

      • We don't log an error when the RHSM cert is not installed during rollback as it might easily just be that convert2rhel hasn't got to installing it.
      • An integration test is created

      Attachments

        Issue Links

          Activity

            People

              aanglin@redhat.com Andrew Anglin
              mbocek@redhat.com Michal Bocek
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: