diff --git a/40-inventory/hosts.yml b/40-inventory/hosts.yml index 0c8a90c..8c1aac9 100644 --- a/40-inventory/hosts.yml +++ b/40-inventory/hosts.yml @@ -35,7 +35,7 @@ kernel: 5.4.0-216-generic addresses: lan: - - 192.168.1.226 + - 192.168.1.183 local: - 192.168.105.181/24 roles: @@ -52,8 +52,18 @@ - 80 - 443 docs: ../10-systems/servers/internal-proxy-vps.md - last_reviewed: 2026-05-09 + last_reviewed: '2026-10-31' source_of_truth: ssh-host-and-owner-confirmed + notes: 'LAN address live-verified 2026-10-31 by navi rei during gitbucket load_high + incident: proxy VM responds at 192.168.1.183 (inventory previously said 192.168.1.226 + — stale). instance.json: name=Proxy, instance_id 0b47bb23-a9ec-4279-a2dd-7beaca43962d, + created 2026-09-10; navi.service + hard-monitor agent + docker (navi-postgres + healthy) + nginx. Second NIC 192.168.105.181/24 unchanged — matches this record. + Nginx sites-enabled ~18 domains incl. git.gnexus.space -> proxy_pass http://192.168.1.156 + (gitbucket). 2026-10-31 mitigation applied by rei: limit_req_zone gitbucket_heavy + 2r/s on */repo/(issues|pulls) paths (crawler storm ~1M req/day from 192.168.1.150 + via this proxy; backup git.gnexus.space.bak-rei-20261031). SSH ubuntu, fleet password + works (getroot88).' - id: smart-home-server name: Smart Home Server type: server @@ -247,7 +257,7 @@ - 192.168.1.198 environment: home hostname: ubuntu - last_reviewed: '2026-09-29' + last_reviewed: '2026-11-04' listening_ports: tcp: - 22 @@ -260,7 +270,7 @@ notes: 'Navi instance tsukiko (navi.service, port 8099, /home/bugtrail/navi-1, instance_id c9decfb7-39d1-4bf0-b3b3-c2c0d8d1e6fc) deployed 2026-09-17 from deploy branch, updated 2026-09-29 to origin/deploy ca4dc85 (verified: active, health=200, mcp - 1.30.0, .env preserved). BugTrail web service: docker compose stack (postgres+server+caddy) + 1.30.0, .env preserved). BugTrail web service: docker compose PROD stack (postgres+server+caddy) on port 80, repo /home/bugtrail/bugtrail, updated 2026-09-26 to main@eabc12f (server image last rebuilt for 668e07a; eabc12f touched extension only — extension rebuilt+packaged, web dist rebuilt; dist is a bind mount into caddy/server, so web updates require @@ -279,7 +289,15 @@ purpose still unknown. User bugtrail NOT in docker group — docker via sudo (sudo -S with password from creds). Node.js v22.23.2 installed 2026-09-18 (NodeSource); make not installed. Credentials: gnexus-creds secret d654f5aa-412b-4fe0-87ad-89cc640375bb - (SSH=sudo password).' + (SSH=sudo password). GOTCHA (2026-11-04, rei): running stack is docker-compose.prod.yml + (NOT docker-compose.yml — dev config, password ''ltt'', no caddy) with .env beside + it (HTTP_PORT=80, HTTPS_PORT=443, SITE_ADDRESS=:80, POSTGRES_PASSWORD real). Restart + policy ''no'' on stack containers + navi-postgres ''always'': after a host power-off + the web stack does NOT come back — 2026-11-04 04:06-10:06 UTC outage (host clean + shutdown, whole home LAN down) left bugtrail-server/caddy/postgres Exited, service + down ~6h; recovery: sudo docker compose -f /home/bugtrail/bugtrail/docker-compose.prod.yml + up -d -> postgres Healthy, server+caddy Up, healthz 200; postgres data volume + intact. Consider restart:always or compose install for autostart (owner decision).' os: Ubuntu 22.04.5 LTS owner: gmikcon purpose: Navi agent instance (tsukiko) + BugTrail web service in home LAN @@ -809,3 +827,118 @@ source_of_truth: hard-panel-agent-data status: active type: server +- id: gstation + active_services: + - sshd.service + - gdm.service + - heroic (flatpak autostart, couch mode) + - steam (autostart -silent) + addresses: + lan: + - 192.168.1.135 + environment: home + gpu: AMD Radeon RX 580 2048SP (Polaris 20 XL/XTR, rev ef), amdgpu + hostname: bazzite + last_reviewed: '2026-10-31' + name: gstation + notes: 'Семейный игровой ПК (бывший Windows-игровой), переоснащён на Bazzite 2026-10-31. + Консольный опыт: GDM autologin (/etc/gdm/custom.conf, бэкап custom.conf.bak), + lock/idle/suspend отключены, BT AutoEnable=true. Обзор GNOME при логине убран: + welcome-dialog-last-shown-version=версия шелла (автофикс ~/.local/share/tvtest/welcome-fix.sh + через autostart welcome-fix.desktop), hot corners off, расширение hotedge disabled, + bazzite-announcement скрыт user-override. ТВ AndroidTV (ELD/Express Luck) на HDMI-1: + панель 4K, но HDMI 1.4 → 4K только @30; рабочий режим 1920x1080@60 + GNOME underscanning=yes + (аппаратный underscan amdgpu, рамка 96/54px=5%, аналог Underscan софта AMD на + винде; прямая запись DRM-свойств невозможна — mutter держит DRM-master). Переключатель + /usr/local/bin/tvmode [4k|1080|status|under on|under off]; тест-паттерн /usr/local/bin/tvtest + (замер overscan по засечкам 5/7.5/10%). Игры: 35 Windows-игр (в осн. пиратки) + на HDD; запуск ~/.local/bin/play.sh (GE-Proton11-11 + gamemoderun, префиксы + ~/.local/share/games/prefixes/, логи ~/.local/share/games/logs), реестр ~/.local/share/games/games.conf + (slug|name|appid|exe), 35 .desktop ярлыков. Лаунчер единственный: Heroic 2.22.4 + flatpak (com.heroicgameslauncher.hgl), 35 игр sideload через library.json в ~/.var/app/com.heroicgameslauncher.hgl/config/heroic/sideload_apps/, + обёртки ~/Games/Heroic/wrappers/.sh (cd /home/gstation ОБЯЗАТЕЛЕН — Heroic + стартует с cwd=/app/bin), арт file:// ~/Games/Heroic/art//{cover,square,hero}.jpg, + оверрайд песочницы --talk-name=org.freedesktop.Flatpak; автозапуск heroic-console.desktop + (delay 10s) + config.json startInConsoleMode=true → couch-режим /console. Геймпад + RZTK (Xbox-клон, BLE) MAC 1B:FC:1A:E4:06:FF, спарен 2026-10-31 (режим сопряжения + Home+X), Paired/Trusted=yes, /dev/input/js0 (8 осей/10 кнопок); прошлые неудачи + — геймпад помнил ключи Windows и сам срывал pairing; сброс памяти — только с самого + геймпада. Удалены по команде владельца: Pegasus, Cartridges 2.13.1, Lutris 0.5.23 + (flathub-full остался — рантаймы Heroic). Gotchas: pkill -f в SSH-команде матчит + сам себя (exit -1) — скрипт-файл или [b]racket-трюк; protonfixes требует цифры + в STEAM_COMPAT_DATA_PATH; не-Steam ярлыки в Steam через shortcuts.vdf не резолвятся + — добавлять через UI. LLM-челендж (2026-10-31): llama.cpp b11960 (0.8.0-dev, Vulkan + + ivybridge CPU-бэкенд) в ~/llama/llama-b11960, модели в ~/models. CPU i5-3470: + AVX/f16c есть, AVX2 НЕТ (Ivy Bridge). RAM 20ГБ DDR3-1600 = 8+4+4+4 (DIMM1 8ГБ, + DIMM2/3/4 4ГБ — асимметрия, часть single-channel). PCIe 3.0 x16 8GT/s активен + (LnkSta). Vulkan RADV POLARIS10, apiVersion 1.4.354. /var/home 198ГБ свободно, + swap 9.7ГБ zram. SSH-креды в gnexus-creds (id 70639a33).' + owner: gmikcon + purpose: 'Семейный игровой ПК (консольный опыт: ТВ + геймпад, Heroic couch)' + ram_gb: 19 + roles: + - family-gaming-pc + - couch-gaming + - proton-games-host + - llm-challenge-box + source_of_truth: ssh-host-and-owner-confirmed + status: active + type: workstation + user: gstation +- id: ovpn-egress-vm + active_services: + - openvpn@client.service + - nginx.service + - hard-monitor.service + - ssh.service + - socat-25565 + addresses: + lan: + - 192.168.1.150 + environment: production + hardware_node: hp-proliant-dl380-g6 + hostname: ovpn + last_reviewed: '2026-11-07' + listening_ports: + tcp: + - 22 + - 80 + - 443 + - 25565 + mac_address: 52:54:00:44:f7:a1 + name: ovpn + notes: 'VPN egress VM (openvpn client via external VPS 51.83.131.93 tunnel, config + /etc/openvpn/client/vpn-udp.ovpn) + nginx on :80/:443 (vhosts incl. git.gnexus.space + -> proxy_pass http://192.168.1.156 with X-Real-IP) + socat forwarding :25565 (Minecraft). + Git vhost has NO access log configured. 2026-10-31 by navi rei during gitbucket + crawler-storm incident: this VM is the on-LAN hop for ~1M req/day crawler traffic + hitting git.gnexus.space heavy listing pages (identity of client behind VPN unknown + - not logged). SSH ubuntu, fleet password works. 2026-11-04 outage verified by + navi rei: full home infra blackout 04:05-09:54 UTC (all 19 hosts silent; panel + event for id 38 was part of mass offline batch #1253-#1271 generated 09:58:45 + UTC right after the panel host itself rebooted). ovpn rebooted 09:56:54 UTC; tunnel + unit openvpn-client@vpn-udp (enabled) active from 09:57:38, tun0 10.8.0.2, verified + ping to 10.8.0.1 (15 ms); nginx active; socat-25565 listening; git.gnexus.space + HTTPS 200 after reboot. NOTE: legacy stub unit openvpn@client is inactive/disabled + - the real tunnel unit is openvpn-client@vpn-udp (do not mistake it for a failure). + socat systemd unit real name: minecraft-tcp-forward.service (active+enabled; ''socat-25565'' + unit name does not exist). 2026-11-07 04:45-05:23 UTC incident (verified by navi + rei): owner-ordered clean shutdown of ALL 25 libvirt VMs during home blackout + — owner web-chat msg 06:43:43 Kyiv ''У нас блэкаут, выключи все наши аппаратные + узлы, кроме роутера''; SSH from navi (192.168.1.168) to bserv 04:45:16, sudo virsh + shutdown of every running VM 04:45:47-04:46:05 (ovpn off 04:45:51, clean ''System + Power Off'' — NOT power loss). bserv itself stayed on UPS until manual sudo reboot + 05:12:28 from device 192.168.1.142 (owner confirmation pending), bserv up 05:17:03, + VMs cascaded back 05:18-05:23 (no libvirt autostart — known gap since 04.11). + ovpn booted 05:20:04, post-boot verified healthy: openvpn-client@vpn-udp active + since 05:21:53, tun0 10.8.0.2/24, ping 10.8.0.1 ~15 ms 0% loss, nginx active, + git.gnexus.space HTTPS 200, minecraft-tcp-forward listening :25565, disk / 69%, + RAM ok, dmesg clean. Panel offline alerts for VMs (#1326-#1344, 05:23:31 UTC, + silent 37-38 min) were a delayed batch written when the panel host itself came + back.' + owner: gmikcon + purpose: VPN egress node (openvpn client, nginx vhost entry, Minecraft socat fwd) + source_of_truth: ssh-host-verified + status: active + type: vm + user: ubuntu