This patch adds support for [keystone_authtoken] interface parameter,
so that operators can define which endpoint should be used by authtoken
middleware.
Change-Id: I380868884abe92b35e93c3bf22d877838d0eac55
(cherry picked from commit 0b973b4648)
(cherry picked from commit a15022400a)
The key parameter of swift backend is used to define a credentail to
access Swift so should be hidden in logs.
In Glance the user parameter(swift_store_user) is also defined as
a secret parameter. However it defines user name or id and user name
or id is not currently treated as secret in puppet, so this change
doesn't cover the user parameter.
Change-Id: Iac580df4de14ffdb19436417b2830a834efd087d
(cherry picked from commit 4a48192988)
(cherry picked from commit 048e9b458b)
(cherry picked from commit 572f60e47f)
(cherry picked from commit f6b75d9c2a)
(cherry picked from commit 2c1d7cbc99)
Adds ability to set swift_buffer_on_upload and swift_upload_buffer_dir
for swift multi backend
Change-Id: Ic29448860f5c7a8b743abd6f343985e65d8c5693
(cherry picked from commit 9d340581b1)
(cherry picked from commit d728209322)
Following the migration done in TripleO repos[1], this change replaces
usage of CentOS7 in TripleO jobs by CentOS8.
[1] 46d1aa9c5c8297f8c1854766f81b1143590536df
Depends-on: https://review.opendev.org/807321
Change-Id: I4faa2f9ca63ab2237cbfc1cebeffbd13c806e35e
This change reduces scope of tempest tests in tripleo job, so that we
run only subset of test cases used in TripleO repos.
Conflicts:
.zuul.yaml
Change-Id: If1ab96a8b78f47e3316c0a05b27f7827a27ab559
(cherry picked from commit 07d0fa7ab8)
(cherry picked from commit da08bab24c)
(cherry picked from commit ee851c2360)
(cherry picked from commit 62e1e904f7)
This patch introduced the following 2 parameters into
glance::backend::multistore::cinder class, so that operators can define
multipath usage in volume connection by puppet parameter.
- cinder_enforce_multipath
- cinder_use_multipath
Backport note:
Resolved conflicts caused by 2936eb233e
which was backported erlier.
Change-Id: I17af43fe8cdf437c90453d316b66c3ea9d4f2745
(cherry picked from commit 5d2acead72)
This patch is introducing cinder_mount_point_base parameter into
glance::backend::multistore::cinder class, so that operators can
provide the cinder mount point for NFS volumes.
Change-Id: Ib724f6e895716847827be48ed08b01a7a312338f
(cherry picked from commit 46e9319d8e)
(cherry picked from commit 11bd956b9b)
(cherry picked from commit 1bd1615234)
This patch changes default of the swift_store_config_file parameter,
so that the configuration file generated by puppet-glance is used by
default, instead of requiring users to set the parameter explicitly.
Closes-Bug: #1908917
Change-Id: I4ac04a561746c227b245d11890d02c14a21965d0
(cherry picked from commit 26e26d115d)
(cherry picked from commit ddb7d4e48e)
(cherry picked from commit a15022400a)
Make standalone job build containers when there is one single
consumer job in layout. Do not run content provider jobs in
this case.
Change-Id: I8f4bb37091fbe3b12ebc86758fd7584505270a7d
(cherry picked from commit efc95ebf4a)
As new periodic job added in glance which will run as per
interval set using 'cache_prefetcher_interval' configuration
option and fetch images which are queued for caching in cache
directory.
Enabled 'cache_prefetcher_interval' configuration option
in glance-api.conf.
Conflicts:
manifests/api.pp
spec/classes/glance_api_spec.rb
Change-Id: I8ece28a9b0c6f104130d817490e9ea4c2b4e7808
(cherry picked from commit 24ee288b85)
(cherry picked from commit 311cb2ade5)
This patch is a cherry pick of the change in master[2] to update
outdated provider implementation, and introduce the implementetion
consisntent with other modules like puppet-nova or puppet-neutron.
[1] 066f45758d
Closes-Bug: #1872691
Change-Id: I1dfcb311c10c633788c24484c21277255b60e4e5
puppetlabs/rabbitmq [1] is deprecated, and max version is 5.6.0 which can
not be fulfilled by this dependency.
Correct it to puppet-rabbitmq [2] instead which is being actively maintained
and has the right version.
[1]: https://forge.puppet.com/puppetlabs/rabbitmq
[2]: https://forge.puppet.com/puppet/rabbitmq
Change-Id: If3a1dec0766f42a51c801e84a94aa3caa1b19240
Closes-Bug: #1850236
(cherry picked from commit 63f183e7d6)
This patch updates the method of configuring glance backends to use the
modern syntax associated with glance's Multi Store feature. Glance's
glance_store/stores and glance_store/default_store parameters were
deprecated in Rocky, and are scheduled for removal in Ussuri.
Backends are now specified using new glance::api::enabled_backends and
glance::api::default_backend parameters. A series of
glance::backend::multistore::* defined resources support configuring
multiple instances of each backend.
The legacy glance::api::stores and glance::api::default_store parameters,
as well as the glance::backend::* class resources, are deprecated, but
continue to function for backward compatibility.
The glance::backend::s3 class is completely deprecated. Glance removed
support for the s3 backend in Newton.
Closes-Bug: #1846808
Change-Id: I4f3ec9ee7c4147a4e62de961a9532bdc45526f6b
(cherry picked from commit fd02761c6e)
Similar to I6a68505d15473b140c85a199a09d2fee45864800
Openstackclient 4.0.0 changed the way some properties are displayed
on screen.
Old:
...,"Properties"
...,"foo='bar'"
New:
...,"Properties"
...,"{u'foo': u'bar'}"
or
...,"{'foo': 'bar'}"
This is breaking idempotency on the glance_image provider, since it
does not detect them correctly. This patch aims at fixing this, by
trying to detect the new format, and using JSON parsing in that case.
Change-Id: I1829c7e59058fa72690dc08b3e2f65afcad7ea46
(cherry picked from commit 1365358978)
Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch
will switch to the correct upper-constraints list automatically when
the requirements repository branches.
Until the requirements repository has as stable/train branch, tests will
continue to use the upper-constraints list on master.
Change-Id: I2c21119d5b461ab9dea01b8d721d6b6bbaf223e6
oslo.messaging RabbitMQ driver have now a new option that allow user to
run the RabbitMQ heartbeat over a native python thread.
These change allow user to use this new option.
Change-Id: I5a322d3bbcd08443a3f5b9cf5f8e93a7435c0224
Closes-Bug: #1840868
The deprecated pki related options check_revocations_for_cached and
hash_algorithms option has been removed.
Change-Id: Ib692f55fa267e9fbe17d94c5116f244be02b2107
Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
Change-Id: I7a65118e9c5d12555a58c2a2f12638e2f02968f1
So that we can increase it from the default 114688
Useful in case for example the OS-Federation mapping is too large.
If this limit is breached glance will return a 413 Entity Too Large
and not log anything to glance.log.
Change-Id: If15f7cc9cef9a3bca855a3cd02068d45eedd171f
Closes-Bug: #1835161
The Glance cache uses two conf files:
1. glance-api.conf is for the server and
2. glance-cache.conf is for the utilities.
The following options are already in both configuration files but
these need the same values otherwise the cache will potentially run
into problems,
- image_cache_dir
- image_cache_max_size
- image_cache_stall_time
Enabling above parameters in both conf files wherever they are missing.
Partial-Implements: blueprint split-controlplane-glance-cache
Change-Id: I0d892663dd9aee86f56348175fd31016a17fabf5
Previously Tripleo validate-tempest role was used to run tempest
on tripleo jobs. Recently we are moving to os_tempest (an unified
role developed by openstack-ansible team).
It moves the vars to os_tempest.
Below is the other var changes:
run_tempest: false -> to disable validate-tempest role
use_os_tempest: true -> enable os_tempest
tempest_whitelist -> tempest_test_whitelist
Change-Id: Ic6ffd3093a7f1b5e40af8c74272aba549f21abac
Add file to the reno documentation build to show release notes for
stable/stein.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.
Change-Id: I539422bcc0b3b562914e25361b7ced16825bb2f0
Sem-Ver: feature
This changes all the puppet 3 validate_* functions
to use the validate_legacy function.
The validate_legacy function has been available since
about three years but require Puppet >= 4.4.0 and since
there is Puppet 4.10.12 as latest we should assume people
are running a fairly new Puppet 4 version.
This is the first step to then remove all validate function
calls and use proper types for parameter as described in spec [1].
[1] https://review.openstack.org/#/c/568929/
Change-Id: Ib21fef57404d63579743270be4080d248a4ca8cc
Service_token_roles_required missing in the server config file which
allows backwards compatibility to ensure that the service tokens are
compared against a list of possible roles for validity.
Change-Id: I49828052bdf33391edcd962fc6c4208c715e377a
Closes-Bug: 1778198