Commit Graph

6 Commits

Author SHA1 Message Date
Jean-Philippe Evrard 8641a0240c Do not log passwords
This prevents data to be leaked into the callback plugin.

Change-Id: Ic2b88c6442d5a8e76e7f4c7b7ee8686ef0070f5e
2018-04-11 13:49:00 +02:00
Andy McCrae f27b652956 Add options for nova cell_v2
This patch adds the cell_v2 nova_cell0 database as part of the
test-install-nova.yml playbook. The var is required in test-vars for
this reason.

Additionally, we need to add permissions for the nova_api database user
to access the nova_cell0 database. This means we need to append
permissions for that user using the create-grant-db play. This defaults
to "omit" so is only used when "db_append_privs" is passed to the
include.

A work around is required for a bug in upstream nova - this should be
removed once https://review.openstack.org/#/c/428120/ merges.

Finally a fix was added to ensure the api_database is setup using the
appropriate address (although in this case it has no impact).

Change-Id: I082f37bb3ce61a900e06a58f21c7882f83671355
2017-02-02 14:29:41 +00:00
Jimmy McCrory adb2af675f Allow db user name differing from db name
For some services, the name of the database user may differ from the
name of the database that user needs access to. Add a 'db_user' variable
for use in this case, defaulting to 'db_name' to maintain current
functionality.

Change-Id: Iff2d736415cfbe3e1ec60aa370cc30bd8610541d
2016-10-03 13:27:17 -07:00
Andy McCrae 44547e2696 Fix the central repository to work with CentOS
Add interface drop for CentOS (Will need to be extended to allow
multiple interfaces)
Add network config files based on ansible_os_family.
Add nodepool tasks for CentOS
Add a default network file for both CentOS and Ubuntu

Change-Id: Ideb84f153fbd9f8f83ff39042f139b25719b39d8
2016-09-02 15:04:43 +00:00
Andy McCrae c01f249046 Add convergence test for test repo.
For test repo we should build out keystone + infra services, as they are
the most commonly used roles/tasks.

We still need to add some funcitonal tests but this should give a good
base. The test repo will consume it's own test plays in the same way as
other repositories would. We use a "git clone ." to avoid a situation
where we clone the old repo containing the errors we are trying to fix.

Additional fix, we don't need a "when" clause on the rabbit/db creation
tasks - since these are already delegated and a "run_once" will suffice.
This fix is required for the tests to pass.

Change-Id: I482500872f9e29a71e1576f67a0ad390be2a3ece
2016-08-30 14:37:25 +00:00
root 7f03b7fdc4 Added tasks in nova and neutron test yml files
Moved Rabbitmq and DB tasks to generic files.
This patch removes the redundant behaviour of the tasks such
as Ensuring Rabbitmq hosts and user, creating db, granting access
to db in the testing yml files. The patch  makes it more generic
and shifted the common tasks to separate files create-grant-db.yml
 and ensure-rabbitmq.yml

Change-Id: Ibd94e1ebdce45b782ab447ca3db5068588a1e368
2016-08-24 16:35:18 +00:00