5.2 KiB
5.2 KiB
Task Plan
Checklist
- Inspect the published managed-portal installer and release manifest under
root@10.8.0.1:/var/www/html/ai_deploy. - Confirm the registry tags currently published for
managed-portal,managed-portal-web,people-flow-project, andstore-dwell-alert. - Prepare
10.8.0.14for an installer-aligned rollout of the four-service managed-portal stack. - Recreate the four target containers on
10.8.0.14using the published release version and corresponding Compose layout. - Verify the running stack on
10.8.0.14uses the published registry images and the installer-managed Compose project.
Scope And Risks
- Scope: use the published managed-portal release artifacts on
10.8.0.1as the source of truth for image names, tags, and Compose topology. - Scope: update the four-service managed-portal group on
10.8.0.14:managed-portal,managed-portal-web,people-flow-project, andstore-dwell-alert. - Scope: keep unrelated stacks, especially the
iot-mainvideo-recognition project, untouched. - Risk: the current four containers on
10.8.0.14are not managed by one Compose project, so installer-based recreation will conflict on fixed container names unless the old containers are replaced cleanly. - Risk: the published installer seeds config, data, outputs, and weights under
/opt/managed-portal-releases; switching to it changes the runtime paths from the current ad hoc directories. - Risk: service recreation causes a brief interruption for the portal and both child-service APIs.
Validation Intent
- Read the published installer and
release-manifest.envto confirm the exact release version and image references. - Verify the registry exposes the four target tags before rollout.
- Use the installer-aligned Compose files and environment from the published bundle, not a hand-built local variant.
- Confirm the final containers are recreated from the published registry images and are running under the installer-managed release directory.
Review
- Status: complete.
- Result:
- Confirmed the published managed-portal installer source of truth is
root@10.8.0.1:/var/www/html/ai_deploy/install-managed-portal-20260519-f3f40b5-11.sh. - Confirmed the published registry images in
release-manifest.envare:ota.zhengxinshipin.com:5443/managed-portal:20260519-f3f40b5-11ota.zhengxinshipin.com:5443/managed-portal-web:20260519-f3f40b5-11ota.zhengxinshipin.com:5443/people-flow-project:20260519-f3f40b5-11ota.zhengxinshipin.com:5443/store-dwell-alert:20260519-f3f40b5-11
- Confirmed all four image tags exist in the registry on
10.8.0.14. - Extracted the published release bundle to
/opt/managed-portal-releases/managed-portal-20260519-f3f40b5-11. - Generated
/opt/managed-portal-releases/managed-portal-20260519-f3f40b5-11/deploy/managed-portal.runtime.envfrom the published release, while keeping the host-specific data and output directories on10.8.0.14. - Replaced the ad hoc
managed-portal,managed-portal-web,people-flow-project, andstore-dwell-alertcontainers with the installer-managed Compose project under/opt/managed-portal-releases/managed-portal-20260519-f3f40b5-11/deploy/docker-compose.ota-release.yml. - Migrated
store-dwell-alertto a schema-compatible config under/opt/managed-portal-releases/managed-portal-20260519-f3f40b5-11/managed/store_dwell_alert/config/local.yamlwhile preserving the current192.168.0.5RTSP source. - Kept the current people-flow config/output/weights directories, but removed
gpus: allfrom the release Compose file because the host currently failsnvidia-container-clistartup with an NVML driver/library mismatch. The new image falls back to CPU at runtime and still reports healthy.
- Confirmed the published managed-portal installer source of truth is
- Verification:
- Published release manifest from
10.8.0.1resolves to the four20260519-f3f40b5-11image tags above. - Registry presence checks from
10.8.0.14succeeded for all four image tags viadocker manifest inspect. sudo docker compose --env-file /opt/managed-portal-releases/managed-portal-20260519-f3f40b5-11/deploy/managed-portal.runtime.env -f /opt/managed-portal-releases/managed-portal-20260519-f3f40b5-11/deploy/docker-compose.ota-release.yml psshowed:managed-portal->ota.zhengxinshipin.com:5443/managed-portal:20260519-f3f40b5-11,Upmanaged-portal-web->ota.zhengxinshipin.com:5443/managed-portal-web:20260519-f3f40b5-11,Uppeople-flow-project->ota.zhengxinshipin.com:5443/people-flow-project:20260519-f3f40b5-11,Up (healthy)store-dwell-alert->ota.zhengxinshipin.com:5443/store-dwell-alert:20260519-f3f40b5-11,Up (healthy)
sudo docker inspectconfirmed the four containers use the published registry image references;people-flow-projectandstore-dwell-alertreport healthy.curl -fsS http://127.0.0.1:13000succeeded.curl -fsS http://127.0.0.1:13000/api/managed-servicesreturned both managed services withstatus: "running".curl -fsS http://127.0.0.1:13000/api/managed-services/store_dwell_alertreturned the192.168.0.5RTSP source andstatus: "running".curl -fsS http://127.0.0.1:13000/api/managed-services/people_flow_projectreturned the192.168.0.4RTSP source andstatus: "running".
- Published release manifest from