-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Done
-
Affects Version/s: VOLTHA v2.8
-
Fix Version/s: VOLTHA v2.8, VOLTHA v2.9
-
Component/s: openonu-adapter
-
Labels:None
-
Story Points:2
-
Epic Link:
Image list before triggering the download:
bash-5.1# voltctl device onuimage list 40352954-6070-4cbf-b94e-d3b28f749ffe
bash-5.1# voltctl device onuimage list 40352954-6070-4cbf-b94e-d3b28f749ffe VERSION ISCOMMITED ISACTIVE ISVALID PRODUCTCODE HASH 090140.1.0.304 false false false 00000000000000000000000000000000 090140.2.0.002 true true true 00000000000000000000000000000000
Now if we try to download a new image, the onu-adapter shows the following error:
{"level":"error","ts":"2021-12-14T16:13:13.933Z","caller":"onuadaptercore/device_handler.go:1290","msg":"start Onu SW upgrade rejected: no inactive image","instanceId":"voltha1-adapter-openonu-voltha-adapter-openonu-fdd6995d6-jd5s5","pkg":"adaptercoreonu","op-name":"/voltha.VolthaService/DownloadImageToDevice","task-id":"6a89cf57c1bf48fb","task-name":"kafka-rpc-Download_onu_image","op-id":"66c26aa69fe44328","device-id":"40352954-6070-4cbf-b94e-d3b28f749ffe","error":"no valid inactive image found: 40352954-6070-4cbf-b94e-d3b28f749ffe","stacktrace":"github.com/opencord/voltha-lib-go/v5/pkg/log.clogger.Errorw\n\t/go/src/vendor/github.com/opencord/voltha-lib-go/v5/pkg/log/log.go:612\ngithub.com/opencord/voltha-openonu-adapter-go/internal/pkg/onuadaptercore.(*deviceHandler).onuSwUpgradeAfterDownload\n\t/go/src/internal/pkg/onuadaptercore/device_handler.go:1290"}
Onu-adapter-version: v1.3.15