Update ChefSpec due to changes made in apache2 cookbook.
Depends-On: https://review.opendev.org/756168
Change-Id: I3ec792c519650b2d95a976ad50419a9b417a3514
Signed-off-by: Lance Albertson <lance@osuosl.org>
- Cookstyle fixes
- Refactor Berksfile to use groups so we can exclude integration testing
cookbooks
- Update documentation
- Cleanup line wraps
- Enable sensitive resources for the template[/etc/nova/nova.conf] to
resources improve security.
- Update delivery configuration to exclude integration cookbooks
- Fix ChefSpec output.
- Switch package installations to send packages as arrays instead of individual
package resources. This generally speeds up chef runs.
- Cleanup array syntax using %w() instead of []
- Add metadata to enabled_apis as that is the default upstream
- Switch to user resource for managing shell for nova user
- Switch to libvirtd instead of libvirt-bin for Ubuntu service name
Depends-On: https://review.opendev.org/701027
Depends-On: https://review.opendev.org/706151
Depends-On: https://review.opendev.org/708059
Depends-On: https://review.opendev.org/706157
Change-Id: I7e03fb9dace6e288a3b21f33106245b30b52ce9d
Replace the hardcoded bloated template with a variant of our standard
template that only includes the values that are really needed.
This will allow deployments to override the default values and for
example deploy libvirtd with TLS authentication according to [0].
[0] https://wiki.openstack.org/wiki/OSSN/OSSN-0007
Change-Id: Ib7b305670f525bbf975ec33ed070e2d960347ef4
- Added basic cellv2 recipe, as it is required from Ocata on
- Style and lint fixes to support newer chefdk
- Rewrote metadata.rb for readability
- Removed ancient Gemfile
Change-Id: I97b453fc419bfbf01679dadf39a256b1f0f99859
* added endpoint attributes (moved from common)
* removed qpid as a messaging option (can be incuded in a wrapper)
* removed os-bare-metal dependencies
* deleted default attributes from nova.conf.rb originated in
openstack-common
* removed fedora and suse as supported platform
* adapted optimized endpoint logic
* removed rubocop exceptions in recipes and regenerated the
.rubocop_todo.yaml containing all remaining exceptions
* added versionbumb for refactored os-identity and common
* moved version up to 13.0.0 for mitaka release
* adapted the specs (unit tests) to work again
* refactored spec_helper.rb method "expect_creates_api_paste"
* added new logic into templates/default/nova.conf.erb
* refactored attributes throughout all recipes that were connected to
the attributes used for the nova.conf.erb template to adapt the new
template attribute syntax
* moved all attributes from attributes/default.rb that were used in
nova_conf.erb to attributes/nova_conf.rb
* refactored attributes to fit upcomming template logic
* refactored recipes/nova_common.rb to fit upcomming template logic
* removed all attributes from default.rb and nova.conf.erb which are set
as default in attributes, openstack doc and used to render the template
* removed nova-network as a supported config option
Depends-On: I9cc1b5cc069987ac83e064322c2291772505ff5f
Depends-On: Ifa5a7f4e1df47a3961976e64f654224864c3dcb4
Depends-On: I3262b2e6f792f37c32a446e6567790b82bdd4613
Depends-On: I0547182085eed91d05384fdd7734408a839a9a2c
Implements: blueprint cookbook-refactoring
Change-Id: I9ac9eeb29ab27f31394830e4b6f999d5870cc0e4
Starting with the libvirt packages, the default network is no longer
persistent, so trying to disable autostart for it fails. Destroying the
network will still work without that.
Change-Id: Ie9f95d161708cbe8a1d7af2a4518b8c82f491592
Metadata changes
- Updated maintainer email
- Updated the version
Attributes changes
- Changed some comments for liberty
rubocop updates
remove db2 refs
Change-Id: Ic318239294fa32173634c68710fb93e1b09d3e42
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: Ic874a3e0a8d005e410baa40584f0f00dfc805a56
In order for package updates to occur, package resources need to use
the upgrade action. This is first phase of blueprint, to get some
consistency, next phase is to allow some update control.
Change-Id: I91d6a47c3b5787df65f78e3e86941de1fb28583d
Implements: blueprint allow-package-updates
As agreed on the mailing list:
https://groups.google.com/forum/#!topic/opscode-chef-openstack/HEL3KqBQIUM
This will allow the ibm_powerkvm platform to be recognized.
Change-Id: Iebf2aad9f3b4649fb5c27d2fc93ee60c67e42737
Partially-Implements: blueprint add-ibm-powerkvm-enablement
Implements: blueprint platform-family
This commit addresses the fact that any compute-worker needs to be
- prepared to talk to the ceph cluster (ceph.conf and ceph-common)
- a secret has to be defined.
The secret is identified by the UUID (known to cinder), as defined by a
databag item (of the "secrets" data bag) with a configurable name.
The actual key is taken from another databag item. The username is
configured via the `rbd_user`.
The chefspec test on the proper content of the generated temporary xml
file is commented out since it won't work this way: the chefspec chef
run will have deleted the (in-memory representation of the) file when it
validates the spec, hence it's empty and the test fails. (Not sure how
to fix that test.)
Implements: blueprint rbd-for-block-storage
Change-Id: I9eecc622b4d00c65fecfde0626f574be2b9ee934
- Adjust .rubocop.yml to include recipes/**
- Ensure all recipes are rubocop compliant
Change-Id: I7ecb3896b5a2b2d93304014a4ab19cb0e3c2e31c
Addresses: blueprint rubocop-for-compute
on redhat6.4/centos, the dbus_service name is
messagebus, and on other platforms, it's dbus.
So I enhanced it, and updated the CHANGELOG.md
and metadata.rb .
Change-Id: I5548acc38b5e2cbf5e1d5d482cadbd876392daa4
Closes-Bug: #1244574
- libvirtd.conf template now suports unix_socket_group defined in
a attribiutes.
- openstack-nova user shuld be member of libvirt group to be able to read
from libvirt unix_socket. Implemented group resource in libvirt recipie.
Change-Id: I88370f2d7fd5147f3bb46a1411295868a8ea12ce
As we have decided to move all cookbooks to use the
[openstack][<service>] attribute namespace convention, move compute
to fit this model.
Change-Id: Ibc19fd5326af0340ea1e3788aa7d2701e187f3a0
In the previous commit, the vast majority of the work to move this
repo to openstack-compute was completed. Functionally it works. This
change is intended to address some cosmetic issues and make it
consistent with work done in other cookbook repos.
All tests pass.
Change-Id: I58216cd87b9ff0a77c599c7b5aab132ab2a9304d
Changed the cookbook name to openstack-compute, fixed all tests, and
addressed attributes. Also addressed calls to external services,
primarily keystone -> openstack-identity.
All tests pass.
Change-Id: Ic567a33cefd78cc3b2217986d3ff7475bc93f874
* Added rhel platform tests and default (ubuntu) tests for libvirt.
* Added rhel platform tests and default (ubuntu) tests for nova-network.
* Found and cleaned up a few misnamed tests.