provisioner: Settings aus NetBox gelten erst nach dem ersten update #5
Labels
No labels
Bug
Feature
Idee
agent-freigabe
regression
status
ausarbeiten
status
bereit
status
in-arbeit
status
review
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iac/iac-provisioner#5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Beobachtung
VM
ciso.intra.heyer.systems(App ciso-assistant, Typ VM) in NetBox angelegt, im Feld Settingsciso_assistant_url=https://ciso.intra.heyer.systems. Der Gast wurde mithttps://<IP>als URL installiert; Aufrufe mit dem DNS-Namen beantwortet das Backend mit 400 (ALLOWED_HOSTS). Die Einstellung wirkt erst nach einem manuellenupdateim Gast.Erwartet
Settings und Firewall der VM aus NetBox gelten schon bei der Erstinstallation – eine App wie CISO Assistant ist sonst nach dem Anlegen unter ihrem Namen nicht erreichbar.
Reproduktion
/etc/iac/settings.envund die App-Konfiguration enthalten den Wert nicht; Feld Configuration steht nach dem Abgleich aufpending.Ursache
iac-provisioner/files/iac_provisioner.py,build_spec: gibtct.sh/vm.shnur Hostname, Netz, Größe, Module, VLAN, SSH-Schlüssel usw. mit, keine Settings./etc/iac/context.jsonin den Gast und wirken laut Design „beim nächsten update“ (iac-coredocs/CONCEPT.md, Abschnitt 11).lib/host.func(_iac_collect_app_settings) beivar_<setting>ab: „Settings (var_…) are not supported for VMs yet“. Die Lösung braucht also auch iac-core (Settings bzw.context.jsonin den ersten Start der VM).Abnahme
update; Feld Configuration steht aufapplied.