This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I8e91d721d75789bc1c66b0a38fd05a7427081706
When an accounts.yaml file is used, python-tempestconf
has to set use_dynamic_credentials to False, otherwise
the generated tempest.conf doesn't work with Tempest.
However, values from a deployer input file are set with
a priority, so that they are not overriden during
discovery.
To fix the issue, use_dynamic_credentials has to be set
with priority too.
The related unit tests checks only a return value from
set function. The patch improves them, so that they
check if a value was overriden when it was supposed to
and the other way around.
Story: 2004140
Task: 27606
Depends-On: https://review.openstack.org/#/c/614312/
Change-Id: I76b8cf694116801e36587929bf320e5743534791
The tests are blocking python-tempestconf's gates due to the
issue described in the attached story.
Skip the tests until the issue is resolved.
Change-Id: I3b604e18c62c2d2a614c5b50d8d8e06a9b0fdb0d
Story: 2004209
Task: 27722
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: If50767b3735389b641cccfd49bda79d47f1fe289
Use openstack-tox-cover template, this runs the cover job
in the check queue only.
Remove jobs and use template instead.
Change-Id: I129ab68ba1fbbe39350013d095a1601ca00839e2
* Since this is the only job against refstack-client which makes sures
python-tempestconf works. But what about running this job against
tempestconf and making sure any updates to tempestconf does not
breaks the refstck-client tempestconf integration
Depends-On: https://review.openstack.org/#/c/562956/
Change-Id: Ied653f3cab219f60879411da11eada42ff6ae568
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I02b9dba44cabba9756eb3ece99c873b661c57d3d
Story: #2002586
Task: #24759
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: Ie301af224b86ccf60623799313e815fa911c8c9c
Story: #2002586
Task: #24759
This commit remove the static class loader and add a dynamic one.
This is done using a new property available_classes that checks for
classes inherited by Services and generate a list of it.
It also change how tempestconf identify available services using the
list_services api instead of get_catalog api from tempest lib.
This way, tempestconf are no longer generating Services objects for
services that doesn't have a specialized class, but still set the
defaults for true or false if a service is running or not.
The discover method has changed to get the services from the list of
services instead of from the catalog.
Change-Id: Ic9d482378e9c975ed00f6aa7ed5f7aed6956d229
Story: 2002787
Task: 22672
This patch discovers the minimum and maximum the
microversion and set them under volume section in
tempest.conf.
Change-Id: Icb646418ed48d0a728b6c3dcd58d307688eddf7a
The patch create utils.py for methods which might be used
elsewhere in the project, with no matter on context.
Move get_base_url method from credentials.py to util.py so that
the method is reusable.
Change-Id: Ic8cb83bb8859b4fddcd57faa3e23992941d0010b
Don't expose credentials to tempest.conf when
--create-test-accounts is used.
When generating tempest.conf with demo creds, use
--create-accounts-file argument so that the argument
is tested in the gates.
The argument is used only on Devstack.
Tempest concurrency of devstack demo job is reduced to 1
because the minimal accounts file is used.
Change-Id: Id5c90810666d783cf3939086ef27149ef53277f8
Story: 2003016
Task: 23036
Lately we added a flavor autodiscover feature and due to that
we edited generate-tempestconf-file role.
The patch removes unused registered variable and edits readme.
Change-Id: Ibf55d35ab00aafd0b7efe83805f1a96f11fe2f0a
Before we could diferentiate the api version for identity because
the use of /v2 or /v3. Even though v2 is now deprecated, we need
to continue support previous versions of openstack. In this case
We cannot relay on the /v2 or /v3 in the url. The best user case
is to do a request in the base url (without any version) and
check if we have v3 version stable. If so, we assume identity
version is v3 otherwise, is v2.
Change-Id: Ia41d21ebad9329ae9fa506868957a72e6f9a5ca5
As all of documenation parts were merged, this patch makes
sure, that all of them uses the same style for marking
commands, arguments, notes, ...
Also a few typos were fixed.
Change-Id: I0239e5241aa854f515fc2d72e7947dc51b3ecb56
Story: 2002703
Task: 22965
Remove this constant, and implement get_service_extension_key method to
get this information from the services.
Story: 2002787
Task: 22730
Change-Id: I7d395a3b864f9f06f5d266eb356af990c4f00a6c
This patch remove the dependence of some services to check for the
catalog and supported versions on constant SERVICE_VERSIONS. It also
remove this constant since it's no longer required.
In order to do that, four new methods were added in Service:
get_supported_versions, get_catalog, get_feature_name and
get_unversioned_service_name that
should be implemented by each service that requires this check.
Right now, the only services that uses are image, identity and volume.
Story: 2002787
Task: 22729
Change-Id: Ia41b7131dd1c1e76974ad4605566fd531572b974
The name was returned incorrectly (and inconsistently with the other
possible computation branches).
Also, fix a typo in a user-visible string.
Change-Id: I799a7239bad28c6c0d44ee399903aa67645aa45a
Otherwise the "if keystone_v3_support:" condition is always true
(any non empty string makes the condition True).
Thanks Trevor McCasland for the analysis.
Story: 2003307
Task: 24260
Change-Id: Iab146ccf31a039c888cecb4ac7e820ec55de80a4
openstack-tox-cover should exectue at least the same steps,
and it also collects the report generated by the of the cover tox
environment which is not saved right now.
Change-Id: I17bae4a75261c065ce2d17fcca3a0282082589f0
The code should be rewritten anyway (see
https://storyboard.openstack.org/#!/story/2002787)
and in general the detection of the dashboard location
should be more roboust, but the code should not raise
an exception.
and horizon settings are relevant only for the (few)
Horizon Tempest tests, but the system can otherwise work.
Change-Id: I62607ce4de65062a0c37bdd23220edf9ea7e6818
Story: 2003024
Task: 23048
Add examples of usage of some discover-tempest-config
options, document what resources can be created and
what's needed for it
Change-Id: I78b499a79bc05e9c0528da573af78fd2b58df7f4
Story: 2002703
Task: 22885
Task: 22573
Document and show example how to integrate python-tempetsconf
with a different project.
Change-Id: I3757d298653dfb243d1b710759f9550a9e27c8a7
Story: 2002703
Task: 22574
The identity URLs have a different rules for parsing,
but the code before looked for word 'identity' in
whole given URL to determine it was an identity URL.
This can conflict with a URL hostname which can contain
'identity' too.
The patch fixes that by looking for 'identity' only in
URL.path (after hostname:port part).
The patch also adds a new unit test for this case.
Change-Id: I265f4d38d81dc74b05f2af9adb6fe33db876329c
Story: 2002965
Task: 22970
* https://review.openstack.org/#/c/568869/ adds support of using
healthcheck api to check swift functionality, This commit adds
what if healthcheck fails to discover it will give trackback it
needs to be handled.
Change-Id: I5748eec8c15871f0c5f3f450a68d4d816fad6475
As we recently removed etc/default-overrides.conf file,
we don't need to track etc/ folder anymore, therefore
add it to .gitignore
Change-Id: Ib27a9f58d1f338ed85159fd3a0d202d303ff62a3