Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-4084

Improve logging message when backing up/restoring files

XMLWordPrintable

      The logging for backing up and restoring the required files for conversion are a bit confusing and not stating a clear message to the user:

      [Errno 2] No such file or directory: '/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release'
      Restoring backed up file /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release.
      [Errno 2] No such file or directory
      Removing the file '/etc/yum.repos.d/convert2rhel.repo' as it was previously downloaded.
      [Errno 2] No such file or directory: '/etc/yum.repos.d/convert2rhel.repo'
      Restoring backed up file /etc/yum.repos.d/convert2rhel.repo.
      [Errno 2] No such file or directory
      

      We need to update this message and make it more clear, so the user can understand our intentions.

      Goal: 

      • Update the log message when backing up and restoring to make it clearer for the user

      Acceptance Criteria:

      A list of verification conditions, successful functional tests, or expected outcomes in order to declare this story/task successfully completed.

      • Enhance the log message to have a clear statement of what is intended and happening
      • Verify that the message was updated and is indeed clear in this scenario

            awaltlov@redhat.com Andrea Waltlova
            rolivier@redhat.com Rodolfo Olivieri
            Sergio Santamaria Riocerezo Sergio Santamaria Riocerezo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: