When trying to enable config management, got the following error message:
Error invoking 'mist-dpc': netconf rpc [error] ' database truncation failed ' , reply: &{{urn:ietf:params:xml:ns:netconf:base:1.0 rpc-reply} [{protocol operation-failed error database truncation failed protocol operation-failed error database truncation failed } {protocol operation-failed error Unable to extend configuration database file '/var/run/db/juniper.eph_mist-dpc' to size 0x80000 from 0: No space left on device protocol operation-failed error Unable to extend configuration database file '/var/run/db/juniper.eph_mist-dpc' to size 0x80000 from 0: No space left on device } {protocol operation-failed error Could not initialize database protocol operation-failed error Could not initialize database }] protocol operation-failed error database truncation failed protocol operation-failed error Unable to extend configuration database file '/var/run/db/juniper.eph_mist-dpc' to size 0x80000 from 0: No space left on device protocol operation-failed error Could not initialize database The database can be re-created with the current software version and reloaded with the currently committed configuration (using rollback). false protocol operation-failed error database truncation failed protocol operation-failed error Unable to extend configuration database file '/var/run/db/juniper.eph_mist-dpc' to size 0x80000 from 0: No space left on device protocol operation-failed error Could not initialize database The database can be re-created with the current software version and reloaded with the currently committed configuration (using rollback). 05e6a183-a90e-4586-a5c6-25f61fab05c6}
The issue was seen when trying to enable configuration management on a EX4400 running 24.4R1-S2.12
Although the error is large, it's important to focus on the following:
No space left on device } {protocol operation-failed error Could not initialize database protocol operation-failed error Could not initialize database }] protocol operation-failed error database truncation failed protocol operation-failed error Unable to extend configuration database file '/var/run/db/juniper.eph_mist-dpc' to size 0x80000 from 0: No space left on device
Which suggest storage to be at its full 100% utilization.
To fix this problem,
show chassis hardware
show system storage
request system storage cleanup
request system storage cleanup dry-run