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

TCP/TLS, libvirtd.conf, qemu.conf, additional packages #51

Merged
merged 6 commits into from Mar 3, 2022

Conversation

markgoddard
Copy link
Member

Various improvements:

  • Skip installing epel-release on CentOS/RHEL 8
  • Use import_tasks/include_tasks for task files
  • Make libvirtd.conf and qemu.conf configurable
  • Support systemd TCP and TLS sockets
  • Add support for installing additional packages

It was only required on CentOS 7 for QEMU emulators.
Adds support for configuring libvirtd.conf via
libvirt_host_libvirtd_conf and qemu.conf via libvirt_host_qemu_conf.
This will overwrite any existing configuration in these files.
Configuring these files may be avoided via
libvirt_host_libvirtd_conf_enabled and libvirt_host_qemu_conf_enabled
respectively.
Adds support for Systemd TCP and TLS sockets. These Systemd services
open a socket which is passed to libvirtd.
Separate package lists are provided for client & daemon hosts.

* libvirt_host_extra_daemon_packages
* libvirt_host_extra_client_packages
@markgoddard markgoddard self-assigned this Feb 11, 2022
markgoddard added a commit to stackhpc/kayobe-original that referenced this pull request Feb 14, 2022
In some cases it may be desirable to run libvirt daemon on the host. For
example, when mixing host and container OS distributions.

This change makes it possible to disable the nova_libvirt container, by
setting kolla_enable_nova_libvirt_container to false. This is the new
default.

The stackhpc.libvirt-host role is used in order to install and configure
a libvirt daemon on compute hosts when
kolla_enable_nova_libvirt_container is false.

Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/825357
Depends-On: stackhpc/ansible-role-libvirt-host#51

Change-Id: I73fef63fb886a9d543d2f4231fb009523495edb3
This may be useful in cases where we don't want to install the daemon,
but we do want to configure AppArmor for directory storage pools.
@markgoddard markgoddard merged commit a4f0dcc into master Mar 3, 2022
@markgoddard markgoddard deleted the libvirt-config branch March 3, 2022 11:27
markgoddard added a commit to stackhpc/kayobe-original that referenced this pull request Mar 24, 2022
In some cases it may be desirable to run libvirt daemon on the host. For
example, when mixing host and container OS distributions.

This change makes it possible to disable the nova_libvirt container, by
setting kolla_enable_nova_libvirt_container to false.

The stackhpc.libvirt-host role is used in order to install and configure
a libvirt daemon on compute hosts when
kolla_enable_nova_libvirt_container is false.

Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/825357
Depends-On: https://review.opendev.org/c/openstack/kayobe-config-dev/+/829225
Depends-On: stackhpc/ansible-role-libvirt-host#51

Story: 2009858
Task: 44495

Change-Id: I73fef63fb886a9d543d2f4231fb009523495edb3
(cherry picked from commit c4b74f4)
openstack-mirroring pushed a commit to openstack/kayobe that referenced this pull request Mar 29, 2022
In some cases it may be desirable to run libvirt daemon on the host. For
example, when mixing host and container OS distributions.

This change makes it possible to disable the nova_libvirt container, by
setting kolla_enable_nova_libvirt_container to false.

The stackhpc.libvirt-host role is used in order to install and configure
a libvirt daemon on compute hosts when
kolla_enable_nova_libvirt_container is false.

Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/825357
Depends-On: https://review.opendev.org/c/openstack/kayobe-config-dev/+/829225
Depends-On: stackhpc/ansible-role-libvirt-host#51

Story: 2009858
Task: 44495

Change-Id: I73fef63fb886a9d543d2f4231fb009523495edb3
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Mar 29, 2022
* Update kayobe from branch 'master'
  to 4bb2aa8f29fde66daff5bf9c947d291a3a91afc8
  - Merge "libvirt: deploy libvirt on the host"
  - libvirt: deploy libvirt on the host
    
    In some cases it may be desirable to run libvirt daemon on the host. For
    example, when mixing host and container OS distributions.
    
    This change makes it possible to disable the nova_libvirt container, by
    setting kolla_enable_nova_libvirt_container to false.
    
    The stackhpc.libvirt-host role is used in order to install and configure
    a libvirt daemon on compute hosts when
    kolla_enable_nova_libvirt_container is false.
    
    Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/825357
    Depends-On: https://review.opendev.org/c/openstack/kayobe-config-dev/+/829225
    Depends-On: stackhpc/ansible-role-libvirt-host#51
    
    Story: 2009858
    Task: 44495
    
    Change-Id: I73fef63fb886a9d543d2f4231fb009523495edb3
jovial pushed a commit to jovial/kayobe that referenced this pull request Apr 27, 2022
In some cases it may be desirable to run libvirt daemon on the host. For
example, when mixing host and container OS distributions.

This change makes it possible to disable the nova_libvirt container, by
setting kolla_enable_nova_libvirt_container to false.

The stackhpc.libvirt-host role is used in order to install and configure
a libvirt daemon on compute hosts when
kolla_enable_nova_libvirt_container is false.

Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/825357
Depends-On: https://review.opendev.org/c/openstack/kayobe-config-dev/+/829225
Depends-On: stackhpc/ansible-role-libvirt-host#51

Story: 2009858
Task: 44495

Change-Id: I73fef63fb886a9d543d2f4231fb009523495edb3
(cherry picked from commit c4b74f4)
markgoddard added a commit to stackhpc/kayobe that referenced this pull request Jun 20, 2022
In some cases it may be desirable to run libvirt daemon on the host. For
example, when mixing host and container OS distributions.

This change makes it possible to disable the nova_libvirt container, by
setting kolla_enable_nova_libvirt_container to false.

The stackhpc.libvirt-host role is used in order to install and configure
a libvirt daemon on compute hosts when
kolla_enable_nova_libvirt_container is false.

Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/825357
Depends-On: https://review.opendev.org/c/openstack/kayobe-config-dev/+/829225
Depends-On: stackhpc/ansible-role-libvirt-host#51

Story: 2009858
Task: 44495

Change-Id: I73fef63fb886a9d543d2f4231fb009523495edb3
(cherry picked from commit c4b74f4)
markgoddard added a commit to stackhpc/kayobe that referenced this pull request Jun 20, 2022
In some cases it may be desirable to run libvirt daemon on the host. For
example, when mixing host and container OS distributions.

This change makes it possible to disable the nova_libvirt container, by
setting kolla_enable_nova_libvirt_container to false.

The stackhpc.libvirt-host role is used in order to install and configure
a libvirt daemon on compute hosts when
kolla_enable_nova_libvirt_container is false.

Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/825357
Depends-On: https://review.opendev.org/c/openstack/kayobe-config-dev/+/829225
Depends-On: stackhpc/ansible-role-libvirt-host#51

Story: 2009858
Task: 44495

Change-Id: I73fef63fb886a9d543d2f4231fb009523495edb3
(cherry picked from commit c4b74f4)
jovial pushed a commit to stackhpc/kayobe that referenced this pull request Jul 21, 2022
In some cases it may be desirable to run libvirt daemon on the host. For
example, when mixing host and container OS distributions.

This change makes it possible to disable the nova_libvirt container, by
setting kolla_enable_nova_libvirt_container to false.

The stackhpc.libvirt-host role is used in order to install and configure
a libvirt daemon on compute hosts when
kolla_enable_nova_libvirt_container is false.

Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/825357
Depends-On: https://review.opendev.org/c/openstack/kayobe-config-dev/+/829225
Depends-On: stackhpc/ansible-role-libvirt-host#51

Story: 2009858
Task: 44495

Change-Id: I73fef63fb886a9d543d2f4231fb009523495edb3
(cherry picked from commit c4b74f4)
jovial pushed a commit to stackhpc/kayobe that referenced this pull request Oct 5, 2022
In some cases it may be desirable to run libvirt daemon on the host. For
example, when mixing host and container OS distributions.

This change makes it possible to disable the nova_libvirt container, by
setting kolla_enable_nova_libvirt_container to false.

The stackhpc.libvirt-host role is used in order to install and configure
a libvirt daemon on compute hosts when
kolla_enable_nova_libvirt_container is false.

Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/825357
Depends-On: https://review.opendev.org/c/openstack/kayobe-config-dev/+/829225
Depends-On: stackhpc/ansible-role-libvirt-host#51

Story: 2009858
Task: 44495

Change-Id: I73fef63fb886a9d543d2f4231fb009523495edb3
(cherry picked from commit c4b74f4)
Aethylred pushed a commit to nesi/kayobe that referenced this pull request Oct 19, 2022
In some cases it may be desirable to run libvirt daemon on the host. For
example, when mixing host and container OS distributions.

This change makes it possible to disable the nova_libvirt container, by
setting kolla_enable_nova_libvirt_container to false.

The stackhpc.libvirt-host role is used in order to install and configure
a libvirt daemon on compute hosts when
kolla_enable_nova_libvirt_container is false.

Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/825357
Depends-On: https://review.opendev.org/c/openstack/kayobe-config-dev/+/829225
Depends-On: stackhpc/ansible-role-libvirt-host#51

Story: 2009858
Task: 44495

Change-Id: I73fef63fb886a9d543d2f4231fb009523495edb3
(cherry picked from commit c4b74f4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants