Thanks to visit codestin.com
Credit goes to github.com

Skip to content

UI shows inconsistency when shield restore itself while running [BUG] #689

@xiujiao

Description

@xiujiao

Describe the bug
The restore task shows green on the side which means success.
While when you click the task log, it shows

EXITING 4
ERR> remote execution failed: Process exited with status 4

Use shield cli to check the jobs that I modified on purpose to test restore, it shows it did not restore successfully.

*To Reproduce
When we configure shield backup for shield itself, we use shield URL with http://ip, then with core ca-cert set and skip-ssl-verify to false.

Expected behavior
The sideline should be red instead of green when the job fails. If it can give more information on why it fails in the log, it will be a plus. When we change the shield core URL to https://ip , with ca cert and skip-ssl-verify to false, the restore works. If the error message can indicate the configuration error, it will be more helpful.

SHIELD versions (please complete the following information):

  • SHIELD Core: [8.7.2]
  • SHIELD CLI: 8.7.2

Browser version(s) (please complete if reporting a web UI bug):

  • OS: MacOs
  • Browser: Chrome
  • Version: Version 81.0.4044.122 (Official Build) (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageIssues that are pending triage / validation by a SHIELD contributorweb ui

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions