Digimer
f36d32f291
Merge pull request #200 from ClusterLabs/fix-rpm
...
[build] fix FASEXECPREFIX handling and ship fence_ in -core rpm
3 years ago
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>
3 years ago
Digimer
32effea185
Merge pull request #199 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
3 years ago
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>
3 years ago
Digimer
034c38fdeb
Disabled calling striker-prep-database from the spec file, and enabled scancore.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
91df8f1e70
Merge pull request #198 from ClusterLabs/anvil-tools-dev
...
Updated striker-prep-database to not configure the firewall if firewa…
3 years ago
Digimer
6225ce1943
Updated striker-prep-database to not configure the firewall if firewalld isn't running.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
8905146ef6
Merge pull request #197 from ClusterLabs/anvil-tools-dev
...
* Updated anvil-daemon->prep_database() to start the postgresql daemo…
3 years ago
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>
3 years ago
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…
3 years ago
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>
3 years ago
Digimer
7b6b0e5cc5
Merge pull request #194 from ClusterLabs/anvil-tools-dev
...
Updated striker-prep-database to enable extra logging to help diagnos…
3 years ago
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>
3 years ago
digimer-bot
ac7639a0c9
Merge pull request #193 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
3 years ago
Digimer
3ba5329510
Merge branch 'master' into anvil-tools-dev
3 years ago
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>
3 years ago
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>
3 years ago
Digimer
5c1978d5a0
Updated D-Link switch config notes.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Tsu-ba-me
b22b8b7fcb
fix(pages): ignore react/display-name in main document
3 years ago
Tsu-ba-me
b59b4562e3
chore: rebuild web UI
3 years ago
Josue
be7d12ed1d
style(front-end): fix issue with preview placeholder fitting the container
3 years ago
Josue
75210d2557
fix: display appropriate actions for selected servers
3 years ago
Josue
c3d6ca0ed8
fix(front-end): change functionality when the server panel is in edit mode
3 years ago
Josue
16e820d4c1
refactor(front-end): pass server uuid to the Preview component to fetch server preview image
3 years ago
Josue
c0d4e1132e
refactor(front-end): add fetching preview image from the backend
3 years ago
Josue
d44d035bed
refactor(front-end): rename interface
3 years ago
Digimer
c15acf501d
Merge pull request #192 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
3 years ago
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>
3 years ago
Digimer
5c85cee49a
Made estimated hold up time alerts 'notice' level instead if 'warning'.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
e23e495151
Merge pull request #191 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
3 years ago
Digimer
9400576ed3
Merge branch 'master' into anvil-tools-dev
3 years ago
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>
3 years ago
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>
3 years ago
Digimer
3445d008d2
Removed a stray debug die.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
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>
3 years ago
Digimer
e6d7ac7038
Fixed a bug in ocf:alteeve:server's new migration network support.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
75abeb3b9a
* Updated scab-storcli to not trigger a health alarm when the alarm state is "absent".
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
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>
3 years ago
digimer-bot
ce06239a7b
Merge pull request #190 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
3 years ago
Digimer
2557fa454a
* Updated scan-network to delete old TX/RX records.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
a1604344c7
* Fixed a bug in Convert->round where numbers with exponents were not handled properly.
...
* Fixed a bug in scan-hardware where the raw bytes free for swap was used to see if the high / cleared thresholds were passed, instead of the percentage as it should have been.
* Fixed a bug in scan-network where a new-line wasn't be cleared off the MAC address.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
47c832bc0e
* Updated Network->get_ips() to check for 'permaddr' when processing 'ip addr list' to ensure the partmanent MAC is used.
...
* Updated scan-filesystems to set swap usage alerts to notice level only.
* Updated scan-network to pull the permanent MAC address from an 'ethtool -P <iface>' call to deal with the fact that wireless interfaces don't have their real MAC in the sysfs address file.
* Updated anvil-provision-server to set the rtc_tickpolicy to catchup.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
8e436ffec7
WIP: Started work on a new Storage->copy_device() method that will do 'dd' calls.
...
Fixed a bug in System->update_hosts() that was causing hosts to be constantly rewritten. (Well, I hope fixed, this has been a notoriously buggy part of the program...)
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
0fc394b294
Updated ocf:akteeve:server to see in the target for a migration has a '<shortname>.mn1' host name, and if so, and if the target can be reached on that address, it will be used for the live migration. This is to allow for inexpensive 10 Gbps live migration speeds.
...
Removed the stub Server->provision method that was never used.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
ea368a942b
Finished the '--update' switch function in anvil-manage-dr.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
5ee7b2ccaf
Got the '--connect' and '--disconnect' functions working in anvil-manage-dr.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
a034583213
* Updated DRBD->gather_data() to record TCP/IP data between connections of two hosts.
...
* Updated anvil-manage-dr to use the TCP ports already configured for a resource when re-configuring a DR resource that has been previously configured.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
digimer-bot
13a4824db3
Merge pull request #189 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
3 years ago
Digimer
0fcde483be
Merge branch 'master' into anvil-tools-dev
3 years ago
Digimer
fbe9adc306
Resolve a words key conflict.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago