33 Commits (462ec6d903843c0f457affde867b50b656bdb89d)

Author SHA1 Message Date
Digimer bd24c1c5bb * I _might_ have fixed the network configuration issue in anvil-configure-host... Updated it so that if 'nmcli' doesn't report a valid device name, it looks for it in the ifcfg-X file, and uses 'X' if not found there. 3 years ago
Digimer 41cd1e0319 * Several bugs fixed and enhancements; 3 years ago
Digimer 3fb81c1a0a * Updated Convert->time() to silently return if the given time was '--'. 4 years ago
Digimer 3733220b50 * Updated Log->entry() to prefix log lines with the short 'job-uuid', when the log entry is coming from a program running as a job. This is meant to make it easier to break up what log lines belong to what jobs, if multiple jobs are running at the same time (ie: when initializing multiple nodes / dr hosts in parallel). 4 years ago
Digimer d9d347ce63 * Updated .spec for the new source location. 4 years ago
Digimer 8f823d3b86 * Switched out the static list of core table to use the array generated by Database->get_tables_from_schema(). 4 years ago
Digimer 1c00060d6e * Finished porting scan-storcli! This was the largest scan agent to migrate to M3. 4 years ago
Digimer 51de6c721f * Created scan-ipmitool (needs more testing but seems to work now). Logical straight port from M2. 4 years ago
Digimer ef70f90ba4 * Updated Log->entry() to set the log file handle to UTF-8 when opened. 4 years ago
Digimer 934c9b1286 * Updated logging to now log anything with 'priority' set to a new 'anvil.alert.log' file (while still also logging as normal to anvil.log). This should make it easier to watch for alert messages. 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 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 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 302a8aade9 * Fixed some bugs in tools/anvil-manage-firewall, it's working again (though new features are pending). 5 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 d240f3ae2e * Created files and prep-host icons. 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 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 5f77ff5885 * Finished (for now) anvil-manage-firewall. It's been added to anvil-daemon as well. 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
Digimer 94d8a9c495 * Fixed a bug where finished jobs with a '0' picked-up time would be written to jobs.json. 6 years ago
Digimer 252fbf21ef * Fixed a bug where '$anvil->' wasn't referencing '$anvil->data->' when it should have been. 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 2c52f649ba * Fixed the path of anvil.sql 6 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 eafd4fd3f7 * Fixed a couple bugs to get System->change_shell_user_password() working. 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 527848de97 * Added logging to a plain file to aid in debugging. We will revert to journald logging before first release. 7 years ago
Digimer c21b326f1a * Changed all methods to take a 'debug' argument for setting log level on calls. 7 years ago
Digimer 1cb42080c3 ** Major Changes ** 7 years ago
Digimer fa11459543 * Updated Log->entry to use the new Log::Journald method, which improved writing to log speed at high log levels dramatically (ie: 33 seconds -> 1 seconds). 7 years ago
Digimer 1aefa7fb8a * Made more progress on the resync code. 7 years ago
Digimer b5e7054a33 * Added Scalar::Util->weaken to help avoid memory leaks. 7 years ago
Digimer a932b44d28 * Fixed a few more problems with the SQL schema and setting up the database when needed. 7 years ago
Digimer edf85511f4 * Did more work on Tools.t tests. 7 years ago
Digimer 648af130cd * Finished scancore-database. It now setups/repairs postgresql database config, user and scancore database. 7 years ago
Digimer f948d7a762 * Updated Log->entry() to escape the finished string just prior to calling logger. 7 years ago
Digimer 753d7a3ba6 * Created the new System.pm module with the initial read_file() method that reads files. 8 years ago
Digimer 0a712f4a9c * Added Get->switches to read in command line switches. 8 years ago
Digimer 421d970f22 * Added the new 'tools.conf' which can be used to override AN::Tools default values. 8 years ago
Digimer dd4fb49e6c * Added the new AN::Log and AN::Get modules. 8 years ago