Andrew Reed
91eb94baaa
Weave report analyzers
...
The IPAM pool analyzer checks that utilization of the pod IP subnet is
less than 85%. For example, if using 10.32.0.0/12, this analyzer will
warn if 3,482 IPs are currently allocated to pods.
The pending allocation analyzer checks that the IPAM status in the
report has no items for the PendingAllocates field. This indicates the
IPAM service is not ready according to the code in the weave status
template
e3712152d2/prog/weaver/http.go (L186) .
The weave connections analyzer checks that all connections to remote
peers are in the established state. The state will be "pending" if UDP
is blocked between nodes and will be "failed" if the weave pod on the
remote node is in a crash loop. To force a pending state for testing,
run the commands `iptables -A INPUT -p udp --dport 6784 -j REJECT` and
`iptables -A INPUT -p udp --dport 6783 -j REJECT` on a peer.
The weave connections analyzer also checks that all connections are
using the fastdp protocol. A commopn issue seen in the field on
CentOS/RHEL 7 is that some sides of a connection are using fastdp and
other sides have fallen back to sleeve. Set the WEAVE_NO_FASTDP env var
on the weave daemonset to "true" to test this analyzer.
2021-09-08 21:29:38 +00:00
Andrew Lavery
1b65d1a544
Merge pull request #413 from replicatedhq/laverya/collect-jobs-and-cronjobs
...
collect jobs and cronjobs as part of cluster-resources
2021-09-03 17:25:41 -04:00
Andrew Lavery
7fcc951c9a
collect jobs and cronjobs as part of cluster-resources
2021-09-03 15:46:03 -05:00
Dan Stough
0478a7a60f
fix: cluster-res collector fixed to one namespace
2021-09-03 19:23:44 +00:00
Salah Aldeen Al Saleh
c7af0dc593
fix openshift cluster detection ( #408 )
2021-08-24 09:51:12 -07:00
John Murphy
fd3b32293c
default result only when no other result exists ( #398 )
2021-07-28 11:19:41 -05:00
Kyle Sorensen
2977f8f0d3
Stop longhorn false positives on no results. ( #397 )
...
Longhorn analyzer no longer report positive results on no results
2021-07-28 09:37:54 -06:00
Kyle Sorensen
bf7d658313
troubleshoot enables collecting all data from a configmap ( #395 )
...
Enabled collecting all data from a ConfigMap instead of by key
2021-07-26 13:00:06 -06:00
emosbaugh
e2dbb623e3
Merge pull request #396 from replicatedhq/emosbaugh/20210726/cleanup
...
remove debug log
2021-07-26 11:38:29 -06:00
Joris 'Josh' De Winne
6349ae8aee
Adding support for inverted regex ( #370 )
2021-07-26 13:06:30 -04:00
Ethan Mosbaugh
851c91b582
remove debug log
2021-07-26 16:28:11 +00:00
emosbaugh
cf4d510413
Merge pull request #393 from replicatedhq/collect-copy-extractArchive
...
Copy collectors extractArchive property
2021-07-23 08:55:10 -06:00
John Murphy
e0f6cab5b3
Fix removes control characters from non interactive preflight runs ( #394 )
2021-07-23 09:46:36 -05:00
Ethan Mosbaugh
cf7864cd97
Copy collectors extractArchive property
2021-07-23 13:37:57 +00:00
emosbaugh
8dcfa9886d
Copy from host collector ( #391 )
...
* Copy from host collector
* namespace improvements
* better support for multiple nodes
2021-07-22 12:25:59 -07:00
John Murphy
6007f15253
fixed issue where warnings are disseminated along with passes ( #390 )
2021-07-22 08:27:39 -05:00
Andrew Lavery
ba65f92ca2
Merge pull request #389 from replicatedhq/laverya/simplify-text-analyze-code
...
simplify the text analyze code by combining with compareRegex code
2021-07-20 16:32:38 -07:00
Andrew Lavery
6a0fb2e19c
greatly improve coverage by adding regex group tests
2021-07-20 19:15:09 -04:00
Andrew Lavery
6861660460
simplify the text analyze code by combining with compareRegex code
2021-07-20 18:43:09 -04:00
kwsorensen
1ed6100ac8
Feature/validate tcp load balancer address ( #387 )
...
Load Balancer Validation part of troubleshoot pre-flight checks
2021-07-14 14:30:47 -06:00
emosbaugh
39350b5722
ConfigMap collector and secrets can be collected by selectors ( #384 )
...
* ConfigMap collector and secrets can be collected by selectors
* follow docs
* Pass context and kubernetes client to collectors
* collect tests
* analyze tests
* fix tests
* improvements
2021-07-08 16:30:26 -07:00
Andrew Reed
c95dc489a2
Accumulate all longhorn pass results
...
If there are any error or warning results then return those. Otherwise
return a single healthy pass result.
2021-07-08 18:25:10 +00:00
John Murphy
c119a16235
Fixed bugs introduced by handling multiple results in host preflights ( #383 )
...
Fixed bug caused by host preflights not handling empty when clauses, this cropped up because we now handle multiple host preflight results. Also expanded test coverage and added integration test script.
2021-07-08 11:08:53 -05:00
John Murphy
d730e6cad6
fixed tests
2021-07-06 08:42:12 -05:00
John Murphy
7e32de464a
implemented code review suggestion
2021-07-06 08:42:12 -05:00
John Murphy
ae4c07027b
host preflights can produce multiple results
2021-07-06 08:42:12 -05:00
John Murphy
eef54d0021
force timezone to upper case
2021-07-06 08:42:12 -05:00
divolgin
3382d29e96
Merge pull request #379 from replicatedhq/divolgin/apis
...
Update troubleshoot api schema
2021-07-01 11:32:24 -07:00
divolgin
7381d5086c
Update troubleshoot api schema
2021-07-01 17:24:00 +00:00
Andrew Reed
1ed8532663
Speed up replica checksum
2021-07-01 16:52:59 +00:00
Andrew Reed
3833955a58
Always include longhorn namespace
2021-07-01 15:03:28 +00:00
divolgin
52bbc0f2bf
Don't skip TLS validation on http package's default client
2021-06-30 18:22:15 +00:00
divolgin
53e8ee5495
Add a default redactor for postgres db connection string
2021-06-29 22:38:32 +00:00
Andrew Reed
cb3925a0af
Longhorn replica corruption analyzer
...
This automates the procedure from
https://longhorn.io/docs/1.1.1/advanced-resources/data-recovery/corrupted-replica/
2021-06-22 21:55:12 +00:00
Andrew Reed
e1bccd74b5
Analyze longhorn engine
2021-05-27 21:37:39 +00:00
Andrew Reed
a86f5cae7d
Collect all longhorn pod logs
2021-05-27 20:14:05 +00:00
Andrew Reed
0d5f17de3c
Analyze longhorn replica
2021-05-27 19:44:52 +00:00
Andrew Reed
646f7a6991
Longhorn collector for all CRDs
...
Also implement a single analyzer as a proof of concept. More analyzers
can be added using the collected CRDs.
2021-05-26 23:37:15 +00:00
divolgin
c17be3fb73
Do insecure upload if user allows it
2021-05-14 18:21:56 +00:00
Dan Stough
0dd24c702c
fix: use temp directory for storing bundles
2021-05-04 20:29:21 +00:00
Dan Stough
b8622a65ad
chore(support-bundle): refactor out support bundle pkg
2021-05-04 14:41:54 +00:00
Ethan Mosbaugh
9357d5ac96
Include result if not nil regardless of error
2021-04-28 02:58:59 +00:00
Andrew Lavery
25a92dec56
collect rook block device disk stats
...
this contains both max size and currently used size for each PV
2021-04-20 15:41:47 -05:00
divolgin
39cf553a03
Merge pull request #359 from replicatedhq/divolgin/maxage
...
Honor maxAge for log collector if set in the spec
2021-04-19 13:26:29 -07:00
divolgin
e5233dfcf5
Honor maxAge for log collector if set in the spec
2021-04-19 20:15:41 +00:00
Jelena
c43da65afe
More analyzer types checks
2021-04-15 14:30:20 +00:00
jgruica
dd2c2f84e6
Merge pull request #352 from replicatedhq/jelena-analyze-supportbundle
...
Analyze kind support bundle
2021-04-14 14:15:24 -07:00
Andrew Reed
7d7e3c2664
Remove html escaping in fs performance analyzer
2021-04-13 19:35:11 +00:00
Andrew Reed
30f21ac71b
Fix background IOPS blocking until timeout
2021-04-13 18:55:53 +00:00
Andrew Reed
0a6c9836e0
Add timeout to filesystem performance collector
2021-04-13 18:30:18 +00:00