Commit Graph

691 Commits

Author SHA1 Message Date
Andreas Jaeger 08db3ad05f 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: I37b6a82c9c3c3893bb4b9b6a4c4b5a83a6d8193c
2019-12-18 09:50:01 +01:00
Vladimir Khlyunev f1d636e508 Fix sriov-related methods
- Introduce new method for getting devops node based
  on nailgun node's id
- Add missing 'value' key to enabling sriov

Change-Id: I95b60c25eab97e8577a16481741a76db99207976
(cherry picked from commit 8d2ccd2d26)
2017-03-31 12:01:43 +00:00
Fedor Zhadaev dc2a892a02 Ensure that all nodes goes offline after shutting them off
Change-Id: Ia3220da94d7f1a9cca5f0eb96c50a1c1b077d593
Closes-Bug: #1672969
2017-03-27 11:03:29 +00:00
Sergey Novikov 094cbbaad5 Update getting of host network devices according to fuel-devops v3
Change-Id: I36c2d62e47e1977d0115695d2cc5a0431e48e2b5
Closes-Bug: 1671371
2017-03-24 12:26:54 +00:00
Jenkins d8c5b6b8b7 Merge "Improve failover of SSH connections" 2017-03-23 12:52:18 +00:00
Dmitry Belyaninov eeee1e1ffd Devops client for fuelweb
We should use Devops client for access to env.
Also some deprecated functions were replaced.

Change-Id: If50a8288d96106525944d3849d9e0e067e511a79
2017-03-21 07:19:00 +00:00
Jenkins 69c3537c12 Merge "Fix vlan assignment for bond interface" 2017-03-15 11:37:54 +00:00
Jenkins de8612b7fb Merge "Fix dpdk attributes for bond interfaces" 2017-03-15 05:19:11 +00:00
Jenkins a94f714a13 Merge "Change time sync procedure" 2017-03-14 12:13:50 +00:00
Jenkins d2a3b4c324 Merge "Deprecation warning" 2017-03-14 12:04:40 +00:00
ibumarskov 682675c33e Fix vlan assignment for bond interface
Change-Id: I44eac0c8a3ff9db3fb97d1f02de34cf9deb889e0
Closes-bug: #1670360
2017-03-14 11:47:42 +00:00
ibumarskov 1fabdff3cf Fix dpdk attributes for bond interfaces
Change-Id: If52aa8fca4dc6eb69940ec344a8b6de3fb39ed86
Partial-bug: #1668289
2017-03-14 11:45:31 +00:00
Jenkins 2d230ab9d7 Merge "Add ironic baremetal template" 2017-03-13 15:15:44 +00:00
Dmitry Belyaninov 6be7457eda Change time sync procedure
Devops ntp module returns deprecation warning.
So we should use DevopsClient for this purpose.

Change-Id: Ief2122cf0e531ab3a2ea87f4972b3f95b5749982
2017-03-10 16:05:26 +00:00
Vladimir Khlyunev 29995868ab Fix legacy call for get_network_pool method
ip_range is used wrong, we need cidr of the network

Change-Id: Ic6acced8228e325ada1090fe218ef7bf9a88bfef
2017-03-10 13:41:20 +00:00
Dmitry Belyaninov 932881c47c Deprecation warning
Deprecation warning for fuel-devops 2.9 was added
inside FuelWebClient.

Change-Id: I3a231ff99348fcfebecfb67964e40e04a377beba
2017-03-10 11:00:23 +00:00
Sergey Novikov 45e773d9db Improve failover of SSH connections
We had invalid procedure of handling stored SSH connections
when non-root access feature was enabled. This patch fixs that
and contains the following items:
 * Use method `update_connection` when exist connection fails
 * close current connection in method `update_connection`
 * catch SSHException instead AuthenticationException

Change-Id: Id488abf5b21c3bf16f21546c5b26c16e29bc6a58
Closes-Bug: 1659747
(cherry picked from commit e4a2acfc23)
2017-03-10 10:37:13 +00:00
Vladimir Khlyunev 5c7dcc2a64 Add ironic baremetal template
Now devops3 does not contains all needed hardcode for adding baremetal
network and nodes with it; instead of this, we can prepare and use the
template

Change-Id: I74c4276908231a1651ee2768b3d618d4b3dfa824
Partial-bug:1669762
(cherry picked from commit 80b97af7ab)
2017-03-10 07:48:45 +00:00
Sergey Otpuschennikov 0263854ed7 Add a template for security scan related devops environment
We use prepared image for create VM with security scan service

Change-Id: I9c2c383971b5e72a1414a43dcb4db8f3ad22bc78
2017-03-06 16:36:43 +04:00
Jenkins 0a8f644fa6 Merge "remove vmware" 2017-02-28 10:21:24 +00:00
Mykyta Karpin ee0bf1cfa4 Redirect update-master-node.sh stdout and stderr
SSHD stops reading of update-master-node.sh stdout
during puppet run, this causes puppet hanging on
keystone tasks. In order to avoid this we need to
redirect script's output to /dev/null.

Change-Id: I99959cb72caeec33a91358af4b58fa858b9c22c8
Closes-Bug: #1664635
2017-02-23 15:29:06 +02:00
Jenkins 838ed5ee42 Merge "Stdout for remote call fix" 2017-02-15 09:54:52 +00:00
Jenkins 716f14ea3a Merge "Timeout changing for restart procedure" 2017-02-15 09:37:31 +00:00
Igor Gajsin a0838e91a9 remove vmware
VMware not supported since Fuel 10. So we should stop test it.

Change-Id: I5996520ded3419fd2ce2cb1e76056eed157bfffb
Implements: blueprint remove-vmware
2017-02-15 11:03:42 +03:00
Jenkins b3c899208f Merge "Environment creation procedure modification" 2017-02-08 11:35:24 +00:00
Dmitry Belyaninov 185b824873 Timeout changing for restart procedure
We have few tests failed on call "warm_shutdown_nodes"
with 4x60 timeout. But there are few rassed tests with
10x60 timeout. So longer timeout should be used for
all tests.

Change-Id: I0c7e63b4e9156f35d6679a9dcdfb7b9249c6796a
Partial-Bug: 1652000
(cherry picked from commit 18e4d59570)
2017-02-08 08:00:18 +00:00
Dmitry Belyaninov b3db3e1f64 Stdout for remote call fix
Wrong property used for the stdout analysis .
Also steps order fixed.

Change-Id: I56f465facdd3e3e4fd6b4e7aa61690214f3b254c
Partial-Bug: 1652030
(cherry picked from commit 0eb080905b)
2017-02-07 12:02:17 +00:00
Jenkins 427c2506cf Merge "Add non-dpdk tests for ovs firewall driver" 2017-02-06 09:44:56 +00:00
Dmitry Belyaninov c6a1f7a29d Check status after redeploy
We should check cluster status and deploy state after
deploy and redeploy. Current tests did not contain this
check and fails after deployment on OSTFs run.

Change-Id: I84adc8981b1486c163425fa0b9506e29650203cf
Closes-Bug: 1658071
2017-02-03 08:58:30 +00:00
Sergey Novikov 0afab0e129 Add non-dpdk tests for ovs firewall driver
Change-Id: I6423aa1c6511c2a9992a8092d02e933641d9ea51
2017-02-02 11:52:58 +00:00
Stanislaw Bogatkin 62ec18011f Change path for astute.yaml
As astute.yaml splits for 2 parts, rename file in tests accordingly.

Change-Id: If7c6f26fe2a1835b2e0824b8a9cba261fddd709c
Related-Bug: #1660308
2017-01-31 20:54:06 +03:00
Dmitry Belyaninov f6dbf49b7b Environment creation procedure modification
Sometimes installation of environment failed
because storage volume(s) exists already.
The issue is hard-to-reproduce. Some logging and
setting internal attribute _virt_env were added.

Change-Id: Ib49c904ca7c961617f0f328230c2658a13bfdecf
Related-Bug: 1566966
(cherry picked from commit 1b2d807336)
2017-01-27 15:51:26 +00:00
Sergey Novikov 5297e50239 Update bond tests
Juat another update of bond tests according to
fix of https://bugs.launchpad.net/fuel/+bug/1652068

Change-Id: I3c0b2dd09f54fefb52baef914047507fd9cc0511
Closes-Bug: 1644588
2017-01-18 09:53:46 +00:00
Vladimir Khlyunev 6bf6fcdeff Update dpdk and sr-iov configuration methods with new api
Serialization for features mentioned in title was changed so
we have to use new fields

Change-Id: If362a37fdb16d6672a266567490e67a22ba16f3e
Partial-bug:1644588
(cherry picked from commit 11783da6ac)
2017-01-11 11:55:25 +00:00
Vladimir Khlyunev 986899d611 Detach dpdk and hugepages config method from test class
This refactor is required for new nvf test implemented later

Change-Id: Id50a9d4dc414d66b569cf1f0ac7c06754d6484a5
2017-01-10 09:40:33 +00:00
Sergey Novikov 3c7d662d95 Update offloading and MTU configuration due to a new API
Change-Id: I958f0a8caf8dc8156c8a95381c94690b84ee7ae6
Closes-Bug: 1644588
(cherry picked from commit 94e2fd57a2)
2016-12-15 08:36:07 +00:00
Alexandr Kostrikov 4f486061a9 Add reset of admin node after hang
The first hang can be fixed with reset.
If any other errors appear on that stage,
the error should not be tolerated.

Change-Id: I056879a89cb3cfab45852573730f0ced58043511
Closes-bug: 1587411
2016-10-26 09:19:19 +03:00
Jenkins 60b5adb103 Merge "Add AUTH_S3_KEYSTONE_CEPH_ENABLED setting" 2016-10-25 13:50:11 +00:00
Alisa Tselovalnikova e68c910a44 Check mac only for physical interfaces
Change-Id: I763fabcd849c82fc2abd8873c0c46e4047fbdfa5
Closes-Bug: #1591746
2016-10-13 09:34:52 +00:00
Alexey Stepanov d9d8c524ef Do not use cat for file read
Do not use cat for file read:
   it's difficult for debug operations with source data
   YAMLEditor content calls get_content() if not loaded

Change-Id: I75061c067172085de0e5fb1baa051816a4a707eb
2016-10-10 16:00:35 +03:00
Alexey Stepanov be843643fb validate galera: check wsrep_ready, wsrep_connected and wsrep_cluster_size
1. Backport code from mater to make debug easier
2. Use wsrep_ready, wsrep_connected and wsrep_cluster_size

Closes-bug: #1628963

Change-Id: I1e2234e0568a2875c82cc2cb29ddfa7fac61ab92
2016-10-10 16:00:35 +03:00
Oleksandr Kosse ea0364a256 Added check of return value from fuel-devops
When we manage the environment with a manually added node, the lack of this
check leads to a fail.

Change-Id: I782bb7e0f6676281207e0f4201ce6b9fd930e76e
2016-10-10 14:39:23 +03:00
Alisa Tselovalnikova c47aa7ea7a Add the task waiter for test_services_reconfiguration
The nailgun validator for openstack config raises an exception
when 'deployment' task is present for particular cluster
and has 'pending' or 'running' state, so, we should implement
equivalent check on fuel-qa side.

Change-Id: I720e8fcd21907c64b393bc933056aef61167b25f
Closes-Bug: #1618880
2016-10-04 13:13:49 +00:00
Maksym Shalamov 919246ceaf Add AUTH_S3_KEYSTONE_CEPH_ENABLED setting
Also, add this setting handling in the create_cluster method

Change-Id: Iaf50eaba00bc5a0b224391902bca9989a0ef4edd
Closes-Bug: #1629299
2016-09-30 17:34:00 +03:00
Jenkins 75edbf4199 Merge "Replace deprecated constants by direct usage" 2016-09-30 11:18:14 +00:00
Alexey Stepanov 66708fc8d4 Wait for nodes really in correct status
Wait for nodes really in correct status before:
1. Timesync, if required
2. Return from bootstrap method

Change-Id: Ic7d906027154856c7aa17f47ff5e738cb531ce98
2016-09-30 09:17:36 +00:00
Alexey Stepanov 0649c4fd20 Replace deprecated constants by direct usage
self.d_env.admin_net = 'admin'
'nat_interface' = ''
This patch is reduces warnings amount during
tests run on fuel-devops 3.0.3+

Change-Id: I2bf54952bff79b9483c121a78383e136bcd2a351
2016-09-29 11:53:50 +03:00
Alexey Stepanov f15352b934 update_node_networks: fuelweb_admin network is set directly
update_node_networks: fuelweb_admin network is set directly
Automatic substitution is not supported ant it was a reason
for tests failure on the fuel-devops 3

Change-Id: Ia7dcee574c3146a870cd317dd991566af7eaefbe
2016-09-28 11:44:04 +03:00
Alexey Stepanov e6cfa06edd Fix issue, when accessible more nodes, than required to start test
validate_amount_nodes -> validate_minimal_amount_nodes
Closes-bug: #1625456

Change-Id: I4655b980efa6601df15363fd215251a8d63b78fb
2016-09-20 14:31:29 +03:00
Olivier Bourdon e624f14bcb Add code to check number of available nodes for deployment
Change-Id: I58fbf17d3bb1c0661181aa03d7a0431cf976137f
Related-Bug: 1547381
2016-09-19 13:40:06 +00:00