Changed
- Update release to train
- Migrated to using multi-store feature which has been deemed stable
Fixed
- Cookstyle
Removed:
- Unused rubocop rules
Change-Id: I19c1ff463a70a81e4d08bacb86e480e0a3951789
Depends-On: https://review.opendev.org/731859
- Cookstyle fixes
- Refactor Berksfile to use groups so we can exclude integration testing
cookbooks
- Update documentation
- Enable sensitive resources for the execute resources in
openstack_image_image and template[/etc/glance/glance-api.conf] to
improve security.
- Update delivery configuration to exclude integration cookbooks
- Set glance_store/stores, and update auth_type to password as described
in the upstream documentation [1]
- Fix ChefSpec output
[1] https://docs.openstack.org/glance/stein/install/install-rdo.html#install-and-configure-components
Depends-On: https://review.opendev.org/706151
Change-Id: I695b576267bc220b0b70011ab035520fc18ff955
Python2.7 is going EOL soon, let us deploy python3 for Rocky from the
start, so we avoid having to switch later.
Depends-On: https://review.opendev.org/682918
Change-Id: I8d5033c6bf045fa3df0b3e7d388b12c175b153f1
The glance registry has been deprecated upstream [1] and needs to be removed.
This removes all references to the registry service and moves the db migration
to the api recipe.
[1] https://blueprints.launchpad.net/glance/+spec/deprecate-registry
Depends-On: https://review.opendev.org/690410
Change-Id: I356aa65e63032e7866470ad507e5c9bce793a52b
Signed-off-by: Lance Albertson <lance@osuosl.org>
- include Artful instead of Zesty to keep up with the times
- update cirros references to 0.4.0
- remove stale repo reference
Change-Id: I8b63581849d9c7e9d67d56e16619191703868755
Implements: blueprint modern-chef
- Now use cookbook-openstackclient to create endpoints role service and
user
- added domain creation and access granting
- added values to work with identity_v3
- rewrote specs to work again
- updated readme
- added domain to image-upload
edited resource / provider
Change-Id: If7b4d6e563081a0be9957353d73ef61a9688df56
Depends-On: I0f8955f05de9b33711c54b9a198f45018cceb8e1
* endpoint type (admin, internal, public) and service (identitiy, network etc.)
was switched during refactoring, this patch reverts this unintended switching
* edited bind_service service type from public,internal,admin to 'all'
for default binding to just one service
* use bind_address method from common
Change-Id: I4f97b659361dabd7fac216305d2aad2f1bb98f51
Depends-On: Iec485deaf415e4187a323435cce2b6bbadfc5d42
Depends-On: Ia5bddfc5e2fd77cd6e9e855c680b079f78fc1c3f
* removed rubocop exceptions in recipes and regenerated the
.rubocop_todo.yaml containing all remaining exceptions
* removed fedora, suse as supported platform
* adapted optimized endpoint logic
* moved endpoints from openstack-common to default attr
* bumbed openstack-common and identity to higher version
due to refactoring
* moved version up to 13.0.0
* adapt the specs (unit tests) to work again
* added new logic into templates/default/glance-*.conf.erb
* refactored attributes throughout all recipes that were connected to
the attributes used for the glance-*.conf.erb template to adapt the new
template attribute syntax
* moved all attibutes/default.rb that were used in glance-*.conf.erb to
attributes/glance_*_conf.rb
* removed all attributes from default.rb and glance-*.conf.erb which are set
as default in attributes, openstack doc and used to render the template
* seperated filestore config and deployment from default api recipe and made it
optional (e.g. swift_store)
* removed service config templates in favor of openstack-service.conf.erb from
common cookbook
* removed default support for most filestore backends in favor of an easily
wrappable cookbook structure which allow the configuration of filestore
backends in wrappers
Depends-On: I3262b2e6f792f37c32a446e6567790b82bdd4613
Depends-On: I0547182085eed91d05384fdd7734408a839a9a2c
Implements: blueprint cookbook-refactoring
Change-Id: Ifa5a7f4e1df47a3961976e64f654224864c3dcb4
After this path has been merged : https://review.openstack.org/#/c/190265/
The compute service has the ability to copy the image data from the mountpoint
directly which can save image download time.
This patch make the metadata file can be generated automatically if user
specify the id and mountpoint.
Change-Id: Ibd4cc2d15a97f8018fc7f0aa19e4f2c9d1da285c
The ['openstack']['image']['ssl']['enabled'] was being used for
both the API/Regsitry services AND the APIs internal connection
to the registry.
Need to allow for separate control for enabling SSL for API and Registry.
Added attributes to cover this.
And the APIs internal connection to the registry needs to be
configured correctly based upon the Registry's internal endpoint scheme
(http or https).
Change-Id: Ieed28ad891192d81356c0d40ba48d70517087950
Closes-Bug: #1462388
Cleaned up all the minor rubocop issues, the ones left relate to
complex logic and what I think is a bug in rubocop for nested
vs compact modules/class definitions.
Change-Id: I6097cd1032a5b2305d9a6ca8cb2e2b19f6a57a1e
This commit allows enabling SSL for glance-api and registry
endpoints by adding few new node attributes. Glance API and registry
configuration files are also modified to use these node attributes.
With these changes, users can easily enable SSL - both in secure and
insecure mode. However, it is user's responsibility to generate and
provide location of SSL certificate and its key.
Closes-Bug #1445773
Change-Id: I1d0f776efb392e058bc3dbf0ee5223512b60f584
This includes cookbook-openstack-image changes required to enable
docker type container formats which includes docker and dockerref
Implements: bluerprint docker-driver-configuration
Change-Id: I21effcac1be2a07e01e37c0d1eb4ca2c57ef2127
The upstream ceph cookbook already hooks into chef for environment information.
This patch utilizes the client LWRP to create or add ceph keys for RBD support.
This patch also changes some default attribute names for more sane organization
Partial-Bug: #1409943
Change-Id: If37159524c237eec6ca1561e2979cd44e6dfac92
Since docker image format is not enabled by default in glance.
The cookbook should allow to configure docker image format in
glance api configuration file.
Implements: blueprint docker-configuration-support
Change-Id: I8ce16d3d4adb1c041edd4c6b603db16b7254a6c3
Attribute name: stores
File name: /etc/glance/glance-api.conf
Section: glance_store
- known_stores is deprecated for stores option in Juno, update template
- Attribute for configuring stores does not exist, add it
- Spec test for stores attribute does not exist, update api-spec.rb
- Move default_store to [glance_store] section to meet definition
Change-Id: Ib3955e2efdff7f03c652d3438f43a98cbfe2c05e
In https://review.openstack.org/#/c/134275/, the endpoint for
cinder is set to v2 by default, this change sets the value in
glance to v2 as well.
Change-Id: I974c336901c08b6eb026866794bbc36442a2493b
Glance cookbook does not have some configurable attributes for
cinder storage backend, so add them to avoid issues when using
'glance.store.cinder.Store'.
Change-Id: Ieaff14c5c24c4cbd194c70d46d376dc7d170d946
Closes-Bug: #1384044
Image upload provider already has a image type, but was not
used to handle the other common image types that have a simple
bare container format. Expanded the list of types and allowed
the existing upload_image recipe to also take advantage of this
new provider disk type support in an optional way. Backward
compatible.
Change-Id: I1f5983150aa648837c9bcd256f0ceb4bf73d4b52
Closes-Bug: #1383079
glance switch to use oslo.messaging and some of the attributes have
changed or been replaced.
Change-Id: I7f3d56eb03942ad4c87c43f47bbacc838a2b41f9
Closes-Bug: #1382110
This patch is for allowing cafile, insecure,
memcached_servers, memcache_security_strategy,
memcache_secret_key and hash_algorithms to be
configurable.
Change-Id: I93e490a1d1378bc1efce16337ed45f93fc7e758b
Closes-Bug: #1370908
Attribute name: filesystem_store_metadata_file
File name: /etc/glance/glance-api.conf
Section: default
Description: A path to a JSON file that contains
metadata describing the storage system. When
show_multiple_locations is True the information
in this file will be returned with any location
that is contained in this store.
Change-Id: I3b2a6b9da99ca061012c8b808c3821072ec63f9b
Closes-bug: #1348015
*_python_packages attributes are being moved to -common in order to
remove the duplication from all the cookbooks which are using them
Change-Id: Ie26ceb713ad07f28d70a6711198a229cd45f777a
Implements: blueprint move-python-db-client-attrs-to-common
1. Add new attribute openstack_vmware_secret_name to indicate the
databag secret key
2. Get the password from databag if dev mode is false
3. Update the test cases
Implements: blueprint vmware-password-databag
Change-Id: I72f538a16d77cba9c1be9f32e0b37d1ee68e3bbc
This version of cirros has a udhcp daemon that supports dhcp option 121,
which allows passing of metadata static route via dhcp. Important for
testing using neutron and metadata agent.
Also switch to download from new download.cirros-cloud.net location
Change-Id: Ic7e6d23407a282c4320b915549b76ab7f86381f6
We previously had to force the installation of python-anyjson as
python-kombu was not pulling it in correctly (and this prevented
glance-api from starting), but the Red Hat team have since updated
python-kombu to properly depend upon python-anyjson.
Change-Id: If16487ea184b132b800d9d4ac9c04a31103ea84d
Installing openstack-glance installs python-openstack which pulls in
python-kombu, but python-kombu doesn't pull in the necessary
python-anyjson package. This prevents glance-api from starting.
Additionally, openstack-glance on CentOS loads
/usr/share/glance/glance-api-dist.conf which is using the deprecated
notifier_strategy config option which defaults to qpid. When we run
with a notification_driver != 'qpid' there seems to be some sort of
conflict and glance-api service doesn't operate correctly.
I'll be reporting both of these issues upstream, but for the time being
we need to pull in this package so we can progress w/ Icehouse on CentOS
testing.
Change-Id: Iaac29d6f55171536a8ee5cb786f49482ef51b69f
Closes-Bug: #1307358
This will allow the ibm_powerkvm platform to be recognized and will
simplify uses of multiple platforms from the same family.
Change-Id: Iebf2aad9f3b4649fb5c27d2fc93ee60c67e42737
Partially-Implements: blueprint add-ibm-powerkvm-enablement
Implements: blueprint platform-family
The notifier_strategy config option is deprecated in favour of
notification_driver in Icehouse. This change updates the configuration
while also changing attribute namespace since the option is not
actually mq-specific.
Once this change has been accepted we can remove the
default['openstack']['mq']['image']['notifier_strategy'] attribute in
the common cookbook.
Change-Id: Iad09ec0c7fe2f66ab084c363173a98f2737db146
Closes-Bug: #1303784
Update the glance-api.conf and glance-cache.conf template files to
support configure VMware datastore attributes.
Implements: blueprint vmwareapi-support
Change-Id: If9f6dadf43a52d0a673043ea23edaf653f452a11
Changes have been made to the common cookbook so that if a
bind_interface is specified for an endpoint, then the IP is looked up
for that endpoint using address_for, and if no bind_interface is
specified then the value of the host attribute of the endpoint is used
instead.
This change set removes code that implements this exact behavior from
the image cookbook since it now is provided by the common cookbook.
blueprint increase-ip-binding-flexibility
Change-Id: I7fda0b50704e530f4de0cfc0e3a6c90f0db53e2e
There is an LWRP in db2 cookbook to install ODBC driver,
so need to move this driver installation to db2 cookbook.
Change-Id: I35e7a81cab8ed5cdc9aa6e3dfd295d86f6f01058
Closes-bug: 1294376