From 952fad5c31fc5630f9bb2016412ebc9df60472f2 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Tue, 6 Jun 2017 08:55:12 +0000 Subject: [PATCH] Update vars to match latest keepalived role While the user interface is retro-compatible, it's probably better to adapt our vars and examples to show what's the future gonna be. Change-Id: Ic242f98d775ccd176e69251e4734075bbbb01146 --- .../openstack_user_config.yml.example | 2 +- group_vars/all/keepalived.yml | 2 +- .../keepalived_new_vars-a3b2f0d334f79e10.yaml | 15 +++++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 releasenotes/notes/keepalived_new_vars-a3b2f0d334f79e10.yaml diff --git a/etc/openstack_deploy/openstack_user_config.yml.example b/etc/openstack_deploy/openstack_user_config.yml.example index 1e60a84457..e72f13a2c1 100644 --- a/etc/openstack_deploy/openstack_user_config.yml.example +++ b/etc/openstack_deploy/openstack_user_config.yml.example @@ -718,7 +718,7 @@ # # To always deploy (or upgrade to) the latest stable version of keepalived. # Edit the ``/etc/openstack_deploy/user_variables.yml``: -# keepalived_use_latest_stable: True +# keepalived_package_state: latest # # The group_vars/all/keepalived.yml contains the keepalived # variables that are fed into the keepalived role during diff --git a/group_vars/all/keepalived.yml b/group_vars/all/keepalived.yml index d1c49bee36..419162937f 100644 --- a/group_vars/all/keepalived.yml +++ b/group_vars/all/keepalived.yml @@ -16,7 +16,7 @@ keepalived_ping_address: "193.0.14.129" keepalived_ping_count: 1 keepalived_ping_interval: 10 -keepalived_uca_enable: True +keepalived_ubuntu_src: "uca" keepalived_sync_groups: haproxy: diff --git a/releasenotes/notes/keepalived_new_vars-a3b2f0d334f79e10.yaml b/releasenotes/notes/keepalived_new_vars-a3b2f0d334f79e10.yaml new file mode 100644 index 0000000000..8f476542b8 --- /dev/null +++ b/releasenotes/notes/keepalived_new_vars-a3b2f0d334f79e10.yaml @@ -0,0 +1,15 @@ +--- +deprecations: + - | + The variable ``keepalived_uca_enable`` is deprecated, and replaced + by ``keepalived_ubuntu_src``. The ``keepalived_uca_enable`` variable will + be removed in future versions of the keepalived role. The value of + ``keepalived_ubuntu_src`` should be either "uca", "ppa", or "native", + for respectively installing from the Ubuntu Cloud archive, from keepalived + stable ppa, or not installing from an external source. + - | + The variable ``keepalived_use_latest_stable`` is deprecated, and replaced + by ``keepalived_package_state``. The ``keepalived_use_latest_stable`` + variable will be removed in future versions of the keepalived role. + The value of ``keepalived_package_state`` should be either "latest" or + "present".