This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).
Change-Id: I107bd8eafb21c5a195d483d68521fea055eb6f5b
persistent_create_policy_with_rules method added to agnostic runtime
to transactionally create policy along with rules. The main work is
done by the persistent_insert_rules method extended to allow creation
of the target policy along with the rule inserts.
Database transactions added in persistent_insert_rules to make sure
all changes (policy add and rules insert) can be committed or rolled
back together.
DB table locking expanded to the `policies` table in the policy
creation case to prevent conflicting policy changes from other nodes.
policy_model add_item API method extended to accept policy item with
rules, (exclusive) or parameter specifying ID of library policy to
activate.
Partially implements: blueprint policy-library
Partial-Bug: 1693622
Change-Id: I2a83ac11b7014d417ff7553f602a8bb96a9adc34
In tempest, alias 'admin_manager' has been moved to 'os_admin'
in version Pike, and it will be removed in version Queens [1].
[1] https://review.openstack.org/#/c/467852/
Change-Id: I73be6d843c0bfb760a60ff00659b42a3e96a18fd
In READE Separate install just show the instruction of install
default-jre on ubuntu, Federa should be added.
Change-Id: I876f116361e51d232514e452d1e4972d444bff14
oslo.messaging allow dispatcher to restrict endpoint methods
since 5.11.0 in d3a8f280ebd6fd12865fd20c4d772774e39aefa2, set with
DefaultRPCAccessPolicy to fix FutureWarning like:
FutureWarning: The access_policy argument is changing its default
value to <class 'oslo_messaging.rpc.dispatcher.DefaultRPCAccessPolicy'>
in version '?', please update the code to explicitly set None as the
value: access_policy defaults to LegacyRPCAccessPolicy which exposes
private methods. Explicitly set access_policy to DefaultRPCAccessPolicy
or ExplicitRPCAccessPolicy.
Change-Id: Ie17832d64075080c17c09df675b216dbe8af16e6
DB interface for adding, getting, and deleting library policies
A DSE service for adding, getting, and deleting library policies
Alembic migration script for adding the new DB table
policy library API model
Tempest smoke test
Closes-Bug: 1693617
Partially implements: blueprint policy-library
Change-Id: I15dda797e6e29ff5155f5758d93d68499539f8fc
In tempest, alias 'manager' has been moved to 'os_primary'
in version Pike, and it will be removed in version Queens.
This patch is to replace the usage of 'manager' with 'os_primary'.
For other details, please check [1] and [2]
[1] https://review.openstack.org/#/c/468036/
[2] https://review.openstack.org/#/c/463484/
Change-Id: I524695532290c9a87783958a860e5d570328c11b
assertRaisesRegexp was renamed to assertRaisesRegex in Py3.2
For more details, please check:
https://docs.python.org/3/library/
unittest.html#unittest.TestCase.assertRaisesRegex
Change-Id: Ied395e2c7bff32a4108ac3194f88249e0f2a1760
Closes-Bug: #1436957
Since assertEmpty() function has already been implemented in tempest,
let's use this function instead of generic assertEqual() function.
This change makes the code and the error messages to be more readable.
Therefore it improves maintainability a little bit.
Change-Id: I20879ed2e662040e2d5c843634f9f90f396c33b8
Congress devstack assumes system is Debian-based. That results in
default-jre package not found under Red Hat-based distros.
JRE package name under other distros may differ, too. Explicitely abort
deployment for untested distros.
Closes-Bug: #1693216
Change-Id: Id25931946da1f97e08bf9aeb5f6b7668bfbf48a1