894 Commits (5b3ff87c1f869c2669dc2296dea0da0d0919bfe0)

Author SHA1 Message Date
Digimer b1a175baa0 * Finished Network->load_ips(). 5 years ago
Digimer af6e2c076d * Fixed a tricky deep recursion bug in Network->is_local when the passed in host was an empty string. Also created a cache system where a host name that has been checked before is immediately returned, without needing to run through the logic in 'is_local', which gets called quite frequently. 5 years ago
Digimer 32bcdbe6d3 * Removed Network->is_remote, standardized on Network->is_local, and flipped calls to it to be more sensible (is_local -> local call -> else remote call). Also fixed a deep recursion issue with ->is_local where, given that it logs (which calls Storage methods which have local/remote invocations), would loop. 5 years ago
Digimer a7f93c59ea * Reworked striker-parse-oui and striker-scan-network to always lower-case the MAC address. 5 years ago
Digimer 4d0a02ce74 * Fixed a bug in Database->get_local_uuid() where ->is_local() was being called incorrectly. 5 years ago
Digimer 1d13e669a7 * Created the new tools/striker-scan-network tool that ping scans a network range and records the discovered hosts in the new 'mac_to_ip' table. Also created Database->insert_or_update_mac_to_ip() to handle the new table. 5 years ago
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 183d2d9cce * Updated Storage->backup to append a short UUID to the timestamp to prevent issues if the same file is backed up twice in the same clock second. Also fixed a bug with remote_user parameter not having a default. 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 f65a2897a7 * Prepped v3.0.26 RPM release 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 b57546e663 * Fixed a bug in Database->manage_anvil_conf() where the wrong password and port was being set. 5 years ago
Digimer 3e01537209 * Updated how bad keys are removed. No longer are speciifc lines removed by number, but now all entries for the given target in the known_hosts file is removed. 5 years ago
Digimer 6bca354d87 * More progress on managing/removing back keys. Updated it to have jobs list one or more state_uuid(s) to be removed, instead of bulk-removing all found back keys. Created the web interface to let the user select the keys to be deleted. Works partially now, but bugs need to be removed. 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 2ca19699b8 * Added abunch of required packages to tools/striker-manage-install-target to support installing offline nodes, DR hosts and Striker dashboards. 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 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 2906a42d96 * Created tools/striker-get-peer-data that will query a target's host UUID and host name. It's meant to be called by apache, avoiding apache itself needing to call ssh against a target machine. 5 years ago
Digimer b8816382b8 * Created Log->is_secure() to more cleanly handle conditional logging of strings with passwords or passwords directly. Updated log entries that could benefit from this method to use it. 5 years ago
Digimer db1afb766e * Fixed a bug in Words->parse_banged_string() where a variable being inserted that ended in a new-line would break the variable insertion into the string. 5 years ago
Digimer bc341809ca * Finished (for now) ocf:alteeve:server! It can boot, migrate and stop a server cleanly. It still checks to see if DRBD needs to be started and does so when needed, but it won't stop it anymore. 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 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 302a8aade9 * Fixed some bugs in tools/anvil-manage-firewall, it's working again (though new features are pending). 5 years ago
Digimer e55594f58f * Notes updated with working network config for RHEL 8 proper. Two notes; Creating a BCN bridge by default, and switch the DR third octet to 12 (13 for IPMI) and fourth octet to sequence number. 5 years ago
Digimer 44f8fa2e21 * Missed a couple packages needed to install Striker over PXE. 5 years ago
Digimer 188ecdbbd7 * Improved handling of missing RPMs when downloading RPMs for tools/striker-manage-install-target's repo. 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 ae095ab85a * Updated the RPM build order and list for RHEL 8 final. 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 c41adb17ff * Finished converting Remote->call() to use Net::OpenSSH. Also updated all calls to this method to expect the output as a single (sometimes multi-line) string instead of an array reference. Also updated all calles to expect 'output' first, 'error' second. 6 years ago
Digimer b1326e1b4e * Created tools/anvil-download-file which will handle downloading, aborting and reporting status of downloads. 6 years ago
Digimer beb1197c1b * Finished support for deleting files (locally and globally) using anvil-manage-files. 6 years ago
Digimer dc95b8c4e3 * Got anvil-manage-files able to find and pull down missing files. 6 years ago
Digimer e8afd2efe4 * Created anvil-file-details that is (meant to be) called by anvil-file-details on a remote machine. 6 years ago
Digimer 27ba3dcbb9 * Created Database->read() to store and return the handle to whichever database is used for read operations. Also created Database->quote that uses ->read to access the DBI 'quote' method more cleanly. Updated all calls to use these new methods. 6 years ago
Digimer 040f189ea6 * Finished (barring bugs) the SSH handling in anvil-daemon. Now, keys added to the database (machine and user's) will auto-propegate out to any other machines in the cluster (all machine types). 6 years ago
Digimer ff5ef43940 * Continued work on the ssh configuration system in anvil-daemon. 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 47280c8fd9 * Added 'files -> file_directory' to help distinquish cases where two different files of the same name exist in different directories. 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