93 Commits (d65fd45c4515a4872aaa59c19734dc273c3e3186)

Author SHA1 Message Date
Digimer 726a4374d1 * Renamed the database table 'host_keys' to 'ssh_keys' to better represent what it stores. 5 years ago
Digimer d3bb350668 * Filtered out 'delay' and 'plug' options from Striker->get_fence_data()'s options parsing. 5 years ago
Digimer 530d379f59 * Started work on caching network state change in tools/anvil-update-states. 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 b57546e663 * Fixed a bug in Database->manage_anvil_conf() where the wrong password and port was being set. 5 years ago
Digimer b9a0cc4d56 * Finished the initial tools/striker-initialize-host! 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 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 b51f87bdcc * Figured out a way to prevent browsers (for now, at least) from treating the node/host login form from saving passwords or pre-filling passwords. 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 7e4a170382 * Fixed a bug where Tools.pm->_anvil_version() and Get->host_uuid() were storing values in the wrong $anvil hash. 6 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 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 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 d9e9884e53 * Created Storage->move_file(). 6 years ago
Digimer dd2b9ec026 * Refined upload.pl a lot, moving it into Anvil::Tools. It also now handles file name collisions and reports basic info about the uploaded file. 6 years ago
Digimer d68b85fe9e * Working on a file upload with progress bar feature. Expect more changes as it is refined. 6 years ago
Digimer 02c4fe1fa1 * Updated all perl module modes to remove the executable bit. 6 years ago
Digimer 4b66379aaa * Added enabling/disabling 'Install Target' feature to Striker's WebUI. 6 years ago
Digimer 6f5541b6fd * Created Get->network() that returns the base network address for a given IP/subnet. 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 a8369170b4 This is the start of a major change! 6 years ago
Digimer 00565b123c * Updates Tools->nice_exit to add the caller name to the exit status. 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 1539ef72a8 * Fixed how passwords are supressed in logs. 7 years ago
Digimer 1079c65687 * Finished working on the log in and log out functions of Striker. Still super basic, but it works! 7 years ago
Digimer 3fce021498 * Making good progress on the internal login/account methods. The user can now log in, though the first reload logs them right back out. Lots still broken. 7 years ago
Digimer d110bff224 * Created Account->encrypt_password() for creating encrypted hashes of passwords. Set the default algorithm to sha256, a ~16 byte random salt and 500,000 re-encryptions (which takes a total of about 0.7 seconds on an Intel i7-6820HQ CPU). 7 years ago
Digimer 9a37f66468 * Decided to abandon using apache security and to integrate it into Striker itself. This will allow for layers of access, easier account sync'ing, etc. Further, there is no proper way to handle logging out on apache, and they use md5 * 1000 iterations (with a salt, to be fair) for security... Not exactly the strongest. 7 years ago
Digimer a89fb24adf * Changed the Storage->copy() 'target' parameter to 'target_file' to avoid confusion with the often-used 'target' parameter for connecting to remote machines. 7 years ago
Digimer 188cab5ec0 * Fixed a few bugs with how rsync is handled, specifically in the rsync wrapper script. 7 years ago
Digimer ea43896fca * Created the new Remote module, and in it, moved System->remote_call to Remote->call() and created the new add_target_to_known_hosts() method (and two private helper methods). These are adapted from the m2 code. 7 years ago
Digimer 7694847160 * Fixed a bug in Database->insert_or_update_jobs(). 7 years ago
Digimer c21b326f1a * Changed all methods to take a 'debug' argument for setting log level on calls. 7 years ago
Digimer 4dcaa524c5 * Made Get->switches take a bare word as a valid switch. 7 years ago
Digimer fe4a1d5a1c * Working on timing for DB connections. 7 years ago
Digimer f72d8e0f70 * Added a version file and Tools->_anvil_version() which reports the version in it. 7 years ago
Digimer 2170c00add * Added the 'debug' parameter to System->check_alert_sent. Also updated it to use 'alert_sent_uuid'. 7 years ago
Digimer d03213b860 * Fixed some string and path issues from the 'anvil' merger. 7 years ago
Digimer 9648e8ba43 * Create tools/anvil-jobs and units/anvil-jobs.service, which is a new daemon that will handle jobs that can take some time to finish. 7 years ago
Digimer bb48c090a7 * Created Get->md5sum() to return the md5sum of the specified file. 7 years ago
Digimer 1cb42080c3 ** Major Changes ** 7 years ago
Digimer ee7b68bfb5 * Moved the logic to write the host UUID cache into Get->host_uuid(). 7 years ago
Digimer 1e7fe44c23 * Updated Get->host_uuid to record the UUID to a cache file when run with root privs, but read from the cache when an unpriv user. 7 years ago
Digimer c4a857e8d8 * Created Validate->is_alphanumeric, ->is_domain_name and ->is_positive_integer. 7 years ago
Digimer 3ac52e1724 * Added binary uploading to Get->cgi and moved the variable store to 'cgi::<variable>::value'. Also added "pretty" variable logging for passed-in CGI variables. 7 years ago
Digimer c962a9ac79 * Added the loading of the CGI module when the environment is set to 'html'. 7 years ago
Digimer b5e7054a33 * Added Scalar::Util->weaken to help avoid memory leaks. 7 years ago