We are going to limit users who have admin privilege to access
this field. This commit removes this field from tempest test.
Change-Id: I02438b18c7bf852788f6842e0889acff9cc19ed7
Starting from API version 1.32, the capsule deletion become asynchronized.
After issuing a delete request, we need to continuely check the status
and wait for the deletion to be completed.
Change-Id: I963ee2ded063417dbc4f25705adf39b977fc5171
As we will introduce a new API version 1.32, existing capsule test suit
needs to be updated. This commit skips the existing capsule test suit
unless the API version is 1.31 or lower. A follow-up patch will introduce
a new test suit for API version 1.32 or later.
Change-Id: I9ab335e652f396e039dc9197c51abc4130b5a3c6
Introduce a method 'create_port' in base test class.
This allows subclass reuse the port creation logic.
Change-Id: Ib5ed02b765f22f9231d1d380152ab80478412351
Starting from API version 1.27, there is an API to delete docker
network. This commit modifies the tests to use this new API.
Depends-On: https://review.openstack.org/#/c/615402/
Change-Id: Ib979d911a15818bdadce025db569c24c5dbb49e0
Right now, both container and capsule tests are doing docker
network cleanup at the end of the tests. This commit moves
the cleanup logic to a common base class so that the code becomes
more DRY.
Change-Id: I9320f73f68b50954e57a1b9f0e3cc01c53ba102a
Currently, the container test cases requires API version 1.20
or higher. This commit adds legacy test class to cover
API version 1.19 or lower.
Change-Id: I5e5f23ceab5438f6025beb9dc6ac1ffebd33f9a9
Add a test case to run a container with cinder volume dynamically
created. Assert the volume is actually created in cinder and
it is automatically removed when the container is deleted.
Depends-On: https://review.openstack.org/#/c/606613/
Change-Id: I4535da25c56d7e969b5deac7ca848790889fa661
Related-Bug: #1791469
* Add decorate to skip test case based on selected api
version.
* If the selected api version is 1.24 or lower, run the test
case to get/put_archive without encoding
* If the selected api version is 1.25 or higher, run the test
case to get/put_archive with encoded data.
Related-Bug: #1789777
Change-Id: I3cfc8f0bf5c94d7ed63c111773cebd0aa2811787
Starting from api version 1.20, the type of parameter 'command'
changed from string to list [1]. This patch updates the tempest
test cases about that and bump the api version to 1.20.
This patch also removes test 'test_add_and_remove_sg_to_container'
because this test is not needed (the APIs for adding/removing
security groups are deprecated).
[1] https://review.openstack.org/#/c/575709/
Depends-On: Iee7d2db97eb274da7b5c6348d97475987db88b56
Change-Id: I09d578173e390e57d165aa58b2437c29b7b0273c
Tempest has removed 'api_version' [1] that was used to select
service type, so we explicitely specifies volume v3 as service type.
[1] https://review.openstack.org/#/c/590096/
Change-Id: I85e6af13a9301228abf94872b005e196a11d0ae9
These two tests failed the gate often. Temporarily disable it to
unblock the gate.
Change-Id: I04d1b8b0c7fdae9837e9a6866b3012862df52155
Related-Bug: #1758754
The test was disabled by https://review.openstack.org/#/c/562100/
This patch re-enable it.
Depends-On: I5f586ccc73f53a5f6e6e4d341251a5288a8687f2
Change-Id: Ibb9ee2edbb2bf60ff8adf7f247383fb62674b758
Related-Bug: #1764923
We are going to change the format the memory field, so temporarily
disable this test case. It will be re-enabled once the change is
finished
Change-Id: Ief00d4899a9628967aa6ea875aa4195cc4f2bfc4
Related-Bug: #1764923
Disabling this test as it was blocking
patch.[0]. We can enable the this test after the
feature is implemented.
[0]https://review.openstack.org/#/c/557595/
Change-Id: I0aeb155bc85f1dfbd436be1d39568b0f90ccf027
This patch will add the tempest test for the 'nets' parameter.
The test pre-creates a neutron port and run a container with
the pre-created neutron port. This test verifies the Zun container
will work with an existing neutron port.
Closes-bug: #1753270
Change-Id: Ie00deb46b879e7625ec83141715d9383ce961469
The security groups created in test needs to be cleanup after.
In addition, refactor the image cleanup code.
Change-Id: Ic088bc26bf786f2844d4fba5dbeca0a3256ad8a9
* Use six.b('') instead of '' for handling the difference
between string and bytes in python 2 and 3.
* Use six.BytesIO instead of six.StringIO for processing
data in bytes.
Depends-On: I3def3147aedbff56e594f4e7addc80054bd3aaa4
Change-Id: Iab8fe32def4590759433404c872a25f050f6a29e
This test will use to remove security group from
the container.
Depends-On: Ife757d85f0ea6920e10d45d8a07703a38ec85d1f
Change-Id: Id9accbc8139e268775be68a85b7d3892033181df
Closes-Bug: #1749351