Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

join-up.sh unavailable when unknown bootenv differs from discovery-base #148

Open
kapsh opened this issue Jan 30, 2020 · 1 comment
Open

Comments

@kapsh
Copy link
Contributor

kapsh commented Jan 30, 2020

Steps to reproduce

  1. drpcli prefs set unknownBootEnv ignore (reasons below)
  2. Try to add existing machine into drp as suggested in https://provision.readthedocs.io/en/latest/doc/content-packages/drp-community-content.html#discovery
    curl -fsSL [internal ip]:8091/machines/join-up.sh

Expected result

join-up.sh is fetched.

Actual result

Error 404 which is confusing. Default bootenv requirement for that is unclear for user and doesn't mentioned anywhere in the docs.

@kapsh
Copy link
Contributor Author

kapsh commented Jan 30, 2020

Rationale

My desired workflow is to manage only known set of machines with DRP. They coexist in the same subnet with multiple machines that shouldn't be interfered with. So I'm trying to add machines only using join-up.sh while ignoring everything else: when "my" machine reboots after workflow change, it will rediscover itself; when someone else machine boots in pxe (mostly accidentaly) it won't appear in DRP console and won't baffle machine owner.

Am I holding it wrong? Probably this can be fixed with activestart/activeend subnet options, but this will require moving my machines into another subnet.

PS Maybe this issue should be in provision-content repo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant