Commit Graph

5224 Commits

Author SHA1 Message Date
Yoann La Cancellera
bebd652600 pt-galera-log-explainer: add custom regexes parameter
That way anybody can handle non-galera specific logs in a single view

tests/expected/operator_auto_ambiguous_ips_list_all_no_color has been
updated, it was out-of-sync due to 2 previous pull requests that were
made in parallel
2024-02-19 20:15:39 +01:00
Sveta Smirnova
f684a11335 Merge pull request #770 from percona/dependabot/go_modules/go.mongodb.org/mongo-driver-1.14.0
Bump go.mongodb.org/mongo-driver from 1.13.1 to 1.14.0
2024-02-19 17:38:32 +03:00
Sveta Smirnova
a85ebe71f0 Merge pull request #771 from percona/dependabot/go_modules/k8s.io/api-0.29.2
Bump k8s.io/api from 0.29.1 to 0.29.2
2024-02-19 17:38:16 +03:00
dependabot[bot]
772ea649b4 Bump k8s.io/api from 0.29.1 to 0.29.2
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.29.1 to 0.29.2.
- [Commits](https://github.com/kubernetes/api/compare/v0.29.1...v0.29.2)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-19 09:05:33 +00:00
dependabot[bot]
bced4936df Bump go.mongodb.org/mongo-driver from 1.13.1 to 1.14.0
Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.13.1 to 1.14.0.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases)
- [Commits](https://github.com/mongodb/mongo-go-driver/compare/v1.13.1...v1.14.0)

---
updated-dependencies:
- dependency-name: go.mongodb.org/mongo-driver
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-19 09:05:04 +00:00
Sveta Smirnova
37d792f299 Merge pull request #764 from jobinau/3.x
All complexities and failure senarios are removed, No more dependancies
2024-02-17 20:35:20 +03:00
Yoann La Cancellera
1462c4e4af Merge pull request #765 from ylacancellera/pt-galera-log-explainer
pt-galera-log-explainer: improvments from feedbacks
2024-02-14 17:56:07 +01:00
Yoann La Cancellera
4b27054770 pt-galera-log-explainer: removing redundant loop names 2024-02-14 17:54:33 +01:00
Sveta Smirnova
28b3e699fc Merge pull request #767 from percona/dependabot/github_actions/actions/upload-artifact-4.3.1
Bump actions/upload-artifact from 4.3.0 to 4.3.1
2024-02-14 19:28:38 +03:00
Sveta Smirnova
e7226c825b Merge pull request #768 from percona/dependabot/github_actions/aquasecurity/trivy-action-0.17.0
Bump aquasecurity/trivy-action from 0.16.1 to 0.17.0
2024-02-14 19:28:28 +03:00
Sveta Smirnova
19fb9df939 Merge pull request #766 from percona/dependabot/go_modules/golang.org/x/crypto-0.19.0
Bump golang.org/x/crypto from 0.18.0 to 0.19.0
2024-02-14 19:28:13 +03:00
Sveta Smirnova
4d9a406dcb PR-765 - pt-galera-log-explainer: improvments from feedbacks
- Fixed formatting in the documentation
- Synced documentation and README.rst
2024-02-13 20:40:23 +03:00
Sveta Smirnova
91209b5837 PT-2233 - pt-k8s-debug-collector needs psql in the host node
- Adjusted test TestPT_2169, because it does not depend on port for
  --resource=pg anymore
2024-02-13 19:42:18 +03:00
dependabot[bot]
6e6b7466b7 Bump aquasecurity/trivy-action from 0.16.1 to 0.17.0
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.16.1 to 0.17.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.16.1...0.17.0)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 09:32:57 +00:00
dependabot[bot]
e2436af1c9 Bump actions/upload-artifact from 4.3.0 to 4.3.1
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.0...v4.3.1)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 09:32:54 +00:00
dependabot[bot]
f1349c4980 Bump golang.org/x/crypto from 0.18.0 to 0.19.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/crypto/compare/v0.18.0...v0.19.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 09:07:36 +00:00
Yoann La Cancellera
364c7fc54b pt-galera-log-explainer: update documentation 2024-02-09 12:12:29 +01:00
Yoann La Cancellera
3a5bde7c36 pt-galera-log-explainer: refactor operator detection 2024-02-09 12:12:29 +01:00
Yoann La Cancellera
dbf329ee23 pt-galera-log-explainer: add --skip-operator-detection 2024-02-09 12:12:29 +01:00
Yoann La Cancellera
2e1acd587e pt-galera-log-explainer: fix debug log formatting mismatch
"extrator" log was not using the same output format as the rest
beacuse it was initialized before main()
2024-02-09 12:12:29 +01:00
Yoann La Cancellera
d1459ce0bc pt-galera-log-explainer: Add pxc operator auto detection 2024-02-09 12:12:27 +01:00
Yoann La Cancellera
b15cdf2d68 Add: operators identified by podname, can merge
Merge happen when podname, deployment name and namespace match
2024-02-09 12:06:35 +01:00
Jobin Augustine
7400afe174 Additonally accomodated the review comments on PR : https://github.com/percona/percona-toolkit/pull/764, further simplified the code to remove the extra CASE switch 2024-02-08 11:51:39 +05:30
Jobin Augustine
a10ffbc3df All complexities and failure senarios are removed, No more dependancy on psql outside the pod, No dependancy on password authentication or portforwaring. 2024-02-07 23:44:34 +05:30
Sveta Smirnova
ca368e6e5a Merge pull request #763 from percona/dependabot/go_modules/github.com/rs/zerolog-1.32.0
Bump github.com/rs/zerolog from 1.31.0 to 1.32.0
2024-02-07 19:14:02 +03:00
Sveta Smirnova
be880d82d7 Merge pull request #762 from percona/PT-1751_adds_--where_param_to_pt-online-schema-change
PT-1751 - adds --where param to pt-online-schema-change
2024-02-05 13:56:16 +03:00
dependabot[bot]
efb6fd2c18 Bump github.com/rs/zerolog from 1.31.0 to 1.32.0
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.31.0 to 1.32.0.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.31.0...v1.32.0)

---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 09:10:29 +00:00
Sveta Smirnova
cf255e01e4 Merge pull request #140 from akopytov/2.2
Add CPU cache configuration info to pt-summary.
2024-01-30 23:03:57 +03:00
Sveta Smirnova
cbc00ad761 PT-1751 - adds --where param to pt-online-schema-change
- Option --where added
- Added test case
2024-01-30 17:55:15 +03:00
Sveta Smirnova
67ed03dbf4 Merge pull request #754 from percona/port_improved_pt-pmp
Port improved pt-pmp
2024-01-29 13:12:37 +03:00
Sveta Smirnova
5b67e5a390 Port improved pt-pmp
- Updated error messages when eu-stack and/or pt-eustack-resolver tools
  are not found
2024-01-29 13:08:50 +03:00
Artem Gavrilov
0a25ba845c Merge pull request #760 from percona/dependabot/go_modules/github.com/google/uuid-1.6.0
Bump github.com/google/uuid from 1.5.0 to 1.6.0
2024-01-29 11:57:07 +02:00
Artem Gavrilov
275419355d Merge pull request #761 from percona/dependabot/github_actions/actions/upload-artifact-4.3.0
Bump actions/upload-artifact from 4.2.0 to 4.3.0
2024-01-29 11:56:52 +02:00
Sveta Smirnova
ec32f3c3e0 Merge pull request #160 from fipar/operf-support
added support for operf if present, and if CMD_OPCONTROL is not set
2024-01-29 12:56:15 +03:00
dependabot[bot]
8ad4d66420 Bump actions/upload-artifact from 4.2.0 to 4.3.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.2.0...v4.3.0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 09:46:00 +00:00
dependabot[bot]
ddf49907ba Bump github.com/google/uuid from 1.5.0 to 1.6.0
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/uuid/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/google/uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 09:07:37 +00:00
Sveta Smirnova
6330cf0f53 PR-160 - added support for operf if present, and if CMD_OPCONTROL is not set
- Added test case
2024-01-26 18:14:29 +03:00
Sveta Smirnova
3fa1d8dfed PR-160 - added support for operf if present, and if CMD_OPCONTROL is not set
- Added back support for CMD_OPCONTROL
2024-01-26 16:39:26 +03:00
Yoann La Cancellera
51ce07ce22 Merge pull request #750 from ylacancellera/PT-2298_pt-galera-log-explainer_superfluous_lines_on_conflicts
PT-2298 pt-galera-log-explainer superfluous lines on conflicts
2024-01-26 12:36:24 +01:00
Yoann La Cancellera
3bdc4b95ba pt-galera-log-explainer: refactor conflict response 2024-01-26 12:25:45 +01:00
Sveta Smirnova
5ca0e8a898 PR-160 - added support for operf if present, and if CMD_OPCONTROL is not set
- Made PR actually working
2024-01-26 01:01:23 +03:00
Sveta Smirnova
c365fd371b Merge pull request #756 from ylacancellera/PT-2307_include_last_inactive_check_mesages_on_pt-galera-log-explainer
PT-2307 include last inactive check mesages on pt-galera-log-explainer
2024-01-25 20:40:10 +03:00
Sveta Smirnova
8e3ce6c74f Merge branch '3.x' into HEAD 2024-01-25 01:50:05 +03:00
Sveta Smirnova
1036b5768a PR-140 - Add CPU cache configuration info to pt-summary
- Merge branch '3.x' into HEAD
- Move code to the proper place: library files
- Fix tests
2024-01-25 01:41:20 +03:00
Sveta Smirnova
447f133789 Merge pull request #758 from percona/dependabot/go_modules/k8s.io/api-0.29.1
Bump k8s.io/api from 0.29.0 to 0.29.1
2024-01-23 14:23:17 +03:00
Sveta Smirnova
93646a8261 Merge pull request #759 from percona/dependabot/github_actions/actions/upload-artifact-4.2.0
Bump actions/upload-artifact from 4.1.0 to 4.2.0
2024-01-23 14:23:02 +03:00
Sveta Smirnova
36ad59d8b7 Port improved pt-pmp
- Variable scope fixes
2024-01-23 14:04:08 +03:00
Yoann La Cancellera
8d3cab91d4 pt-galera-log-explainer: add --skip-merge, grep -a
--skip-merge can help for cases where merge won't work: node names
intentionally identical
grep -a enables to read logs even though they use binary format
2024-01-23 09:44:14 +01:00
Sveta Smirnova
4581f12592 Port improved pt-pmp
- Suggestions by Evgeniy
2024-01-22 18:52:22 +03:00
Sveta Smirnova
05ae38dcd0 Merge pull request #757 from percona/update_copyright_2024
Update copyright to 2024
2024-01-22 17:19:43 +03:00