Commit Graph

221 Commits

Author SHA1 Message Date
Andreas Jaeger 24d98abd3e Retire repository
Fuel (from openstack namespace) and fuel-ccp (in x namespace)
repositories are unused and ready to retire.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011647.html

Depends-On: https://review.opendev.org/699362
Change-Id: I658efd028f1b23bc21b327fc55d39a7fa5824ec1
2019-12-18 09:48:08 +01:00
Dmitry Mescheryakov ca43f60770 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-01-10 19:51:54 +04:00
Vladimir Khlyunev e71059ac4d Update Nova client initialization according to 7.0.0 version
python-novaclient was updated and now newest version contains
bug in username-password auth. Switching to session-based auth
will allow to fix it (and also its openstack way to use shared session)

Change-Id: If48f8f96843023f4f36e737cd818761db9184884
Closes-bug:1653693
2017-01-10 16:08:50 +04:00
Cao Xuan Hoang c2f7d63d3d Fix LOG.warn to LOG.warning
logging.warn is deprecated in Python 3.
https://docs.python.org/3/library/logging.html#logging.warning

Change-Id: I8a96c2b8c95076b465d1cd9fc068c46e3fadfb8c
2016-09-26 11:39:20 +07: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
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
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 6b842b2cfb Merge "Replaces calls to traceback.format_exc()" 2016-04-28 11:13:15 +00:00
Maksym Strukov 1eb65cc189 Check connectivity from instance with DPDK via floating IP
Scenario:
1. Create a new security group (if it doesn`t exist yet).
2. Create router
3. Create network
4. Create subnet
5. Uplink subnet to router.
6. Create new flavor with huge pages
7. Create an instance using the new flavor, security group
in created subnet. Boot it on compute with enabled DPDK.
8. Create a new floating IP
9. Assign the new floating IP to the instance.
10. Check connectivity to the floating IP using ping command.
11. Check that public IP 8.8.8.8 can be pinged from instance.
12. Disassociate server floating ip.
13. Delete floating ip
14. Delete server.
15. Delete flavor
16. Remove router.
17. Remove subnet
18. Remove network

Change-Id: I86c43896a6b7ff0e55f72dd7ffce02487ac7299e
Closes-Bug: #1567439
2016-04-27 18:42:46 +03:00
Volodymyr Shypyguzov 9f6b3ca44e Add test_sriov_instance_connectivity
+Add corresponding test
+Add _create_port
+Add _cleanup_ports
+Add sriov deployment tag if computes with SR-IOV enabled interface
are present and unit-tests for ostf-adapter
+Add sriov_enabled physnets to cluster config

Change-Id: I487c0dc0f4756b893af5d5c59ea85ba0d47faa5c
Closes-Bug: #1566906
Implements: blueprint test-sriov-support
2016-04-20 13:34:48 +00:00
Anil Belur 2fc84886ce Replaces calls to traceback.format_exc()
* this change replaces occurrences of
`traceback.format_exc()` with the appropriate version of
`LOG.exception()` in fuel-ostf
* removes importing `traceback` module.
* incorporated review comments from fuel-dev team

Change-Id: I7055aeafdcb109bd3566f118379196ea6ca6037d
Closes-Bug: #1457397
Signed-off-by: Anil Belur <askb23@gmail.com>
2016-04-14 02:13:57 +00:00
Victor Ryzhenkin 60c3b3c6b9 [Murano] Update service_type and auth strategy for murano
- Replace application_catalog to application-catalog
- Use http_client attribute to get auth_token from muranoclient

Change-Id: I64a11b4e1a12cd48109be625bbf4325d1d42686b
Closes-Bug: #1558189
2016-04-07 14:48:57 +00:00
vgusev d6ec2aa719 [Ceilometer] Fix for sanity test
Add aodhclient to fuel-ostf and rewrite sanity check using it

Change-Id: I90cdbe08c67d0a79e7c10f2e4bee7d9e11d8165a
Closes-bug: #1553189
2016-03-30 17:49:32 +03:00
Alexander Kurenyshev 82175cb11d Fix a call to retry_command function
This patch fixes a call to the function retry_command.
By some reasons we forgot to add a named argument 'command'
and in some cases function fails with error:
TypeError: argument of type 'NoneType' is not iterable
Reworked with change in ssh.py at exec_command func.

Change-Id: I659f643ea04034a8487bd7891510453501673223
Closes-Bug:1538045
2016-01-28 11:27:43 +03:00
tatyana-leontovich 730483f43b Revert "Fix a call to retry_command function"
This patch broke bvt with:
http://paste.openstack.org/show/485157/
This reverts commit befc27e62d.

Closes-Bug:#1538463
Change-Id: I0b5699a59d1e2f621a7eb2ec2952a6358dbedccf
2016-01-27 15:42:02 +00:00
Alexander Kurenyshev befc27e62d Fix a call to retry_command function
This patch fixes a call to the function retry_command.
By some reasons we forgot to add a named argument 'command'
and in some cases function fails with error:
TypeError: argument of type 'NoneType' is not iterable

Change-Id: I4c0dd7f480bb1536af0d657b2221a43e2ae03c95
Closes-Bug:1538045
2016-01-26 12:06:08 +03:00
Evgeny Sikachev 37e82d71c9 Fix name of service_type for sahara tests
Currently we are using wrong service_type for Sahara,
actual name is "data-processing"
Closes-bug: #1535567

Change-Id: I57ae66d51fe44e21a2bc83f299a49d01140c562b
2016-01-19 08:13:30 +00:00
Chung Chih, Hung 4cf21dc53f Live migration OSTF test failed with compute service unavailable
Ostf live migration test will try to list hypervisors though
novaclient.Compare those hypervisor names with current host name. But my
node's hostname is not consistent with hypervisor name. One is node-#
and the other is node-#.domain.tld. Of course it will easy to find
available host and return its hypervisor name. Then ostf will try to
live migration instance to a host which was specified by hypervisor
name. Nova can't find exist host then raise compute service of
node-#.domain.tld is unavailable.

We should use service's hostname instead of hpyervisor hostname to
compare with current hostname.

Change-Id: I0849054ae0f3be85d49b6fa2c95952d434fccc5a
Closes-Bug: 1521906
2016-01-04 15:00:16 +00:00
Tatyana Leontovich 05bc6366ef Switch OSTF to work with public endpoint
To be sure that OSTF works fine with SSL,
switch  to use public endpoints without
validation of certificate

Change-Id: I87a625899c1eb4b80376c8bdb5aca4fce3d8ad66
Closes-Bug: #1486056
Related-Bug: #1524850
2015-12-21 14:03:49 +00:00
Jenkins 2493ea6832 Merge "Fix problem with detecting of host ip in vCenter environment" 2015-12-18 16:52:53 +00:00
Ilya Bumarskov 00bb415457 Fix problem with detecting of host ip in vCenter environment
Change-Id: Icfa110979ac6f234a815adcc5677206102ee2095
Closes-Bug: 1527133
2015-12-18 00:07:50 +03:00
Tatyana Leontovich 89828f1c0a Remove cretaed security group from shared resource
To avoid issues like LP1512692 remove security
group from shared resources
Also add secutiry group cleanup to NovaNetworkScenarioTest

Change-Id: I929f8edafd98bbb73eb399db1c9cfb131b904406
Closes-Bug: #1512692
2015-12-09 12:02:37 +00:00
Anton Arefiev 47811b5f5e Support ironicclient
Add ironicclient support into nmanager.py.

Required for: blueprint ironic-ostf-tests
Change-Id: I43994a9a5523c739db0d0cc65fa6b3adc3b224ad
Co-Authored-by: Kyrylo Romanenko <kromanenko@mirantis.com>
2015-11-23 16:17:37 +02:00
Bulat Gaifullin 86225d7bee Fix handling Unauthorized exception
Added class of exceptions - InvalidCredentials

Change-Id: Ic8250b138210e544b6194f59accdfe653f36667e
Closes-bug: #1428129
2015-11-11 11:25:44 +00:00
Matthew Mosesohn 25c8738039 Allow custom private network name
Private network name "net04" should now use
customizable value configured in nailgun.
If this value is not present in nailgun, it
defaults back to "net04".

Change-Id: I66b7cde820c114b9c447fc4c169a51d3a63d0bea
Partial-Bug: #1349702
2015-10-29 13:09:35 +00:00
Kyrylo Romanenko 1ab201cb8c Remove redundant "and" in docstrings
Change-Id: I8011975a192f0e9affc842397efaf73882294827
Closes-Bug: #1510903
2015-10-28 13:56:26 +00:00
vgusev 191f77515d [Ceilometer] Improve OSTF for Cinder notifications
- Added more volume and snapshot notifications
- Added extra checks for volume and snapshot statuses
- Added methods for resource deletion

Partially implements: blueprint ceilometer-ostf-notification-tests
Closes-bug: #1442241

Change-Id: Id31be91f64c5cbd88c6afc5d70890b9699dcc11c
2015-10-19 12:17:02 +00:00
Ivan Kolodyazhny 41aa505924 Switch to Cinder API v2
Cinder API v1 is deprecated since Grizzly release and will be removed
soon. Wee need to verify that v2 API works.

Closes-Bug: #1501291
Change-Id: I7fac446aec0614b8b557af9dc5c20182d4884386
2015-10-02 11:16:03 +00:00
otsvigun 1f08e6e710 Fixed issue 1484502
OSTF test failes in dual hypervisor mode, because
when ostf test try to launch a instance it
random chooses from nova or vcenter
availability_zone.

-add param availability_zone in methods of creating servers and volume

Closes-bug:#1484502

Change-Id: Icf9f1775e2bfab1441b82ec32d68b318332d5aed
2015-09-03 18:03:03 +03:00
Jenkins bf94b76521 Merge "Fix Sahara and Ceilo platform tests in case of deleting net04_ext net" 2015-07-21 14:04:00 +00:00
Jenkins 1c447f2cf8 Merge "Add internalURL to endpoints init" 2015-07-20 12:09:43 +00:00
Yaroslav Lobankov 5494a7c1d5 Fix Sahara and Ceilo platform tests in case of deleting net04_ext net
If a user deletes the net04_ext network, Sahara and Ceilo platform tests
will fail. If the user deletes the net04 net, the same tests will fail,
too. To fix the issue network resources (a network, a subnet, a router)
will be created before tests to avoid such failures.

Closes-Bug: #1469877

Change-Id: Ic6132e6b55c9ab81c6236e7217f6bdd13b1c3bbe
2015-07-20 13:50:52 +03:00
Jenkins 3e8e28c84f Merge "Improved resources validation for Murano OSTF tests" 2015-07-17 14:08:30 +00:00
Tatyana Leontovich 2f99dcf8f1 Add internalURL to endpoints init
As a part of SSL for public endpoints we move OSTF tests
to management VIP by default. But now not all clients
actually use --internalURL and it follow to some OSTF
failed if SSL for public endoints enabled by default.

Change-Id: Ie327865e17a9ba1e9e64d6e82a535342afcd8c38
Closes-Bug: #1475049
2015-07-16 20:03:35 +03:00
asledzinskiy 6a19de2232 Remove redundant parameter 'cmd'
- Remove redundant parameter 'cmd' from _run_command_on_instance

Change-Id: Iabeeb3b1837f2a0af97e0b8c19c86a54f0b71096
Closes-Bug: #1474730
2015-07-15 11:25:38 +03:00
Tatyana Leontovich 305210c2a2 Fix false positive result for file injection
Raise exception if 'False' is result of
command execution.
Also check if there is not 'ping' i the command raise
message different then "Instance connectivity issue"

Change-Id: I38bb7be403d73a262a33def79476fd844ae4c06d
Closes-Bug: #1473164
2015-07-10 19:47:29 +00:00
Dennis Dmitriev 3e97178a28 Improved resources validation for Murano OSTF tests
We can see that sometimes Murano OSTF tests failed for different reasons,
this commit allows to fix all of them.

- Changed logic of validation of available resources. Now we will
  verify that we can successfully run required count of VMs on all
  available hypervisors
- Increased timeout from 30 to 40 min for deployment of Murano env
- Increased timeout from 10 to 30 sec for checking path availability
  of wordpress app
- Increased timeout from 5 to 10 sec for deleting the environment
- Added logging of steps that are performed by tests using
  self.verify() method
- Changed configuration for default Murano OSTF flavor

Co-Authored-By: Timur Nurlygayanov <tnurlygayanov@mirantis.com>

Change-Id: I29cf3f38d651eae3654c42cd8f0e1c46869213bf
Closes-Bug:#1467974
2015-07-10 08:32:55 +00:00
Timur Nurlygayanov d82ef5eacb Fixed issue with images statuses checks
Sometimes OSTF tests failed because required images were not
completelly uploaded into Glance. We need to check the status
of images to verify that image is ready to be used.

Change-Id: I94da38ad6294963a92678dcc0d8d295e161d4057
Closes-Bug: #1467519
2015-06-29 18:37:49 +03:00
Igor Gajsin 573eac27e4 Improve _find_network_host function in nmanager
VMware integration assumes using fake host parameter. For this reason
when we launch test "Check network connectivity from instance" ostf
has to use special function _find_network_host which return real
hostname where nova-network runs.

This function uses command 'pcs status' for requests pacemaker/corosync
system. When some nodes of corosync cluster fails this command works
really slow and test can't meet the timeout.

This patch-set changes slow 'pcs status' to 'crm_mon -1' which realizes
same behavior but faster.

Change-Id: I80e645ec9da5f4421182bef10f368a3e5c73258d
Closes-bug: #1465268
2015-06-15 17:22:24 +00:00
Tatyana Leontovich c93c103673 fix find_host for non vcenter deployment
Change-Id: I8952ee78e8b2b94a1998f57a59ae7fa33ddbf629
Closes-Bug: #1443893
2015-06-08 17:39:52 +03:00
Alexander Arzhanov 6b4ddbfd31 Fix get_free_host for instance live migration test
-VMware vCenter Server excluded from the list of hypervisors
 because live migration available for nova-compute to nova-compute
 or esxi to esxi.

Change-Id: Ie3d7ba0e9bd728b7e8bd3174e378be0664d6ab7c
Closes-bug: #1458916
2015-05-27 21:42:44 +03:00
Yaroslav Lobankov 638e3e6dc4 Fixing issue when initializing saharaclient in OSTF
The problem is in code lines 281-283. To fix the issue
I made small refactoring the method _get_sahara_client()
not to use code lines 281-283

Closes-Bug: #1457451

Change-Id: I1f2adcfbd1c95a055c30ee306705ecdcf015c7c8
2015-05-25 13:33:38 +03:00
Victor Ryzhenkin 6c72a73394 Fixed incorrect work of Glance OSTF tests
- Using image id instead of image to append an object to list to
  enumerate images
- Fixed incorrect logic of 'update_image' step in CRUD Glance v1 test
- Fixed _cleanup_images function

Change-Id: I1c89544d2f212638d53eba3e33ed4bb6990a32a8
Partial-Bug: #1455468
2015-05-19 17:57:43 +03:00
Jenkins 1ae384a28b Merge "Fix find_network_host for test with file injection" 2015-05-13 10:08:59 +00:00
Jenkins 21afa436e7 Merge "Add test for live migration in smoke set" 2015-05-12 09:10:53 +00:00
Alexander Arzhanov 6c2cf210af Fix find_network_host for test with file injection
-make function find_network_host as a global
-fix functions where used find_network_host

Change-Id: Ife8ab2c624071cbe93383bd25b88ffd84f3fbdf1
Closes-bug: #1449578
2015-05-08 17:20:05 +03:00
Jenkins df8db1f48f Merge "Fix find host where nova-network works" 2015-04-20 11:11:04 +00:00
Alexander Arzhanov 0d1547774e Fix find host where nova-network works
Now nova-network uses config with fake host(for HA)

Change-Id: I9732b15b301094932c73ed2267c971a97644886c
Closes-bug: #1433539
2015-04-13 13:04:20 +03:00
Jenkins c2a76a60ec Merge "Fix for Ceilometer Sahara notifications test" 2015-04-10 09:41:03 +00:00
Tatyana Leontovich 0cbb83fb17 Add test for live migration in smoke set
Patch includes:
* New test in the smoke package:
  test_live_migration
* New deployment tag for storage components
* couple additional methods in nmanager

Change-Id: I373cbb277c9836cfc7ac2e43e548d6d62142b999
Closes-Bug: #1400663
2015-04-08 19:23:23 +03:00