Commit Graph

3690 Commits

Author SHA1 Message Date
dependabot[bot]
b0a2bd8123
chore: bump next from 11.1.1 to 11.1.3 in /striker-ui
Bumps [next](https://github.com/vercel/next.js) from 11.1.1 to 11.1.3.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v11.1.1...v11.1.3)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-09 04:49:25 +00:00
Digimer
25d183dd49
Merge pull request #203 from ClusterLabs/anvil-tools-dev
Removed the anvil-daemon unit file attempt to compile DRBD's kernel m…
2021-12-07 23:46:27 -05:00
Digimer
8ded17b42d Removed the anvil-daemon unit file attempt to compile DRBD's kernel module.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-12-07 20:13:11 -05:00
Digimer
0ab336cb1d
Merge pull request #202 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2021-12-07 20:09:15 -05:00
Digimer
3346d31194 * Created Get->kernel_release() that returns the current kernel release (version) in use on the host or on a remote system.
* Created DRBD->_initialize_drbd() to makes sure the DRBD kernel module can load and tries to build the module, if necessary. This is meant to provide support for clients that can't access needed internet resource (or the internet at all).

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-12-07 20:03:39 -05:00
Digimer
cc4c3bd3e3 Added ssh askpass for Striker so VMM can ask to confirm fingerprints.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-12-02 12:41:21 -05:00
Digimer
9cfd7b9b94 Created the new (and still in development) striker-file-manager to manage files from a Striker dashboard's command line. So far. it will add files only.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-12-01 18:43:50 -05:00
Digimer
65dfc22a38 Added an eval{} call around Database->query()'s ->prepare() DBI call to better handle lost database handle.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-11-30 17:58:29 -05:00
Digimer
9eec6c4977 * Created ScanCore->check_temperature_direct() based around that start logic from ScanCore->post_scan_analysis_striker() temperature check, and updated the later to use the former.
* Updated the logic of when to boot a node or DR host that was found to be off for unknown reasons to require both poewr and temperature to be OK, and checks against the new 'feature::scancore::disable::boot-unknown-stop' config variable.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-11-29 22:43:23 -05:00
Digimer
2188c3491e
Merge pull request #201 from ClusterLabs/anvil-tools-dev
* Moved the logic to add the local database to a Striker's anvil.conf…
2021-11-25 01:53:10 -05:00
Digimer
521633f3eb
Merge branch 'master' into anvil-tools-dev 2021-11-25 01:50:20 -05:00
Digimer
75a4c8d709 * Moved the logic to add the local database to a Striker's anvil.conf from striker-prep-database to Database->_add_to_local_config().
* Updated striker-prep-database to always set the user's password, independent of whether the database user was created.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-11-25 01:47:55 -05:00
Digimer
f36d32f291
Merge pull request #200 from ClusterLabs/fix-rpm
[build] fix FASEXECPREFIX handling and ship fence_ in -core rpm
2021-11-24 16:33:30 -05:00
Fabio M. Di Nitto
36bcaa587f [build] fix FASEXECPREFIX handling and ship fence_ in -core rpm
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
2021-11-24 21:58:16 +01:00
Digimer
32effea185
Merge pull request #199 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2021-11-24 01:27:14 -05:00
Digimer
958267e38f * Enabled scancore in the .spec file. Disabled calling striker-prep-database and anvil-update-state in the same.
* Updated striker-prep-database to check / wait until postgresql-server is installed.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-11-24 01:22:33 -05:00
Digimer
034c38fdeb Disabled calling striker-prep-database from the spec file, and enabled scancore.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-11-24 00:55:02 -05:00
Digimer
91df8f1e70
Merge pull request #198 from ClusterLabs/anvil-tools-dev
Updated striker-prep-database to not configure the firewall if firewa…
2021-11-23 23:43:46 -05:00
Digimer
6225ce1943 Updated striker-prep-database to not configure the firewall if firewalld isn't running.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-11-23 23:32:07 -05:00
Digimer
8905146ef6
Merge pull request #197 from ClusterLabs/anvil-tools-dev
* Updated anvil-daemon->prep_database() to start the postgresql daemo…
2021-11-23 21:54:09 -05:00
Digimer
8e41814ca2 * Updated anvil-daemon->prep_database() to start the postgresql daemon if it's not running and no databases are available.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-11-23 21:49:24 -05:00
Digimer
73a4b211b4
Merge pull request #196 from ClusterLabs/anvil-tools-dev
* Did more work on trying to figure out why iniital setup of the data…
2021-11-23 20:51:37 -05:00
Digimer
b517117bc1 * Did more work on trying to figure out why iniital setup of the database was failing. I believe it was because, in anvil-daemon, after calling 'prep_database' we called ->connect() _without_ 'check_if_configured' set. Next round of function testing should help confirm is this was the case.
* Added 'configure_firewall()' to 'striker-prep-database' to explicitely open the postgresql service for all active zones.
* Did some general logging changes and cleanup around the same.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-11-23 20:41:29 -05:00
Digimer
7b6b0e5cc5
Merge pull request #194 from ClusterLabs/anvil-tools-dev
Updated striker-prep-database to enable extra logging to help diagnos…
2021-11-16 03:33:16 -05:00
Digimer
090c59a873 Updated striker-prep-database to enable extra logging to help diagnose a function test build failure problem.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-11-16 03:21:33 -05:00
digimer-bot
ac7639a0c9
Merge pull request #193 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2021-11-15 01:06:42 -05:00
Digimer
3ba5329510
Merge branch 'master' into anvil-tools-dev 2021-11-15 01:03:57 -05:00
Digimer
32f29861a4 * Fixed a bug (maybe) that was causing users to get immediately logged out of the WebUI
* Fixed a bug (maybe) that was breaking initial DB setup on Strikers.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-11-15 01:01:23 -05:00
Digimer
257a998743 * Updated Database->configure_pgsql() to use 'postgresql-setup --initdb --unit postgresql' instead of the deprecaded 'initdb' switch.
* Updated Database->insert_or_update_states() to switch to an active UUID if the passed in UUID is not an active handle.
* Updated Database->query() to swutch to 'sys::database::read_uuid' if the passed in 'uuid' is not an active handle.
* Updated Database->_test_access() to return immediately if the passed in uuid is not an active handle.
* Started working on a Storage->get_storage_group_from_path() bug where the storage group isn't being returned.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-10-28 12:07:36 -04:00
Digimer
5c1978d5a0 Updated D-Link switch config notes.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-10-25 19:16:01 -04:00
Tsu-ba-me
b22b8b7fcb fix(pages): ignore react/display-name in main document 2021-10-21 15:37:49 -04:00
Tsu-ba-me
b59b4562e3 chore: rebuild web UI 2021-10-21 15:37:49 -04:00
Josue
be7d12ed1d style(front-end): fix issue with preview placeholder fitting the container 2021-10-21 15:37:49 -04:00
Josue
75210d2557 fix: display appropriate actions for selected servers 2021-10-21 15:37:49 -04:00
Josue
c3d6ca0ed8 fix(front-end): change functionality when the server panel is in edit mode 2021-10-21 15:37:49 -04:00
Josue
16e820d4c1 refactor(front-end): pass server uuid to the Preview component to fetch server preview image 2021-10-21 15:37:49 -04:00
Josue
c0d4e1132e refactor(front-end): add fetching preview image from the backend 2021-10-21 15:37:49 -04:00
Josue
d44d035bed refactor(front-end): rename interface 2021-10-21 15:37:49 -04:00
Digimer
c15acf501d
Merge pull request #192 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2021-10-11 22:14:45 -04:00
Digimer
32d47f70f1 * Fixed bugs around ScanCore->check_power() so that it now returns time on batteries and highest charge are returned properly.
* Created Network->is_our_interface() which returns '1' if an interface is one managed by an Anvil!. Also updated scan-network to use this to determine when an interface alert should be a warning or notice level alert.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-10-11 21:57:35 -04:00
Digimer
5c85cee49a Made estimated hold up time alerts 'notice' level instead if 'warning'.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-10-11 16:44:50 -04:00
Digimer
e23e495151
Merge pull request #191 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2021-10-11 11:34:53 -04:00
Digimer
9400576ed3
Merge branch 'master' into anvil-tools-dev 2021-10-11 03:04:30 -04:00
Digimer
226d1de6b5 Updated anvil-update-states to use the permanent MAC addresses, as done in scan-network. Updated Network->get_ips() to do the same.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-10-11 02:57:45 -04:00
Digimer
7f1f71dcf0 Updated scan-apc-pdu to remove PDUs that are associated with fence devices that have beed deleted.
Updated scan-network to set a health score against an interface that has been missing for 1 minute, instead of waiting for 5 minutes.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-10-11 01:49:30 -04:00
Digimer
3445d008d2 Removed a stray debug die.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-10-10 22:31:23 -04:00
Digimer
63c45430bb * Updated scan-network to clear duplicate IP addresses.
* Fixed a bug in anvil-daemon where striker-prep-database was always being called, when it shouldn't in some cases.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-10-10 22:27:54 -04:00
Digimer
e6d7ac7038 Fixed a bug in ocf:alteeve:server's new migration network support.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-10-10 16:42:58 -04:00
Digimer
75abeb3b9a * Updated scab-storcli to not trigger a health alarm when the alarm state is "absent".
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-10-09 21:24:36 -04:00
Digimer
eeafefbe08 * Updated scan-network to (hopefully, needs testing) not set a health score against unused/unconfigured network interfaces. Also silenced the purging of old RX/TX variables now that it appears to be working well.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-10-09 01:08:19 -04:00