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

Compute offering is not listed for vm when using disk offering strictness parameter #9776

Open
lsgalves opened this issue Oct 7, 2024 · 4 comments

Comments

@lsgalves
Copy link

lsgalves commented Oct 7, 2024

ISSUE TYPE
  • Bug Report
COMPONENT NAME
API
CLOUDSTACK VERSION
4.19.1.2
CONFIGURATION

n/a

OS / ENVIRONMENT

n/a

SUMMARY

When scaling a VM created with a compute offer created with the disk offering strictness parameter, other offers are not listed (even though there are others in the same zone with the same access options and also with the disk offering strictness parameter):

Scale Instance

According to the option description, it should not be allowed to change the disk offering for the ROOT disk after the VM is deployed:

Disk offering strictness

I don't know if there could be a connection, but the current behavior is to not allow changing the disk provision even during VM deployment:

Deployment VM

I believe this was not the expected behavior.

STEPS TO REPRODUCE
  1. Create two compute offerings with the disk offering strictness parameter
  2. Create a virtual machine with 1 first compute offer created
  3. Change the offer to the second one created
EXPECTED RESULTS

That it is possible to change the disk offering only during the deployment of the VM even if an offering with the disk offering strictness option has been chosen. And that it lists and allows scaling the machine to other computing offerings that also have the disk offering strictness option.

ACTUAL RESULTS

Compute offers are not listed when trying to scale the instance.

@kiranchavala
Copy link
Contributor

Able to reproduce the issue

The disk strictness related service offerings are not listed when scaling of a virtual machine is performed

@DaanHoogland DaanHoogland added this to the 4.19.2.0 milestone Oct 8, 2024
@DaanHoogland
Copy link
Contributor

@kiranchavala @lsgalves is this a UI only issue?

@matheusfontes
Copy link

@kiranchavala @lsgalves is this a UI only issue?

No.
It can be reproduced by api/cloudmonkey

@lsgalves
Copy link
Author

Sorry, please ignore this issue. The problem was occurring because the "Compute only disk offering" option was also enabled, so in this case there is no other offering with the same disk offering and therefore nothing is listed.

However, when scaling the offering the problem was different. When scaling I receive the error: "Unable to Scale VM, since disk offering id associated with the old service offering is not same for new service offering":
Current offerings

Scale Virtual Machine

I noticed that both offers point to the same diskofferingid, this error should not occur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants