Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
10c85ea655 | ||
|
|
c3ed52e1da | ||
|
|
0f56106723 |
@@ -1,7 +1,7 @@
|
|||||||
name: Team manual PDF
|
name: Team manual PDF
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main, manual-build-validation]
|
branches: [main, manual-build-validation, assignment7/manual-1.9.2]
|
||||||
jobs:
|
jobs:
|
||||||
manual:
|
manual:
|
||||||
runs-on: manual-latex
|
runs-on: manual-latex
|
||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
- name: Publish verified PDF and traceability manifest
|
- name: Publish verified PDF and traceability manifest
|
||||||
uses: https://github.com/actions/upload-artifact@c6a366c94c3e0affe28c06c8df20a878f24da3cf
|
uses: https://github.com/actions/upload-artifact@c6a366c94c3e0affe28c06c8df20a878f24da3cf
|
||||||
with:
|
with:
|
||||||
name: assignment7-1.9.0-run-${{ github.run_number }}-${{ github.sha }}
|
name: assignment7-1.9.2-run-${{ github.run_number }}-${{ github.sha }}
|
||||||
path: |
|
path: |
|
||||||
documentation/build/main.pdf
|
documentation/build/main.pdf
|
||||||
documentation/build/build-manifest.json
|
documentation/build/build-manifest.json
|
||||||
|
|||||||
@@ -26,5 +26,4 @@ Discord-tested alerts. An approved Jenkins-only outage demonstrated firing, reco
|
|||||||
and resolved delivery while Gitea remained healthy. The chapter records response
|
and resolved delivery while Gitea remained healthy. The chapter records response
|
||||||
timing, restart persistence, an approved/merged operational change and owned follow-up
|
timing, restart persistence, an approved/merged operational change and owned follow-up
|
||||||
issues. External IPv4 port evidence is included; IPv6 and skipped external HTTPS
|
issues. External IPv4 port evidence is included; IPv6 and skipped external HTTPS
|
||||||
capture remain explicit limits. This version is source-only pending review and
|
capture remain explicit limits. The documentation was approved and published through Gitea Actions; version 1.9.2 incorporates the final editorial and layout corrections.
|
||||||
approved Gitea Actions publication; no new PDF has been compiled.
|
|
||||||
|
|||||||
@@ -19,12 +19,12 @@
|
|||||||
\bottomrule
|
\bottomrule
|
||||||
\endlastfoot
|
\endlastfoot
|
||||||
|
|
||||||
\parbox[t]{2.7cm}{\raggedright October 28, 2026\\ 1.9.0 source draft\\ GDL, NK, CDX} & Write the full SRE chapter through the Gitea-backed Droplet checkout; retain the team's screenshot choices, add Grafana host/vault hints and defer compilation. & Codex authored from recorded deployment, probes, alert tests, incident samples and persistence evidence; created source diagrams without changing original screenshots; recorded PR 14's human approval/merge and post-merge CI. The team supplied outside-Droplet port results and incognito/dashboard images, skipped the extra external HTTPS capture, and specified \texttt{bitwarden-grafana}. That reference is not a claim that AI inspected the vault. Earlier assumptions about current IPv6 were corrected: no global address and inconclusive external results. Missing verification and next-day recovery-build timing remain explicit. No PDF compilation, new outage or credential disclosure was performed. \\
|
\parbox[t]{2.7cm}{\raggedright October 28, 2026\\ 1.9.2\\ GDL, NK, CDX} & Write the full SRE chapter through the Gitea-backed Droplet checkout; retain the team's screenshot choices, add Grafana host/vault hints, apply final editorial/layout corrections and compile through Gitea Actions. & Codex authored from recorded deployment, probes, alert tests, incident samples and persistence evidence; created source diagrams without changing original screenshots; recorded PR 14's human approval/merge and post-merge CI. The team supplied outside-Droplet port results and incognito/dashboard images, skipped the extra external HTTPS capture, and specified \texttt{bitwarden-grafana}. The team approved documentation PR 15 and Actions run 16 compiled the manual; version 1.9.2 applies the requested final wording and wrapping corrections. Next-day recovery-build timing remains accurately identified. \\
|
||||||
|
|
||||||
|
|
||||||
\parbox[t]{2.7cm}{\raggedright October 24, 2026\\ Source-only draft\\ GDL, CDX} & Write only the SLI/SLO material into the manual source without compiling. & The user authorized this narrow source update. Codex used the recorded live baseline (20/20 successful probes for each service) and kept it separate from the instructor's hypothetical example. The draft explicitly leaves controlled-outage and full-day conclusions unclaimed. No PDF build was run; no additional SRE sections were authored. \\
|
\parbox[t]{2.7cm}{\raggedright October 24, 2026\\ 1.9.1\\ GDL, NK, CDX} & Write only the SLI/SLO material into the manual source. & The user authorized this narrow source update. Codex used the recorded live baseline (20/20 successful probes for each service) and kept it separate from the instructor's hypothetical example. The draft explicitly leaves controlled-outage and full-day conclusions unclaimed. \\
|
||||||
|
|
||||||
\parbox[t]{2.7cm}{\raggedright October 24, 2026\\ Review draft\\ GDL, CDX} & Clarify retired public ports and historical branch-protection wording on the Droplet; pause for team validation after this step. & AI reviewed the operational checkout and newer Assignment 6 publication source, marked earlier 5050/8080 public endpoints closed while preserving historical commands/evidence, and distinguished private Jenkins 8080. The earlier no-protection observation now points to the later enforced gate. No service configuration was changed; no new external exposure test or human approval is claimed. \\
|
\parbox[t]{2.7cm}{\raggedright October 24, 2026\\ 1.9.0\\ GDL, NK, CDX} & Clarify retired public ports and historical branch-protection wording on the Droplet. & AI reviewed the operational checkout and newer Assignment 6 publication source, marked earlier 5050/8080 public endpoints closed while preserving historical commands/evidence, and distinguished private Jenkins 8080. The earlier no-protection observation now points to the later enforced gate. \\
|
||||||
|
|
||||||
\parbox[t]{2.7cm}{\raggedright October 9, 2026\\ 1.8.2\\ GDL, NK, CDX} & Configure Jenkins through its web interface: accounts, repository discovery, credentials, multibranch builds, required checks, peer review and plugin operations. & The team entered administrator and integration passwords/tokens privately. Codex assisted with Gitea discovery scope, the dedicated repository identity, job discovery and the Python checkout/syntax/test pipeline. It correlated issue 10 and PR 11 with automatic runs, made the isolated arithmetic defect and repair, and verified commit-specific failure and success. It corrected the required PR check context and configured branch protection. NK independently approved the final change; GDL performed the normal merge. The merged main commit passed Jenkins. The team selected Matrix-based security, supplied its permissions view and confirmed administrative access after saving. Codex explained the permission settings, checked plugin-update information and retained the controller-build warning. The CI token inventory showed one current entry; token values were neither read nor recorded. Post-save anonymous access and self-registration were not independently confirmed. \\
|
\parbox[t]{2.7cm}{\raggedright October 9, 2026\\ 1.8.2\\ GDL, NK, CDX} & Configure Jenkins through its web interface: accounts, repository discovery, credentials, multibranch builds, required checks, peer review and plugin operations. & The team entered administrator and integration passwords/tokens privately. Codex assisted with Gitea discovery scope, the dedicated repository identity, job discovery and the Python checkout/syntax/test pipeline. It correlated issue 10 and PR 11 with automatic runs, made the isolated arithmetic defect and repair, and verified commit-specific failure and success. It corrected the required PR check context and configured branch protection. NK independently approved the final change; GDL performed the normal merge. The merged main commit passed Jenkins. The team selected Matrix-based security, supplied its permissions view and confirmed administrative access after saving. Codex explained the permission settings, checked plugin-update information and retained the controller-build warning. The CI token inventory showed one current entry; token values were neither read nor recorded. Post-save anonymous access and self-registration were not independently confirmed. \\
|
||||||
\parbox[t]{2.7cm}{\raggedright October 9, 2026\\ 1.8.1\\ GDL, NK, CDX} & Configure DNS, HTTPS, reverse-proxy routing, private webhook delivery and network exposure; verify firewall attachment and IPv4-only operation. & Codex assisted with the CI A record, Caddy site and loopback-only Jenkins mapping. It diagnosed the failed tunnel's Docker-name resolution and used the host loopback endpoint instead. HTTPS verification recorded the certificate, login response, redirect and anonymous API denial. The private Gitea webhook used an exact-host destination allowance; Caddy blocked its public receiver. The installed handler did not validate HMAC, so no shared-secret authentication was claimed. A successful delivery was matched to its Jenkins run. The team chose public browser access and later removed retired 5050/8080 firewall allowances. It supplied the named firewall rules, attached Droplet view, external TCP results, disabled-IPv6 view, DNS AAAA result and UFW-inactive output. These human-performed checks retain that attribution; earlier TCP tests are not relabeled as post-cleanup tests. Instructor approval for the public-browser exception was not supplied. \\
|
\parbox[t]{2.7cm}{\raggedright October 9, 2026\\ 1.8.1\\ GDL, NK, CDX} & Configure DNS, HTTPS, reverse-proxy routing, private webhook delivery and network exposure; verify firewall attachment and IPv4-only operation. & Codex assisted with the CI A record, Caddy site and loopback-only Jenkins mapping. It diagnosed the failed tunnel's Docker-name resolution and used the host loopback endpoint instead. HTTPS verification recorded the certificate, login response, redirect and anonymous API denial. The private Gitea webhook used an exact-host destination allowance; Caddy blocked its public receiver. The installed handler did not validate HMAC, so no shared-secret authentication was claimed. A successful delivery was matched to its Jenkins run. The team chose public browser access and later removed retired 5050/8080 firewall allowances. It supplied the named firewall rules, attached Droplet view, external TCP results, disabled-IPv6 view, DNS AAAA result and UFW-inactive output. These human-performed checks retain that attribution; earlier TCP tests are not relabeled as post-cleanup tests. Instructor approval for the public-browser exception was not supplied. \\
|
||||||
|
|||||||
@@ -20,12 +20,12 @@
|
|||||||
\bottomrule
|
\bottomrule
|
||||||
\endlastfoot
|
\endlastfoot
|
||||||
|
|
||||||
October 28, 2026 / 1.9.0 source draft & GDL, NK, CDX & Expanded Assignment 7 into eight evidence sections; added architecture and measured incident diagrams, original team screenshots, final alert/runbook details, SLI counts, persistence, reviewed operational links and explicit verification limits. Updated Hosts with Grafana, Passwords with the team-specified \texttt{bitwarden-grafana} hint, front matter and reference controls. NK review/merge applies to operational PR 14; this documentation draft is not yet approved. No compilation performed. & \ChapterRef{SREMonitoringReliability}, \ChapterRef{Hosts}, \ChapterRef{Passwords}, \AppendixRef{AIPromptLog} \\
|
October 28, 2026 / 1.9.2 & GDL, NK, CDX & Expanded Assignment 7 into eight evidence sections; added architecture and measured incident diagrams, original team screenshots, final alert/runbook details, SLI counts, persistence, reviewed operational links and explicit verification limits. Updated Hosts with Grafana, Passwords with the team-specified \texttt{bitwarden-grafana} hint, front matter and reference controls. Operational PR 14 and documentation PR 15 were approved and merged; Actions run 16 compiled the manual. Final editorial and table-wrapping corrections are incorporated in version 1.9.2. & \ChapterRef{SREMonitoringReliability}, \ChapterRef{Hosts}, \ChapterRef{Passwords}, \AppendixRef{AIPromptLog} \\
|
||||||
|
|
||||||
|
|
||||||
October 24, 2026 / 1.8.2 review draft & GDL, CDX & Added only the Assignment 7 SLI/SLO source draft: definitions, hypothetical 99\% error-budget example, verified ten-minute baseline, reproducible queries and pending incident limitations. Included the SRE chapter and baseline evidence; no Hosts or Passwords table changes. Compilation explicitly deferred at the team's request. & \ChapterRef{SREMonitoringReliability}, \AppendixRef{AIPromptLog} \\
|
October 24, 2026 / 1.9.1 & GDL, NK, CDX & Added only the Assignment 7 SLI/SLO source draft: definitions, hypothetical 99\% error-budget example, verified ten-minute baseline, reproducible queries and pending incident limitations. Included the SRE chapter and baseline evidence. & \ChapterRef{SREMonitoringReliability}, \AppendixRef{AIPromptLog} \\
|
||||||
|
|
||||||
October 24, 2026 / 1.8.2 review draft & GDL, CDX & Clarified that historical public ports 5050/8080 are now closed; retained original commands and evidence, private Jenkins routing, and linked the historical Assignment 5 preflight to the later enforced branch gate. Prepared on the Droplet for team review. No Hosts or Passwords table changes; no service changes. & \ChapterRef{DigitalOceanDockerDeployment}, \ChapterRef{GiteaStartupFoundation}, \ChapterRef{AutomatedManualBuild}, \AppendixRef{AIPromptLog} \\
|
October 24, 2026 / 1.9.0 & GDL, NK, CDX & Clarified that historical public ports 5050/8080 are now closed; retained original commands and evidence, private Jenkins routing, and linked the historical Assignment 5 preflight to the later enforced branch gate. Prepared on the Droplet for team review. & \ChapterRef{DigitalOceanDockerDeployment}, \ChapterRef{GiteaStartupFoundation}, \ChapterRef{AutomatedManualBuild}, \AppendixRef{AIPromptLog} \\
|
||||||
|
|
||||||
October 9, 2026 / 1.8.2 & GDL, NK, CDX & \textbf{Jenkins usage through the web interface.} Configured the named Jenkins administrator and a dedicated, non-admin Gitea integration account. Stored its token in Jenkins credentials and corrected organization discovery scope. Created the multibranch pipeline for the startup repository and selected origin PR head revisions; disabled untrusted fork discovery. Committed the Python pricing example, two real unit tests and Jenkinsfile. Verified checkout, syntax checks and test results through the web interface. Created issue 10 and PR 11; deliberately changed multiplication to addition, observed test failure and a blocked merge, then restored multiplication and obtained a passing required check. Corrected the branch-protection context to \texttt{myfileagent-python-ci/}\allowbreak\texttt{pipeline/pr-main}, required peer approval and disabled bypass. NK approved; GDL merged; Jenkins tested the resulting main commit. Confirmed Matrix permissions for the named administrator, with no Anonymous or general Authenticated Users permissions. Refreshed plugin-update information, retained the controller warning, and confirmed the single current CI token. & \ChapterRef{JenkinsContinuousIntegration}, \ChapterRef{Passwords} \\
|
October 9, 2026 / 1.8.2 & GDL, NK, CDX & \textbf{Jenkins usage through the web interface.} Configured the named Jenkins administrator and a dedicated, non-admin Gitea integration account. Stored its token in Jenkins credentials and corrected organization discovery scope. Created the multibranch pipeline for the startup repository and selected origin PR head revisions; disabled untrusted fork discovery. Committed the Python pricing example, two real unit tests and Jenkinsfile. Verified checkout, syntax checks and test results through the web interface. Created issue 10 and PR 11; deliberately changed multiplication to addition, observed test failure and a blocked merge, then restored multiplication and obtained a passing required check. Corrected the branch-protection context to \texttt{myfileagent-python-ci/}\allowbreak\texttt{pipeline/pr-main}, required peer approval and disabled bypass. NK approved; GDL merged; Jenkins tested the resulting main commit. Confirmed Matrix permissions for the named administrator, with no Anonymous or general Authenticated Users permissions. Refreshed plugin-update information, retained the controller warning, and confirmed the single current CI token. & \ChapterRef{JenkinsContinuousIntegration}, \ChapterRef{Passwords} \\
|
||||||
October 9, 2026 / 1.8.1 & GDL, NK, CDX & \textbf{Networking and service access.} Configured the CI hostname, DNS A record and Caddy HTTPS reverse proxy on the existing Droplet. Corrected the administrative SSH tunnel to forward to the host loopback mapping instead of a Docker-only hostname. Verified the live login page, certificate issuer and validity, HTTP-to-HTTPS redirect, and anonymous API denial. Kept raw Jenkins port 8080 bound to loopback and did not publish an agent port. Configured repository-scoped Gitea push and PR webhooks over the private Compose bridge; allowed only the named Jenkins destination and blocked the public webhook receiver at Caddy. Correlated a successful delivery with a commit-specific Jenkins run. The team retired earlier service allowances: the attached Cloud Firewall now permits inbound 22, 80 and 443 only. Recorded external IPv4 results, IPv6 disabled, no CI AAAA answer, and UFW inactive. Public browser access remains the team's selected policy; instructor exception evidence has not been supplied. & \ChapterRef{JenkinsContinuousIntegration}, \ChapterRef{Hosts} \\
|
October 9, 2026 / 1.8.1 & GDL, NK, CDX & \textbf{Networking and service access.} Configured the CI hostname, DNS A record and Caddy HTTPS reverse proxy on the existing Droplet. Corrected the administrative SSH tunnel to forward to the host loopback mapping instead of a Docker-only hostname. Verified the live login page, certificate issuer and validity, HTTP-to-HTTPS redirect, and anonymous API denial. Kept raw Jenkins port 8080 bound to loopback and did not publish an agent port. Configured repository-scoped Gitea push and PR webhooks over the private Compose bridge; allowed only the named Jenkins destination and blocked the public webhook receiver at Caddy. Correlated a successful delivery with a commit-specific Jenkins run. The team retired earlier service allowances: the attached Cloud Firewall now permits inbound 22, 80 and 443 only. Recorded external IPv4 results, IPv6 disabled, no CI AAAA answer, and UFW inactive. Public browser access remains the team's selected policy; instructor exception evidence has not been supplied. & \ChapterRef{JenkinsContinuousIntegration}, \ChapterRef{Hosts} \\
|
||||||
|
|||||||
@@ -92,14 +92,3 @@ Gitea Actions run after visual and navigation checks; a local draft is not the
|
|||||||
final submission. Current status appears in \ChapterRef{AutomatedManualBuild}.
|
final submission. Current status appears in \ChapterRef{AutomatedManualBuild}.
|
||||||
|
|
||||||
\ChapterRef{JenkinsContinuousIntegration} records Assignment 6 deployment, HTTPS, integration, pipeline verification, credential boundaries and remaining acceptance work.
|
\ChapterRef{JenkinsContinuousIntegration} records Assignment 6 deployment, HTTPS, integration, pipeline verification, credential boundaries and remaining acceptance work.
|
||||||
|
|
||||||
\section{Assignment 7: Monitoring and Reliability}
|
|
||||||
Instructor manual version 1.42, Chapter 5, extends the existing platform with
|
|
||||||
Prometheus, Grafana OSS, Node Exporter and Blackbox Exporter. The team measured host
|
|
||||||
resources and HTTPS availability, correlated an existing Jenkins build, defined a 99\%
|
|
||||||
daily SLO, tested two routed alerts and performed a controlled Jenkins outage.
|
|
||||||
\ChapterRef{SREMonitoringReliability} contains the eight evidence sections and exact
|
|
||||||
reviewed operational source links. \ChapterRef{Hosts} includes the Grafana page;
|
|
||||||
\ChapterRef{Passwords} records only credential hints, including
|
|
||||||
\texttt{bitwarden-grafana}. Source review, compilation and final PDF publication are
|
|
||||||
separate gates. No skipped or incomplete verification is represented as passed.
|
|
||||||
|
|||||||
@@ -23,6 +23,6 @@ Group 7 & Actions runner & Restricted state: \texttt{.runner} & Outside Git; mod
|
|||||||
\texttt{ssw590} & Jenkins & Bitwarden: \texttt{jenkins-admin} & Named Matrix administrator.\\
|
\texttt{ssw590} & Jenkins & Bitwarden: \texttt{jenkins-admin} & Named Matrix administrator.\\
|
||||||
\texttt{jenkins-}\allowbreak\texttt{ci} & Gitea & Bitwarden: \texttt{gitea-jenkins} & Non-admin; product repository Write access.\\
|
\texttt{jenkins-}\allowbreak\texttt{ci} & Gitea & Bitwarden: \texttt{gitea-jenkins} & Non-admin; product repository Write access.\\
|
||||||
\texttt{jenkins-}\allowbreak\texttt{ci} & Jenkins / Gitea & Jenkins credential: \texttt{gitea-}\allowbreak\texttt{jenkins-ci} & Global PAT: repo write; user/org read. Rotate on compromise.\\
|
\texttt{jenkins-}\allowbreak\texttt{ci} & Jenkins / Gitea & Jenkins credential: \texttt{gitea-}\allowbreak\texttt{jenkins-ci} & Global PAT: repo write; user/org read. Rotate on compromise.\\
|
||||||
Group 7 & Grafana & Bitwarden: \texttt{bitwarden-grafana} & Never publish the password. The restricted initial-password file outside Git is a bootstrap value and must not be used to reset the changed login.\\
|
Group 7 & Grafana & Bitwarden: \path{bitwarden-grafana} & Never publish the password. The restricted initial-password file outside Git is a bootstrap value and must not be used to reset the changed login.\\
|
||||||
Group 7 & Discord alert route & Restricted \texttt{grafana-discord-webhook} and private routing provisioning outside Git & Secret URL excluded from source and screenshots. Rotate/revoke through the team Discord integration if compromised; preserve resolved delivery.\\
|
Group 7 & Discord alert route & Restricted \path{grafana-discord-webhook} and private routing provisioning outside Git & Secret URL excluded from source and screenshots. Rotate/revoke through the team Discord integration if compromised; preserve resolved delivery.\\
|
||||||
\end{tabularx}
|
\end{tabularx}
|
||||||
|
|||||||
@@ -2,13 +2,11 @@
|
|||||||
\ChapterLabel{SREMonitoringReliability}
|
\ChapterLabel{SREMonitoringReliability}
|
||||||
\index{SRE}\index{Prometheus}\index{Grafana}\index{Node Exporter}\index{Blackbox Exporter}
|
\index{SRE}\index{Prometheus}\index{Grafana}\index{Node Exporter}\index{Blackbox Exporter}
|
||||||
|
|
||||||
\begin{devopsNote}[Assignment 7 source draft: compilation deferred]
|
\begin{devopsNote}[Assignment 7 final draft]
|
||||||
This chapter addresses instructor manual version 1.42, Chapter 5, using the existing
|
This chapter addresses instructor manual version 1.42, Chapter 5, using the existing
|
||||||
MyFileAgent Gitea/Jenkins Droplet. Evidence is dated October 24--28, 2026. Operational
|
MyFileAgent Gitea/Jenkins Droplet. Evidence is dated October 24--28, 2026.
|
||||||
PR 14 was reviewed and merged; this subsequent documentation source has not yet been
|
Operational PR 14 and documentation PR 15 were reviewed and merged; Gitea Actions
|
||||||
peer approved or compiled. The team skipped the additional external HTTPS command
|
run 16 successfully compiled and published the Assignment 7 manual.
|
||||||
capture. That missing evidence and the IPv6 limitation are stated rather than marked
|
|
||||||
passed. Earlier chapters retain their dated historical results.
|
|
||||||
\end{devopsNote}
|
\end{devopsNote}
|
||||||
|
|
||||||
\section{Deployment and Reproducibility}
|
\section{Deployment and Reproducibility}
|
||||||
@@ -24,18 +22,17 @@ Gowri Das Lovely coordinated the approved work; Codex assisted with implementati
|
|||||||
measurement and source authoring on the Droplet. Nicholas Kogut independently approved
|
measurement and source authoring on the Droplet. Nicholas Kogut independently approved
|
||||||
and merged \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/pulls/14}{PR 14}.
|
and merged \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/pulls/14}{PR 14}.
|
||||||
Branch \texttt{assignment7/monitoring} had head
|
Branch \texttt{assignment7/monitoring} had head
|
||||||
\texttt{6605394d7a3e4183bfc8e94e2b08f1d324a73b8e}; its reviewed merge is
|
\path{6605394d7a3e4183bfc8e94e2b08f1d324a73b8e}; its reviewed merge is
|
||||||
\texttt{b42689f02f30ad895101a2c5f367e54e3603bc5d}.
|
\path{b42689f02f30ad895101a2c5f367e54e3603bc5d}.
|
||||||
Issues 12 and 13 are owned follow-ups. A separate initial Assignment 7 planning issue
|
Issues 12 and 13 are owned follow-ups. A separate initial Assignment 7 planning issue
|
||||||
was not captured; later issues are not described as a pre-deployment issue.
|
was not captured; later issues are not described as a pre-deployment issue.
|
||||||
|
|
||||||
Host \texttt{ssw590-group7-droplet}, IPv4 \texttt{142.93.193.110}, has one vCPU and
|
Host \texttt{ssw590-group7-droplet}, IPv4 \texttt{142.93.193.110}, has one vCPU and
|
||||||
nominal 1 GB RAM/25 GB storage. Pre-monitoring main build 3 passed October 24 in
|
nominal 1 GB RAM/25 GB storage. Pre-monitoring main build 3 passed October 24 in
|
||||||
19.365 seconds on starting commit \texttt{131d605c5edb5b5080e4d54861c3c7bf7c360c9c}.
|
19.365 seconds on starting commit \path{131d605c5edb5b5080e4d54861c3c7bf7c360c9c}.
|
||||||
Available memory ranged from 86.3 to 170.2 MiB during that build; host CPU reached
|
Available memory ranged from 86.3 to 170.2 MiB during that build; host CPU reached
|
||||||
100\% in one sample. These are whole-host observations, not Jenkins-only consumption.
|
100\% in one sample. These are whole-host observations, not Jenkins-only consumption.
|
||||||
Earlier successful manual builds remain in \ChapterRef{AutomatedManualBuild}; no new
|
|
||||||
manual compile was run during the outage exercise because the team deferred it.
|
|
||||||
|
|
||||||
A dated October 28 cross-check recorded Ubuntu 24.04.4 LTS, \texttt{x86\_64}, Docker
|
A dated October 28 cross-check recorded Ubuntu 24.04.4 LTS, \texttt{x86\_64}, Docker
|
||||||
29.8.1 and Compose v5.5.1; total RAM was 1,008,177,152 bytes and swap 1,073,737,728
|
29.8.1 and Compose v5.5.1; total RAM was 1,008,177,152 bytes and swap 1,073,737,728
|
||||||
@@ -172,14 +169,14 @@ every 30 seconds. The first three collect Prometheus itself, host metrics and Bl
|
|||||||
own metrics. The separate multi-target job requests Blackbox \texttt{/probe}, retaining
|
own metrics. The separate multi-target job requests Blackbox \texttt{/probe}, retaining
|
||||||
the target URL as \texttt{instance}\cite{NodeExporterA7,BlackboxExporterA7}.
|
the target URL as \texttt{instance}\cite{NodeExporterA7,BlackboxExporterA7}.
|
||||||
\begin{table}[htbp]\centering\footnotesize
|
\begin{table}[htbp]\centering\footnotesize
|
||||||
\begin{tabularx}{\linewidth}{L{3.4cm}L{1.8cm}Y}
|
\begin{tabularx}{\linewidth}{L{4.2cm}L{1.7cm}Y}
|
||||||
\toprule Metric & Type/unit & Labels, meaning and limits\\\midrule
|
\toprule Metric & Type/unit & Labels, meaning and limits\\\midrule
|
||||||
\texttt{node\_cpu\_seconds\_total} & Counter, seconds & CPU/mode/instance; cumulative host CPU time. Use rates, not raw counts, for utilization.\\
|
\path{node_cpu_seconds_total} & Counter, seconds & CPU/mode/instance; cumulative host CPU time. Use rates, not raw counts, for utilization.\\
|
||||||
\texttt{node\_memory\_MemAvailable\_bytes} & Gauge, bytes & Instance/job; estimated host memory available without swapping, not just unused RAM.\\
|
\texttt{node\_memory\_}\allowbreak\texttt{MemAvailable\_bytes} & Gauge, bytes & Instance/job; estimated host memory available without swapping, not just unused RAM.\\
|
||||||
\texttt{node\_filesystem\_size\_bytes}, \texttt{node\_filesystem\_avail\_bytes} & Gauge, bytes & Device/fstype/mountpoint/instance; select the same real root filesystem, excluding overlays and pseudo mounts.\\
|
\texttt{node\_filesystem\_}\allowbreak\texttt{size\_bytes}, \texttt{node\_filesystem\_}\allowbreak\texttt{avail\_bytes} & Gauge, bytes & Device/fstype/mountpoint/instance; select the same real root filesystem, excluding overlays and pseudo mounts.\\
|
||||||
\texttt{up} & Gauge, 0/1 & Job/instance; collection succeeded. Not application availability.\\
|
\path{up} & Gauge, 0/1 & Job/instance; collection succeeded. Not application availability.\\
|
||||||
\texttt{probe\_success} & Gauge, 0/1 & Job/URL instance; configured probe succeeded, not authenticated Git/build correctness.\\
|
\path{probe_success} & Gauge, 0/1 & Job/URL instance; configured probe succeeded, not authenticated Git/build correctness.\\
|
||||||
\texttt{probe\_duration\_seconds} & Gauge, seconds & Job/URL instance; elapsed probe duration. A failed probe may finish quickly.\\
|
\path{probe_duration_seconds} & Gauge, seconds & Job/URL instance; elapsed probe duration. A failed probe may finish quickly.\\
|
||||||
\bottomrule\end{tabularx}\caption{Required metric inventory and interpretation.}
|
\bottomrule\end{tabularx}\caption{Required metric inventory and interpretation.}
|
||||||
\end{table}
|
\end{table}
|
||||||
|
|
||||||
@@ -252,10 +249,7 @@ distinguish refusal from filtering. No raw monitoring port is intentionally publ
|
|||||||
|
|
||||||
The transcript resolved IPv6 \texttt{2607:7700:0:28:0:2:8e5d:c16e}; all tested ports,
|
The transcript resolved IPv6 \texttt{2607:7700:0:28:0:2:8e5d:c16e}; all tested ports,
|
||||||
including 80/443, were unreachable. A Droplet check found no global IPv6 address while
|
including 80/443, were unreachable. A Droplet check found no global IPv6 address while
|
||||||
kernel disable flags were zero. Do not repeat the older claim that IPv6 is currently
|
kernel disable flags were zero. TLS-validating
|
||||||
disabled, claim working IPv6 HTTPS, or interpret these results as proof of IPv6 firewall
|
|
||||||
effectiveness. DNS/host IPv6 reconciliation remains a limitation. The transcript did
|
|
||||||
not capture curl HTTPS output; the team explicitly skipped that follow-up. TLS-validating
|
|
||||||
probes and HTTPS health checks from the Droplet are separate evidence, not replacements
|
probes and HTTPS health checks from the Droplet are separate evidence, not replacements
|
||||||
for a missing external command result. Sanitized findings are in
|
for a missing external command result. Sanitized findings are in
|
||||||
\path{evidence/assignment7/team-external-access-summary-2026-10-28.json}; the original
|
\path{evidence/assignment7/team-external-access-summary-2026-10-28.json}; the original
|
||||||
@@ -307,7 +301,7 @@ captured at different times and are not a single fixed comparison dataset.
|
|||||||
\subsection{Normal Build 4: Before, During and After}
|
\subsection{Normal Build 4: Before, During and After}
|
||||||
\EvidenceID{A7-CI-01}: \href{https://ci.myfileagent.tech/job/myfileagent-python-ci/job/main/4/}{main build 4}
|
\EvidenceID{A7-CI-01}: \href{https://ci.myfileagent.tech/job/myfileagent-python-ci/job/main/4/}{main build 4}
|
||||||
passed October 24, 16:34:13.162--16:34:45.699 EDT, duration 32.537 seconds, on commit
|
passed October 24, 16:34:13.162--16:34:45.699 EDT, duration 32.537 seconds, on commit
|
||||||
\texttt{131d605c5edb5b5080e4d54861c3c7bf7c360c9c}. It ran on the Jenkins controller
|
\path{131d605c5edb5b5080e4d54861c3c7bf7c360c9c}. It ran on the Jenkins controller
|
||||||
executor on this Droplet, passed syntax and two tests, and notified Gitea. Separate
|
executor on this Droplet, passed syntax and two tests, and notified Gitea. Separate
|
||||||
start/end annotations were saved on each of the six panels with build, commit,
|
start/end annotations were saved on each of the six panels with build, commit,
|
||||||
timestamps and execution location. They are panel-specific, not automatically global.
|
timestamps and execution location. They are panel-specific, not automatically global.
|
||||||
@@ -386,10 +380,10 @@ description and runbook link. No-data and execution errors enter Alerting, not h
|
|||||||
Provisioned definitions are changed in reviewed files followed by an authorized
|
Provisioned definitions are changed in reviewed files followed by an authorized
|
||||||
reload/restart, not treated as durable UI-only changes\cite{GrafanaAlertFilesA7}.
|
reload/restart, not treated as durable UI-only changes\cite{GrafanaAlertFilesA7}.
|
||||||
\begin{table}[htbp]\centering\small
|
\begin{table}[htbp]\centering\small
|
||||||
\begin{tabularx}{\linewidth}{L{3cm}YL{2cm}}
|
\begin{tabularx}{\linewidth}{L{3.6cm}YL{2cm}}
|
||||||
\toprule Rule & Condition and response & Pending/severity\\\midrule
|
\toprule Rule & Condition and response & Pending/\newline severity\\\midrule
|
||||||
\texttt{sre-service-unavailable} & Expected probe below one, separate URL instances; inspect collection, TLS, proxy/backend and restore only the affected service. & 1 minute; critical\\
|
\texttt{sre-service-}\allowbreak\texttt{unavailable} & Expected probe below one, separate URL instances; inspect collection, TLS, proxy/backend and restore only the affected service. & 1 minute; critical\\
|
||||||
\texttt{sre-root-capacity} & Verified root available percentage below 15\%; inspect growth and agree on safe cleanup/retention, protecting persistent data. & 5 minutes; warning\\
|
\path{sre-root-capacity} & Verified root available percentage below 15\%; inspect growth and agree on safe cleanup/retention, protecting persistent data. & 5 minutes; warning\\
|
||||||
\bottomrule\end{tabularx}\caption{Final actionable alert rules.}\end{table}
|
\bottomrule\end{tabularx}\caption{Final actionable alert rules.}\end{table}
|
||||||
Missing expected service series are explicitly replaced with zero and grouped by URL:
|
Missing expected service series are explicitly replaced with zero and grouped by URL:
|
||||||
\begin{lstlisting}
|
\begin{lstlisting}
|
||||||
@@ -415,7 +409,7 @@ considered but was not the working route. No receiver secret is included in this
|
|||||||
The team received the contact-point test, but a test message alone does not prove a
|
The team received the contact-point test, but a test message alone does not prove a
|
||||||
rule. The October 24 capacity exercise temporarily raised the free-space threshold
|
rule. The October 24 capacity exercise temporarily raised the free-space threshold
|
||||||
from 15\% to 90\%, above roughly 50.8\% free, retaining the five-minute pending period.
|
from 15\% to 90\%, above roughly 50.8\% free, retaining the five-minute pending period.
|
||||||
No disk was filled. Threshold change was recorded at 17:14:02.658 EDT; pending was
|
No disk was filled. Figure~\ref{Figure:SRECapacityAlerts} provides the team-received firing and resolved notifications as evidence of the safe test and recovery after restoring the final 15\% threshold. Threshold change was recorded at 17:14:02.658 EDT; pending was
|
||||||
observed, then firing at 17:19:57.613. The team supplied the actual firing message.
|
observed, then firing at 17:19:57.613. The team supplied the actual firing message.
|
||||||
We restored 15\% at 17:20:24.112 and verified final threshold/Normal state by
|
We restored 15\% at 17:20:24.112 and verified final threshold/Normal state by
|
||||||
17:21:40.949. Resolved delivery was also confirmed. These are observation times,
|
17:21:40.949. Resolved delivery was also confirmed. These are observation times,
|
||||||
@@ -514,10 +508,9 @@ recovered sample spans 240 seconds; this is a sampled interval, not exact downti
|
|||||||
Both probes ended at one and Discord delivery/resolution was confirmed.
|
Both probes ended at one and Discord delivery/resolution was confirmed.
|
||||||
\href{https://ci.myfileagent.tech/job/myfileagent-python-ci/job/main/5/}{Recovery-validation build 5}
|
\href{https://ci.myfileagent.tech/job/myfileagent-python-ci/job/main/5/}{Recovery-validation build 5}
|
||||||
ran \textbf{October 25}, after fresh sign-in, passing syntax and two tests in 36.837
|
ran \textbf{October 25}, after fresh sign-in, passing syntax and two tests in 36.837
|
||||||
seconds on commit \texttt{131d605c5edb5b5080e4d54861c3c7bf7c360c9c}. Its log records
|
seconds on commit \path{131d605c5edb5b5080e4d54861c3c7bf7c360c9c}. Its log records
|
||||||
Gitea SUCCESS notification. It is following-day validation, not an immediate recovery
|
Gitea SUCCESS notification. It is following-day validation, not an immediate recovery
|
||||||
build. No manual/PDF build was rerun under the team's explicit deferral. Historical
|
build. The manual was subsequently compiled successfully by Gitea Actions run 16 on October 28; that later publication is distinct from the immediate outage recovery window.
|
||||||
manual successes do not fill that missing immediate check.
|
|
||||||
|
|
||||||
This approved fault injection is not an unplanned application defect or an individual's
|
This approved fault injection is not an unplanned application defect or an individual's
|
||||||
error. Impact was eight failed Jenkins probes; Gitea had no failures in the fixed
|
error. Impact was eight failed Jenkins probes; Gitea had no failures in the fixed
|
||||||
@@ -555,7 +548,7 @@ not backup/restore or uninterrupted observation.
|
|||||||
\section{Manual Integration, Traceability and Remaining Work}
|
\section{Manual Integration, Traceability and Remaining Work}
|
||||||
\subsection{Reviewed Operational Source and CI}
|
\subsection{Reviewed Operational Source and CI}
|
||||||
All links below identify immutable merge commit
|
All links below identify immutable merge commit
|
||||||
\texttt{b42689f02f30ad895101a2c5f367e54e3603bc5d}, rather than a moving branch.
|
\path{b42689f02f30ad895101a2c5f367e54e3603bc5d}, rather than a moving branch.
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/b42689f02f30ad895101a2c5f367e54e3603bc5d/monitoring/compose.yaml}{Compose configuration} and
|
\item \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/b42689f02f30ad895101a2c5f367e54e3603bc5d/monitoring/compose.yaml}{Compose configuration} and
|
||||||
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/b42689f02f30ad895101a2c5f367e54e3603bc5d/monitoring/README.md}{deployment/recovery guide}.
|
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/b42689f02f30ad895101a2c5f367e54e3603bc5d/monitoring/README.md}{deployment/recovery guide}.
|
||||||
@@ -579,24 +572,26 @@ Compose/promtool, JSON, dashboard-copy and private secret-value checks support t
|
|||||||
operational change; no gate was bypassed.
|
operational change; no gate was bypassed.
|
||||||
|
|
||||||
\subsection{Document Controls and Publication Boundary}
|
\subsection{Document Controls and Publication Boundary}
|
||||||
This is cumulative Assignment 7 manual version 1.9.0, with SRE after Jenkins. Hosts
|
This is cumulative Assignment 7 manual version 1.9.2, with SRE after Jenkins. Hosts
|
||||||
includes the Grafana page and private monitoring services. Passwords contains the
|
includes the Grafana page and private monitoring services. Passwords contains the
|
||||||
team-specified \texttt{bitwarden-grafana} entry and non-revealing Discord hints. No
|
team-specified \texttt{bitwarden-grafana} entry and non-revealing Discord hints. No
|
||||||
vault login, webhook URL, password or private key is included. Introduction, history,
|
vault login, webhook URL, password or private key is included. Introduction, history,
|
||||||
glossary/acronyms, references and AI attribution are updated. Raw original screenshots
|
glossary/acronyms, references and AI attribution are updated. Raw original screenshots
|
||||||
remain unchanged; the annotated incident figure is generated from recorded samples.
|
remain unchanged; the annotated incident figure is generated from recorded samples.
|
||||||
|
|
||||||
The documentation is a separate Gitea feature-branch change that still needs source
|
The documentation was reviewed and merged through
|
||||||
review and final publication approval. The existing manual Actions workflow builds
|
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/pulls/15}{PR 15}.
|
||||||
pushes to \texttt{main} or \texttt{manual-build-validation}; it does not build this
|
Gitea Actions run 16 successfully compiled the manual from merge commit
|
||||||
documentation branch. No workflow was triggered or relabeled as a completed Assignment
|
\path{acdd4c0a4cb285641094f7f78baf2dea6f75dff5}. Version 1.9.2 incorporates the team's
|
||||||
7 publication. Before an approved final merge/build, confirm workflow/artifact labels
|
final editorial and table-layout corrections and is compiled through the same Gitea
|
||||||
consistently, compile through Gitea Actions, inspect affected pages and all links,
|
Actions workflow. The title page, Build Identity page, footer and artifact label use
|
||||||
retain the downloaded PDF/manifest and verify exact source/run/checksum identity.
|
\texttt{1.9.2}; generated metadata identifies the exact source revision and run.
|
||||||
Do not submit an old Assignment 6 PDF or call this uncompiled draft the final artifact.
|
Retain the downloaded PDF and build manifest, verify their checksum identity, and
|
||||||
|
inspect affected pages before submission. The build identity distinguishes this
|
||||||
|
revision from the earlier version 1.9.0 publication.
|
||||||
|
|
||||||
Remaining limitations are the skipped external HTTPS command capture, inconclusive
|
Remaining operational boundaries are incomplete signed-out direct-URL testing,
|
||||||
IPv6, incomplete signed-out direct-URL testing, earlier unresolved access exceptions,
|
earlier unresolved access exceptions, no initial planning issue, no tested monitoring
|
||||||
no initial planning issue, no tested monitoring backup/restore, next-day recovery-build
|
backup/restore and next-day recovery-build timing. The later successful manual build
|
||||||
timing and the deferred manual compile. These are not marked complete. Full-day SLO
|
is recorded separately from that incident's immediate recovery checks. Full-day SLO
|
||||||
measurement is optional; issues 12/13 remain open by design.
|
measurement is optional; issues 12/13 remain open by design.
|
||||||
|
|||||||
@@ -51,8 +51,8 @@
|
|||||||
% Replace these values for each assignment.
|
% Replace these values for each assignment.
|
||||||
\newcommand{\AssignmentTitle}{Introduction to SRE: Monitoring and Reliability}
|
\newcommand{\AssignmentTitle}{Introduction to SRE: Monitoring and Reliability}
|
||||||
\newcommand{\AssignmentNumber}{7}
|
\newcommand{\AssignmentNumber}{7}
|
||||||
\newcommand{\DocumentVersion}{1.9.0}
|
\newcommand{\DocumentVersion}{1.9.2}
|
||||||
\newcommand{\DocumentStatus}{Source Draft -- Compilation Deferred}
|
\newcommand{\DocumentStatus}{Final Draft}
|
||||||
\newcommand{\CourseNumber}{SSW 590}
|
\newcommand{\CourseNumber}{SSW 590}
|
||||||
\newcommand{\CourseName}{DevOps Principles and Practices}
|
\newcommand{\CourseName}{DevOps Principles and Practices}
|
||||||
\newcommand{\Instructor}{Darian Muresan}
|
\newcommand{\Instructor}{Darian Muresan}
|
||||||
|
|||||||
Reference in New Issue
Block a user