Kombu 4.6.4 causes issues with eventlet 0.23.0 and 0.25.0[1].
Due to an upper-constraint version bump, we're seeing failures
on openstack gate.
This patch fixes the issue.
[1] https://review.opendev.org/#/c/678078
Change-Id: Iad5c736e3fc817c0cca1f142dbba71ef7e594cef
Because 2.5.1 is the version available on RHEL/CentOS 7.
This is done by replacing the use of psycopg2.sql module.
Change-Id: Ie83ca2b3cd439649878517fa0fbc2a4381ad018d
Closes-Bug: 1823095
This commit adds Tacker driver and unit tests. Which creates
corresponding datasource on service startup and allows congress
to maintain Tacker's VNF and VNFD data via populating data to tables
vnfs and vnfds respectively. Based on which rules
can be created and actions can be executed on tacker service.
Change-Id: I281e8ff508dd066514694419c5aae6a991ab307c
Partially-Implements: blueprint add-tacker-datasource-driver
New PollingJsonIngester class which polls API end points as defined
in YAML configs and populates configured postgreSQL database with
JSON data.
Change-Id: I8d22cf8d2da1b1c2e99b8e0cd2d60f3ef71e2def
partially-implements: bp json-data-model
This commit adds the functionality of congress-status CLI for performing
upgrade checks as part of the Stein cycle upgrade-checkers goal.
It only includes a sample check which must be replaced by real checks in
future.
Change-Id: I27204c1c2dce2443eaa18a85144cbc892d61b551
Story: 2003657
Task: 26125
Action execution allows using policy to trigger data source client
methods. But some of these methods require a python structure as input,
which cannot be constructed by the congress policy language.
With this patch, the policy language can construct JSON/YAML strings,
which get loaded as python structure before passing to the data source
client methods.
Because there is no automated way to know which arguments to which
methods are non-scalar structures, the functionality requires a
data source driver to specify that information in
self.method_structured_args.
The patch also other related changes:
- specifies the desired structured arguments for the
neutronv2 drivers
- omits the neutron client update_* made redundant by the special
update_resource_attr action.
- updates a policy library to make use of the feature
Depends-On: I34d1a392d4539ede01666002cfa301c21f9cd4bd
Change-Id: I33860ffdcda3e0bc67e488ff2b35bba57241cf02
Occassionally, the database backend may experience a deadlock error
in the normal course of operations.
It is standard practice to have the database client retry the
operation.
If retries continue to fail, eventually return to user with 500
error and description.
Closes-Bug: 1746139
Change-Id: Iffc9344d22d1b3c0408eca3cef11767bafd2c7c2
Mistral driver and unit tests. Allows congress to
create workflows and trigger execution in Mistral.
Also configures mistral for gate integration tests.
Tempest tests in separate patch.
Implements blueprint add-mistral-driver
Change-Id: I79d3b9c2f659302f43164d5eef3b23ddf2f2d056
The Ceilometer datasource driver was removed in [1], and now that
python-ceilometerclient has been officially removed [2] we should
remove it from the requirements, too.
[1] - https://review.openstack.org/517527
[2] - https://review.openstack.org/522183
Change-Id: If8ec7ff00d0242c96fafaa466b63d976eca1269c
A new congress/encryption.py module handles all aspects of
encryption.
The datasource DB interface class encapsulates all the
encryption (on write) and decryption (on read).
A new config option `encryption_key_path` has been added to the
DEFAULT section
to specify the path to the directory containing encryption keys for
encrypting secret fields in datasource config. The default value
works for most deployments.
A new key is automatically generated and placed in the
`key_path` directory if none exists.
Temporarily disabled an HA test which fails because the test
set up needs to be updated (the way popen starts the replicas,
they do not have permission to access the encryption keys set
up by the original congress instance. See this output for more
detail:
http://logs.openstack.org/35/487235/3/check/gate-congress-dsvm-api-mysql-ubuntu-xenial/f53656f/testr_results.html.gz
(OSError: [Errno 13] Permission denied: '/etc/congress/keys/aes_key')
Change-Id: I49a71bb398383f93cd2ea93e054a9a27a45c4660