Feature #4310
Better handling of optional roles (min/default cardinality 0)
Status: | New | Start date: | 01/27/2016 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Abel Coronado | % Done: | 0% | |
Category: | OneFlow | |||
Target version: | Release 5.4.4 | |||
Resolution: | Pull request: |
Description
Hello,
I just created a service with optional roles:
{ "name": "PC_admin", "cardinality": 0, "vm_template": 12780, "parents": [ "Horus" ], "min_vms": 0, "max_vms": 5, "elasticity_policies": [ ], "scheduled_policies": [ ] },
Here is my review:
- the cloud view does not support well:
- the
0
cardinality, the cursor is outside the cardinality bar - it's not possible to reset the cardinality
0
- the
- starting the service works as expected, the optional VMs are not deployed but their status is
RUNNING
:ROLE PC_admin ROLE STATE : RUNNING PARENTS : Horus VM TEMPLATE : 12780 CARDINALITY : 0 MIN VMS : 0 MAX VMS : 5 NODES INFORMATION VM_ID NAME STAT UCPU UMEM HOST TIME
- scaling the optional VMs works, but I can not set it to
0
Regards.
History
#1 Updated by EOLE Team almost 5 years ago
I tested with 5.0 and the issue is still present.
#2 Updated by EOLE Team about 4 years ago
- File flow-define-role-with-min-0-max-1.png added
- File flow-service-OK-without-VM.png added
- File flow-cloud-view-can-not-scale.png added
- File flow-user-view-can-scale-up.png added
- File flow-user-view-scaling-up.png added
I tested with 5.4 and things are a little better except for cloud view:
- We can define a role with
Min VMs
at0
: flow-define-role-with-min-0-max-1.png - The service can be deployed with a cardinality of
0
: flow-service-OK-without-VM.png - The cloud view does not permit to scale the role, either up or down: flow-cloud-view-can-not-scale.png
- The user view permit to scale the role
- The user view permit to choose a value outside
Min VMs
andMax VMs
: flow-user-view-do-not-limit-scale.png
#3 Updated by EOLE Team about 4 years ago
- File flow-user-view-can-scale-down.png added
- File flow-user-view-scaling-down.png added
- File flow-user-view-do-not-limit-scale.png added
Add missing screenshots.
#4 Updated by EOLE Team about 4 years ago
Note that the error message when I tried to scale too much is not very informative.
Regards.
#5 Updated by OpenNebula Systems Support Team over 3 years ago
- Tracker changed from Request to Feature
- Status changed from Pending to New
- Assignee set to Abel Coronado
- Target version set to Release 5.4.4