Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-104638

Replication logs are not shown

    XMLWordPrintable

Details

    • Bug
    • Status: Done (View Workflow)
    • Low
    • Resolution: Complete
    • 11.3-RC2
    • 11.3-RC2
    • WebUI
    • None

    Description

      I have "job" (and also "state.error") in my failed replication task but when I click "ERROR" button I only see error text and don't see neither job logs excerpt nor ability to download it.

      To sum it up:

      • First we show "state.error" text if we have it. It can contain newlines so please make sure they are preserved (they are not now).
      • Then we show job logs, below error text.

      Both are important: first is an overview, second is detailed description. One of them can be missing due to bugs, we should show as much information as possible.

      This PR is incorrect, it hides job logs if we have error text https://github.com/freenas/webui/pull/3411/files

      Attachments

        1. only has error
          only has error
          43 kB
        2. only has logs
          only has logs
          72 kB
        3. with error and logs
          with error and logs
          71 kB

        Attachments

          JEditor

            Activity

              People

                lola Lola Yang (Inactive)
                vladimirv Vladimir Vinogradenko
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: