- 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
- 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
* 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
--is-public is now --visibility
--location is not support, need to redirect from stdin
Change-Id: Ie8d62b449ec272f5cb7a06acdd54b3437aa57f98
Closes-Bug: #1502204
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
With change to use the correct "service" role for service users,
they can no longer create public images.
For this recipe, need to use admin for public images.
Added a public flag to the lwrp such that other non-admin
accounts can create images. Made a note in the client cookbook
patch that this support needs to be merged in there.
Change-Id: I99e2febfdbf6f4bab260d897216f4ae768cf3315
Related-Bug: #1436050
Closes-Bug: #1441292
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
Current logic is parsing output from glance to get the 'id' of the
kernel and initrd images. Glance command output format was changed long ago
to a table style output and broke this.
There is already a todo in the code to refactor this but I did not attempt
that here. Also add a todo for more provider method testers.
Change-Id: I68affe1d7f3df2ee69717641f5be6ba16615654e
Closes-Bug: #1373614
Current upload only handles .gz, .tgz for ami and .qcow2 and .img for .qcow
Handle different extension with log error and don't mark resource as
updated.
Add new spec to cover provider logic which will make it easier for
bp below.
Created blueprint glance-upload-image-formats
to allow support for ALL format and container types.
Change-Id: Iee740ae6994a2bcc2880844c76f84e58ca735a73
Closes-bug: #1327249
- Ensure all files are rubocop compliant following commits
- Move to use a single .rubocop.yml file
- Update StrainerFile to reflect the single .rubocop.yml
Change-Id: I6d7b30aae4d839a2c8c2ebebbf5e9b53518db71e
Addresses: blueprint rubocop-for-image
Also updated the CLI glance usage to non-deprecated parameters. Immediate
service restart on the glance-api.conf template to catch updates to the
configuration.
Change-Id: I1f05bc367ccd06d2116e45f046897d9dff689f37
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.