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

Backport of mock_driver: fix fingreprint key into release/1.6.x #20404

Merged

Conversation

hc-github-team-nomad-core
Copy link
Contributor

Backport

This PR is auto-generated from #20351 to be assessed for backporting due to the inclusion of the label backport/1.6.x.

The below text is copied from the body of the original PR.


The mock_driver is an internal task driver used mostly for testing and simulating workloads. During the allocrunner v2 work (#4792) its name changed from mock_driver to just mock and then back to mock_driver, but the fingreprint key was kept as driver.mock.

This results in tasks configured with driver = "mock" to be scheduled (because Nomad thinks the client has a task driver called mock), but fail to actually run (because the Nomad client can't find a driver called mock in its catalog).

Fingerprinting the right name prevents the job from being scheduled in the first place.

Also removes mentions of the mock driver from documentation since its an internal driver and not available in any production release.

No changelog since this is an internal change.


Overview of commits

@jrasell jrasell merged commit 1e221d6 into release/1.6.x Apr 16, 2024
26 of 27 checks passed
@jrasell jrasell deleted the backport/b-fix-mock-driver-fp/grossly-allowed-coyote branch April 16, 2024 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants