- Replace git.openstack.org with opendev.org
- Update some documentation
- Move README.md to README.rst for better rendering
- Drop obsolete bootstrap.sh script
Change-Id: I1d9ec1bac4b008f4ccf2c64194900ebb6db49c8d
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>
- 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
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
- deprecated Gemfile
- updated TESTING and README
- updated Rakefile to use chef exec instead of bundle exec
- refactored specs to work with new chefspec version
Change-Id: I8fe06d02043b084484142d4e575f25003ed127af
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
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
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
Before this change, the image_upload recipe was kind of used to test the
LWRP that is defined by this cookbook. Now, it only checks the
resources that appear in that recipe.
To make that work, a libraries/matchers.rb was added that helps ChefSpec
cope with the dash in the cookbook name.
Change-Id: I632556c9924d1be946b033a8759c0f3de15d91e0
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
Sometimes you want the actual endpoint IP to be a load balanced IP, but
the bind IP to be a local IP (different per node).
This change allows that by using *-api-bind and *-registry-bind for the
actual local bind addresses
Implements blueprint increase-ip-binding-flexibility
Change-Id: I4f6d854976ede6eaf280ba5e705d97f3bbc88fea
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
Auth uri transform logic has been moved to the common cookbook, so in
the image cookbook, the common fuction is used to transform the logic.
Another option auth_version is added to template.
Change-Id: If0fdf86c48f5b4860d8b488dd7ee16ca199e1536
Imlements: blueprint move-keystone-authtoken-move-auth-uri-logic
With this change, the api recipe will take care of the ceph-related
things when the default_store attribute is set to rbd:
- install dependency packages as specified in
openstack[image][platform][ceph_packages]
- create a cephx client keyring file with openstack-common's template
and the key found in the data bag specified by the newly introduced
attribute openstack[image][api][rbd][key_name]
Change-Id: I92881e5a27fb5ec56d4f1fb72933749a3e8d8688
- Add an attribute for ['openstack']['image']['api']['workers']
- Adjust the template for glance-api.conf to use this attributes
- Adjust the default value to be a maximum of 8 (but this can be
overridden)
- Adjust spec tests to set the cpu value so they converge
- Add test to confirm this value can be set
- Add test to confirm the .min[8 , sets a max of 8.
- Add README.md attribute entry
Change-Id: I8bdbd8bc8fe9af7a9ca3bbc8856d5a200ce7be7b
Closes-Bug: #1274884
Add an explicit recipe for installing client
only packages.
Tests are also included.
Bumped minor version for this new feature.
Change-Id: I12808f895757e99d2d60bdb0e8fd85dcd3f8f026
Addresses: blueprint add-client-recipes
- Add default["openstack"]["image"]["api"]["swift"]["enable_snet"] attribute
- Add default["openstack"]["image"]["api"]["swift"]["store_region"] attribute
- Set defaults such that the end result doesn't change, but attributes
can be overridden.
- Add tests for these 2 attributes
- Add README.md entries for these 2 attributes
Change-Id: I8dd10a9731f996ebe6b064d2552f9cc5a1bf468d
Closes-Bug: #1274937
- Add default["openstack"]["image"]["api"]["show_image_direct_url"]
which defaults to "False"
- Add option into glance-api.conf.erb
- Added test for show_image_direct_url setting
- Adjusted README to reference attribute
Change-Id: I83cd13db1d102118d696d371d94197044abf8e94
Closes-Bug: #1274960
Right now for most cookbooks we declare resources with the name of the
service itself. So, for example, in the 'identity' cookbook, the
'keystone' service is called 'keystone'. The other cookboks follow this
same standard.
Why is this important? Things like omnibus-openstack depend on these
cookbooks having a common standard. That, and well, standards make us
all happy.
Change-Id: I3b1cb845cfb21b5e1d46feca322f3c2788431a27
Add a new attribute
default["openstack"]["image"]["platform"]["db2_python_packages"]
and fix an attribute typo in registry recipe
Change-Id: Ic84eefd460d1117c60570394e3b402a09a0e3016
Implements: blueprint db2-support
Since for bug 1257169 openstack-image api recipe should be executed before
openstack-image registry recipe, the image upload part in the api recipe need
to be moved to a new recipe of image_upload.
Change-Id: I1f557d2e817643a9e3e06788dc446c970ef2df89
Closes-Bug: #1257169
Moving all mq related parameters under default["openstack"]["image"]["mq"]
so that other mq options can be added under it. Eventually, all rabbit
options will be brought under it. Bumped up version to 7.1.0
Implements: blueprint qpid-activemq-support
Change-Id: Ie0ed02a9262136c208d88d05f2431ff351e2edb2
Create a subset of swift packages to be installed only
if asked for by the default_store attribute.
Added unit tests for ubuntu and redhat.
Change-Id: I8ed5d543d87b180148e0aa4b556ab8cbc4802f2e
Adds redirection attribute for cron jobs
to allow configuration downstream. Possible
uses are no redirection(nil), /dev/null,
pipe to mail, logger, etc.
Change-Id: I384d399ee4c147a170b368a15997bc8f6686b372
The db recipe have been removed. It is up to the operator to
setup the database, users, and grants before deploying openstack.
It has been moved to the `openstack-db` recipe in the
`openstack-ops-database` wrapper cookbook.
Change-Id: I15bac0058aa0021713a95c458f70eeeac80b4760
Since we should be performing semver across our cookbooks, we should
lock to the patch version. It means "equal to or greater than in the
last digit", so e.g. "~> 2.3" means "equal to 2.3 or greater than 2.3,
but less than 3.0", while "~> 2.3.0" would mean "equal to 2.3.0 or greater
than 2.3.0, but less than 2.4.0".
http://stackoverflow.com/questions/5170547/what-does-tilde-greater-than-mean-in-ruby-gem-dependencies
Change-Id: Ia728af82aab928c42bdf3f3d6b24c2f1b79ae3f7
Changed the cookbook name to openstack-image, fixed all tests, and
addressed attributes. Also addressed calls to external services,
primarily keystone -> openstack-identity.
All tests pass.
Change-Id: I6338342a570000b3fb0ae610f1a1bb5aa15ae3e9
Adds a slightly modified version of the RCBOPS glance_image
LWRP. This cleans up a bunch of stuff in the glance::api
recipe and makes it much easier to read and diagnose.