20 Commits (8f9892650b3c7d78ad2dea07262f3509c705906f)

Author SHA1 Message Date
Digimer 0f7267eae1 * Moved the '_host_name', '_short_host_name', and '_domain_name' private methods in Tools.pm over to Get.pm (removing the leading '_' in the method names). 4 years ago
Madison Kelly 30f2b3fa8e * Switched all hash 'local' keys to be the host's short user name. Untested, likely bugs to be fixed in the next commit. 4 years ago
Digimer 1fa63d2ea3 * Added 'anvil_uuid' as a set parameter in Database->get_hosts(). 4 years ago
Digimer de43ea3ac1 * Renamed all Validate->is_X to Validate->X. Also created Validate->ipv6() to validate IPv6 addresses using Data::Validate::IP (and added it as a requirement to the .spec base RPM). 5 years ago
digimer 42c9099033 * Renamed all Validate->is_X to Validate->X. Also created Validate->ipv6() to validate IPv6 addresses using Data::Validate::IP (and added it as a requirement to the .spec base RPM). 5 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
Digimer 1e89ef55f3 * Updated Network->get_ips() to (again) record the MAC addresses and to create a MAC to interface name lookup hash. This was (accidentally?) removed back when the ->get_ips() was changed to store the data in a host-specific hash. 5 years ago
Digimer 726a4374d1 * Renamed the database table 'host_keys' to 'ssh_keys' to better represent what it stores. 5 years ago
Digimer 530fb31478 * Updated Jobs->get_job_details() to use --job-uuid switch or, failing that, look for an incomplete on this host with the same command as the calling program. 5 years ago
Digimer a16e86dc7c * Finished tools/anvil-configure-host! More notably, it can now update the network without a reboot, and it cleanly handles losing and reconnecting to dashboards. 5 years ago
Digimer 414bf81f25 * Fixed a bug where the BOOTPROTO="x" was set to dhcp for a bond interface that is connected to a bridge and should have been set to 'none'. 5 years ago
Digimer e9ee74553a * Fixed a comment bug in Network->reconfigure_network() indicating that MAC lookup was using the wrong hash key. 5 years ago
Digimer 9bcad1c4bf * Did more work on adapting tools/anvil-configure-host to work on nodes and DR hosts. 5 years ago
Digimer 6d81e03fb2 * Created Network->match_gateway() to check if a gateway applies to a given network. 5 years ago
Digimer 530d379f59 * Started work on caching network state change in tools/anvil-update-states. 5 years ago
Digimer d5672e77eb * Standardized 'subnet_mask' over 'subnet' naming throughout. 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 b9a0cc4d56 * Finished the initial tools/striker-initialize-host! 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 8a2c86d088 * Renamed striker-configure-host (back) to anvil-configure-host, and started updating it to work on any machine type. 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 e54ca987e8 * Fixed a few bugs (typos and such) to update the RPMs for the new RHEL 8 proper repo. 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 0d62a28fda * Created Database->insert_or_update_file_locations(). 6 years ago
Digimer 0979402ecf * Improved handling of failed connection attempts to remote machines in Remote->call(); 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 8468215831 * Added logic to tools/anvil-manage-install-target to only update the local RPM repo on a periodic basis. 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 40aac1d5f6 * Finished adding the 'sessions' database table and associated code. 6 years ago
Digimer c6e781d80b * Adding database peers (local and bidirectional) now works! 6 years ago
Digimer 4bf048054b * Udated anvil-daemon to not use Time::HiRes for now, and added a timer so that the md5sum of files used by the daemon are checked only once per minute. This significantly reduced the load caused by the daemon running. 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 fe33fbb239 * Created System->maintenance_mode to add "maintenance mode" support to Striker. 6 years ago
Digimer 6aa74d3d96 * Updated Database->_test_access() to use the DBD 'ping' method, and attempt a reconnect of failure. 6 years ago
Digimer dd88051d9b * Finished the initial version of tools/anvil-update-system. 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 1ac1bc5ffb * Made more progress on the peer database configuration page. 7 years ago
Digimer 458ef94851 * Fixed a bug where the config page would be shown while a job was pending. 7 years ago
Digimer 7e63cfbcc4 * Fixed the schema path. 7 years ago
Digimer 1539ef72a8 * Fixed how passwords are supressed in logs. 7 years ago
Digimer a6a5df2496 * Fixed a bug in 'home' not displaying the 'offline' message when it was waiting for a reconfig. 7 years ago
Digimer 66928edb06 * Added logic to check if Striker is configured and, if so, enter main functions. 7 years ago
Digimer 2febb09d72 * Updated anvil-configure-striker to handle network configurations in non-bonded configurations and to remove virsh bridges. 7 years ago
Digimer 870a2eb803 * Updated the SQL schema to convert all 'boolean' to 'integer' (using 0 for false). Also made all columns NOT NULL, given they should all always have an empty string. The logic behind this was to standardize the code and avoid bugs. 7 years ago
Digimer 39c06f364f * Got tools/anvil-configure-striker updating the system passwords now. 7 years ago
Digimer 4e6f492c4f * Updated Log->variables to add dots when printing a variable/value pair per line so that variables line up vertically. 7 years ago
Digimer b8bb781c5e * Added the new tools/anvil-cycle-vm-nics, which is the updated version for m2's cycle-vm-nics.pl. 7 years ago
Digimer eafd4fd3f7 * Fixed a couple bugs to get System->change_shell_user_password() working. 7 years ago