Set listen address to devstack variable SERVICE_LISTEN_ADDRESS
to override the default 0.0.0.0 (which does not listen to ipv6 addresses).
Change-Id: I1bbc3539a751f7c0c0f54ec046f88a847b4647f9
Story: #2005477
By default, users do not have privileges to access the schema and
data tables created by the ingester.
This patch sets up the default privileges so that users get the
intended read access to all schemas and tables created by JSON
ingesters.
Change-Id: I9de2ca6c19971d38be46829263a3267fe234a42d
Closes-bug: 1821098
Some of the fixed endpoint configs caused errors.
Magnum and Zun explicitly call for grabbing the API endpoint from
catalog. Switch all the JSON ingester configs to use API endpoint
from service catalog to avoid incorrect config.
Change-Id: I50d2755317f68928f41d3770e25dfe67ba088969
Closes-bug: 1819556
Allows json ingester config YAMLs to use the !ref tag to reference
previously defined reusable structures, which makes deployment much
more convenient.
Allows devstack plugin to optionally enable JSON ingester feature.
Renamed and reorganized the JSON ingester config options.
Adds CI job which sets up JSON ingester.
partially-implements: bp json-data-model
Change-Id: I6391224c99249d16fe943b8f00fe12d1e6b7d8e6
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
On bionic, there seems to be a kafka bug which causes some failures
on certain versions of JRE [1].
As a result, the JRE install invoked by Congress devstack plugin
causes Monasca devstack plugin to fail. Here we remove the JRE install
from Congress devstack plugin and enable monasca devstack plugin in
the CI job.
Note: Java is used to generate code for Congress, but not currently
required in Congress devstack install.
[1] https://stackoverflow.com/questions/36970622/kafka-unrecognized-vm-option-printgcdatestamps
Change-Id: Ibce028cb5635fe52275968beb5b4305f855ea851
Previously disabled because the z3 github does not
provide binaries for bionic. However, the binaries
for xenial appear to work fine for testing purpose,
so we enable z3 with some additional logic that
substitutes xenial binary.
Change-Id: If6d775d07ea816157c62b78e3185f1e7f242e20c
when test murano python3 in patch [0], murano-congress-devstack
failed when excute congress command, error as below:
2018-12-28 05:33:03.601901 | controller | ++ functions-common:oscwrap:2287 :
out='openstack: '\''congress datasource create neutronv2 neutronv2 --config poll_time=10 --config username=admin
--config tenant_name=admin --config password=secretadmin --config auth_url=http://38.108.68.25/identity'\''
is not an openstack command. See '\''openstack --help'\''.
2018-12-28 05:33:03.601983 | controller | Did you mean one of these?
2018-12-28 05:33:03.602029 | controller | address scope create
2018-12-28 05:33:03.602057 | controller | address scope delete
2018-12-28 05:33:03.602082 | controller | address scope list
2018-12-28 05:33:03.602122 | controller | address scope set
2018-12-28 05:33:03.602149 | controller | address scope show'
2018-12-28 05:33:03.604233 | controller | + functions-common:oscwrap:1 : exit_trap
This patch using setup_dev_lib function from devstack install python-congressclient,
also this patch add a way to install congresscliet from requirements.
[0]: https://review.openstack.org/#/c/624600/
Change-Id: Ifda90653ca515bd5e21e5ed7338ab9fbdacc86ec
Tempest's service_available config option includes all the service
availability which is further used by tests to take decision of skip
or run the test.
For example, [service_available].congress is true then, congress test will run
or if [service_available].congress is false then, all congress related tests either
in telemetry tempest plugin or any other plugins will be skipped.
This commit add the setting of congress service[1] on congress devstack plugin.
Closes-Bug: #1743688
[1] http://git.openstack.org/cgit/openstack/congress-tempest-plugin/tree/congress_tempest_plugin/config.py#n24
Change-Id: I57de34d2b185b8e9838dd288d3673149391f0024
oslo-messaging 9.0.1 requires the ending '/' to properly
use default virtual host '/'. Otherwise, it attempts to connect to
virtual host 'None' and gets refused.
Related-Bug: 1798241
Change-Id: I318a0496f9a71c80674b114b5c6f898cf080c058
Set feature flags for vitrage webhook and monasca webhook to
enable corresponding tempest tests.
Depends-On: https://review.openstack.org/#/c/594747/
Change-Id: I1c1153676b6d99230874a9e76905e5c9a255a49c
check neutron-qos available before adding neutron_qos data source
to Congress. Avoids the data source update errors arising from
adding the data source when the qos extension is not available.
Release-team: devstack plugin change only
Change-Id: Ie5b10b20f11f109bb7159d43a0f5303508b00f78
Z3 is now enabled on the gate for non ha jobs.
A compiled version of Z3 is used.
This commit also correct installation paths bugs for Z3 and
adds an uninstall to clean.sh.
Change-Id: I81e515003a3edf443ec1a9f7a35232fc7121207a
Basic structure for the integration of Z3 into Congress.
Defines a Z3Theory as an alternative to nonrecursive theories.
Defines a Z3Context for executing Z3Theory content.
Z3 must be installed manually and is not in the requirements
devstack will install Z3 if ENABLE_CONGRESS_Z3 is set.
Limitations:
* No built-ins
* Typechecking does not support sub-typing (will be done later through built-ins).
Partially-implements: blueprint alternative-engine-z3
Change-Id: I87ff439a3ed4a3e83c78c98add7d94275f716a01
This commit adds the new option 'disabled_drivers' config option
to support disabling of specific drivers if not needed.
Usage:
disabled_drivers = plexxi, murano
Partially-Implements blueprint enable-drivers-by-default
Change-Id: I008d095d70cd0718f614332bc92b57178e1d3aaa
To be able to correctly identify services are enabled or not to
run respective tempest tests, configure the same in devstack plugin
in proper way, instead of deciding the service availability based on
import of plugins.
Closes-Bug: #1743688
Change-Id: I9cbe3f1307b78d0e703069bc6c011b62c0d3c51f
oslo_config uses OrderedDict for choices in
options types. This serialize it as list of tuples.
Order is preserved and types are naturally
deserialized back from those tuples.
Congress-agent is reenabled. It can be disabled
in devstack on the value of ENABLE_CONGRESS_AGENT
(default is True).
Driver will initialize table to empty at first poll not
waiting for an initial response from agents.
Closes-Bug: #1742833
Change-Id: If1423e824fc457bab89f4bcd12be8826c50f5f69
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
oslo.config 5.2 begins to use a different representation of
choices (OrderedDict). We convert back to simple list to
have consistent output regardless of oslo.config version
unit tests have been failing since the change in upper-constraint
to oslo.config 5.2
Also temporarily disabled cfgvalidator in dsvm gate
while a blocking issue is being resolved, so that critical
queens-3 patches can go in asap.
Related-Bug: #1742833
Change-Id: Ibec47e398686793258eb4c8d9fb056e51cdc1c49
This last part adds the agent to the devstack deployment, a
basic tempest test of the datasource and gives an example of
its use.
Implementation of a datasource that transcribes the content
of configuration files managed by oslo-config in Congress
tables.
The datasource uses a set of agents deployed on the nodes
to access the configuration files.
Change-Id: Ibda41c44e551e6dc8e5895968018c7169c34c9c8
Implements: blueprint configuration-files-validation
Co-Authored-By: Valentin Matton <vmatt.openstack@gmail.com>
Co-Authored-By: Pierre Crégut <pierre.cregut@orange.com>
This commit registers default policies in code. For the
Register and Document Policy in Code community goal.
bp policy-and-docs-in-code
Closes-Bug: 1724714
Change-Id: I1eea53adc19247d8b982c3e22184e8a1e2fb875c
This commit enables policy library panel to be installed via devstack
Implements blueprint add-policy-library-gui
Change-Id: Iad15e37665c69ff44bec3d37f939f65f335090e9
Devstack seems to fail on single node/single process congress
deployment, with error missing transport_url. This commit fixes
the same by enabling setting of transport_url for single node
deployment as well.
Change-Id: I739db21caa4ab7a445f1f667258de5f2803b63c4
Closes-Bug:#1732851
This commit removes the ceilometer datasource driver support in congress, as
ceilometer API is removed in Queens release.
Reference:https://review.openstack.org/#/c/512286/
Change-Id: Ib7ade0951f8a85102d95a0f01c3d63337f6b2404
Closes-Bug: #1729761
Possible cause of replica test instability is devstack plugin
script exposing key file executes before key files are created.
The theory is consistent with the observation that failures
are much more prevalent under high infra load.
This patch adds output to confirm those situations.
Change-Id: Ib5d4e29109f86a627eb4ab48296eae773053949d
Parts that require QoS extension placed in a separate driver.
So that the standard neutronv2_driver continues to work
for environments without the QoS extension.
Implements: blueprint add-qos-in-neutron-datasource-driver.
Change-Id: I3554f3c31f419b85ec27e734147fcb6eb2a81bde
added devstack option $CONGRESS_EXPOSE_ENCRYPTION_KEY_FOR_TEST
which sets congress encryption keys to be readable by all
so that the replica instances launched from a different user
(tempest test user) can access the keys and operate correctly.
release-team: testing-only change
Change-Id: I014a750ae0d39fcc8cc78ca44bd5f59d87bf2226
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
This commit fixes the issue with gate.
Still issues pending with usage of v2. It comments the following
tests to unblock the gate.
TODO(ramineni): Fix keystonev2 auth, and replace keystone v2 tests with v3
Fix HA tests to use v3 clients (bug:1689220)
Closes-Bug:#1689221
Change-Id: I66e9ddb4ae6d3819f0b47fab220607cfe8446171