<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/tempest.git/tempest/api/compute/base.py, branch master</title>
<subtitle>opendev.org: openstack/tempest
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/'/>
<entry>
<title>Update</title>
<updated>2023-03-14T09:39:18+00:00</updated>
<author>
<name>Jorge San Emeterio</name>
<email>jsanemet@redhat.com</email>
</author>
<published>2023-03-09T10:38:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=572ac54250fdd1a61809b57cbd15a49209c83f16'/>
<id>572ac54250fdd1a61809b57cbd15a49209c83f16</id>
<content type='text'>
"test_list_migrations_in_flavor_resize_situation" to indicate the failing request on timeout.

This is one of those tests that for some reason or the other fail randomly on our CI systems. Problem is, that the error message it fails with is not very helpful, as it just indicates that a timeout happened but not much else. This change seeks to fix that by including the request id that led to the timeout. This way, once the test fails on a build, it will be possible to search the log files for this request and track the underlying problem.

Closes-Bug: #2009701
Change-Id: Ic1ffd62f9d6ed0d69467f678c1820cddbb1fda12
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"test_list_migrations_in_flavor_resize_situation" to indicate the failing request on timeout.

This is one of those tests that for some reason or the other fail randomly on our CI systems. Problem is, that the error message it fails with is not very helpful, as it just indicates that a timeout happened but not much else. This change seeks to fix that by including the request id that led to the timeout. This way, once the test fails on a build, it will be possible to search the log files for this request and track the underlying problem.

Closes-Bug: #2009701
Change-Id: Ic1ffd62f9d6ed0d69467f678c1820cddbb1fda12
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid wait for vol detach in live-migrate tests</title>
<updated>2023-02-27T16:30:46+00:00</updated>
<author>
<name>Dan Smith</name>
<email>dansmith@redhat.com</email>
</author>
<published>2023-02-27T14:48:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=d3155552ec0d176aa03410f6d2725b5c4138c976'/>
<id>d3155552ec0d176aa03410f6d2725b5c4138c976</id>
<content type='text'>
This extends the recent theme of making sure the tearDown process does
not hang and ultimately fail the test because it cannot detach a
volume from a guest. We see (and have been seeing for a long time)
the live migration tests specifically fail in this way in the gate.

Change-Id: Ib1065c146ab2f927c23fc8a0b73d7040516a19a6
Related-Bug: #199232
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This extends the recent theme of making sure the tearDown process does
not hang and ultimately fail the test because it cannot detach a
volume from a guest. We see (and have been seeing for a long time)
the live migration tests specifically fail in this way in the gate.

Change-Id: Ib1065c146ab2f927c23fc8a0b73d7040516a19a6
Related-Bug: #199232
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Compute Live Migration tests with Ironic</title>
<updated>2022-11-23T22:03:48+00:00</updated>
<author>
<name>Maksim Malchuk</name>
<email>maksim.malchuk@gmail.com</email>
</author>
<published>2022-11-16T20:29:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=f4970a3f8a07e0b7d1ee98dd1289e0a14e8f25b3'/>
<id>f4970a3f8a07e0b7d1ee98dd1289e0a14e8f25b3</id>
<content type='text'>
In some deployments when Nova Compute configured together with Ironic
service there are many test_live_migration.* tests failed with an
error "Migration pre-check error: Unable to migrate...". This change
fix the issue removing '*-ironic' hosts (used in Kolla-Ansible).
The other deployments (OpenStack-Ansible, TripleO, etc.) should
deploy the Ironic-Complute services with correct hostnames.

Change-Id: I47993d16b86671433a64c6db57d53c2d15f8a7ae
Signed-off-by: Maksim Malchuk &lt;maksim.malchuk@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In some deployments when Nova Compute configured together with Ironic
service there are many test_live_migration.* tests failed with an
error "Migration pre-check error: Unable to migrate...". This change
fix the issue removing '*-ironic' hosts (used in Kolla-Ansible).
The other deployments (OpenStack-Ansible, TripleO, etc.) should
deploy the Ironic-Complute services with correct hostnames.

Change-Id: I47993d16b86671433a64c6db57d53c2d15f8a7ae
Signed-off-by: Maksim Malchuk &lt;maksim.malchuk@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Create router and dhcp when create_default_network set</title>
<updated>2022-05-30T17:01:54+00:00</updated>
<author>
<name>Lee Yarwood</name>
<email>lyarwood@redhat.com</email>
</author>
<published>2021-11-12T13:03:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=db2f561cdf8fb51053373a4d3b0edc0ce8a6578d'/>
<id>db2f561cdf8fb51053373a4d3b0edc0ce8a6578d</id>
<content type='text'>
We are trying to make server SSH-able before detach volume
is performed (details in bug mentioned below). Creating
router and dhcp is needed to setup the proper network path
for server otherwise it fail
- https://zuul.opendev.org/t/openstack/build/04e11a0eac12447f8a3c47fb385b0753

Related-Bug: #1960346

Change-Id: I18eff5a4216d5683a5d49ad0e400ac663650e7a9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We are trying to make server SSH-able before detach volume
is performed (details in bug mentioned below). Creating
router and dhcp is needed to setup the proper network path
for server otherwise it fail
- https://zuul.opendev.org/t/openstack/build/04e11a0eac12447f8a3c47fb385b0753

Related-Bug: #1960346

Change-Id: I18eff5a4216d5683a5d49ad0e400ac663650e7a9
</pre>
</div>
</content>
</entry>
<entry>
<title>Wait for guest after resize</title>
<updated>2022-05-18T14:22:33+00:00</updated>
<author>
<name>Balazs Gibizer</name>
<email>gibi@redhat.com</email>
</author>
<published>2022-05-17T15:15:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=d8bbaba415bc5cc027079b1b45aa5ee6e75faddf'/>
<id>d8bbaba415bc5cc027079b1b45aa5ee6e75faddf</id>
<content type='text'>
To stabilize test_resize_server_with_multiattached_volume we need to
wait for the guest OS to fully boot after the resize and before the test
attempts to detach the volume.

Closes-Bug #1960346

Change-Id: I85ee21868c9281d081c491ee590fe1457f5aa997
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To stabilize test_resize_server_with_multiattached_volume we need to
wait for the guest OS to fully boot after the resize and before the test
attempts to detach the volume.

Closes-Bug #1960346

Change-Id: I85ee21868c9281d081c491ee590fe1457f5aa997
</pre>
</div>
</content>
</entry>
<entry>
<title>Make recreate_server() wait until SSHABLE</title>
<updated>2022-05-05T18:20:21+00:00</updated>
<author>
<name>Artom Lifshitz</name>
<email>alifshit@redhat.com</email>
</author>
<published>2022-05-05T18:17:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=4fc47f68c7710ccfb67c3ad28a58e047a8b51c1a'/>
<id>4fc47f68c7710ccfb67c3ad28a58e047a8b51c1a</id>
<content type='text'>
Continuing the work to bandaid any tests that involve volume
attachment/detachment, make the setUp() method of
ServerActionsTestJSON wait for the SSHABLE status. Some of its tests,
for example test_rebuild_server_with_volume_attached, use a
class-level server resource that is created by setUp(). We also need
to add the optional wait_until kwarg to recreate_server(), as the
latter is called by setUp() in some cases.

Change-Id: I3b7bcadbb7d608d705754b6ad7e2869e07b81b75
Related-Bug: 1960310
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Continuing the work to bandaid any tests that involve volume
attachment/detachment, make the setUp() method of
ServerActionsTestJSON wait for the SSHABLE status. Some of its tests,
for example test_rebuild_server_with_volume_attached, use a
class-level server resource that is created by setUp(). We also need
to add the optional wait_until kwarg to recreate_server(), as the
latter is called by setUp() in some cases.

Change-Id: I3b7bcadbb7d608d705754b6ad7e2869e07b81b75
Related-Bug: 1960310
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Fix server group schema for compute microversion 2.64"</title>
<updated>2022-03-03T22:59:29+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2022-03-03T22:59:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=b87a29b689e394d06a6dad15db6499c2b2291cc5'/>
<id>b87a29b689e394d06a6dad15db6499c2b2291cc5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move get_server_ip into tempest.common.compute</title>
<updated>2022-01-07T09:57:40+00:00</updated>
<author>
<name>Lee Yarwood</name>
<email>lyarwood@redhat.com</email>
</author>
<published>2021-11-12T09:38:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=20556df7ab807d39b1541b71555b44fac332f64d'/>
<id>20556df7ab807d39b1541b71555b44fac332f64d</id>
<content type='text'>
This will be required by the new wait_until={PINGABLE|SSHABLE} logic
within the module so move this down from
tempest.api.compute.base.BaseV2ComputeTest.

A version of this is also present in tempest.scenario.manager however
unifying that with this version is left for another change.

Change-Id: Iddfdf48da58320844e265fb1209e25a53d501f93
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will be required by the new wait_until={PINGABLE|SSHABLE} logic
within the module so move this down from
tempest.api.compute.base.BaseV2ComputeTest.

A version of this is also present in tempest.scenario.manager however
unifying that with this version is left for another change.

Change-Id: Iddfdf48da58320844e265fb1209e25a53d501f93
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix server group schema for compute microversion 2.64</title>
<updated>2021-12-17T00:45:11+00:00</updated>
<author>
<name>zhufl</name>
<email>zhu.fanglei@zte.com.cn</email>
</author>
<published>2020-06-05T08:04:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=ed6d10235cdd41880a8f39d2e9126d9ba3b840be'/>
<id>ed6d10235cdd41880a8f39d2e9126d9ba3b840be</id>
<content type='text'>
For Compute microversion 2.64:
1. change policies to policy in:
   * GET /os-server-groups
   * POST /os-server-groups
   * GET /os-server-groups/{server_group_id}
2. add rules in:
   * GET /os-server-groups
   * POST /os-server-groups
   * GET /os-server-groups/{server_group_id}
3. remove metadata from:
   * GET /os-server-groups
   * POST /os-server-groups
   * GET /os-server-groups/{server_group_id}

The testcases of create_server_group should also be modified.

Co-authored-by: Ghanshyam Mann &lt;gmann@ghanshyammann.com&gt;

Change-Id: I8fc37415c968eb64380b8bd66b713aa6b733578f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For Compute microversion 2.64:
1. change policies to policy in:
   * GET /os-server-groups
   * POST /os-server-groups
   * GET /os-server-groups/{server_group_id}
2. add rules in:
   * GET /os-server-groups
   * POST /os-server-groups
   * GET /os-server-groups/{server_group_id}
3. remove metadata from:
   * GET /os-server-groups
   * POST /os-server-groups
   * GET /os-server-groups/{server_group_id}

The testcases of create_server_group should also be modified.

Co-authored-by: Ghanshyam Mann &lt;gmann@ghanshyammann.com&gt;

Change-Id: I8fc37415c968eb64380b8bd66b713aa6b733578f
</pre>
</div>
</content>
</entry>
<entry>
<title>Moving API microversion fixture in resource_setup</title>
<updated>2021-12-11T15:20:55+00:00</updated>
<author>
<name>Ghanshyam Mann</name>
<email>gmann@ghanshyammann.com</email>
</author>
<published>2021-12-07T18:37:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=18b45d7285bf9fa866dabe825c02517f5f0a6819'/>
<id>18b45d7285bf9fa866dabe825c02517f5f0a6819</id>
<content type='text'>
API microversion fixture is used to set the API
microversion on service client and reset it back
after test execution. That is done in setUp()
method and due to that API microversion is not
set on service client during resource_setup()
method and any API call will be requested on base
version.

To sync the complete test execution of test class
with requested API microversion, this commit moves
the API microversion setting in resource_setup()
method.

Closes-Bug: #1881863

Change-Id: Ia4b884a79cc0e50057dd57090737332bd76da37e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
API microversion fixture is used to set the API
microversion on service client and reset it back
after test execution. That is done in setUp()
method and due to that API microversion is not
set on service client during resource_setup()
method and any API call will be requested on base
version.

To sync the complete test execution of test class
with requested API microversion, this commit moves
the API microversion setting in resource_setup()
method.

Closes-Bug: #1881863

Change-Id: Ia4b884a79cc0e50057dd57090737332bd76da37e
</pre>
</div>
</content>
</entry>
</feed>
