203 Commits (a3143ce1723c3cc0a132ed16468b4c2a02d19962)

Author SHA1 Message Date
Digimer 7e960f1632 * Created the 'oui' database table that stores the parsed OUI data, as processed by the new 'tools/striker-parse-oui' tool. Also created Database->insert_or_update_oui() to handle inserts and updates. 5 years ago
Digimer 7cdd2f60e9 * Created Network->download() to handle downloading a file on the local system. Created ->bridge_info() to parse 'bridge' output. Created ->load_ips() to load IP address information from the database (as opposed to ->get_ips() which queries a system). 5 years ago
Digimer 65a27ba2f8 * Created Network->check_internet() that, well, checks to see if a machine has access to the Internet or not. 5 years ago
Digimer 3a86bed694 * Fixed tools/striker-initialize-host so that it set the hostname on the target, not locally. 5 years ago
Digimer 566ec896ca * Created tools/anvil-manage-keys to handle user requests to remove bad keys from known_hosts files for target machines that have been rebuilt or replaced. 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 b9a0cc4d56 * Finished the initial tools/striker-initialize-host! 5 years ago
Digimer a54e0d4e22 * Made a fair bit more progress on tools/striker-manage-install-target. It now registers a system with Red Hat and attaches appropriate subscriptions, updates the OS and (tries) to install anvil-{node,dr}. 5 years ago
Digimer badaa39b7a * Got the node/dr host initialization form to the point where it can test access and decide if it should show the Red Hat account form. Decided that for M3, node/dr host setup will now be a four-stage process; initial install (over PXE), initialization (install the proper anvil-{node,dr} RPM and connect to the database), setup/map the network, and then add to an Anvil! pair. 5 years ago
Digimer 6f74ca376b * Created anvil-daemon->check_setuid_wrappers() function that will dynamically create setuid c-wrappers on daemon startup, when needed. 5 years ago
Digimer 99e1e4faf2 * Figured out how to collect a peer's data. Passwords are passed via the 'state' table. Created a setuid c-wrapper as well. 5 years ago
Digimer 8a2c86d088 * Renamed striker-configure-host (back) to anvil-configure-host, and started updating it to work on any machine type. 5 years ago
Digimer 324ef351fe * Updated DRBD->get_devices() to properly identify the peer node, when run on an actual node in the cluster (not DR or Striker). 5 years ago
Digimer 312c949648 * Actually added the new Anvil::Tools::DRBD module, as well as a new ::Server module that will handle anything related to the virtual servers. 5 years ago
Digimer 0f873c45b5 * Created the new Anvil::Tools::DRBD moduke to hold all DRBD related stuff. Started working of ->get_status, still very much a work in progress. 5 years ago
Digimer 7e4a170382 * Fixed a bug where Tools.pm->_anvil_version() and Get->host_uuid() were storing values in the wrong $anvil hash. 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. 5 years ago
Digimer e54ca987e8 * Fixed a few bugs (typos and such) to update the RPMs for the new RHEL 8 proper repo. 5 years ago
Digimer 5d91211dff * Continued work on 'anvil-download-file', in-progress adding support for job processing. 6 years ago
Digimer 605c3c4ffb * Got anvil-download-file downloading files. Much testing is needed, and it's just the barebones so far. 6 years ago
Digimer 559dbafb39 * Finished Convert->time (needs testing). 6 years ago
Digimer b1326e1b4e * Created tools/anvil-download-file which will handle downloading, aborting and reporting status of downloads. 6 years ago
Digimer dc95b8c4e3 * Got anvil-manage-files able to find and pull down missing files. 6 years ago
Digimer 80e7bc5ce0 * Started work on a system to provide inter-machine ssh communication without needing to track or record passwords in the database or config files (outside the database access passwords). Added 'host_key' to the 'hosts' table that stores the host public key. Also now create ssh public/private key pairs for the 'root' and 'admin' users. 6 years ago
Digimer 529c12d2e2 * Updated anvil-manage-files to scan all /mnt/shared/* directories to search for new files. Only files in incoming are moved though, as before. Starting work on pulling files now. 6 years ago
Digimer d9e9884e53 * Created Storage->move_file(). 6 years ago
Digimer 0d62a28fda * Created Database->insert_or_update_file_locations(). 6 years ago
Digimer dd2b9ec026 * Refined upload.pl a lot, moving it into Anvil::Tools. It also now handles file name collisions and reports basic info about the uploaded file. 6 years ago
Digimer 0979402ecf * Improved handling of failed connection attempts to remote machines in Remote->call(); 6 years ago
Digimer d240f3ae2e * Created files and prep-host icons. 6 years ago
Digimer b7b4e79e95 * Updated System->check_firewall to use firewall-cmd and the contents of iptables-save is not available/reliable under RHEL8. 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 02c4fe1fa1 * Updated all perl module modes to remove the executable bit. 6 years ago
Digimer 53295a0d7f * Updated the variables used for logging and log handles to be more inline with other variable names. 6 years ago
Digimer 8fad67fc5a * Updated Words->read to default to 'path::words::words.xml' when the 'file' parameter is not passed. Also updated it to check to see if the words file was read before and, if so, clear the data from the previous read before re-reading it. 6 years ago
Digimer 946fce018a * Renamed the 'ScanCore' executable to just 'scancore', moved it into the standard 'tools' directory and changed the agents directory to '/usr/sbin/scancore-agents'. 6 years ago
Digimer f5ae90c941 * Started work on M3 ScanCore! 6 years ago
Digimer 5f77ff5885 * Finished (for now) anvil-manage-firewall. It's been added to anvil-daemon as well. 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 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 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 07c3b405ad * Starting work on adding "Install Target" function (will likely rename this, but basic same function as IT in m2). 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