You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried to build machine image by packer-wakamevdc, an UnknownBackupStorage occured.
It said there was no backup storage named 'bkst-local', but I couldn't find any parameters about backup storage in related source files under wakame-vdc/client/.
My vdc has no backup storage named 'bkst-local'. It looks packer-builder-wakamevdc always tries to put image into 'bkst-local'.
log:
$ packer build packer-wakamevdc.json
wakamevdc output will be in this color.
==> wakamevdc: Creating SSH Key...
--snip--
==> wakamevdc: Power off instance...
==> wakamevdc: Instance halted...
==> wakamevdc: Taking instance backup...
==> wakamevdc: Error taking instance backup: API Error: Type: Dcmgr::Endpoints::Errors::UnknownBackupStorage, Code: 153, Message: bkst-local, (HTTP 404)
==> wakamevdc: Terminating the instance because cancelation or error...
==> wakamevdc: Deleting temporary ssh key...
==> wakamevdc: Deleting temporary security group...
Build 'wakamevdc' errored: Error taking instance backup: API Error: Type: Dcmgr::Endpoints::Errors::UnknownBackupStorage, Code: 153, Message: bkst-local, (HTTP 404)
My backup storage setting is like below:
vdc-manage>> backupstorage show
UUID Storage Type Base URI
bkst-demo1 local file:///opt/axsh/wakame-vdc/images/
vdc-manage>>
fyi, It works almost fine after adding bkst-local.
(It still has an error of ssh key/security group deletion, though.)
vdc-manage>> backupstorage add --uuid bkst-local --base-uri=file:///opt/axsh/wakame-vdc/images/ --storage-type=local
bkst-local
vdc-manage>> backupstorage show
UUID Storage Type Base URI
bkst-demo1 local file:///opt/axsh/wakame-vdc/images/
bkst-local local file:///opt/axsh/wakame-vdc/images/
==> wakamevdc: Instance halted...
==> wakamevdc: Taking instance backup...
==> wakamevdc: New image: wmi-3cngjx4v
==> wakamevdc: Image created...
==> wakamevdc: Terminate instance...
==> wakamevdc: Deleting temporary ssh key...
==> wakamevdc: Error cleaning up ssh key (ssh-472bri51). Please delete the key manually: API Error: Type: Dcmgr::Endpoints::Errors::ExistsRegisteredInstance, Code: 158, Message: Number of instance reference is not zero: 1., (HTTP 400)
==> wakamevdc: Deleting temporary security group...
==> wakamevdc: Error cleaning up security group (sg-qdnxvr9x). Please delete the security group manually: API Error: Type: Dcmgr::Endpoints::Errors::OperationNotPermitted, Code: 105, Message: Dcmgr::Endpoints::Errors::OperationNotPermitted, (HTTP 403)
Build 'wakamevdc' finished.
==> Builds finished. The artifacts of successful builds are:
--> wakamevdc: A machine image was created: 'wmi-3cngjx4v'
I guess there should be the backup-storage-uuid parameter which is optional.
(or perhaps, is there that already? if so, sorry that I couldn't find.)
branch
packer-builder
The text was updated successfully, but these errors were encountered:
issue
When I tried to build machine image by packer-wakamevdc, an UnknownBackupStorage occured.
It said there was no backup storage named 'bkst-local', but I couldn't find any parameters about backup storage in related source files under wakame-vdc/client/.
My vdc has no backup storage named 'bkst-local'. It looks packer-builder-wakamevdc always tries to put image into 'bkst-local'.
log:
My backup storage setting is like below:
packer-wakamevdc.json:
fyi, It works almost fine after adding bkst-local.
(It still has an error of ssh key/security group deletion, though.)
I guess there should be the backup-storage-uuid parameter which is optional.
(or perhaps, is there that already? if so, sorry that I couldn't find.)
branch
packer-builder
The text was updated successfully, but these errors were encountered: