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
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
- Add discover mechanism for murano if it enabled via plugin installation
Change-Id: I2e60a65676fcb3b452c2acf3793ef8e251182cae
targets: blueprint murano-fuel-plugin
Closes-Bug: #1584791
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
+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
* 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>
- Replace application_catalog to application-catalog
- Use http_client attribute to get auth_token from muranoclient
Change-Id: I64a11b4e1a12cd48109be625bbf4325d1d42686b
Closes-Bug: #1558189
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
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
Currently we are using wrong service_type for Sahara,
actual name is "data-processing"
Closes-bug: #1535567
Change-Id: I57ae66d51fe44e21a2bc83f299a49d01140c562b
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
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
To avoid issues like LP1512692 remove security
group from shared resources
Also add secutiry group cleanup to NovaNetworkScenarioTest
Change-Id: I929f8edafd98bbb73eb399db1c9cfb131b904406
Closes-Bug: #1512692
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
- 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
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
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
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
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
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
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
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
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
-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
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
- 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
-make function find_network_host as a global
-fix functions where used find_network_host
Change-Id: Ife8ab2c624071cbe93383bd25b88ffd84f3fbdf1
Closes-bug: #1449578
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