Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Individual Host Autopilot Scans #1649

Closed
pcfreak30 opened this issue Nov 3, 2024 · 1 comment
Closed

Individual Host Autopilot Scans #1649

pcfreak30 opened this issue Nov 3, 2024 · 1 comment

Comments

@pcfreak30
Copy link

Description

I am requesting an endpoint on the autopilot, potentially /host/:pubkey/scan that will either both run a rhp scan and update the host_checks table, or pull existing scan data and rank the host (meaning I can call worker rhp scan then autopilot scan).

I looked and it seems as of 9f67518 autopilot/contractor/contractor.go:1098 only the contractor has the ability to do this, and its not exposed higher level outside the PerformContractMaintenance in Contractor.

Right now I am pulling in benchmark data from hostscore, but as it seems the scores only run on a full autopilot run currently, im looking at being forced to rely on it, per batch of hosts I pull in, when I only need to know if the hosts are usable and trigger a full AP scan when I have what I need.

I know a large refactor is currently being done on what runs where with the autopilot/bus, so im open to input if another route should be taken.

Version

v1.0.8

What operating system are you running (e.g. Ubuntu 22.04, macOS, Windows 11)?

Ubuntu

Anything else?

No response

@ChrisSchinnerl ChrisSchinnerl moved this to Triage in Sia Nov 4, 2024
@ChrisSchinnerl ChrisSchinnerl modified the milestone: v2.0.0 Nov 12, 2024
@ChrisSchinnerl
Copy link
Member

Closing this since it will be part of #1640

@github-project-automation github-project-automation bot moved this from Triage to Done in Sia Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants