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

Auto-heal current setup when running the script #221

Open
Rocco83 opened this issue Sep 10, 2017 · 0 comments
Open

Auto-heal current setup when running the script #221

Rocco83 opened this issue Sep 10, 2017 · 0 comments

Comments

@Rocco83
Copy link
Contributor

Rocco83 commented Sep 10, 2017

bootstrap.py has to be able to repair the installation of the subscriptions, puppet, katello, rex, and whatever else will be in the future implemented.
Continuing from the possible scenario given by Evgeni, #218 (comment))
we can see it as
5. System is on Katello/Satellite6 and i want to fix the installation.

Suggested flag:
--fix-configuration

Some scenarios:

  • registered system has to be moved to another capsule (likely covered by Add capsule migration option #168 )
  • registered system has to be reinstalled from scratch because of some unrecoverable error (ie disk error, backup not done / not consistent)
  • registered system in some inconsistent status (maybe manual OS admin error), and we want to fix the Katello/Satellite6 setup. Some example
    • puppet certificate deleted
    • goferd ID removed
    • public ssh key deleted
    • Katello/Satellite6 database from the above entry with wrong status

Some ideas/items for discussion:

subscription-manager does have the --consumerid option (for example) that allows a system to (re)register to an existing profile. I dont think puppet has an equivalent functionality.

I think this is a huge one, that would likely extend also the scope of bootstrap.py.
Of course for discussion about it!

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

No branches or pull requests

1 participant