28 Commits (7925a3f42c5fa56dd87624bafd4866332885b039)

Author SHA1 Message Date
digimer 92ed77e05b Fixed a bug blocking most jobs from running. 11 months ago
digimer a81a110261 * Remove forced log level and secure logging. This addresses issue #386 1 year ago
digimer 8f375c58a9 * Fixed a typo in anvil-daemon that prevented compiling. 2 years ago
digimer b144976853 This resolves Issue #310. 2 years ago
Digimer cd220e97dc Disabled striker-prep-databas and set Database->configure_pgsql() calls to use debug => 2. 2 years ago
Digimer bce9e2caaf This is the first attempt at enabling firewalld completely. There is a decent chance that problems exist, so it won't be a surprise if a few more commits are needed to this branch before things work. 3 years ago
Digimer b2ea4f9adc * Moved System->manage_firewall() to Network->manage_firewall(). Started working on actually implementing it, which involves basically fully rewritting it. 3 years ago
Digimer 24f5d39dff This is a set of changes all stemming from trying to debug frequent resyncs. More bugs still to be fixed. 3 years ago
Digimer d26a16e711 * Updated anvil-provision-server to handle human-readable sizes for disk and ram. 3 years ago
Digimer 74b7719cf5 * Created the new anvil-manage-host that can check/set if a host is configured. On Strikers, it can age out data, resync data, and check/set if the local database is active. 3 years ago
Digimer 8fbf594002 Updated striker-prep-database to stop -> start postgres post-configure, and to connect -> disconnect to run the schema load logic. 3 years ago
Digimer 3fd0db15bf * This rather heavily reworks how database shutdowns works. It adds much more intelligent shutdown, tracking who is using the database, being able to mark a database as "offline" and waiting for users of the database to disconnect before it shuts down. 3 years ago
Digimer 75a4c8d709 * Moved the logic to add the local database to a Striker's anvil.conf from striker-prep-database to Database->_add_to_local_config(). 3 years ago
Digimer 958267e38f * Enabled scancore in the .spec file. Disabled calling striker-prep-database and anvil-update-state in the same. 3 years ago
Digimer 6225ce1943 Updated striker-prep-database to not configure the firewall if firewalld isn't running. 3 years ago
Digimer 8e41814ca2 * Updated anvil-daemon->prep_database() to start the postgresql daemon if it's not running and no databases are available. 3 years ago
Digimer b517117bc1 * Did more work on trying to figure out why iniital setup of the database was failing. I believe it was because, in anvil-daemon, after calling 'prep_database' we called ->connect() _without_ 'check_if_configured' set. Next round of function testing should help confirm is this was the case. 3 years ago
Digimer 090c59a873 Updated striker-prep-database to enable extra logging to help diagnose a function test build failure problem. 3 years ago
Digimer 72b17ff1f9 * Reworked how databases are stopped, now being handled in anvil-daemon. This way, initial starts will still do traditional resyncs, then shut down. This should allow the best of both worlds, where data is not lost on striker start/stop loss/recovery, but operate normally otherwise without delays. 3 years ago
Digimer 0c475d2a2e * Fixed a couple logging bugs. 4 years ago
Digimer 41cd1e0319 * Several bugs fixed and enhancements; 4 years ago
Digimer 1a520b03d5 * Cleaned up a lot of logging in anvil-daemon and tools it calls. 4 years ago
Digimer 453f5c6223 * Fixed a bug where $anvil->nice_exit() was being passed 'exit' instead of 'exit_code' as a parameter. 5 years ago
Madison Kelly 27f921289f * Fixed PXE templates managing install targets to work with CentOS. 5 years ago
Digimer 37f36fe99c * Updated kickstart to write the basic tools/anvil-update-issue to a freshly installed machine and run it from cron. 5 years ago
Digimer ed048a5483 * Fixed a bug in Database->get_local_uuid() where it was calling the now-removed Get->network_details(). 5 years ago
Digimer 9c0f6b8f79 * Added automatic 'echo return_code:$?' to System->call and Remote->call which is parsed out and returned automatically on all calls. 6 years ago
Digimer d240f3ae2e * Created files and prep-host icons. 6 years ago
Digimer 2c23c6beba * Improved infinite loop handling in Log->entry, but broke the Striker UI in the process. To be fixed next... 6 years ago
Digimer 45f290d5e7 * Updated all System->*_daemon methods to not append '.service' to the daemon parameter. Also make all daemon names variables stored in 'sys::daemon::<foo>' and updated existing calls to these methods to use those variables. 6 years ago
Digimer 94d8a9c495 * Fixed a bug where finished jobs with a '0' picked-up time would be written to jobs.json. 6 years ago
Digimer 831ff14d93 * Created Words->parse_banged_string to process strings in the format '<key>[,!!var1!value1!!,!!var2!value2!!,...,!!varN!valueN!!'. Still testing this. 6 years ago
Digimer dd88051d9b * Finished the initial version of tools/anvil-update-system. 6 years ago
Digimer 252fbf21ef * Fixed a bug where '$anvil->' wasn't referencing '$anvil->data->' when it should have been. 6 years ago
Digimer 89c06b9f24 * Started work on tools/anvil-manage-striker-peers to do the actual work on managing local and peer databases in anvil.conf. 6 years ago
Digimer 0fa3c42f2f * Fixed a bug where setting the debug level to 3 caused a deep recursion and a system hang. 6 years ago
Digimer 9e8ce6dec4 * Fixed up security handling. 7 years ago
Digimer 56045214f2 * Fixed a problem with tools/anvil-prep-database being called from the anvil-striker RPM where the local DB password wasn't making it into the hash in time to set the DB password. 7 years ago
Digimer 7e63cfbcc4 * Fixed the schema path. 7 years ago
Digimer 2c52f649ba * Fixed the path of anvil.sql 7 years ago
Digimer ee543ab64b * Re-fixed postgresql daemon path. 7 years ago
Digimer 8cee9cdcc2 * Updatedb the anvil.spec to be smarter about pre and post (and postun). 7 years ago
Digimer 2163739b93 * Created Storage->update_config that will update a variable in anvil.conf (locally or remotely). 7 years ago
Digimer 5f06752167 * Finished updating tools/anvil-prep-database to inject the new, local database entry into anvil.conf. This tool works again. 7 years ago
Digimer a89fb24adf * Changed the Storage->copy() 'target' parameter to 'target_file' to avoid confusion with the often-used 'target' parameter for connecting to remote machines. 7 years ago
Digimer eafd4fd3f7 * Fixed a couple bugs to get System->change_shell_user_password() working. 7 years ago
Digimer a294c6c4fa * Updated the database components to use the name 'anvil' and the user 'admin'. The 'database::user' and 'database::name' variables are still supported, but now hidden. 7 years ago
Digimer 0370d6acef * Fixed a bug in the network_interfaces SQL procedure that broke how data was recorded in the history schema. 7 years ago
Digimer 2170c00add * Added the 'debug' parameter to System->check_alert_sent. Also updated it to use 'alert_sent_uuid'. 7 years ago
Digimer 4e30f2024c * Changed tabs to white-spaces in the SQL source to make copy/pasting easier. 7 years ago