Commit Graph

20 Commits

Author SHA1 Message Date
Guillaume Raffy 2db63e9bd7 gave a better self explaining name to the directory hosting the tickets details repository (to avoid a possible confusion with the tickets themselves)
fixes [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3882]
2024-06-27 10:39:17 +02:00
Guillaume Raffy ca9d7e4a47 added ticman, a tool to manage ipr ticket details repository
fixes [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3882]
2024-06-26 18:26:56 +02:00
Guillaume Raffy d3985db075 added last command error status to prompt 2024-05-31 14:54:41 +02:00
Guillaume Raffy bbee157c71 added the date in my shell prompt
This is useful to trace actions when investigating bugs
2024-04-17 13:59:09 +02:00
Guillaume Raffy 5bef2d7570 added the ability to make a partial update of a machine
This is very useful to do quick tests while debugging as the the partial updates can be much faster than a full update.

work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3814]
2024-04-12 14:38:39 +02:00
Guillaume Raffy a8549fbd60 improved deboco to log some debops controller information on the configured machines' /var/log/ipr/deboco.log file
This will help to know which controller is expected to control a given machine

work related to https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3713 and https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3726
2024-01-10 14:47:04 +01:00
Guillaume Raffy 769c4076e5 added comments 2024-01-10 10:56:41 +01:00
Guillaume Raffy 749cc8c0f7 fixed typos 2024-01-10 10:56:16 +01:00
Guillaume Raffy 6d53ab97e4 made deboco cope properly with relative file paths 2023-12-13 11:27:35 +01:00
Guillaume Raffy 8dbcb480fc added more error detections mechanisms to improve user information 2023-12-13 11:26:49 +01:00
Guillaume Raffy b3e9fec9a2 added a mechanism to verify that debops controller doesn't use other controller's files
this should prevent problems such as https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3719

work related to https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3719
2023-12-13 11:24:57 +01:00
Guillaume Raffy 20bac19c84 changed the location of debops environment file so that debops always uses it
fixes https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3719
2023-12-13 11:19:33 +01:00
Guillaume Raffy 8b7d82399d improved messages displayed by deboco 2023-12-11 14:44:10 +01:00
Guillaume Raffy e3c4dba850 added a mechanism di disable debug messages
work related to https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=2713
2023-12-06 10:25:01 +01:00
Guillaume Raffy 9def80af12 made deboco more generic by adding the python-path option
this allowed me to successfully install debops controller on mazinger.ipr too in addition to graffy-ws2

work related to https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=2713
2023-12-06 10:24:17 +01:00
Guillaume Raffy bcf8310c59 restored the init_machine command, as it can be useful
deboco also now prints the debops error code
2023-12-05 13:38:09 +01:00
Guillaume Raffy 161fe8ea80 deboco now enforces debops update to explicitely python 3.10
This dirty hack allowed the controller to succesfully configure alambix108

fixes https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3715
2023-12-05 13:35:25 +01:00
Guillaume Raffy c629be803f added the script deboco which is able to create multiple standalone debops controllers
- it automates the creation of standalone debops controllers. A standalone debops controller is a directory that embeds:
  - its own ansible.debops tree (which contains ipr debops configuration, but also its secret directory)
  - its own virtualenv
  - its own reports on debops runs when perfoming operations with this controller
- it simplifies some operations like applying a configuration to a new machine

work related to https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3713
2023-12-01 18:53:31 +01:00
Guillaume Raffy e83998ef51 changed file hierarchy to allow for a readme file, an also because this repos is no longer expected to be in cloned in the home directory (too dangerous and it messes up some tools that see git repos into git repos)
- added a readme
- added  scripts and bash config files that I want to be under source control
2023-11-30 18:33:55 +01:00
Guillaume Raffy 20a991fad6 added scripts to ease applying debops on machines 2023-10-11 17:36:07 +02:00