... so that correct packages are required according without re-defining
them in resource implementations.
Change-Id: If3ae4736d655975d83f49676b8128d4e9f8b0cf4
These was deprecated last cycle and can now be removed.
Depends-On: https://review.opendev.org/#/c/658557/
Change-Id: I6f7fde1f475acec82bafc66183211f317b4c7795
Parses the nova cell_v2 transport_uri/database_connection and rebuilds with
the password hidden in is_to_s and should_to_s (used for logging the changes).
Change-Id: I6523ed70536e438d38d9165e31d5d4d214bbc62c
Adding a parameter to the nova_aggregate type to only add hosts to a host
aggregate that are known by openstack to be active and corresponding handling
of said parameter to the nova_aggregate/openstack provider.
Change-Id: Ie08e7c37cdd711baf9beb3fcc92b4bcb520afca0
In this commit, we add the puppet module for a new
nova metadata micro-service (novajoin) that allows nova
instances to be registered to a FreeIPA server as IPA clients.
Implements: blueprint novajoin
Change-Id: I5ffa45bdc400e123079c79e15776ebacdcb24de9
scheduler_available_filters option defines filter classes made available to
the nova scheduler. This parameter can be used multiple times or it can be
set as array value.
It is helpful when owner want to add to nova scheduler external filters.
Co-Authored-By: Daniel Pawlik <daniel.pawlik@corp.ovh.com>
Change-Id: I6be7bb4cea1906bd98c513bd2d01153e4643e3ac
Closes-Bug: #1591998
Offline/deleted hosts show as offline forever in the service list.
This undesirable output can be mitigated by offering a provider
that allows a user to mark such nova services as 'absent'.
Includes release note.
Change-Id: I303ab218bc6a48cf2c60727feecc522040a80a68
Related-Bug: #1471172
This patch changes the nova providers to use puppet-openstacklib's
authentication methods, which use python-openstackclient as an interface,
instead of the nova command line client.
The benefits of this is a code reduction. This patch reduces the amount
of code in the nova parent provider and nova providers by reusing code from
Puppet::Provider::Openstack instead of implementing authentication,
retries, and response parsing in the provider.
This patch doesn't affect next providers:
* nova_network and nova_floating:
openstack client has small functionality for managing nova floatings
and doesn't provide possibility to manage nova-networks,
so keeping old format of auth for this providers.
Also Nova-Network is deprecated.
* nova_cell:
openstack client doesn't provide possibility to manage cells;
* nova security groups - will be done in separate patch;
Additional reasoning for this change is in the blueprint.
Also added new tests for providers.
blueprint use-openstackclient-in-module-resources
Change-Id: Ifa09aeb71ba0bcc425eece314803a0d1609bed9f
Currently we specify the ordering of config resources wherever it is
necessary based on the presence of the file it will write to, or the
presence of the package in charge of providing the file it will write
to.
Those kind of ordering can be specified directly at the resource level
using the autorequire mechanism. With this patch, any config resource
will make sure the package in charge of providing the file will be
installed first.
Change-Id: Ide679a11b1ebb7609f97f75fd93dc53be5eb92f3
During RSpec3.x migration we visibly missing some "should" keywords,
this commit convert remaining unit/type.
Change-Id: I5b0afcfff1aa28f3b2f09171a23c81c51f5cc59b
Partial-bug: #1447620
nova_config used to accept section-less configuration name.
This changed in the grizzly release of puppet-nova (c9757ec44)
and section name are now required.
This change removes the deprecation warning as enough time/releases
where givin for people to fix their manifests if section-less configs
were still in use.
Change-Id: I4c6e749fd48a8cf56df750feba6f7b94a7e43c8e
This massive code commit actually implements something very simple.
previously, we allowed nova_config to omit a section and assumed that
section was default.
This commit updates the code to require section names for all settings.
This change is being made b/c:
- it better maps to the config on disk
- it is consistent with the other modules
Change-Id: Iae71a4c48ed0f9792566f16f0bf13e61569b46e5