[openstack-dev] [puppet] RabbitMQ deprecation
bdobrelia at mirantis.com
Mon Jun 8 10:40:02 UTC 2015
> I've spent some time trying to eliminate the number of deprecation warnings
> we have in preparation for our upgrade to Kilo. One of the ones that I got
> stuck on is the nova::rabbitmq::rabbitmq_class parameter.
> If this parameter is specified, and it is by default, then the class will
> include the rabbitmq class given by name, but it also the sets up useful
> dependencies between nova and RabbitMQ. For example, it will ensure that
> RabbitMQ is running before nova is started.
> It seems to me that this needs to be split into two sets of functionality.
If you specify rabbitmq_class=>false , the puppet-nova module will
only create required RabbitMQ entities, like user and vhost,
but will not install and configure the RabbitMQ. This is
expected and desired behavior for the Nova and other puppet
modules for OpenStack, AFAIK.
What would be pros, if the split introduced? I can see only cons:
increased complexity in the settings of parameters.
> * Not deprecated
> * if provided then it will be used to set up dependencies.
> * Defaults to rabbitmq.
> * This should perhaps just be hard coded to be rabbitmq now.
> * Deprecated
> * If specified, configures and sets up rabbitmq, including the class.
> * Defaults to ???
More information about the OpenStack-dev