• Support Cell deletion
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • OSPRH-10657Support Cell deletion
    • Committed
    • OSPRH-10657 - Support Cell deletion
    • nova-operator-container-1.0.4-4
    • 33% To Do, 0% In Progress, 67% Done
    • 2024Q1

      When a NovaCell definition is removed from Nova.CellTemplates map the removed NovaCell and each child resource needs to be automatically deleted.

      • NovaConductor, NovaNoVNCProxy under the NovaCell
      • MariaDBDatabase for the cell and the related DB schema
      • RabbitMqCluster for the cell
      • The cell related row from nova_api.cell_mappings;
      • The cell related rows from the nova_api.host_mappings;

      The Nova.Status.RegisteredCells can be used to detect if a cell name is removed from the CellTemplates, BUT we need to change the RegisteredCells logic a bit to put the cell name into that map right after the NovaCell is created and not just after it is fully deployed otherwise we leak partially deployed cells.

      Check that is there computes still connected to this NovaCell.

      It feels dangerous to delete all the DB content at NovaCell delete.

              ksambor@redhat.com Kamil Sambor
              rh-ee-bgibizer Balazs Gibizer
              rhos-dfg-compute
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: