Commit Graph

1393 Commits

Author SHA1 Message Date
OpenDev Sysadmins 4f35920720 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:34:00 +00:00
Dmitry Belyaninov 5f8aed5557 Check compute state before migration
Novaclient returns list of hypervisors. We should
check state to discard deleted or disabled
(unavailable) compute nodes for instance migration.

Change-Id: I319076e637162d99d33d0f69911ac426d1e08258
Closes-Bug: 1604749
2017-03-28 08:13:16 +00:00
Jenkins 6d9aee8f7c Merge "Improvement for services state check" into stable/newton 2017-03-23 08:15:44 +00:00
ibumarskov 0bf90a7a09 Remove Ceilometer and vCenter ostf
Change-Id: I31297ad399094b8f88739211bcecb777359f9dfc
Partial-bug: #1669700
Implements: blueprint remove-vmware
2017-03-14 15:10:04 +04:00
Vladimir Khlyunev 73c0f9c51c Block requests 2.12.2 and 2.13 versions
Global OS requirements blocks these version due to bugs

Change-Id: Ie657d702652c2ff67c3643c406b01a89aa71e8ee
2017-03-14 15:08:44 +04:00
Jenkins ed9ecfb79a Merge "Files with no code must be left completely empty" into stable/newton 2017-03-02 14:07:46 +00:00
Alexander Kislitsky d95727ce0c Removing VMware support in 10 Fuel release
VMware is no longer supportes, thus we have no attributes use_vcenter
in the cluster attributes.

Change-Id: I90de98d736227c913fddfb27cefd186f29b3fb1b
Closes-Bug: #1666835
Implements: blueprint remove-vmware
(cherry picked from commit 0efc1357e5)
2017-02-22 14:30:55 +00:00
Dmitry Belyaninov a9df5d6208 Improvement for services state check
Print service-name, host and reason for
services in Down state.

Change-Id: Iaea58fe237557c000b2b67ec74fccb44ad04e8dc
Closes-Bug: 1666215
2017-02-22 08:28:50 +00:00
Vitaly Gridnev 31a1836d1f [sahara] provide default version of hadoop version
this version is the only currently available version in vanilla
plugin.

Change-Id: I58cd0aa6165e58b694a43d7f3314030433f160e5
Closes-bug: 1634523
(cherry picked from commit f60d2c645c)
2017-02-08 13:23:45 +00:00
Cao Xuan Hoang 608881d880 Files with no code must be left completely empty
As per OpenStack licensing guide lines [1]:
[H104] Files with no code shouldn't contain any license header nor
comments, and must be left completely empty.
[H102 H103] Newly contributed Source Code should be licensed under
the Apache 2.0 license.

[1] http://docs.openstack.org/developer/hacking/#openstack-licensing

Change-Id: I90cb2e6fa3bf560278e26419dd05ba2a6b35ff6a
(cherry picked from commit 27e4aa4796)
2017-02-08 11:24:31 +00:00
Jenkins 2231744dad Merge "Replace six.iteritems() with .items()" into stable/newton 2017-02-08 09:23:20 +00:00
Jenkins 323f3c9f92 Merge "Add "tearDownClass" call from parent class" into stable/newton 2017-02-08 09:23:15 +00:00
Jenkins b8e7ab13db Merge "Add missing message parameter to LOG.exception call" into stable/newton 2017-02-08 09:23:09 +00:00
Jenkins a8c94e672e Merge "Prepare for using standard python tests" into stable/newton 2017-02-07 17:01:48 +00:00
gecong1973 d4eb995aa3 Replace six.iteritems() with .items()
1.As mentioned in [1], we should avoid using
six.iteritems to achieve iterators. We can use
dict.items instead, as it will return iterators
in PY3 as well. And dict.items/keys will more
readable. 2.In py2, the performance about list
should be negligible, see the link [2].
[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html

Change-Id: I7844f6425787388fa37b85b3c0f305b34cddc0fa
(cherry picked from commit 20e93c4686)
2017-02-07 08:38:32 +00:00
Dmitry Belyaninov 56c2516e52 Add "tearDownClass" call from parent class
The "NeutronBaseTest" class should call
"tearDownClass" method from base class
to initialize "error_msg". The reason is
"AttributeError" for derived classes
if "error_msg" was not initialized.

Change-Id: Ifb78e7902b37f70f6adea6a214f8e440b0ec767f
Closes-Bug: 1604315
(cherry picked from commit 3146c32738)
2017-02-07 06:08:43 +00:00
Dmitry Mescheryakov 13427c8448 Add missing message parameter to LOG.exception call
Without the parameter call fails, see referenced bug for example.

Change-Id: Iaba6290ec92aabc8c9a0336dd3d6bf30de81ac3e
Closes-Bug: #1652281
2017-02-06 18:00:44 +00:00
Andreas Jaeger 31ae40918b Prepare for using standard python tests
Add simple script to setup mysql and postgresql databases, this script
can be run by users during testing and will be run by CI systems for
specific setup before running unit tests. This is exactly what is
currently done by OpenStack CI in project-config.

This allows to change in project-config the python-db jobs to
python-jobs since python-jobs will call this script initially.

See also
http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html

Change-Id: I36589d18f80d1681e27312cf0f8a1e12dbc8e74a
(cherry picked from commit 207a3aa7eb)
2017-02-06 17:02:16 +00:00
Dmitry Belyaninov 163fd05841 Artifacts removing missed
We should clean lists of artifacts to prevent
duplicate removing attempt after the test execution.

Change-Id: I5384c907acbb227929363215fa0e2e22a84d5738
Closes-Bug: 1594610
2017-02-03 10:38:49 +00:00
Dmitry Belyaninov ac87c39624 Modification of timeouts for server deletion
Current timeout is 20 sec, and 10 sec retry period.
In case slow instance removing we are falling to error.
New intervals make procedure more correct to check real
removing state few times.

Change-Id: I38c0d5663ac5359a21f95f4dc0fbb32c8fb256bc
Closes-Bug: 1637462
2017-02-03 10:34:06 +00:00
Maksym Strukov 0cd75f47ce Increase delete_server timeout to 60 seconds
Change-Id: If40772482d72267b0113b773537156b52a141f5b
Closes-Bug: #1607808
(cherry picked from commit ddd691205d)
2017-02-03 10:32:08 +00:00
Vladimir Khlyunev 7e4223630b Drop unused requirements from ostf
We are not using this libraries in ostf directly so
its time to get rid of them

Change-Id: Id11092e026bcdd4faf5c2e63cd2b4f30a00fe4f4
2017-02-03 10:56:51 +04:00
Davanum Srinivas 132f287fb7 Update .gitreview for stable/newton
Change-Id: Id8b60bb344ca4f0e9112041b1d40935657c1b9c5
2016-10-14 09:17:25 -04:00
Cao Xuan Hoang 876bee7572 Remove vim header from source files
trivialfix

Change-Id: I5d38c942354d3981ddb400be360c2a2350c5af7c
2016-09-27 15:18:53 +07:00
Jenkins c07bd76eac Merge "[Murano] Multiple fixes for murano OSTF tests" 2016-09-21 11:19:15 +00:00
Victor Ryzhenkin e58e5a9bd5 [Murano] Multiple fixes for murano OSTF tests
- Reduce time between environment deletion checks
- Increase timeout for environment removal verification

Change-Id: Iad6e9c5f2e976c9130682e705b4d609393eccd92
Closes-Bug: #1625727
2016-09-20 20:16:44 +03:00
Evgeny Sikachev 53d55f223c Add hadoop version for mos 9.1
Vanilla have a 2.7.1 version for mos 9.1 release
closes-bug: #1625139

Change-Id: I6d066245f4accad5851e6fc9548fff01ceb3d847
2016-09-20 13:39:59 +03:00
Jenkins bf60400656 Merge "Clean imports in code" 2016-09-08 08:58:21 +00:00
Jenkins deaf978163 Merge "TrivialFix: Remove logging import unused" 2016-09-08 08:56:09 +00:00
Cao Xuan Hoang 8520aeafd9 Clean imports in code
This patch set modifies lines which are importing objects
instead of modules. As per openstack import guide lines, user should
import modules in a file not objects.

http://docs.openstack.org/developer/hacking/#imports

Change-Id: I5b4bdcb674b58ab419d00ca9c6bff105ce19aca8
2016-09-07 13:28:38 +07:00
Cao Xuan Hoang 062cf1dcd2 TrivialFix: Remove logging import unused
This patch removes logging import unused in
fuel_health/common/facts.py
fuel_health/manager.py
fuel_health/tests/sanity/*.py
fuel_health/tests/smoke/test_create_flavor.py
fuel_health/tests/tests_platform/test_heat.py
fuel_plugin/ostf_adapter/nailgun_hooks.py
fuel_plugin/ostf_adapter/nose_plugin/nose_utils.py
fuel_plugin/ostf_adapter/wsgi/controllers.py

Change-Id: Ic47ced019c06e45ba0c9b669989bae83ceb049d0
2016-09-07 12:56:32 +07:00
Alexey Stepanov a993603408 Use novaclient API instead of CLI for services check
Use novaclient API instead of CLI for services check
Closes-bug: #1615766

Change-Id: I691b434a54298b6ebeffa27470ed0fd354e06013
2016-09-05 07:53:35 +00:00
Alexey Stepanov 1b0efcc3b4 Sync with global requirements
Sync with global requirements:
https://github.com/openstack/requirements/blob/master/global-requirements.txt

Change-Id: I8cf33437f9cd2932c595cf7a78ab705ab4a9552c
2016-09-05 07:53:30 +03:00
Timur Nurlygayanov 923c1231c4 Increased timeout for Heat autoscaling test
The autoscaling timeout in Ceilometer is 600 seconds,
we need to make sure autoscaling will make an alarm
in Ceilometer withing timeout*2 + several seconds to
pass this test in 100% of cases.

Change-Id: I6b2a43e4acb4b8d76641ee314ca19e67b999500a
Closes-Bug: #1584190
2016-08-30 19:43:51 +03:00
Oleksii Chuprykov 9a07628eba Add `-k` option to curl call in waitcondition test
This option needed for running test on environments with enabled SSL.
Also change template for this test to make it ready to debug. Now
you have instance with floating ip and outputs with needed urls.

Change-Id: Iaa0f4549586e3c421e3b7fe4573a61e0131d2e9e
2016-08-24 10:22:24 +00:00
Andriy Popovych 7531f8d65a Add support for NIC attributes
Provide support for SR-IOV and DPDK through new API version
for NICs.

Change-Id: I1a927c0e7333a422f94dd2937638f8d2ca38512f
Implements: blueprint nics-and-nodes-attributes-via-plugin
2016-08-08 14:52:22 +03:00
Sergey Nikitin b8254231a1 TrivialFix: fixed incorrect log message
Change-Id: Ib3ad945d846f8e4d3ab8206ceadd677ed93882f5
2016-07-15 17:07:43 +03:00
Alexander Tsamutali bceb674da7 Sync python-novaclient version with global-requirements.txt
Change-Id: I735e4a16c3cff9e2e5bd0bd11de9614a6ee6b019
2016-07-07 19:54:14 +03:00
Artur Svechnikov 99050bb609 murano_glance_artifacts_plugin backward compatibility
murano_glance_artifacts_plugin was moved from additional
components to murano settings in mitaka. Thus, need to
add backward copmatibility for old environments after
upgrade.

Change-Id: I46e04d5952c128572fd79818b833daee8911389f
Closes-Bug: #1595821
2016-06-24 07:11:24 +00:00
Jenkins bfd02468f5 Merge "Detailed haproxy failure message" 2016-06-14 14:00:04 +00:00
Jenkins 0782a88c8f Merge "Added mapping of hadoops for Ceilometer tests" 2016-06-10 16:55:58 +00:00
Jenkins de2d8fa1ea Merge "Support murano plugin installation in OSTF tests" 2016-06-10 15:35:53 +00:00
Evgeny Sikachev e31351109b Added mapping of hadoops for Ceilometer tests
Added mapping of hadoop versions for Sahara+Ceilometer tests
closes-bug: #1591151

Change-Id: I0f1d28c51e2ca6207fd79b82e8b778b77bfe3859
2016-06-10 14:17:03 +00:00
Alexandr Kostrikov afc374aa9e Detailed haproxy failure message
That is aimed to make debug easier and
faster.

Change-Id: I5aa633b954e4cd8c6bb7291339c1c5806925c8c9
Related-bug: #1570805
Closes-bug: #1587063
2016-06-09 13:44:43 +03:00
Victor Ryzhenkin 7cc4b17cee Support murano plugin installation in OSTF tests
- Add discover mechanism for murano if it enabled via plugin installation

Change-Id: I2e60a65676fcb3b452c2acf3793ef8e251182cae
targets: blueprint murano-fuel-plugin
Closes-Bug: #1584791
2016-06-09 03:29:24 +03:00
Jenkins 814895ce7b Merge "Run the file injection test case on Ceph envs" 2016-06-08 09:04:11 +00:00
Dmitry Nikishov 43a58efbaf Fixed hiera command to output correct DB hostnames
hiera_cmd used to output internal node names like "node-$i"
even if there are user-defined hostnames set. This breaks
DB-related checks when hostnames are customized.
The fix is to return not "database_nodes" keys, but
the value of "name" key in each "database_nodes"
subhash.

Change-Id: I9fbcfc270ab17d6302ce0a785c96f5b44fc9e75d
Co-Authored-By: Omar Rivera <gr113x@att.com>
Closes-Bug: #1582800
2016-06-06 15:38:21 +00:00
Roman Podoliaka 0dc9d64d1e Run the file injection test case on Ceph envs
Recently we changed the way how file injection is performed: instead
of using nbd or libguestfs, which both modify the image in-place
(and, thus, do not work with Ceph ephemerals), we now place files to
be injected on a config drive and force instances to have config
drives in Nova.

This test case should pass now, when Ceph ephemerals are used. Let's
enable it and actually test, that file injection works as expected.

Related-Bug: #1467860
Related-Bug: #1556819

Change-Id: I5975ea6d481c28856efffb278112306c8760472d
2016-06-06 11:26:21 +00:00
Artem Grechanichenko ef0eda085d Resolve cross-dependency issue
fix cross-dependency issue in requirements
https://github.com/celery/kombu/blob/v3.0.35/setup.cfg#L27
amqp >= 1.4.9,<2.0

https://github.com/openstack/fuel-ostf/blob/master/requirements.txt#L24
amqp >= 1.4.0

Change-Id: Ia99af57d473e09580413cc03d9c01d5efba96d46
Closes-Bug: #1588454
2016-06-03 13:54:41 +03:00
Jenkins d2f04c2981 Merge "Remove 'trait list' from the method of 'test_check_events_and_traits'" 2016-05-04 12:56:32 +00:00