Uploaded image for project: 'Active and Available Inventory'
  1. Active and Available Inventory
  2. AAI-2899

upon deletion of tenant vserver objects under that tenant are kept but when the tenant is put back the vservers are not present under the tenant but still exist in AAI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • Montreal Release
    • Dublin Release, El Alto Release, Frankfurt Release

      It is easily reproducible by following these steps:

      I have the following v-server under a given tenant

       

      /aai/v16/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/lab-nfvi/tenants/tenant/c21ac68e8a5a49ceb3973541e709177d/vservers/vserver/1907783b-a811-47e9-9ea1-a4dba0444846

       

      When I send the following GET request I get  the list of vservers under that tenant:

       

      /aai/v16/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/lab-nfvi/tenants/tenant/c21ac68e8a5a49ceb3973541e709177d/vservers

       

       

      When I delete the tenant under which the vserver is present. I am still able to see the vserver

       

      /aai/v16/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/lab-nfvi/tenants/tenant/c21ac68e8a5a49ceb3973541e709177d/vservers/vserver/1907783b-a811-47e9-9ea1-a4dba0444846

       

      I confirmed the tenant was gone by doing  a GET request and I got a 404

       

      /aai/v16/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/lab-nfvi/tenants/tenant/c21ac68e8a5a49ceb3973541e709177d

       

      I put the tenant with the exact same information and confirmed now the tenant exist.

       

      When I send the following GET request no v-servers listed:

       

      /aai/v16/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/lab-nfvi/tenants/tenant/c21ac68e8a5a49ceb3973541e709177d/vservers

       

      However the following GET request still returns the vserver I had.

       

      /aai/v16/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/lab-nfvi/tenants/tenant/c21ac68e8a5a49ceb3973541e709177d/vservers/vserver/1907783b-a811-47e9-9ea1-a4dba0444846

       

       So this means upon deletion of tenant vserver objects under that tenant are kept but when the tenant is put back the vservers are no under the tenant but still exist in AAI.

            Unassigned Unassigned
            mahmad mahmad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: