• Icon: Feature Feature
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • nova-operator
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • ?
    • ?
    • ?
    • ?
    • 67% To Do, 0% In Progress, 33% Done

      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:
              1 Start watching this issue

                Created:
                Updated: