Commit Graph

4159 Commits

Author SHA1 Message Date
Tsu-ba-me
e4ae03a7f8 fix(striker-ui-api): add additional messages to access module 2023-11-17 16:09:55 -05:00
Tsu-ba-me
c39364a35b fix(striker-ui): handle unchecked/empty file location 2023-11-17 16:09:55 -05:00
Tsu-ba-me
548e227f63 fix(striker-ui): add success message in edit file 2023-11-17 16:09:55 -05:00
Tsu-ba-me
48dfc1b76c fix(striker-ui): clean up old file manager 2023-11-17 16:09:54 -05:00
Tsu-ba-me
3815cab856 fix(striker-ui-api): get updated config after adding peer 2023-11-17 16:09:54 -05:00
Digimer
4192e946d2
Merge pull request #531 from ClusterLabs/aman_branch
anvil-configure-host man page updated with correct name
2023-11-17 11:50:08 -05:00
amanjot
7890895cfe changing the file name to appropriate file 2023-11-16 15:43:15 -05:00
digimer-bot
53fa0755ce
Merge pull request #530 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2023-11-14 21:21:44 -05:00
digimer
ef0f04117f Added '--list' to anvil-manage-dr
* Updated Database->get_hosts() to store hosts in a host_type hash.
* Updated Database->get_servers() to store servers by name, regardless
  of host Anvil! node.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-14 17:50:48 -05:00
digimer
d9aa8aee74 Updated anvil-manage-keys to work from the command line
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-13 18:59:24 -05:00
Digimer
c2b86e57e1
Merge pull request #528 from ClusterLabs/anvil-tools-dev
Fixed a log print
2023-11-11 22:37:49 -05:00
digimer
438507ea80 Fixed a log print
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-10 16:12:39 -05:00
Digimer
b04f12141d
Merge pull request #464 from ClusterLabs/auto_grow_pv
This branch resolves issue #462; Auto growing PVs. Specifically, it l…
2023-11-09 10:38:02 -05:00
digimer
3b6da64780 Added parted and util-linux to core dependencies.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-08 21:38:54 -05:00
digimer
9bd98951b5 Added backup/restore of partition table in Storage->auto_grow_pv
* Auto-growing PVs (and the backing partition) is now supported by
  anvil-manage-host '--auto-grow-pv'.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-08 20:59:40 -05:00
digimer
ac84d5ba0a Removed Storage->auto_grow_pv from anvil-version-changes.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-08 12:05:03 -05:00
digimer
edc544255e Rebased with main and resolved conflicts.
This branch resolves issue #462; Auto growing PVs. Specifically, it looks at the LVM PVs on the host and checks to see if there is unused free space after the backing partition. If there is, it auto-grows the partition and then resizes the PV. This featu
re is designed to make life easier for users who deleted the auto-created '/home' partition during the anaconda disk partitioning tool.
* Created Storage->auto_grow_pv() that does the above.
* Added the missing hidden method name _create_rsync_wrapper in the Storage module POD.
* Added a call to Storage->auto_grow_pv() in anvil-configure-host and anvil-version-changes for nodes and DR.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-08 12:00:48 -05:00
Digimer
b8980b0ead
Merge pull request #523 from ClusterLabs/anvil-tools-dev
Fixed a bug in scan-ipmitool that was causing duplicate history entries
2023-11-07 23:03:24 -05:00
digimer
822854f0c3 Fixed a bug in scan-ipmitool that was causing duplicate history entries
* Increased logging to scan-ipmitool and scan-network to help trace a
  duplicate DB entry bug.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-07 15:32:57 -05:00
Digimer
fe453ac51d
Merge pull request #521 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2023-11-07 10:39:57 -05:00
digimer
f3c78be05f Added missing query uuid to update_storage_group_members.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-06 14:58:48 -05:00
digimer
51978e1609 Update scan-server to only alert on large boot time changes
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-05 17:07:26 -05:00
digimer
54a437d9a3 Rearranged checks in anvil-version-changes.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-05 14:12:02 -05:00
Digimer
5a7fb09ec8
Merge pull request #516 from ClusterLabs/anvil-tools-dev
Fixed a bug in Remote->call()
2023-11-04 11:41:56 -04:00
digimer
556e892002 Added 'sessions' to the age-out table list
* To help mitigate issue #520.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-03 20:13:47 -04:00
digimer
09fcc45c4a Skipped checking 'sessions' when considering a DB resync.
* This relatesto issue #520

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-03 19:51:00 -04:00
digimer
e5e958a03b Updated anvil-configure-host to clear "config::map_network"
Also updated anvil-manage-host to properly display the network mapping
status.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-03 17:35:01 -04:00
digimer
3251154366 Updated anvil-daemon to run anvil-configure-host jobs when mapping net
Also fixed a bug in anvil-manage-host that prevented showing if the
network mapping flag was set.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-03 15:25:45 -04:00
digimer
ff3d1983e3 Bumped up logging to debug an anvil-provision-server hang.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-02 23:26:12 -04:00
digimer
e0a4bd4d69 Undid the Remote->call to System->call piping
Builds have been failing since this change. Debugging is needed but it's
too large a task for just now.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-02 23:23:25 -04:00
digimer
081c5ea90e Possibly fixed the anvil-delete-server hang bug.
* Updated Server->connect_to_libvirt() to check that the target URI's
  SSH fingerprint is recorded before connecting. Also added an alarm
  wrapper around the Sys::Virt->new() call.
* Continued work on anvil-manage-server-system, working on the boot
  order section now.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-02 15:01:08 -04:00
digimer
747e759248 Updated node restart logic to boot unless power or temps are known bad
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-01 21:01:25 -04:00
digimer
8c97f478a8 Updated Server->update_definition() to undefine a server when needed.
* Boosted logging to debug anvil-delete-server hang in jenkins.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-01 16:06:59 -04:00
digimer
9b55504872 Updated anvil-manage-server-system to update defined servers.
* Updated Server->locate() to take the new 'anvil' parameter to speed up
  searches.
* Updated Server->update_definition() to use Server->locate() to find
  where updates are needed. It now also defines the server with the new
  config.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-11-01 00:15:13 -04:00
digimer
fd461f940d Fixed a bug in Remote->call()
* If the call to Remote-call() set the target that was actually the
  local short hostname, it would fail to make the call at all. Now if
  the 'target' is local, the shell call is instead passed to
  System->call() instead.
* Cleaned up logging.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-10-31 13:16:39 -04:00
Digimer
07cedb601f
Merge pull request #513 from ClusterLabs/anvil-tools-dev
Fixed a bug where 'all' host jobs would not be shown.
2023-10-27 23:10:16 -04:00
digimer
49f194eac6 Fixed issue #515; anvil-join-anvil updates hostnames properly now
* Updated Get->host_name() to accept the new 'refresh' parameter. This
  forces a reread of the hostname, instead of using the cached value.
* Updated System->host_name() so that, when it's updating the hostname,
  it updates the database and cached variables.
* Updated Words->center_text() to avoid undefinied parameter issues.
* Updated anvil-join-anvil to ensure the 'sys::host_name' variable.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-10-27 19:58:37 -04:00
digimer
85f86cda8a Updated Storage->read_file() to test if the target file exists.
This allows for better logging if the file to be copied doesn't exist.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-10-25 21:21:52 -04:00
digimer
ab6acd594c Fixed a bug where 'all' host jobs would not be shown.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-10-25 15:45:12 -04:00
Digimer
18254b1900
Merge pull request #512 from ClusterLabs/anvil-tools-dev
Working on a bug where broken manifests are saved.
2023-10-24 17:00:15 -04:00
digimer
4f6fa4b6ed Working on a bug where broken manifests are saved.
* Updated Striker->generate_manifest() to add pod and make the prefix,
  sequence and domain parameters required.
* Created the check_for_broken_manifests() function for anvil-daemon to
  detect/remove broken manifests.

Signed-off-by: digimer <mkelly@alteeve.ca>
2023-10-24 13:36:30 -04:00
Digimer
725ca58c44
Merge pull request #503 from ClusterLabs/dependabot/npm_and_yarn/striker-ui/babel/traverse-7.23.2
build(deps): bump @babel/traverse from 7.17.3 to 7.23.2 in /striker-ui
2023-10-24 02:11:05 -04:00
Digimer
f89fdae98e
Merge branch 'main' into dependabot/npm_and_yarn/striker-ui/babel/traverse-7.23.2 2023-10-23 20:56:48 -04:00
Digimer
7bb9f02b62
Merge pull request #507 from ylei-tsubame/docs/ui-readmes
Web UI: READMEs
2023-10-23 20:56:33 -04:00
Digimer
630294bc16
Merge branch 'main' into docs/ui-readmes 2023-10-23 16:33:45 -04:00
Digimer
07ab02b297
Merge pull request #511 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2023-10-23 16:33:19 -04:00
digimer
a5f424d340 Test fix for variable deletion bug.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-10-23 12:58:15 -04:00
digimer
8bc35b322f More logging to debug variable deletion bug.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-10-23 00:24:23 -04:00
digimer
56bb18951a Hopefully fixed an empty variable bug in duplicate variable searches.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-10-22 00:11:24 -04:00
digimer
4d1528f614 Added more logging to debug variable deletion bug.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-10-21 23:10:31 -04:00