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

breadcrumbs: source_os = null when an early check fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 2.3.0
    • None
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • 3
    • Testable

      There's a customer for whom the internet connectivity check failed because their system is offline (RHELC-966). The /etc/migration-results file strangely does not state what's the source OS.

      [root@kiktla01 tmp]# cat /etc/migration-results
      {
          "activities": [
              {
                  "executed": "null",
                  "run_id": "null",
                  "packages": [
                      {
                          "nevra": "null",
                          "signature": "null"
                      }
                  ],
                  "target_os": "null",
                  "success": false,
                  "activity_ended": "2023-03-17T09:25:59.806049Z",
                  "version": "1",
                  "env": {},
                  "activity": "conversion",
                  "source_os": "null",
                  "activity_started": "null"
              }
          ]

       

      The customer wrote: I find it odd that both target_os and source_os are "null".

      Acceptance criteria:

      • The breadcrumbs file contains data that is now collected in the Breadcrumbs/collect_early_data() method even in the early stages like during the internet connectivity check
        • The finish_collection() method can be collecting most of the information collected now by the collect_early_data method (convert2rhel NEVRA, convert2rhel command as executed, convert2rhel rpm signature, source OS)
        • The activity_started is set as soon as possible, e.g. before show_eula() in main.py

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

                Created:
                Updated: