Stein Series Release Notes¶
0.0.0¶
New Features¶
New variables have been added to allow a deployer to customize a cloudkitty systemd unit file to their liking.
The task dropping the cloudkitty systemd unit files now uses the
config_templateaction plugin allowing deployers access to customize the unit files as they see fit without having to load extra options into the defaults and polute the generic systemd unit file with jinja2 variables and conditionals.
The service setup in keystone for cloudkitty will now be executed through delegation to the
cloudkitty_service_setup_hostwhich, by default, islocalhost(the deploy host). Deployers can opt to rather change this to the utility container by implementing the following override inuser_variables.yml.cloudkitty_service_setup_host: "{{ groups['utility_all'][0] }}"
For the
os_cloudkittyrole, the systemd unitTimeoutSecvalue which controls the time between sending a SIGTERM signal and a SIGKILL signal when stopping or restarting the service has been reduced from 300 seconds to 120 seconds. This provides 2 minutes for long-lived sessions to drain while preventing new ones from starting before a restart or a stop. TheRestartSecvalue which controls the time between the service stop and start when restarting has been reduced from 150 seconds to 2 seconds to make the restart happen faster. These values can be adjusted by using thecloudkitty_*_init_config_overridesvariables which use theconfig_templatetask to change template defaults.
Support separate oslo.messaging services for RPC and Notifications to enable operation of separate and different messaging backend servers.
The os_cloudkitty role now supports the ability to configure whether apt/yum tasks install the latest available package, or just ensure that the package is present. The default action is to ensure that the latest package is present. The action taken may be changed to only ensure that the package is present by setting
cloudkitty_package_statetopresent.
Upgrade Notes¶
For the
os_cloudkittyrole, the systemd unitTimeoutSecvalue which controls the time between sending a SIGTERM signal and a SIGKILL signal when stopping or restarting the service has been reduced from 300 seconds to 120 seconds. This provides 2 minutes for long-lived sessions to drain while preventing new ones from starting before a restart or a stop. TheRestartSecvalue which controls the time between the service stop and start when restarting has been reduced from 150 seconds to 2 seconds to make the restart happen faster. These values can be adjusted by using thecloudkitty_*_init_config_overridesvariables which use theconfig_templatetask to change template defaults.
Installation of cloudkitty and its dependent pip packages will now only occur within a Python virtual environment. The
cloudkitty_venv_binandcloudkitty_venv_enabledvariables have been removed.
The os_cloudkitty role always checks whether the latest package is installed when executed. If a deployer wishes to change the check to only validate the presence of the package, the option
cloudkitty_package_stateshould be set topresent.
The variables
cloudkitty_requirements_git_repoandcloudkitty_requirements_git_install_branchhave been removed in favour of using the URL/path to the upper-constraints file using the variablepip_install_upper_constraintsinstead.
Deprecation Notes¶
The variable
cloudkitty_requires_pip_packagesis no longer required and has therefore been removed.
The log path,
/var/log/cloudkittyis no longer used to capture service logs. All logging for the cloudkitty service will now be sent directly to the systemd journal.
The rabbitmq server parameters have been replaced by corresponding oslo.messaging RPC and Notify parameters in order to abstract the messaging service from the actual backend server deployment. - cloudkitty_oslomsg_rpc_servers replaces rabbitmq_servers - cloudkitty_oslomsg_rpc_port replaces rabbitmq_port - cloudkitty_oslomsg_rpc_userid replaces rabbitmq_userid - cloudkitty_oslomsg_rpc_vhost replaces rabbitmq_vhost - cloudkitty_oslomsg_rpc_use_ssl replaces rabbitmq_use_ssl - added cloudkitty_oslomsg_notify_servers - added cloudkitty_oslomsg_notify_port - added cloudkitty_oslomsg_notify_use_ssl - added cloudkitty_oslomsg_notify_userid - added cloudkitty_oslomsg_notify_vhost
Removed PKI token support and the
cloudkitty_signing_dirparameter.
Remove
cloudkitty_rpc_backendoption due to deprecation of rpc_backend option in oslo.messaging.
Other Notes¶
Ubuntu Trusty (14.04) support is now removed from the os_cloudkitty role.