Saksham Srivastava created CLOUDSTACK-6479:
----------------------------------------------

             Summary: Strict and Preferred modes should only be allowed in 
Implict Dedication Planner Service Offerings
                 Key: CLOUDSTACK-6479
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6479
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
    Affects Versions: 4.4.0
            Reporter: Saksham Srivastava


While creating service offering choosing deployment planner other than Implicit 
Dedication Planner the modes(Strict and Preferred) should not be allowed.
However CS allows creation of service offerings with other planners using 
Implicit Dedication Planner modes.

>> create serviceoffering name=so1 displaytext=other_planner storagetype=shared 
>> deploymentplanner=UserConcentratedPodPlanner 
>> serviceofferingdetails[0].key=ImplicitDedicationMode 
>> serviceofferingdetails[0].value=Strict 
>> serviceofferingdetails[1].key=pciDevice 
>> serviceofferingdetails[1].value=Group%20of%20NVIDIA%20Corporation%20GK107GL%20[GRID%20K1]%20GPUs
>>  serviceofferingdetails[2].key=vgpuType 
>> serviceofferingdetails[2].key=vgpuType 
>> serviceofferingdetails[2].value=passthrough

serviceoffering:
name = so1
id = d6a6db13-5eb8-4e93-924a-127bf89d8029
created = 2014-04-23T12:15:00+0530
defaultuse = False
deploymentplanner = UserConcentratedPodPlanner
displaytext = other_planner
iscustomized = True
issystem = False
isvolatile = False
limitcpuuse = False
offerha = False
serviceofferingdetails:
ImplicitDedicationMode = Strict
pciDevice = Group%20of%20NVIDIA%20Corporation%20GK107GL%20[GRID%20K1]%20GPUs
vgpuType = passthrough
storagetype = shared



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to