51 Commits (b9e8d2a97191e8a825ce725ebe9de9701610b202)

Author SHA1 Message Date
Digimer d0006cc4d3 * Changed a bunch more variables to standardize on 'mac_address' instead of 'mac'. 5 years ago
Digimer ea27f88bcc * Removed the 'bridge_interfaces' table and related database methods. This was found to be duplicate, given that 'network_interfaces' has references to parent bonds and bridges. 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 517771594e * Updated to release -28 RPM. 5 years ago
Digimer b436500a54 * Started working on getting database archiving working. It's close to done, but needs testing/debugging and other finery. 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 b9a0cc4d56 * Finished the initial tools/striker-initialize-host! 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. 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 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 0d62a28fda * Created Database->insert_or_update_file_locations(). 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 9bd5dd9a18 Revert to bfc2204. 6 years ago
Digimer a8369170b4 This is the start of a major change! 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 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 839bfc8a2d * Updated Striker to better handle when host.uuid hasn't been generated yet on brand new installs. 7 years ago
Digimer 9ab242a117 * Decided to move development to Fedora 28 to prepare for the leap to RHEL 8. So this commit is the first where the Anvil! Striker can be installed. 7 years ago
Digimer 7e63cfbcc4 * Fixed the schema path. 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 a3d97e4c92 * Updated anvil-update-states to mark interfaces, bonds, bridges and IP addresses as DELETEd when they disappear. 7 years ago
Digimer 2ea506b4d9 * Got the jquery to fill the form IP data is set. 7 years ago
Digimer 0272ba8b80 * Moved the network default values into the main defaults hash. 7 years ago
Digimer 86259a4783 * Got the network.xml and network.json files fixed and parsable. 7 years ago
Digimer 66b5c815d0 * Finished recording IP address information in network.json/xml. 7 years ago
Digimer 12afcb9731 * Started working on adding IP data to network.json (and .xml). 7 years ago
Digimer 1245cfc547 * Re-enabled writing of the network.json and network.xml files. 7 years ago
Digimer 76725e9160 * Fixed a bug in Database->insert_or_update_bonds() that caused unneeded UPDATE. 7 years ago
Digimer d600a635d4 * Made 'network_interface_bridge_uuid' allow NULL entries allow NULL entries. 7 years ago
Digimer 67c4f50bdc * Updated Database->insert_or_update_network_interfaces() to work like other similar methods. Also re-enabled NULL for 'network_interface_bond_uuid' as an empty string can't be used on a 'uuid' column type and it's not always set. 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 b0232c6180 * Made the sysfs directory references static. 7 years ago
Digimer d6c94e9d28 * Started working on Database->insert_or_update_bonds. 7 years ago
Digimer a6e50f15a9 * Updated System->get_ips() to determine which interface is the default gateway and set the gateway IP and active DNS servers. 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 a294c6c4fa * Updated the database components to use the name 'anvil' and the user 'admin'. The 'database::user' and 'database::name' variables are still supported, but now hidden. 7 years ago
Digimer 7694847160 * Fixed a bug in Database->insert_or_update_jobs(). 7 years ago
Digimer e38bc826dd * Fixed a bug in resync_databases where undefined column values weren't being handled properly. 7 years ago
Digimer 0370d6acef * Fixed a bug in the network_interfaces SQL procedure that broke how data was recorded in the history schema. 7 years ago
Digimer c21b326f1a * Changed all methods to take a 'debug' argument for setting log level on calls. 7 years ago
Digimer fe4a1d5a1c * Working on timing for DB connections. 7 years ago
Digimer d03213b860 * Fixed some string and path issues from the 'anvil' merger. 7 years ago
Digimer bb48c090a7 * Created Get->md5sum() to return the md5sum of the specified file. 7 years ago
Digimer 8e5e5b07d3 * Moved the buffer disable up the script. 7 years ago
Digimer 9e4414613b * Added a check to exit if no DBs were available in tools/anvil-update-states. 7 years ago
Digimer 1c3b3c2c9e * Fixed a bug in calling ethtool in tools/anvil-update-states and added conditionals to reading the data files. 7 years ago
Digimer 2b9c6c26dc * Fixed a couple remaining issues from the recent merger. Specifically, '$$anvil' was fixed from a bad regex and the path/names of our tools were fixed. 7 years ago