Repository navigation
Add local admin UI with live iSCSI metrics and target controls - #6
Merged
Merged
Conversation
added 2 commits
November 7, 2026 15:55
Add an optional loopback-only admin UI embedded in kouja-agent, including raw configuration editing, TLS certificate display, live VG and class management, client certificate downloads, status views, and live iSCSI traffic/error metrics with client IP and port connections. Add the interactive TLS/config initializer, release binary layout, CI UI build, design documentation, and tests.
Add an admin UI action that force-unexports a live iSCSI target, drops active sessions, and retains the volume and export definition in SQLite. The shared operation manager handles locking, journaling, credentials, and forced teardown.
added 2 commits
November 7, 2026 16:14
Recreate the live target from the retained export definition, generating a new credential when the previous disable superseded it. Expose the action in the volume table for unexported iSCSI exports.
Admin disable now keeps the active credential instead of superseding it, so re-enabling the target does not force initiator secret changes. Explicit client rotation remains the only automatic rotation path for this feature.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an optional local admin UI embedded in
kouja-agent, plus live iSCSI traffic and connection metrics.Admin UI
127.0.0.1:9444, disabled by default, no authentication.Live iSCSI metrics
/proc/net/tcp(6), mapped to the target and initiator where unambiguous./api/status.iSCSI target control
available/unexportedstate.Setup and release
deploy/kouja-init.shTLS/config initializer.make allproduces release binaries plusbin/config.example.yamlandbin/kouja-init.sh.make build-gofallback.docs/designs/admin-ui.md.Security notes
Validation
make allmake testmake test-bddmake coverage-check(80.2%)make lint(0 issues)internal/adminuiandinternal/target/proc/net/tcpprobe