-
Notifications
You must be signed in to change notification settings - Fork 491
[Bug][API] DCIM/IPAM built-in CI models missing after fresh deployment causes 404 on pages #771
Copy link
Copy link
Open
Description
Contact Details
security-automation@local
This bug is related to UI or API?
API
What happened?
On fresh deployments without full seed data, navigating to DCIM/IPAM pages shows errors such as:
The dcim model dcim_region does not existThe subnet model ipam_subnet does not existThe IP Address model ipam_address does not exist
In this state:
- DCIM tree loading fails
- adding data center returns 404
- IPAM overview/address pages fail due to missing built-in CI types
Expected behavior:
- deployment should provide an idempotent bootstrap path that creates required built-in CI types, attributes, and type relations for DCIM/IPAM.
Fix submitted:
- added command:
flask cmdb-bootstrap-builtin-models - command creates/repairs required built-in models and relations
- command is idempotent and supports
--repair-existing
Patch commit:
4b7fcfe4a
PR containing fix:
Version
newest
What browsers are you seeing the problem on?
Chrome
Relevant log output
DCIM?? dcim_region ???
404 Not Found: ?????
???? ipam_subnet ???
IP???? ipam_address ???Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels