Skip to content

Add ability to Ansible Kolla to be able to confire Libvirt live migration #533

Closed

Description

@fdobrovolny

Epic #462

As an SCS User, I want to be able to enable TLS on libvirt live migrations so that the migration between nova compute nodes is secure.

Libvirt already enables the ability to use SSL for live migrations; however, Ansible Kolla misses a way to enable this.

SovereignCloudStack/standards#370 (comment)

https://docs.openstack.org/kolla-ansible/latest/reference/compute/libvirt-guide.html.
https://docs.openstack.org/nova/latest/admin/secure-live-migration-with-qemu-native-tls.html
https://github.com/openstack/kolla-ansible/blob/a3f3dc7ab5e1bed82bee9a0a8563e0e812e90b6c/ansible/roles/nova-cell/templates/libvirtd.conf.j2#L4

Definition of Ready:

  • User Story is small enough to be finished within one sprint
  • User Story is clear and understood by the whole team
  • Acceptance criteria are defined
  • Acceptance criteria are clear and understood by the whole team

Definition of Done:

  • All acceptance criteria are met
  • Changes have been reviewed
  • CI tests have run successfully
  • Documentation has been updated
  • Release Notes have been updated

Activity

  1. added
    IaaS
    SCS-VP04
    on Feb 16, 2024
  2. berendt commented on Mar 5, 2024

    @berendt

    This should already be doable. Have you tested the libvirt_tls parameter?

    # Use TLS for libvirt connections and live migration
    libvirt_tls: false
    

    https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/nova-cell/defaults/main.yml#L548-L549

  3. berendt commented on Mar 12, 2024

    @berendt

    @fdobrovolny Is it tested?

    If we want to have this by default, we would also have to consider whether something has to be taken into account for an upgrade.

  4. fdobrovolny commented on Mar 12, 2024

    @fdobrovolny
    Author

    @fdobrovolny Is it tested?

    If we want to have this by default, we would also have to consider whether something has to be taken into account for an upgrade.

    @berendt

    I can test it. Should I make a new task, "Enable libvirt encryption by default in OSISM"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    IaaSSCS-VP04

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions