Active resize validation around PPT ratio is broken for None values
Bug #1715475 reported by
Matt Rabe
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pypowervm |
Fix Released
|
Undecided
|
Matt Rabe |
Bug Description
The existing logic in utils/validation.py is:
if self.ppt_ratio != curr_mem_
msg = ("The virtual machine must be powered off before changing "
raise ValidatorExcept
But the LPARBuilder won't put the PPT ratio element into the wrapper if the value is None. At the platform this is fine and the PPT ratio will remain the same value on resize. The validator should not throw this exception if the value is None.
Changed in pypowervm: | |
assignee: | nobody → Matt Rabe (mdrabe) |
description: | updated |
description: | updated |
To post a comment you must log in.
https:/ /github. com/powervm/ pypowervm/ commit/ 9d1f90450b2017d 41bf480f424a5af 890d09a642