05-17-2023 04:58 AM
Hi!
I am in the process of writing a PnP server based on the good work of Dmitry Figol and it work well for deploying configuration files to IE1000 and IE3300 products. I have now extended the functionality to also support upload of image files but unfortunately I am getting a 1826 error (IMSP-Image install failed. Abort).
The XML file I use for upload of firmware looks like this:
05-17-2023 10:09 AM - edited 05-17-2023 10:09 AM
- Verify the image file: Ensure that the image file you are trying to upload is valid and not corrupted. You can try downloading the image file manually from the specified location and verify its integrity using the provided checksum.
Check the image file format: Make sure that the image file you are using is compatible with the target device. Different Cisco devices may require specific image file formats. Refer to the device documentation or Cisco's website to ensure compatibility.
Check the network connectivity: Ensure that the device has proper network connectivity to reach the specified HTTP server. Verify that the device can access the HTTP server and download the image file successfully. You can test this by manually accessing the image file URL from a browser or using a tool like curl or wget.
Validate the XML configuration: Double-check the XML configuration file for any errors or typos. Ensure that all the placeholders (e.g., {{ udi }}, {{ correlator_id }}, {{ http_server }}, etc.) are properly replaced with the appropriate values.
Verify device permissions: Ensure that the device has sufficient permissions to perform the image installation. Depending on the device and firmware version, there might be specific access requirements for performing such operations. Check the device documentation for any specific permission settings.
Check available device storage: Verify that the device has enough free storage space to accommodate the new image. Insufficient storage can cause the installation to fail. Check the device's storage capacity and compare it with the size of the image file you are trying to upload.
Review device logs: Check the logs on the device to gather more information about the failure. The device logs might provide additional details or error messages that can help pinpoint the cause of the installation failure.
M.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide