Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sdcadm import error
sdcadm error:
[root@headnode (dc1) ~]# sdcadm update --all --just-images
Imported image a7dab558-d90a-11e4-a140-07b5db4c1682 (papi@release-20150402-20150402T072955Z-g21bb506)
Update error: {"message":"imgapi client error: \"task timeout error\"","we_cause":{},"code":"SDCClient","exitStatus":1,"image":"b78d718e-d90a-11e4-8877-471cf469986a"}
sdcadm update: error (SDCClient): imgapi client error: "task timeout error"
command: sdcadm update --all
Installing image b78d718e-d90a-11e4-8877-471cf469986a (amon@release-20150402-20150402T072833Z-g028a90c)
Update error: {"message":"error importing VM image b78d718e-d90a-11e4-8877-471cf469986a:\n\targv: [\"/usr/sbin/imgadm\",\"import\",\"-q\",\"b78d718e-d90a-11e4-8877-471cf469986a\"]\n\texit status: 1\n\tstdout:\n\n\tstderr:\n{\"name\":\"imgadm\",\"req_id\":\"51ad4dd4-a390-4127-8097-b6440a22a2b5\",\"hostname\":\"headnode\",\"pid\":90208,\"level\":20,\"opts\":{},\"args\":[\"import\",\"-q\",\"b78d718e-d90a-11e4-8877-471cf469986a\"],\"cli\":true,\"msg\":\"cli init\",\"time\":\"2015-04-08T13:34:42.479Z\",\"v\":0}\n{\"name\":\"imgadm\",\"req_id\":\"51ad4dd4-a390-4127-8097-b6440a22a2b5\",\"hostname\":\"headnode\",\"pid\":90208,\"level\":30,\"uuid\":\"b78d718e-d90a-11e4-8877-471cf469986a\",\"arg\":\"b78d718e-d90a-11e4-8877-471cf469986a\",\"msg\":\"image-id validated\",\"time\":\"2015-04-08T13:34:42.486Z\",\"v\":0}\n{\"name\":\"imgadm\",\"req_id\":\"51ad4dd4-a390-4127-8097-b6440a22a2b5\",\"hostname\":\"headnode\",\"pid\":90208,\"level\":20,\"subcmd\":\"import\",\"exitStatus\":1,\"cli\":true,\"msg\":\"cli exit\",\"time\":\"2015-04-08T13:34:42.627Z\",\"v\":0}\nimgadm import: error (ActiveImageNotFound): ActiveImageNotFoundError: an active image \"b78d718e-d90a-11e4-8877-471cf469986a\" was not found\n at /usr/img/lib/cli.js:1347:26\n at finish (/usr/img/lib/imgadm.js:988:9)\n at next (/usr/img/node_modules/vasync/lib/vasync.js:201:4)\n at /usr/img/lib/imgadm.js:981:17\n at /usr/img/lib/sources/imgapi.js:143:9\n at /usr/img/node_modules/sdc-clients/lib/imgapi.js:684:17\n at parseResponse (/usr/img/node_modules/restify/lib/clients/json_client.js:84:9)\n at IncomingMessage.done (/usr/img/node_modules/restify/lib/clients/string_client.js:151:17)\n at IncomingMessage.g (events.js:180:16)\n at IncomingMessage.EventEmitter.emit (events.js:117:20)","we_cause":{"killed":false,"code":1,"signal":null},"code":"InternalError","exitStatus":1}
sdcadm update: error (InternalError): error importing VM image b78d718e-d90a-11e4-8877-471cf469986a:
argv: ["/usr/sbin/imgadm","import","-q","b78d718e-d90a-11e4-8877-471cf469986a"]
exit status: 1
stdout:
stderr:
{"name":"imgadm","req_id":"51ad4dd4-a390-4127-8097-b6440a22a2b5","hostname":"headnode","pid":90208,"level":20,"opts":{},"args":["import","-q","b78d718e-d90a-11e4-8877-471cf469986a"],"cli":true,"msg":"cli init","time":"2015-04-08T13:34:42.479Z","v":0}
{"name":"imgadm","req_id":"51ad4dd4-a390-4127-8097-b6440a22a2b5","hostname":"headnode","pid":90208,"level":30,"uuid":"b78d718e-d90a-11e4-8877-471cf469986a","arg":"b78d718e-d90a-11e4-8877-471cf469986a","msg":"image-id validated","time":"2015-04-08T13:34:42.486Z","v":0}
{"name":"imgadm","req_id":"51ad4dd4-a390-4127-8097-b6440a22a2b5","hostname":"headnode","pid":90208,"level":20,"subcmd":"import","exitStatus":1,"cli":true,"msg":"cli exit","time":"2015-04-08T13:34:42.627Z","v":0}
imgadm import: error (ActiveImageNotFound): ActiveImageNotFoundError: an active image "b78d718e-d90a-11e4-8877-471cf469986a" was not found
at /usr/img/lib/cli.js:1347:26
at finish (/usr/img/lib/imgadm.js:988:9)
at next (/usr/img/node_modules/vasync/lib/vasync.js:201:4)
at /usr/img/lib/imgadm.js:981:17
at /usr/img/lib/sources/imgapi.js:143:9
at /usr/img/node_modules/sdc-clients/lib/imgapi.js:684:17
at parseResponse (/usr/img/node_modules/restify/lib/clients/json_client.js:84:9)
at IncomingMessage.done (/usr/img/node_modules/restify/lib/clients/string_client.js:151:17)
at IncomingMessage.g (events.js:180:16)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment