0 Replies Latest reply on Apr 3, 2020 2:24 AM by odraghi

    HTML5 - VM Sizing Policy dropwon issue

    odraghi Lurker

      Hi,

       

      I setup a vdc with lot of VM Sizing Policies in vCD 10.0.0.1

      My issue start at 11 computePolicies.

       

      In the HTML5 ui, when I want to create a VM with vdc\Compute\VirtualMachine\NEW VM, strange things happened in content-modal inside the VM Sizing dropdown.

       

      First some policies don't show their description.

      Secondly, if you setup some VM Placement Policies , they can appear in the VM Sizing dropdown.

       

      My browser sent 2 queries:

      Query 1)      To get the vdc vdcComputePolicyReference array.

                     GET /api/vdc/33b1f2d0-39d0-416c-9e67-46941d35f7ad/computePolicies

       

       

      Query 2)   To get details of  each computePolicies (with vdcComputePolicyReference result) :

       

                GET /cloudapi/1.0.0/vdcComputePolicies?page=1&pageSize=10&filter=(id==urn:vcloud:vdcComputePolicy:6a3f9a79-ebfb-45b8-b714-8d8786321839,id==urn:vcloud:vdcComputePolicy:518f3d50-9d71-40ac-af79-d39881c1e26a,id==urn:vcloud:vdcComputePolicy:7656d89e-4428-4fff-9c86-13335924a971,id==urn:vcloud:vdcComputePolicy:53e38bda-c60b-4a7a-9968-5503f4ef2c17,id==urn:vcloud:vdcComputePolicy:3e5932b5-dd16-4f81-8106-bf8cde1e7a51,id==urn:vcloud:vdcComputePolicy:e1ca0b16-3760-4ffd-88d2-1170bd0f82c8,id==urn:vcloud:vdcComputePolicy:2e2ecf90-886d-44b5-8b68-07e70b55312a,id==urn:vcloud:vdcComputePolicy:acf9568a-5ba8-4e19-a26b-0e79398178a9,id==urn:vcloud:vdcComputePolicy:b396b08e-ede8-4d65-a9c9-1276e05b182c,id==urn:vcloud:vdcComputePolicy:b7027851-9399-483d-9f96-2db8690f8f8b,id==urn:vcloud:vdcComputePolicy:0cb6b407-1d9a-46cf-b54a-645f98321231)&links=true

       

       

           Result:

           {

                "resultTotal":11,

                "pageCount":2,

                "page":1,

                "pageSize":10,

                "associations":null,

       

       

       

       

      I think that angular code miss to follow "page 2" that contains details of other computePolicies.

      So these policies don't have description and isSizingOnly attribute value.