4184 Commits (feature/softwareraid)
 

Author SHA1 Message Date
Digimer 2fa4048780 * Updated anvil.conf to default-enable various defaults. Also dropped the archive thresholds. 6 years ago
Digimer 459fcfbcb3 * Fixed an XML parse error (-- in comments) and pre-set the last_update to 0 to avoid warnings when running anvil-update-system without a job-uuid. 6 years ago
Digimer 5f77ff5885 * Finished (for now) anvil-manage-firewall. It's been added to anvil-daemon as well. 6 years ago
Digimer 0ca80d0599 * Started work on System->check_firewall() that will collect existing firewall information. 6 years ago
Digimer b5dc83d39c * Renamed anvil-configure-striker -> striker-configure-host and anvil-manage-install-target -> striker-manage-install-target as they're both Striker-specific. 6 years ago
Digimer 4b66379aaa * Added enabling/disabling 'Install Target' feature to Striker's WebUI. 6 years ago
Digimer 67e8f26bdb * Fixed a bug where anvil-manage-install-target was always refreshing the local RPM repository instead on doing so only once per day. 6 years ago
Digimer 9cf70f847c * Lots of work done to add software RAID support to kickstart. Still in progress, however. 6 years ago
Digimer 8468215831 * Added logic to tools/anvil-manage-install-target to only update the local RPM repo on a periodic basis. 6 years ago
Digimer 7f5ac528ab * Got tools/anvil-manage-install-target to now properly build the install repo source! Installing guests is now working, at a base level. Still need to add Anvil! specific stuff, and firewall support. Also decided to emulate the upstream 'Packages' directory structure and moved all packages in to subdirectories based on the first letter of the package. 6 years ago
Digimer ea65fa08aa * Added generation of kickstart files from a single template and made them more configurable by the user via anvil.conf. 6 years ago
Digimer b815af03df * Created a new RPM (different repo; anvil-striker-extra) for files needed for the Install Target feature but not available in (or reasonably extracted from) RPMs. 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 6f5541b6fd * Created Get->network() that returns the base network address for a given IP/subnet. 6 years ago
Digimer 380b11ce55 * Created Storage->update_file() that will update a file _if_ the contents have changed, locally or remotely and log the diff of the changes that triggered the update. 6 years ago
Digimer 9fe774071e * Started work on making text config files based on templates, started with the tftp 'default' file. 6 years ago
Digimer 317bc730ec * Fixed a bad variable name. 6 years ago
Digimer 706052105e * Changed Storage->read_file() to default 'force_read' to '1', causing it to always read from disk and ignore cache unless set to '0'. 6 years ago
Digimer 3045deb09d * Created tools/anvil-manage-install-target to setup a Striker machine as an install target. Still early in development. 6 years ago
Digimer 521ccb1215 * Updated notes related to URFI PXE booting issues. 6 years ago
Digimer 161f674b96 * Fixed a bug with plan_partitions where LVM wasn't being used, and should have been. 6 years ago
Digimer d9a305d81e * Made good progress on the PXE server envrionment PoC (reflected in notes, and the various script and pxe files). 6 years ago
Digimer e4f9e5ae09 * Reduced some duplication in the partition plan output. 6 years ago
Digimer 702cb0f102 * Almost finished the first draft of the 'plan_partitions' kickstart (sub)script. 6 years ago
Digimer 07c3b405ad * Starting work on adding "Install Target" function (will likely rename this, but basic same function as IT in m2). 6 years ago
Digimer 9a4cefe3fb * Fixed a bug (which is really more of a work-around for a deeper bug to be addressed later) where the database would keep thinking it needed to resync, even after it had successfully. 6 years ago
Digimer dc6c93f4c3 * Bumped the RPM spec to version .18. 6 years ago
Digimer 6f0bc0d86f * Fixed a major bug where anvil-daemon would reset the job_progress to 0 when clearing the 'reboot_needed' flag, causing anvil-daemon to pick the job up and again reboot, repeatedly. 6 years ago
Digimer 46916b658b * Fixed the spec now that anvil.sql is in the right place and quieted anvil-daemon system check logging. 6 years ago
Digimer 96a3660134 * Updated .spec for 3.0.17 RPM. 6 years ago
Digimer 510321d634 * It looks like adding and removing Striker peers (and all the sync'ing stuff behind it) is finally sorted out. Obviously, time will tell for sure, but currently things look good. 6 years ago
Digimer 43035ba038 * Fixed a subtle an annoying autovivication bug in Database->write(). 6 years ago
Digimer e79e7fd4f4 * Added 'check_if_configured' to Database->connect(), disabled off, that triggers the check to see if the system is configured or not. Updated anvil-daemon to invoke this at the same time that the md5sums are calculated to see if a reload is needed. This reduces the background system load a fair bit. 6 years ago
Digimer facefeaccc * Fixed a bug in anvil-daemon where completed jobs could be immediately cleared, causing them to re-run (repeatedly). 6 years ago
Digimer e15fd19ee4 * Fixed a bug in anvil-daemon where a stray 'die' from earlier work was left in. 6 years ago
Digimer d3d28d8ec5 * Updated striker's first config page to pre-fill with values (Org name, prefix, sequence and domain name) if they can be devined from the existing system config. 6 years ago
Digimer 42c4cd01f9 * Made logging a bit more verbose for job processing in anvil-daemon. 6 years ago
Digimer f58979ad27 * Fixed a bug in Jobs->clear() where the 'job_uuid' wasn't being passed to Database->insert_or_update_jobs(). 6 years ago
Digimer 90bbcfe9f4 * Updated Database->insert_or_update_jobs() to have 'update_progress_only' conditionally update 'job_status', 'job_picked_up_by', 'job_picked_up_at' and 'job_data'. 6 years ago
Digimer bbf194994e * New attempt to solve the resync issue; Created a new method called Database->refresh_timestamp that will update 'sys::database::timestamp', and call it when UPDATE'ing in '->insert_or_update_jobs()'. This should force the 'modified_date' to be unique per update and allow the existing resync approach to work properly. If so, this method will be used later for any instance where a given record can be updated multiple times per run. 6 years ago
Digimer 9bd5dd9a18 Revert to bfc2204. 6 years ago
Digimer 950338da6c * More work on Database->_split_query(), though I may be about to revert as this is proving exceedingly complicated and I may have a simpler solution. 6 years ago
Digimer e07bb0908d * Did more work on parsing queries in Database->_split_query(), but still quite a lot to do. 6 years ago
Digimer a8369170b4 This is the start of a major change! 6 years ago
Digimer bfc2204352 * Added a row-count check when deciding if a DB resync is needed. 6 years ago
Digimer e67828b6c6 * Deleted stray exit used in debugging anvil-daemon. 6 years ago
Digimer 40aac1d5f6 * Finished adding the 'sessions' database table and associated code. 6 years ago
Digimer b2367bb90b * Started working on moving user sessions to the new 'sessions' table. This is still a work in progress. 6 years ago
Digimer e483d6e9a1 * Updated Database->connect() to delete 'database::<uuid>' when a peer's database is not a matching version to avoid later use attempts. 6 years ago
Digimer c6e781d80b * Adding database peers (local and bidirectional) now works! 6 years ago