Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1513440 - Re-enable libvirt TLS with SASL authentication
Re-enable libvirt TLS with SASL authentication
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates (Show other bugs)
12.0 (Pike)
Unspecified Unspecified
urgent Severity urgent
: rc
: 12.0 (Pike)
Assigned To: Ollie Walsh
Joe H. Rahme
: Triaged
Depends On:
Blocks: 1336504 1484481
  Show dependency treegraph
 
Reported: 2017-11-15 07:15 EST by Ollie Walsh
Modified: 2018-02-05 14:15 EST (History)
6 users (show)

See Also:
Fixed In Version: openstack-tripleo-heat-templates-7.0.3-14.el7ost, puppet-tripleo-7.4.3-10.el7ost, openstack-tripleo-common-7.6.3-5.el7ost, openstack-tripleo-puppet-elements-7.0.1-2.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-13 17:20:31 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
rhosp-director-images patch for cyrus-sasl-scram (1.27 KB, application/mbox)
2017-11-15 15:02 EST, Jon Schlueter
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1732479 None None None 2017-11-15 10:49 EST
OpenStack gerrit 522843 None stable/pike: MERGED tripleo-puppet-elements: Include required packages for libvirt SASL auth 2017-11-27 14:13 EST
OpenStack gerrit 522845 None stable/pike: MERGED kolla: Include required packages for libvirt SASL auth on CentOs/RHEL 2017-11-27 14:13 EST
OpenStack gerrit 522846 None stable/pike: MERGED tripleo-common: Generate password for libvirt TLS SCRAM auth 2017-11-27 14:13 EST
OpenStack gerrit 522847 None stable/pike: MERGED puppet-tripleo: Configure libvirt SASL SCRAM-SHA1 when TLS is enabled 2017-11-27 14:12 EST
OpenStack gerrit 522848 None stable/pike: MERGED tripleo-heat-templates: Re-enable libvirt TLS with SCRAM SHA-1 auth 2017-11-27 14:12 EST
Red Hat Product Errata RHEA-2017:3462 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-15 20:43:25 EST

  None (edit)
Description Ollie Walsh 2017-11-15 07:15:52 EST
Libvirt TLS with client certs alone is not secure and has been disabled in https://bugzilla.redhat.com/show_bug.cgi?id=1510216.

Additional measures must be taken to control access, such as fine grained control of the permitted clients (e.g by using a dedicated CA for libvirt) or configuring SASL authentication.
Comment 2 Jon Schlueter 2017-11-15 10:27:34 EST
This will require a kolla patch upstream for master and stable/pike for the nova_libvirt docker file

and likely a dib element for overcloud-full in upstream if they care about the issue.
Comment 3 Jon Schlueter 2017-11-15 15:02 EST
Created attachment 1352946 [details]
rhosp-director-images patch for cyrus-sasl-scram
Comment 6 Jon Schlueter 2017-11-27 14:20:23 EST
openstack-nova-libvirt-docker > 12.0-20171127.1 should have this fix
Comment 8 Joe H. Rahme 2017-12-04 11:18:46 EST
Libvirt configured with TLS:

[root@overcloud-compute-0 ~]# docker exec nova_libvirt grep listen_tls /etc/libvirt/libvirtd.conf
#listen_tls = 0
listen_tls=1


Nova configured to use TLS migrations:

[root@overcloud-compute-0 ~]# docker exec nova_libvirt grep live_migration_scheme /etc/nova/nova.conf
# * ``live_migration_scheme``: If ``live_migration_uri`` is not set, the scheme
#   used for live migration is taken from ``live_migration_scheme`` instead.
# ``live_migration_scheme``
#live_migration_scheme=<None>
live_migration_scheme=tls
Comment 11 errata-xmlrpc 2017-12-13 17:20:31 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:3462

Note You need to log in before you can comment on or make changes to this bug.