-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Net config #660
Open
digimer
wants to merge
28
commits into
main
Choose a base branch
from
net-config
base: main
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Net config #660
+967
−267
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: digimer <mkelly@alteeve.ca>
Signed-off-by: digimer <mkelly@alteeve.ca>
* Added the 'up' parameter to Network->collect_data() that will bring up an interface we configured that is down. * Updated scan-network to call Network->collect_data() with 'up' if the uptime is less than ten minutes. Signed-off-by: digimer <mkelly@alteeve.ca>
retest this please |
1 similar comment
retest this please |
Signed-off-by: digimer <mkelly@alteeve.ca>
* Also updated to directly call a reboot. Signed-off-by: digimer <mkelly@alteeve.ca>
* Also fixed a bug Database->get_storage_group_data() to add a missing column to adding members. Signed-off-by: digimer <mkelly@alteeve.ca>
* This is meant to deal with a case where, when a DB is added to anvil.conf but that new entry is not yet in hosts, the program crashes because of a duplicate key when calling insert_or_update_hosts for all DBs. Signed-off-by: digimer <mkelly@alteeve.ca>
Signed-off-by: digimer <mkelly@alteeve.ca>
Signed-off-by: digimer <mkelly@alteeve.ca>
* Also bumped nmcli sleeps to 5s. Signed-off-by: digimer <mkelly@alteeve.ca>
Signed-off-by: digimer <mkelly@alteeve.ca>
hours. Signed-off-by: digimer <mkelly@alteeve.ca>
Signed-off-by: digimer <mkelly@alteeve.ca>
Signed-off-by: digimer <mkelly@alteeve.ca>
Signed-off-by: digimer <mkelly@alteeve.ca>
manifests. Signed-off-by: digimer <mkelly@alteeve.ca>
Signed-off-by: digimer <mkelly@alteeve.ca>
* Added an explicit 'sync' call when writing to logs. TO BE REMOVED! * Disabled anvil-monitor-daemons and anvil-monitor-performance in case this is somehow trigging program exits. * Converted prints to Log->entry calls in anvil-change-password * Added PID state info logging for running jobs. Signed-off-by: digimer <mkelly@alteeve.ca>
* Added a sync call to Tools->nice_exit() to ensure logs are flushed. * Updated Database->quote() to be in an eval block to better handle cases where the DB handle is lost. * Added an hourly check to anvil-daemon and moved the memory in use check to run only once per hour. Signed-off-by: digimer <mkelly@alteeve.ca>
* Updated the fence_ipmilan timeouts to 30 seconds to help debug fence config failures. Signed-off-by: digimer <mkelly@alteeve.ca>
retest this please |
Signed-off-by: digimer <mkelly@alteeve.ca>
retest this please |
* Created Database->reconnect to clean up reconnecting to the DBs Signed-off-by: Madison Kelly <mkelly@alteeve.com>
retest this please |
2 similar comments
retest this please |
retest this please |
* Before, it would try to reconnect to just the lost DB, which could trigger an error. Signed-off-by: Madison Kelly <mkelly@alteeve.com>
* Updated Database->query() to track when a specific DB to read from is passed. If so, and that is lost, return an error. If not, and another DB is available, switch to it. * Updated Database->write() to skip trying to write to a lost DB. Signed-off-by: Madison Kelly <mkelly@alteeve.com>
Signed-off-by: Madison Kelly <mkelly@alteeve.com>
Signed-off-by: Madison Kelly <mkelly@alteeve.com>
Signed-off-by: Madison Kelly <mkelly@alteeve.com>
* Updated Database->reconnect() to take 'lost_uuid' and, if passed, deletes the cached file handle before calling ->disconnect(). * Updated Database->query() to return an empty hash reference instead of '!!error!!', as almost always, callers do an array count, which triggered errors as it's not a hash reference. Updated docs to reflect this. Signed-off-by: Madison Kelly <mkelly@alteeve.com>
retest this please |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.