CONF.scenario.img_dir file has been removed along with any other
support files. Exception has been raised when a user passes an
img file that does not exist in the CONF.scenario.img_file.
Exceptions import has been added for lib_exc.
Closes-Bug: #2032948
Change-Id: I2b57dd4928ab3f6858909fc90b7865aac2d93da2
The option is deprecated for more than 4 years already and it will
be removed soon, see the change in Tempest [1]
Starting Tempest 25.0.0 release, CONF.scenario.img_file need
a full path for the image. CONF.scenario.img_dir was deprecated
and will be removed in the next release. Till Tempest 25.0.0,
old behavior is maintained and keep working but starting
Tempest 26.0.0, you need to specify the full path in
CONF.scenario.img_file config option.
This patch does analogically the same change as was done in Tempest,
in order to give users of the plugin some time for removing img_dir.
[1] https://review.opendev.org/#/c/710996
Related-Bug: #1393881
Change-Id: I610d267eab287e3df8dd428621c4d3abace6dd0c
* From rocky release projects are consuming the volume featured
enabled v3 API, Since the earlier code has support
for v1, v2 and since api_v3 is used in tempest.conf, it will give
AttributeError: 'Manager' object has no attribute 'volumes_client'.
The above patch fixes the issue.
* Keep cinder v1 api as tempest plugin is branchless, it would avoid
breakage if someone is still consuming it.
Closes-Bug: #1775353
Change-Id: Ia9d070a6033a8192112dbaa1704b1de6838051c5
The use of signer and verifier in cryptography has been
deprecated, and causes the following warning:
barbican_tempest_plugin/tests/scenario/barbican_manager.py:139:
DeprecationWarning: signer and verifier have been deprecated.
Please use sign and verify instead.
This patch replaces signer with sign.
Change-Id: Ia6358e2c4e84faa9d692a13b9b3aa1504407301b
This is in response to the mailing list post at:
http://lists.openstack.org/pipermail/openstack-dev/2017-February/112938.html
The tempest.scenario.manager class will be refactored,
so a local copy will be maintained in the
barbican_tempest_plugin repository until that refactor
is complete.
Change-Id: I706e256fe4e224e44532ea0ce2c81495791ec97f
This change adds the first scenario test to the
Barbican Tempest plugin. This scenatio tests Nova
and Glance's image signature verification
functionality.
Depends-On: Ifdf8b426c21e4b3a51f97cbc3d95eb842eb04515
Change-Id: Id9629ecbbc75e19eec81f60daec7b0a085bcdc12