Commit Graph

186 Commits

Author SHA1 Message Date
Gaurav Mehta 4c35fe47b2 patch k8s vendor files to ensure timestamps from support bundle are retained
Signed-off-by: Gaurav Mehta <gaurav.mehta@suse.com>
2025-10-08 09:31:02 +11:00
James Lu 4484f16e53 fix: check if ENV LONGHORN_LOG_PATH is empty
before collecting the Longhorn logs.

ref: longhorn/longhorn 11744

Signed-off-by: James Lu <jamesluhz@gmail.com>
2025-09-11 18:14:23 +08:00
James Lu 560565c9cc feat(longhorn): collect processes status
Using the "ps auxw" command.

longhorn/longhorn-8397

Signed-off-by: James Lu <jamesluhz@gmail.com>
2025-09-05 12:19:23 +08:00
Jack Yu 15cf56d95f
fix: use random string to avoid duplicated scc folder (#144)
Signed-off-by: Jack Yu <jack.yu@suse.com>
2025-09-01 13:56:42 +08:00
Chin-Ya Huang 98cedae47d chore(cve): update gopkg.in/yaml.v3 to v3.0.1
longhorn/longhorn-11548

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2025-09-01 11:01:19 +08:00
Chin-Ya Huang b568b23903 chore(cve): update k8s.io/kubernetes to v1.33.4
longhorn/longhorn-11548

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2025-09-01 11:01:19 +08:00
Chin-Ya Huang 11e7f1f3f9 feat(longhorn): collect from log-path
longhorn/longhorn-11522

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2025-08-22 10:30:36 +08:00
Gaurav Mehta 12a5a93080 patch vendor files to ensure simulator log routing and timestamp functionality works
Signed-off-by: Gaurav Mehta <gaurav.mehta@suse.com>
2025-08-20 18:50:37 +10:00
Kuan-Po Tseng e8a2c259b5 Fix control characters are not allowed under MacOS
Signed-off-by: Cooper Tseng <cooper.tseng@suse.com>
2025-08-08 22:22:23 +08:00
Luiz Felipe Rosa c78dbbbfa4 doc: adding NoSchedule taint to known issues 2025-07-14 08:21:18 +08:00
Chin-Ya Huang a7e3001604 chore(cve): update bci-base image verion to 15.7
longhorn/longhorn-11239

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2025-07-09 11:39:46 +08:00
Chin-Ya Huang 9a5e70f11a chore(cve): update vendor
longhorn/longhorn-11239

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2025-07-09 11:39:46 +08:00
Chin-Ya Huang d97435447e chore: use constant for manager port
Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2025-06-27 07:38:27 +08:00
Chin-Ya Huang 89473bf8f3 feat(ipv6): add address family support when collecting node bundle
longhorn/longhorn-2259

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2025-06-27 07:38:27 +08:00
Chin-Ya Huang e3ea5df89c test: use constant for TestGenerateNodeZipObjects expectations
Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2025-06-13 16:05:38 +08:00
Chin-Ya Huang 72f4d87cae test: update to reflect on the new sampleSupportBundle.zip
Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2025-06-13 16:05:38 +08:00
Chin-Ya Huang 06b2b4e53f test: replace outdated sampleSupportBundle.zip
Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2025-06-13 16:05:38 +08:00
Chin-Ya Huang 48addf829b fix: golangci-lint failures
Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2025-06-13 16:05:38 +08:00
Chin-Ya Huang dc7ab3c3c1 chore: use latest version of golangci-lint
Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2025-06-13 16:05:38 +08:00
Chin-Ya Huang 88a6f92d34 chore(cve): update dependencies for MEDIUM severity issues
longhorn/longhorn-11106

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2025-06-13 16:05:38 +08:00
Chin-Ya Huang c37d268c4d chore(cve): update dependencies for CRITICAL,HIGH severity issues
longhorn/longhorn-11106

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2025-06-13 16:05:38 +08:00
Chin-Ya Huang d87d59a037 build: enforce the use of vendor directory
longhorn/longhorn-11106

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2025-06-12 10:23:49 +08:00
Chin-Ya Huang 6417d3fbd5 feat(longhorn): collect multipath.conf
longhorn/longhorn-6754

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2025-03-07 06:40:02 +08:00
Chin-Ya Huang 6642be57a2 feat(longhorn): collect proc/mounts
longhorn/longhorn-6754

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2025-03-07 06:40:02 +08:00
Jack Yu 6ae47c431c
chore: add action env (#134)
Signed-off-by: Jack Yu <jack.yu@suse.com>
2025-02-18 11:14:35 +08:00
Jack Yu e7eba1e3ab
chore: remove untrusted action (#133)
Signed-off-by: Jack Yu <jack.yu@suse.com>
2025-02-18 10:24:16 +08:00
Kiefer Chang 3ca30c098f ci: publish artifacts to releases
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
2025-02-12 08:33:18 +08:00
Jack Yu c54f9ff740
bump: go to v1.23 (#132)
Signed-off-by: Jack Yu <jack.yu@suse.com>
2025-02-11 10:37:52 +08:00
Kiefer Chang 84e7dc2e7c Simulator: load simulator CRDs earlier
The NodeConfig CRD was loaded just before loading NodeConfig objects.
There is a chance the client can't get the mapping.
Move the CRD loading to the first stage.

Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
2024-11-27 16:15:22 +08:00
Kiefer Chang 72c1d93919 Simulator: speed up bundle loading
Tune the client side rate limit parameter to speed up bundle loading time.
- Set QPS and Burst to 100 by default.
- Add flags to allow override the values.
2024-11-27 16:15:22 +08:00
Jack Yu 534d441d88 fix: shouldn't set error in optional phases
Signed-off-by: Jack Yu <jack.yu@suse.com>
2024-10-29 09:27:18 +08:00
Gaurav Mehta 6bd0407236 bump k8s deps to v1.29.9
refactored apiserver setup

go mod updates
2024-10-21 13:13:11 +08:00
Chin-Ya Huang 2f54eb6b49 build: upgrade base image to 15.6
longhorn/longhorn-8976

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2024-07-16 09:43:03 +01:00
Jack Yu d3b4eeec43 feat: make phaseCollectPrometheusBundle optional
Signed-off-by: Jack Yu <jack.yu@suse.com>
2024-07-15 14:11:44 +08:00
Jack Yu 70b06021fc feat: add prometheus alerts in support bundle
Signed-off-by: Jack Yu <jack.yu@suse.com>
2024-07-15 14:11:44 +08:00
Jack Yu 25308ba737 bump: golang to v1.22
Signed-off-by: Jack Yu <jack.yu@suse.com>
2024-07-14 09:08:17 +08:00
Eric Weber 93db8a733c Log underlying error when YAML generation fails
support-bundle-kit 99

Signed-off-by: Eric Weber <eric.weber@suse.com>
2024-07-11 11:25:33 +08:00
Vicente Cheng 366d8236d1 collector: improve the log time format
- Now we can get more accurate timestamp

Signed-off-by: Vicente Cheng <vicente.cheng@suse.com>
2024-06-20 17:38:54 +08:00
Vicente Cheng 1224f6968b harvester-collector: move supportconfig to scc folder instead logs
Signed-off-by: Vicente Cheng <vicente.cheng@suse.com>
2024-06-18 11:47:15 +08:00
Vicente Cheng 6aa7109067 build: bump buildx v0.14.1
Signed-off-by: Vicente Cheng <vicente.cheng@suse.com>
2024-06-18 11:47:15 +08:00
Jack Yu 31fc52de06 logs: reviese message
Signed-off-by: Jack Yu <jack.yu@suse.com>
2024-05-23 13:31:44 +08:00
Jack Yu c8b7107347 refactor: add some comments
Signed-off-by: Jack Yu <jack.yu@suse.com>
2024-05-23 13:31:44 +08:00
Jack Yu c15aa86333 feat: add node timeout
Signed-off-by: Jack Yu <jack.yu@suse.com>
2024-05-23 13:31:44 +08:00
Gaurav Mehta 5281830e17 log error details when error is encountered during bundle collection 2024-05-22 10:41:33 +08:00
Gaurav Mehta 5f66ca8d79 fixed timestamps and broken logging 2024-04-29 15:12:21 +08:00
Jack Yu f2110584c2
ci: remove useless build args (#112)
Signed-off-by: Jack Yu <jack.yu@suse.com>
2024-04-25 11:01:09 +08:00
Jack Yu 46b72a97d3 bump: golang to v1.21 and remove harvester dependency
Signed-off-by: Jack Yu <jack.yu@suse.com>
2024-04-23 10:13:28 +08:00
Jack Yu 1a9b8ab7b8
ci: simplify the script/package to speed up local development (#110)
Signed-off-by: Jack Yu <jack.yu@suse.com>
2024-04-22 20:45:13 -05:00
Jack Yu 8a2158dcfd ci: fix arm64
Signed-off-by: Jack Yu <jack.yu@suse.com>
2024-04-16 14:22:00 +08:00
Jack Yu b0c02cbf40
ci: use vault to read secret (#106)
Signed-off-by: Jack Yu <jack.yu@suse.com>
2024-04-12 02:46:26 -05:00