[mq] Allow for rabbit kombu ssl configuration

Bug #1464706 reported by Mark Vanderwiel on 2015-06-12
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Medium
Mark Vanderwiel

Bug Description

As defined in oslo.messaging for rabbit: https://github.com/openstack/oslo.messaging/blob/02ab25ecc61d539ddceef9e2a05ee03601f70682/oslo_messaging/_drivers/impl_rabbit.py#L55

cfg.StrOpt('kombu_ssl_keyfile',
               default='',
               deprecated_group='DEFAULT',
               help='SSL key file (valid only if SSL enabled).'),
    cfg.StrOpt('kombu_ssl_certfile',
               default='',
               deprecated_group='DEFAULT',
               help='SSL cert file (valid only if SSL enabled).'),
    cfg.StrOpt('kombu_ssl_ca_certs',
               default='',
               deprecated_group='DEFAULT',
               help='SSL certification authority file '
                    '(valid only if SSL enabled).'),
    cfg.FloatOpt('kombu_reconnect_delay',
                 default=1.0,
                 deprecated_group='DEFAULT',
                 help='How long to wait before reconnecting in response to an '
                      'AMQP consumer cancel notification.'),
    cfg.IntOpt('kombu_reconnect_timeout',
               # NOTE(dhellmann): We want this to be similar to
               # rpc_response_timeout, but we can't use
               # "$rpc_response_timeout" as a default because that
               # option may not have been defined by the time this
               # option is accessed. Instead, document the intent in
               # the help text for this option and provide a separate
               # literal default value.
               default=60,
               help='How long to wait before considering a reconnect '
                    'attempt to have failed. This value should not be '
                    'longer than rpc_response_timeout.'),

Tags: mq Edit Tag help

Fix proposed to branch: master
Review: https://review.openstack.org/191123

Changed in openstack-chef:
status: New → In Progress
Changed in openstack-chef:
assignee: Mark Vanderwiel (vanderwl) → Ma Wen Cheng (mars914)
Changed in openstack-chef:
assignee: Ma Wen Cheng (mars914) → Mark Vanderwiel (vanderwl)

Reviewed: https://review.openstack.org/191123
Committed: https://git.openstack.org/cgit/openstack/cookbook-openstack-common/commit/?id=818c927a3d669eedcf698b80b51246b6531c6d81
Submitter: Jenkins
Branch: master

commit 818c927a3d669eedcf698b80b51246b6531c6d81
Author: Mark Vanderwiel <email address hidden>
Date: Fri Jun 12 10:48:08 2015 -0500

    Allow rabbit mq kombu ssl configuration

    Add the rest of the kombu ssl configuration options.

    After this patch goes in, will need to update each cookbook
    that uses rabbit mq to add these to the conf file.

    Change-Id: Ie89f48b4a471d48df88f185a1012da9eb63071bd
    Partial-Bug: 1464706

Changed in openstack-chef:
importance: Undecided → Medium
milestone: none → kilo-rc1
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers