Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger OvfDataUpdater when detaching a storage domain #678

Merged
merged 1 commit into from
Sep 27, 2022

Commits on Sep 27, 2022

  1. core: trigger OvfDataUpdater when detaching a storage domain

    This patch adds a call to OvfDataUpdater#triggerNow right after detaching
    a storage domain in order to clean VMs/templates that were removed when
    the storage domain was detached from the vm_ovf_generations table
    immediately rather than in the next cycle we update the OVFs.
    
    In 78d21ee we fixed an issue that caused importing VMs/templates with
    old (stale) data. That fix could very well also fix the issue described
    in the below mentioned bug, however, it is safer to also ensure that the
    removed VMs/templates are also removed from the vm_ovf_generations table
    to stop having old/stale data in the database that should never be used.
    
    Bug-Url: https://bugzilla.redhat.com/1705338
    Signed-off-by: Arik Hadas <ahadas@redhat.com>
    ahadas authored and mwperina committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    9bb5a2d View commit details
    Browse the repository at this point in the history