You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
console install checks that the Console actually started #1327
Category: bug Summary:thirdshift console install checks that the Console actually started
Current behavior:
The install script writes the systemd unit, starts it and restarts the proxy, then reports success without checking whether thirdshift-console.service is active. On an SELinux-enforcing host, the service fails, and the user finds out only when the site returns 502.
Desired behavior:
After starting the unit, install waits a bounded time for the service to be active and listening on its configured 127.0.0.1:<port>. If it isn't, install prints the last journal lines for the unit and exits nonzero. When getenforce exists and reports Enforcing, install also prints a warning that SELinux can block the Console and links to #1078.
Key interfaces:
The Console install script generated by thirdshift and the code that runs it
Acceptance criteria:
A test (with the existing fakes) shows install failing nonzero, with journal output, when the service never becomes active
A test shows install succeeding when the service is active and the port answers
The SELinux warning appears only when getenforce reports Enforcing
docs/guide.md describes the new failure output if it covers install
Activity