Skip to content
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

MinIO appliance instantiation issue with certain disk sizes #122

Closed
dgarcia18 opened this issue Jul 8, 2024 · 1 comment · Fixed by OpenNebula/marketplace#112
Closed
Assignees
Labels
category: appliances Generic category for new appliances

Comments

@dgarcia18
Copy link
Contributor

Bug when deploying the MinIO appliance. The virtual size of the appliance disk is 2,2GB, while the real disk size is 454MB.

When we try to instantiate it with less than 2.2GB disk size and get the following error from the Ceph driver:

Mon Jul  8 13:53:17 2024 [Z0][TrM][D]: Message received: TRANSFER FAILURE 1420 ERROR: clone: Command "    RBD="rbd --id oneclient"      rbd --id oneclient info onepool/one-132-1420-0 >/dev/null 2>&1 && exit 0      rbd_make_snap onepool/one-132      set -e -o pipefail      if [ "$(rbd_format onepool/one-132)" = "2" ]; then         rbd --id oneclient  clone "onepool/one-132@snap" onepool/one-132-1420-0     else         rbd --id oneclient copy onepool/one-132 onepool/one-132-1420-0     fi      if [ -n "454" -a "2048" -gt "454" ]; then         rbd --id oneclient resize onepool/one-132-1420-0 --size 2048     fi" failed: ^MCreating snap: 10% complete...^MCreating snap: 100% complete...done. rbd: shrinking an image is only allowed with the --allow-shrink flag Error cloning onepool/one-132 to onepool/one-132-1420-0 in uma-host-09

Issue probably due to the skip_resize_disk attribute in the appliance Packer script.

@dgarcia18 dgarcia18 added the category: appliances Generic category for new appliances label Jul 8, 2024
@dgarcia18 dgarcia18 self-assigned this Jul 8, 2024
@Aletibazo Aletibazo self-assigned this Jul 9, 2024
@Aletibazo
Copy link
Contributor

Real disk size should be 2.2GB, fixed on linked PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: appliances Generic category for new appliances
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants