DX AIOps 21.3 exportImages fails - com.github.dockerjava.api.exception.NotFoundException
search cancel

DX AIOps 21.3 exportImages fails - com.github.dockerjava.api.exception.NotFoundException


Article ID: 232174


Updated On:


DX Application Performance Management DX Operational Intelligence


DX  21.3 exportImages fails 

when running  ./AIOpsManagement.sh --exportImages

produced java exceptions and doesn't save the images (in default path ./images)

The installation (option --install) works without problems. Here you see the script output:

... Utility can save/load images under following directories:
/root - mount to base directory of AIOpsManagement.sh
/mount-home - your user home directory.
Subdirectories can be created under these parent directories.
For example, specifying the path as /root/images or just images will create images subdirectory in AIOpsManagement base directory.
Specify the path to export images [images]:
Install will use images from registry default-route-openshift-image-registry.apps.mydomain
Saving docker images.
[descriptor] resolved into: files/images.json
Total amount of images to be saved: 98
[ | ] [1/98] Saving image [dx-docker.packages.broadcom.com/doi/alarmpreprocessor:]
Error during callback com.github.dockerjava.api.exception.NotFoundException: {"message":"reference does not exist"}
at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:103)
at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:33)
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99)
at io.netty.channel.Abstr


Release : 21.3

Component :


The issue is in the shared step for importing images.tar.gz. In the installer folder there is dxi.input.vars.yaml file with "imageSource=use_existing" and because of this it skips importing images tar file.


To bypass the issue you can temporarily remove dxi.input.vars.yaml from the installer folder for export/import images and copy it back before installation.


A defect is raised to address the underlying problem