Commit Graph

2893 Commits

Author SHA1 Message Date
Digimer
ab0adaf252
Merge pull request #134 from Tsu-ba-me/issues/133-fix-font
Web UI: include roboto condensed font in build
2021-06-17 16:42:57 -04:00
Tsu-ba-me
ee48529840 chore: rebuild web UI 2021-06-17 15:16:34 -04:00
つばめ
11900231c5
Merge pull request #12 from Seneca-CDOT/fix-fonts
Fix #133: Fix font
2021-06-17 15:11:55 -04:00
Josue
4bd0093231 fix: modify eslintrc to work with new prettier settings 2021-06-17 15:05:50 -04:00
Josue
559cf3851a chore: remove roboto font and add import to MUI theme 2021-06-17 15:05:16 -04:00
digimer-bot
17939f7911
Merge pull request #132 from ClusterLabs/anvil-tools-dev
* Reworked the attempt to repair the network in anvil-daemon to not t…
2021-06-15 12:21:28 -04:00
Digimer
c7c6c8dee5 * Reworked the attempt to repair the network in anvil-daemon to not touch the network until the machine has been running for at least two minutes.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-15 12:04:27 -04:00
digimer-bot
4fdc23ae3e
Merge pull request #131 from ClusterLabs/anvil-tools-dev
Note: Continuing to resolve the build issues with network startup. Ex…
2021-06-14 02:04:46 -04:00
Digimer
11b1900e1b Note: Continuing to resolve the build issues with network startup. Expect breakage.
* Upped the aging of jobs and alerts data from 2 to 24 hours. Also added a check to prevent deleting a job of any age that is incomplete.
* Major update to anvil-configure-host to not touch the network unless something has actually changed. Not yet tested on a fresh system, will verify nothing broke in the CI tests this commit will trigger. Also changed it so that, if after reconfiguring the network it times out trying to reconnect to a database, it calls a reboot instead of simply exiting. Further, a reboot is now not called on exit unless something changed to require it.
* Updated Network->check_bonds() to return '1' if anything was done to heal a bond.
* Updated anvil-update-states to be more careful about clearing virsh bridges. Specifically, it checks to see if virsh is running and that the returned bridges aren't actually error codes.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-14 01:58:25 -04:00
digimer-bot
a612aa000a
Merge pull request #130 from ClusterLabs/anvil-tools-dev
* Continuing to try to get the network to reliably start during confi…
2021-06-13 15:14:39 -04:00
Digimer
0c0f2172ce
Merge branch 'master' into anvil-tools-dev 2021-06-13 15:00:47 -04:00
Digimer
a1b06e4355 * Continuing to try to get the network to reliably start during configuration...
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-13 14:59:39 -04:00
digimer-bot
6ae88cf696
Merge pull request #129 from ClusterLabs/anvil-tools-dev
* Added a call to Network->check_bonds() to be called while non-Strik…
2021-06-13 14:25:49 -04:00
Digimer
1e7847d4dd * Added a call to Network->check_bonds() to be called while non-Striker machines wait to connect to a database.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-13 14:14:37 -04:00
digimer-bot
47c749a951
Merge pull request #128 from ClusterLabs/anvil-tools-dev
* Created Network->check_bonds() that checks to see if any bonds are …
2021-06-13 13:43:51 -04:00
Digimer
20aaa3c577
Merge branch 'master' into anvil-tools-dev 2021-06-13 13:39:25 -04:00
Digimer
3f32a56d0c * Created Network->check_bonds() that checks to see if any bonds are down, or if any interfaces configured to be in a bond are not actually in it. It accepts a 'heal' parameter that, by default, will bring up a bond with no active links, but leaves degraded bonds alone. It call also take 'all' and will try to bring up any missing interfaces. This distinction exists so that if a link is flaky and someone takes it down manually until it can be repaired, it doesn't get turned back on.
* Updated anvil-daemon to call Network->check_bonds() with 'all' on startup, then woth 'down_only' once per minute to try to heal down'ed bonds.
* Updated anvil-watch-bonds to take a 'run-once' switch and exit after one report, if set.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-13 13:33:51 -04:00
digimer-bot
155c46e111
Merge pull request #127 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2021-06-11 23:23:24 -04:00
Digimer
1a8215a783 * Fixed a bug in Network->get_ips() bridge detection bashlet.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-11 23:18:18 -04:00
Digimer
0dd92a08c5 * Small change to variable name to help make logs clearer.
Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-11 21:47:10 -04:00
Digimer
0b6a9e37fa * Added scan_lvm_pv_sector_size to the scan_lvm_pvs table in the scan-lvm. This will be used later for growing a requested disk size for the DRBD metadata.
* Added a 1 minute delay to anvil-configure-host before calling a reboot.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-11 19:57:30 -04:00
digimer-bot
211f845d1c
Merge pull request #126 from ClusterLabs/anvil-tools-dev
* Updated the pacemaker server config to drop the stop timeout to 5 m…
2021-06-11 12:23:46 -04:00
Digimer
c9a659fbeb
Merge branch 'master' into anvil-tools-dev 2021-06-11 03:21:22 -04:00
Digimer
80bdac8e34 * Updated the pacemaker server config to drop the stop timeout to 5 minutes and the migration timeout to 10 minutes. This will avoid blocking the entire cluster when a stop or migrate operation times out. Will update scan-server to clean these up when they happen.
* Updated Database->archive_table() and ->_find_behind_databases() to loop through connected databases, instead of configured databases.
* Updated Network->get_ips() to only record the real MAC addresses on network interfaces (not bonds or bridges) in the "network::${host}::interface::${in_iface}::mac_address" hash. This should help avoid reboot loops caused by anvil-configure-host thinking the network needs to be reconfigured when it doesn't actually need to be.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-06-11 03:17:07 -04:00
Digimer
9ecf295cc9
Merge pull request #125 from Tsu-ba-me/issues/124-resolve-vulnerabilities
Web UI: resolve vulnerabilities in dependencies
2021-06-09 16:53:30 -04:00
Tsu-ba-me
6e615bce7a fix(striker-ui): auto-fix vulnerability in hosted-git-info package 2021-06-09 16:48:10 -04:00
dependabot[bot]
afaa452966 chore: bump @types/styled-components from 5.1.7 to 5.1.10 in /striker-ui
Bumps [@types/styled-components](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/styled-components) from 5.1.7 to 5.1.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/styled-components)

---
updated-dependencies:
- dependency-name: "@types/styled-components"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 16:48:10 -04:00
dependabot[bot]
0ebaf45dcf chore: bump @typescript-eslint/eslint-plugin in /striker-ui
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.17.0 to 4.26.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.26.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 16:48:10 -04:00
dependabot[bot]
a4184265e0 chore: bump @material-ui/styles from 4.11.3 to 4.11.4 in /striker-ui
Bumps [@material-ui/styles](https://github.com/mui-org/material-ui/tree/HEAD/packages/material-ui-styles) from 4.11.3 to 4.11.4.
- [Release notes](https://github.com/mui-org/material-ui/releases)
- [Changelog](https://github.com/mui-org/material-ui/blob/v4.11.4/CHANGELOG.md)
- [Commits](https://github.com/mui-org/material-ui/commits/v4.11.4/packages/material-ui-styles)

---
updated-dependencies:
- dependency-name: "@material-ui/styles"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 16:48:10 -04:00
dependabot[bot]
4368f2fdc8 chore: bump @commitlint/cli from 11.0.0 to 12.1.4 in /striker-ui
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint) from 11.0.0 to 12.1.4.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/compare/v11.0.0...v12.1.4)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 16:48:10 -04:00
dependabot[bot]
7b4acd07ad chore: bump @types/react from 17.0.3 to 17.0.11 in /striker-ui
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.3 to 17.0.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 16:48:10 -04:00
dependabot[bot]
0e160e582f chore: bump eslint-plugin-react from 7.22.0 to 7.24.0 in /striker-ui
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.22.0 to 7.24.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.22.0...v7.24.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 16:48:10 -04:00
dependabot[bot]
1c5c073a19 chore: bump eslint-plugin-import from 2.22.1 to 2.23.4 in /striker-ui
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.22.1 to 2.23.4.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.22.1...v2.23.4)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 16:48:10 -04:00
dependabot[bot]
ffa394b30f chore: bump @typescript-eslint/parser in /striker-ui
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.17.0 to 4.26.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.26.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 16:48:10 -04:00
dependabot[bot]
e1429d8c7a chore: bump prettier from 2.2.1 to 2.3.1 in /striker-ui
Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 2.3.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.2.1...2.3.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 16:48:10 -04:00
dependabot[bot]
f7e03939e1 chore: bump @types/react from 17.0.3 to 17.0.9 in /striker-ui
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.3 to 17.0.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 16:48:10 -04:00
dependabot[bot]
a1172d7971 fix(striker-ui): use iso-8601 date format in Anvil status 2021-06-09 16:48:10 -04:00
dependabot[bot]
265cc5d91e fix(striker-ui): use iso-8601 date format in Anvil status 2021-06-09 16:48:10 -04:00
dependabot[bot]
65f461132f fix(striker-ui): use iso-8601 date format in Anvil status 2021-06-09 16:48:09 -04:00
dependabot[bot]
d4681cf80f fix(striker-ui): use iso-8601 date format in Anvil status 2021-06-09 16:39:36 -04:00
dependabot[bot]
a2ad0c26fb fix(striker-ui): use iso-8601 date format in Anvil status 2021-06-09 16:39:36 -04:00
つばめ
ede3476b55
Merge pull request #120 from Tsu-ba-me/issues/118-correct-webui-build
Web UI: correct build process to remove build-time download and unnecessary rsync
2021-06-09 16:22:49 -04:00
Tsu-ba-me
81d00fd780 build(striker-ui): remove distclean-local and maintainer-clean-local; already implicitly triggers clean-local 2021-06-09 13:45:09 -04:00
Tsu-ba-me
77b404102f build(striker-ui): remove unused build dependencies (npm, rsync) 2021-06-09 13:42:07 -04:00
Tsu-ba-me
444a901f53 build(striker-ui): re-include all usable source files in release tarball 2021-06-09 12:23:16 -04:00
Tsu-ba-me
f8b8a6186e build(striker-ui): remove git calls from clean hooks 2021-06-09 12:23:16 -04:00
Tsu-ba-me
cf5abee7bd build(striker-ui): rename target clean->clean-build to avoid conflict with default clean 2021-06-09 12:23:16 -04:00
Tsu-ba-me
49d896037a build(striker-ui): don't use build output directory path as target; use its name 2021-06-09 12:23:16 -04:00
Tsu-ba-me
115c3557d2 build(striker-ui): add blank out target 2021-06-09 12:23:16 -04:00
Tsu-ba-me
3a515b7392 build(striker-ui): don't preserve permissions when copying from source 2021-06-09 12:23:16 -04:00