Closed mordax7 closed 4 years ago
This is due to the fact that the web UI attempts to resolve plugin metadata based on the agents registered address, which is determined from the TCP tuple of the connecting registration. This is incidentally why we cannot abide by agents who are not mutually visible to the SHIELD core on the network (i.e. behind a NAT). We have designs to replace the current SSH fabric that SHIELD uses to communicate with agents with an Active Fabric, in which agents SSH into the SHIELD core and it doesn't matter what their address is or what network translation occurs in between: https://github.com/shieldproject/notebook/blob/master/proposals/active-ssh-fabric.md
Until that gets implemented. at some point in either the 8.7 or 8.8 releases, I don't expect the use case of DNS-names for agents to work outside of the CLI.
Active SSH Fabric will be included in the new v9 SHIELD, as discussed on our May 28th Community Roadmap Call.
If you try to import new systems to SHIELD over the SHIELD CLI there is an error in the UI when clicking on a system. Error in the UI:
Error in the logs:
The
import.yml
file:We found out that the problem gets fixed if you use an IP instead of a DNS entry for the
agent
value in the import.yml(I wrote it in the example). This does not work for us since the agents IP changes constantly and we would like to use the DNS entry to automate our backup procedure. Interesting is that the jobs are working normally if you trigger them over the CLI, just the UI view seems to have problems.To Reproduce Steps to reproduce the behavior:
import.yml
to import the configuration into SHIELDimport.yml
with the SHIELD CLIExpected behavior You should see the overview of that systems configuration
Screenshots
SHIELD versions (please complete the following information):
Browser version(s) (please complete if reporting a web UI bug):