Remove usage of deprecated params for nova::network::neutron

neutron_* parameters were deprecated earlier and are
now removed with [1], let's use recommended params
now.

Also upgrade pip as latest cryptography needs rust[1] to build,
to use published wheel binaries for cryptography atleast 19.1.1 pip
is needed, so let's update pip to latest.

Also pin puppet-systemd to working commit as master puppet-systemd
is not compatible with puppet-rabbitmq, until it's fixed let's
pin like it's done in rdoinfo[3].

[1] https://review.opendev.org/c/openstack/puppet-nova/+/772175
[2] https://github.com/pyca/cryptography/issues/5771
[3] https://review.rdoproject.org/r/#/c/32088

Change-Id: I45a6585b24ed8ae694b21fb0b9617d843e95cdd9
This commit is contained in:
yatinkarel 2021-03-01 19:06:11 +05:30
parent 70aaa2b6af
commit d24fd0acf3
3 changed files with 7 additions and 6 deletions

View File

@ -162,7 +162,7 @@ mod 'sysctl',
mod 'systemd', mod 'systemd',
:git => 'https://github.com/camptocamp/puppet-systemd', :git => 'https://github.com/camptocamp/puppet-systemd',
:ref => 'master' :ref => '8f68b0dcf3bbbafc60c025879a28004fc9815aab'
mod 'vcsrepo', mod 'vcsrepo',
:git => 'https://github.com/puppetlabs/puppetlabs-vcsrepo', :git => 'https://github.com/puppetlabs/puppetlabs-vcsrepo',

View File

@ -5,10 +5,10 @@ class packstack::nova::neutron ()
class { '::nova::network::neutron': class { '::nova::network::neutron':
default_floating_pool => 'public', default_floating_pool => 'public',
neutron_password => hiera('CONFIG_NEUTRON_KS_PW'), password => hiera('CONFIG_NEUTRON_KS_PW'),
neutron_auth_type => 'v3password', auth_type => 'v3password',
neutron_project_name => 'services', project_name => 'services',
neutron_auth_url => "${neutron_auth_url}/v3", auth_url => "${neutron_auth_url}/v3",
neutron_region_name => hiera('CONFIG_KEYSTONE_REGION'), region_name => hiera('CONFIG_KEYSTONE_REGION'),
} }
} }

View File

@ -265,6 +265,7 @@ fi
# Setup packstack # Setup packstack
if [ "${INSTALL_FROM_SOURCE}" = true ]; then if [ "${INSTALL_FROM_SOURCE}" = true ]; then
$SUDO $PIP install -U pip
$SUDO $PIP install --ignore-installed -c https://opendev.org/openstack/requirements/raw/branch/$BRANCH/upper-constraints.txt --prefix=/usr . $SUDO $PIP install --ignore-installed -c https://opendev.org/openstack/requirements/raw/branch/$BRANCH/upper-constraints.txt --prefix=/usr .
# In Fedora when running with sudo gems are installed at /usr/local/bin/ even when GEM_HOME/GEM_BIN_DIR are set # In Fedora when running with sudo gems are installed at /usr/local/bin/ even when GEM_HOME/GEM_BIN_DIR are set
if [ "${PKG_MGR}" = "dnf" ]; then if [ "${PKG_MGR}" = "dnf" ]; then