-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sdcadm update: error: imgapi client error (ImageUuidAlreadyExists) when running sdcadm update docker #29
Comments
Output from 2nd run: Using channel release This update will make the following changes: Create work dir: /var/sdcadm/updates/20161124T205119Z sdcadm update: error: error importing VM image 9fb2ea90-b1cf-11e6-a586-4b418000a9c5: |
sdcadm 1.14.0 (master-20161124T190233Z-gf6d1f0c)
sdcadm update docker -y
Finding candidate update images for the "docker" service.
Using channel release
This update will make the following changes:
download 1 image (177 MiB):
image 9fb2ea90-b1cf-11e6-a586-4b418000a9c5
(docker@release-20161124-20161123T224055Z-g2c4c350)
update "docker" service to image 9fb2ea90-b1cf-11e6-a586-4b418000a9c5
(docker@release-20161124-20161123T224055Z-g2c4c350)
Create work dir: /var/sdcadm/updates/20161124T202908Z
Downloading image 9fb2ea90-b1cf-11e6-a586-4b418000a9c5
(docker@release-20161124-20161123T224055Z-g2c4c350)
Error importing image 9fb2ea90-b1cf-11e6-a586-4b418000a9c5
(docker@release-20161124-20161123T224055Z-g2c4c350)
Update error: EXCEPTION: SDCClientError: SDCClientError: imgapi client error (ImageUuidAlreadyExists): image uuid "9fb2ea90-b1cf-11e6-a586-4b418000a9c5" already exists; caused by ImageUuidAlreadyExistsError: image uuid "9fb2ea90-b1cf-11e6-a586-4b418000a9c5" already exists
at /opt/smartdc/sdcadm/lib/procedures/download-images.js:112:37
at Backoff. (/opt/smartdc/sdcadm/node_modules/sdc-clients/lib/imgapi.js:1044:13)
at Backoff.EventEmitter.emit (events.js:95:17)
at Backoff.backoff (/opt/smartdc/sdcadm/node_modules/backoff/lib/backoff.js:41:14)
at /opt/smartdc/sdcadm/node_modules/sdc-clients/lib/imgapi.js:1018:34
at parseResponse (/opt/smartdc/sdcadm/node_modules/sdc-clients/node_modules/restify/lib/clients/json_client.js:84:9)
at IncomingMessage.done (/opt/smartdc/sdcadm/node_modules/sdc-clients/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)
at _stream_readable.js:920:16
Caused by: EXCEPTION: RestError: ImageUuidAlreadyExistsError: image uuid "9fb2ea90-b1cf-11e6-a586-4b418000a9c5" already exists
at parseResponse (/opt/smartdc/sdcadm/node_modules/sdc-clients/node_modules/restify/lib/clients/json_client.js:67:23)
at IncomingMessage.done (/opt/smartdc/sdcadm/node_modules/sdc-clients/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)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
sdcadm update: error: imgapi client error (ImageUuidAlreadyExists): image uuid "9fb2ea90-b1cf-11e6-a586-4b418000a9c5" already exists
imgadm list | grep docker
269cfa9a-b032-11e6-a6b7-cba1698b18f4 docker master-20161121T212616Z-g2c4c350 smartos zone-dataset 2016-11-21
The text was updated successfully, but these errors were encountered: