Commit Graph

13407 Commits

Author SHA1 Message Date
Feng Ruohang 11682b125d Merge pull request #362 from pgsty/codex/go-deps-20261125
Refresh server Go dependencies and embed the updated Console
2026-11-25 20:48:11 +08:00
Feng Ruohang b4b5c3378d build: regenerate dependency credits on case-insensitive filesystems
Mark the credits target phony so an existing CREDITS file cannot suppress regeneration. Include the license for the newly linked ABNF parser.

Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-25 20:31:26 +08:00
Feng Ruohang cc596dfb99 build(deps): refresh SILO Go modules and the embedded Console
Use the tested Console source dependency and refresh compatible storage, notification and transport modules. Retain the portable systemd, terminal width and verified upstream S3 SDK selections.

Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-25 20:29:14 +08:00
Feng Ruohang c65395ce86 build(debug): align standalone tool dependencies with SILO
Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-25 20:27:17 +08:00
Feng Ruohang b60a3cd042 Merge pull request #359 from pgsty/codex/embed-console-fixes-91-93
Embed the Console configuration and Windows download fixes
2026-11-25 19:35:18 +08:00
Feng Ruohang c5a0e9c211 build(console): pin the verified layout test revision
Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-25 19:17:05 +08:00
Feng Ruohang c0b12f27aa build(console): embed the configuration and Windows download fixes
Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-25 18:49:42 +08:00
Feng Ruohang 08905a642d Merge pull request #351 from treydock/helm-updates
Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-25 12:21:58 +08:00
Feng Ruohang 3960a36853 Merge branch 'main' into helm-updates 2026-11-25 12:05:02 +08:00
Feng Ruohang c78813cac9 Merge pull request #358 from pgsty/codex/fix-gobwas-ws-6940
Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-25 12:04:42 +08:00
Feng Ruohang e5296263f0 fix(grid): bound WebSocket read reservations and update gobwas/ws
Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-25 11:46:51 +08:00
Trey Dockendorf 2b96153a61 [helm] Improvements to Helm chart
* Support releasing on “chart-<version>” tags, fixes #223
* Add commonLabels that are used on all resources
* Support templated values in numerous locations
* Add oidc.existingConfigMapName and oidc.existingConfigUrlKey
* Add networkPolicy.allowFrom
* support targetLabels on ServiceMonitor
* Support Probe relabelingConfigs
* Allow postJob default containerSecurityContext
* Allow policies to be templated string
* Set MINIO_BROWSER_REDIRECT_URL
* Ensure job egress only enabled when networkPolicy.egress.enabled set

Signed-off-by: Trey Dockendorf <tdockendorf@osc.edu>
2026-11-24 16:34:30 -05:00
Feng Ruohang d66020003c docs(readme): update current release to SILO 20261112 and Console 2.7.2
Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-12 14:20:56 +08:00
Feng Ruohang 44e848fedf ci(release): unset synthetic RELEASE_TAG for Helm check in test-release
Signed-off-by: Feng Ruohang <rh@vonng.com>
RELEASE.2026-11-12T00-00-00Z
2026-11-12 11:28:52 +08:00
Feng Ruohang 52371b906c build(deps): bump embedded Console to v2.7.2 for 20261112 release
Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-12 11:20:36 +08:00
Feng Ruohang 43122f76f1 docs(release): sync post-RC behavior changes, issue refs, and upgrade notes
Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-12 10:18:54 +08:00
Feng Ruohang c83dbe0eaa ci(release): run DCO check on main pushes and verify Helm tag match
Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-12 10:18:54 +08:00
Feng Ruohang 72a6047bf2 build(deps): restore go-systemd v22.6.0 replace for NetBSD
Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-12 10:18:54 +08:00
Feng Ruohang 939cb26001 test(s3): verify corrupted compressed encrypted ranges fail
Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-12 10:18:54 +08:00
Feng Ruohang ea37a7e8b0 fix(s3): enforce tag count and object lock permissions on proxy reads
Skip x-amz-tagging-count and X-Amz-Tagging in setObjectHeaders UserDefined iteration and proxyHeadToRepTarget metadata copies so opts.TaggingCount/opts.Tagging remains the sole gate without emitting duplicate headers. Make FilterObjectLockMetadata case-insensitive so canonical-case X-Amz-Object-Lock-* headers from peer HEAD responses are stripped when s3:GetObjectRetention or s3:GetObjectLegalHold is denied while preserved for authorized callers.

Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-12 10:18:54 +08:00
Feng Ruohang 265c31b714 test(auth): cover STS tag counts before and after read permission
Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-12 08:18:14 +08:00
Feng Ruohang 2ed720a7fb fix(crypto): return client errors for malformed KMS contexts
Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-12 07:49:47 +08:00
Feng Ruohang c39605d4f8 fix(auth): require tag read permission for object tag counts
Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-12 07:49:47 +08:00
Feng Ruohang 7c0a99284f fix(read): handle indexed ranges within the first encrypted block
Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-12 07:49:47 +08:00
Feng Ruohang 34ba7cc1ff Prepare SILO 20261112 release candidate
Harden IAM/bucket/import/replication policy validation, enforce tag and
version authorization across read/copy/list/archive endpoints, bind SigV4
credential-scope dates and streaming trailer limits, validate HTTP SSE-KMS
contexts as strict UTF-8 JSON, add release-commit and coordinated
dependency gates, and pin silo-pkg v3.16.1, Console v2.7.1, mcli 20261112,
Go 1.27.4, and Helm chart 7.0.5.

Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-12 03:06:15 +08:00
Feng Ruohang bae0ba0b75 docs(changelog): sync unreleased decommission, tagging and replication notes
Align unreleased server notes with main commits 293ab78b4 and 8587e061b and the completed site-replication topology snapshot, pooled copy rewrite, and batch KMS UTF-8 fixes.

Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 15:49:35 +08:00
Feng Ruohang cd3e46a2b7 fix(copy): preserve compression index on pooled copy rewrites
Forward dstOpts.IndexCB into erasureServerPools.CopyObject's PutObject options so multi-block S2 compressed copies (> compMinIndexSize) rewritten across pools persist Parts[0].Index for O(1) block-level ranged GET seeking.

Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 15:49:35 +08:00
Feng Ruohang ef6efd3120 fix(site-replication): snapshot state before bucket healing and peer hooks
Snapshot site-replication topology and release the state read lock before bucket healing, metadata healing, IAM deletion healing, and replication hooks perform storage I/O or peer RPCs. Guard remaining peer-state reads and cloning edits so concurrent configuration updates neither deadlock waiting writers nor race on state maps.

Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 15:43:41 +08:00
Feng Ruohang 4a9bdb5407 fix(batch): reject invalid UTF-8 before KMS context rotation
Reject contexts whose JSON serialization could change associated data or collapse distinct keys. Validate both submissions and persisted jobs before changing an object key; retain valid Unicode, including replacement characters.

Exercise malformed-key collisions, invalid values, manifest reload failures and readback with the real builtin KMS. Refs #346.

Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 15:30:11 +08:00
Feng Ruohang 2f228284f3 fix(replication): collect site status without holding topology locks
Snapshot peers before concurrent status collection and release the state lock before local metadata and IAM reads. Keep result indexing, peer credentials and errors tied to that snapshot; return a copied current peer state with cached IAM data.

Cover storage, remote requests, configuration changes, cancellation and cached peer state. Confirm the healing entry and all five helpers with deterministic writer probes under the race detector. Refs #341.

Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 15:30:11 +08:00
Feng Ruohang e36ea51d9c fix(copy): preserve authoritative content when pools are moving
Bind in-place metadata updates to the same version and pool as reads. Resolve encryption and checksum rewrites before write placement while retaining the SSE-C rewrap fast path and invalid self-copy checks.

Add HTTP and object-layer regressions for moving pools, duplicate bodies, null versions, timestamp ties and active-pool rewrites. Refs #343.

Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 15:30:11 +08:00
Feng Ruohang 3ce07a943b test(copy): cover KMS context and moving source pools
Exercise historical-version copies with real KMS associated data, SSE-C sources in draining pools, and SSE-KMS sources in rebalancing pools. Check destination placement and read all old and new versions.

Refs #343

Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 15:30:11 +08:00
Feng Ruohang 3c35cebe9e test: format attributes read-error regression
Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 15:30:11 +08:00
Feng Ruohang ae483baca1 docs: record unreleased repair and compatibility boundaries
Document archive authorization, explicit-version bulk-delete cost, migration progress, restore and copy repairs, and coordinated IAM and batch behavior without changing released history.

Fixes #348

Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 15:30:11 +08:00
Feng Ruohang 99fb47fbb9 fix(batch): align variable preflight with policy evaluation
Treat unsupported variable spellings as literals, inspect only condition values, and decode BinaryEquals before checking required context. Keep missing request variables fail-closed.

Fixes #347

Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 15:30:11 +08:00
Feng Ruohang 467ce760ed fix(batch): restore KMS context from persisted rotation options
Decode context without shared cached state for validation and execution, and isolate probe-only associated data. Cover manifest reload, retry and authenticated decryption after rotation.

Fixes #346

Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 15:30:11 +08:00
Feng Ruohang b5d97e3e1f fix(restore): ignore derived data-dir flag in revision identity
Keep restored versions consistent across expiry and successive heals while preserving metadata, layout and non-object revision distinctions.

Fixes #344

Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 15:30:11 +08:00
Feng Ruohang a8824b341f fix(copy): plan historical version placement before transforms
Locate exact versions for in-place updates and rewrite cross-pool references through the encryption and compression pipeline selected before copying.

Fixes #343

Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 15:30:11 +08:00
Feng Ruohang f746d07076 fix(auth): authorize attributes and archive reads with stored tags
Require both Attributes actions on the addressed version and GetObject permission for archive listings. Preserve conditional allows, missing-object masks and retryable storage errors.

Fixes #342

Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 15:30:11 +08:00
Feng Ruohang 745fbf0437 fix(site-replication): release heal read lock before hooks
Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 15:30:11 +08:00
Feng Ruohang 8587e061bb fix(decom): tolerate offline drives within erasure quorum
Verify migration progress and final source cleanup on every online drive, allowing disk-not-found failures within the configured read quorum. Preserve strict rejection of online metadata remnants, corruption and directory errors. Cover parent and child migration with an offline drive and reject outages beyond parity.

Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 13:39:38 +08:00
Feng Ruohang 293ab78b4c fix(auth): authorize tagging replicas without rejecting replication lag
Share the remote tag read and authorization path between GET and mutations. Authorize every present replica, fail closed on unreadable targets, and skip missing replicas unless all targets are absent. Gate remote reads on possible caller access and preserve retryable local read failures for DELETE tagging.

Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 13:39:19 +08:00
Feng Ruohang 67a90dfef4 fix(auth): authorize every tagging proxy destination
Read and authorize every selected remote version before any tagging mutation, and retain the inspected clients for the write phase. Count only attempted writes so disabled targets cannot mask remote failures. Preserve remote errors and missing-version behavior.

Cover PUT and DELETE across both erasure backends with divergent tags, invalid credentials, anonymous requests, unavailable reads, missing versions and skipped targets. Refs #337.

Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 11:47:56 +08:00
Feng Ruohang 62b8784428 fix: satisfy integrated server verifiers
Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 11:40:24 +08:00
Feng Ruohang 5dc4bd6a1d Fix pool migration cleanup and physical progress
Count removal only after every source drive confirms version absence, including free records and concurrently deleted parents. Retire successful candidates independently with the existing source, destination and tier ownership checks. Reject ambiguous raw reads, verify remaining metadata directly, and propagate cancellation.

Signed-off-by: Feng Ruohang <rh@vonng.com>
(cherry picked from commit b1a97c7e6cc7ab5f44110b5b8258afb60a50053e)
2026-11-11 11:25:32 +08:00
Feng Ruohang cf486df661 Fix Object Lock replica reconciliation boundaries
Reconcile CopyObject lock and tag revisions with the addressed destination,
including missing versions and self-referential copies. Preserve active
COMPLIANCE across pool orderings, lifecycle decisions and set-level writes.

Require retention authorization for source retention revisions, advance local
lock and tag revisions monotonically, and fail force-delete before option
parsing when bucket lock configuration cannot be read. Preserve authorized
same-content replication and existing encryption and tier cleanup behavior.

Signed-off-by: Feng Ruohang <rh@vonng.com>
(cherry picked from commit a08c3d149dcccad74dd68ab374c02f56379181be)
2026-11-11 11:20:19 +08:00
Feng Ruohang 1d714834c5 fix(iam): normalize service policies and preserve imported state
Keep omitted edit policies unchanged, reset valid empty policies to inheritance, and normalize nonempty policies without a version before storage. Preserve caller policy objects and exclude derived authorization claims from snapshots and new JWTs.

Restore imported service-account and group status, report the actual group error, and cover creation, editing, replication, import/export and raw JWT claims with focused server tests.

Refs #339, #345.

Signed-off-by: Feng Ruohang <rh@vonng.com>
(cherry picked from commit 86e4c09d47f48cb2f44fb2f63f02f222ac6ae102)
2026-11-11 11:17:55 +08:00
Feng Ruohang 14ecb222e7 fix(auth): secure proxied tagging and streaming trailers
Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 11:13:26 +08:00
Feng Ruohang e51bff35a3 Merge service-account replication fix into main
Include the remaining committed IAM snapshot fix from claude/lucid-hopper-811f3d. Preserve the current contributor inventory and previously integrated fixes while adding the service-account replication release note.

Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 00:12:08 +08:00
Feng Ruohang 20b3bfb6e7 Merge verified prerelease fixes into main
Signed-off-by: Feng Ruohang <rh@vonng.com>
2026-11-11 00:08:25 +08:00