137 Commits (462ec6d903843c0f457affde867b50b656bdb89d)

Author SHA1 Message Date
Digimer 7d907c15ff * Created the new tools/striker-purge-host tool which purges all data about a host from the database. 4 years ago
Digimer 4489111a65 * Fixed a bug in Job->clear() where it was not doing it's one job right. 4 years ago
Digimer 726a4374d1 * Renamed the database table 'host_keys' to 'ssh_keys' to better represent what it stores. 4 years ago
Madison Kelly 27f921289f * Fixed PXE templates managing install targets to work with CentOS. 5 years ago
Digimer c34f56f2c8 * Disabled firewalld for now. 5 years ago
Digimer e8d15112da * Fixed a bug in anvil.js where the state of a link always said 'up', even when it was down. 5 years ago
Digimer 90f5bf49d5 * Updated Network->load_interfces() to only assign a 'changed_order' to real interfaces. 5 years ago
Digimer 0dfd2ddbf0 * Renamed 'ip' to 'ip_address' in Striker->parse_all_status_json() and related functions. 5 years ago
Digimer 0b2439edc3 * Finished the jquery/css stuff for showing the list of hosts that can have their network configured. 5 years ago
Digimer c608ebb232 * Added bonds -> bond_bridge_uuid to track which bridge, if any, that a bond is connected to. Updated Network->load_interfces() to record this. 5 years ago
Digimer 7aaef3d6d5 * Fixed bugs in Striker->parse_all_status_json() and System->generate_state_json() where the connected interfaces to bridges and bonds wasn't be stored properly. 5 years ago
Digimer 54de5466cf * Renamed bond_active_slave to bond_active_interface. 5 years ago
Digimer 12b0cc28f0 * Renamed 'primary_slave' to 'primary_interface' for the bond table. 5 years ago
Digimer d5672e77eb * Standardized 'subnet_mask' over 'subnet' naming throughout. 5 years ago
Digimer b2ff4c4c53 * Created Network->get_company_from_mac() that converts a MAC address to the company name that owns it. 5 years ago
Digimer e3a8c1a01d * Created System->generate_state_json() that reads, parse and writes out the network status of all known machines on a given Striker database. 5 years ago
Digimer 70776964d6 * Added packages needed to support offline machines to striker-manage-install-target. 5 years ago
Digimer 628f7faa45 * Updated the RPM spec file to generate '/etc/anvil/type.X' files to directly indicate the machine type. Updated System->get_host_type() to check for these files directly, falling back to parsing the host name if they don't exist. 5 years ago
Digimer 077977ad9c * Fixed tools/anvil-update-states so that it properly removed ip_addresses no longer assigned to a host. Also merged 'network::interfaces::by_name::${interface}' with 'network::local::interface::${interface}' for storing discovered interfaces.' 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 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 b57546e663 * Fixed a bug in Database->manage_anvil_conf() where the wrong password and port was being set. 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 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 b1ddf945e2 * Got ocf:alteeve:server working again to boot servers. It's now smarter, knowing when the server is running locally already (success), running on the other node (hard error) and running on DR (fatal error). 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 16f79ca244 * Created System->get_bridges() that gets a list of bridges (and connected interfaces, and data). Also created ->get_free_memory() that returns the amount of available RAM. 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 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 559dbafb39 * Finished Convert->time (needs testing). 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 3e2a1faf06 * Updated System->get_os_type() to add comments for RHEL8 and remove Fedora support. 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 3f83e3c310 * Fixed the problem with rendering the webUI... The recursive loop counter was set to 1000, and that was triggering when reading a file longer than 1000 lines. Pushed the counter up to 500000 to prevent this in the future, but still allow infinite loops to exit before too long. 6 years ago
Digimer 02c4fe1fa1 * Updated all perl module modes to remove the executable bit. 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 4b66379aaa * Added enabling/disabling 'Install Target' feature to Striker's WebUI. 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 3045deb09d * Created tools/anvil-manage-install-target to setup a Striker machine as an install target. Still early in development. 6 years ago
Digimer 702cb0f102 * Almost finished the first draft of the 'plan_partitions' kickstart (sub)script. 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 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 9bd5dd9a18 Revert to bfc2204. 6 years ago