Commit Graph

58 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
Sergey Novikov 73bee9ba3e Check only preservation of config after cluster reset
After the reworking of feature "Openstack config"
we can apply a new config only for pre-defined role.
That's a reason to change a logic of the test

Change-Id: Idb5fb67feb45ae6fa54891a3d0eb6fef205978bd
Closes-Bug: 1676859
2017-03-29 13:15:10 +00:00
Dmitry Ukov 33a6f979e3 Updated config upload procedure and params
* Configuration should be changed on the appropriate
  nodes (e.g. keystone should be configured only on
  controller roles)
* We should not change identity driver on LDAP with
  fake LDAP server since this breaks keystone and whole
  cloud as a result

Change-Id: I3218bcf13588cbecef7678b7bebae0d713e1ad7b
Closes-Bug: 1644656
2017-01-26 09:01:57 +00:00
Dmitry Ukov 7cc13fd54c Configuration should be applied for specific nodes
We need to apply configuration to the node with particular service
running or we need to extent configuration templates processing to
support additional parameters of override_resources Puppet type

Change-Id: Iae6c2e5f2b3c43fa4f750802a98e927dca95c251
Closes-Bug: 1644656
2017-01-13 09:14:21 +00:00
Alisa Tselovalnikova 91caa3868a Create a new flavor during boot vm if flavor isn't defined
Create a special flavor for the test, because sometimes
requested flavor doesn't exist.

Change-Id: Ieb42a8fe2f64b63e8cc97198c8e7694caf072c1e
Closes-Bug: #1634121
2016-12-21 16:17:10 +04:00
Dmitry Ukov 5a7c0baec5 Configuration templates updated
We need to update configuration templates with services definition and
appropriate "notify" parameters since new OpenStack configuration format
has been introduced.

Change-Id: Id195ee1bc9ecd4443ad3eae6e3bc5fae65b232e3
Closes-Bug: 1644656
2016-12-16 14:47:51 +04:00
Jenkins a9fa98c891 Merge "Do not check status of the apply configuration task" 2016-10-06 08:44:55 +00:00
Alisa Tselovalnikova c93b6d21ef Do not check status of the apply configuration task
'ready' and 'error' statuses should be alowed for the apply
configuration task as main goal of test is to check the configuration
was properly changed.

Change-Id: Ibf71a47900249e2ad3016662623f1a8ced036426
Closes-Bug: #1628951
2016-10-04 15:31:40 +00: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
Sergey Novikov 225e7ff0c5 Convert all strings into unicode in services reconfiguration module
Change-Id: I748a6832549a7b634ef89150fae42b7de62b639a
Closes-Bug: #1616086
2016-09-02 10:50:05 +00:00
Alexey Stepanov 3ce8925e1c Replace execute_throw_host by devops implementation
SSHClient instance is already has this method
Blueprint: sshmanager-integration
Change-Id: I90ca8bc7675bfc6b70126f83fd4e6ec0e3e04d3a
2016-08-19 12:13:37 +03:00
Alexey Stepanov e5b3a5feef Wait correct exception (exceptions.NotFound) instead of any
except Exception as e -> except NotFound as e
(eliminate if hasattr(e, 'http_status') and e.http_status != 404)
Related-bug: #1609705

Change-Id: I460241206082a5476267c6388cbe3a04c969e60c
2016-08-18 08:16:50 +00:00
Alexey Stepanov df6b5884e0 Fix exception handling in tests
HTTP client was replaced by keystoneauth1 session -> update test code
Related-bug: #1609705

Change-Id: I1b3881e7c75fd0163347d4d6605dd979087393eb
2016-08-08 15:34:27 +03:00
Ksenia Demina 44555374e7 Change checkers of config's applying order
Now for a node with multi-roles configs fot the same section
are merging by ID-priority. Thus last config for cinder will
be have higher priority and will rewrite compute config

Change-Id: Ic35a6c5efb05974dc7ab7ae36cc175a91471c778
Closes-Bug: #1587023
2016-05-31 16:34:20 +03:00
Sergey Novikov d23e7f34ce Convert all values into str type
We need to сonvert all values into str type for
testgroup "service_reconfiguration" to exlude
comparing of polytypic params.

Change-Id: I155e35303b2c47d8261c43935e75385307e521b3
Closes-Bug: #1564533
2016-05-25 12:56:35 +03:00
Ksenia Demina 2e8618651c Get rid of check_wrong_config test
There was a list of hardcoded services that allow us to use
service-reconfiguration. Now there is no strict limitation
on services that could be configured with this feature.
This mean that test check_wrong_config is deprecated and should be
deleted

Change-Id: I729bf0235eea525cc0464346ca791ca7733e5de9
Related-Bug: #1580522
Closes-bug: #1584693
2016-05-23 13:21:24 +00:00
Ksenia Demina fa84f5bb4f Service-reconfiguration takes more time than expected
After implementation of T-B-Deployment, service-reconfiguration take
more time than previously

Increase all timeout up to 900 sec

Change-Id: I6bfc78ce9996b6829134152f9c40db40b083c6e4
Closes-Bug: #1583060
2016-05-19 10:35:42 +00:00
Jenkins 38d485e78c Merge "Add test for applying of config for list of nodes" 2016-05-17 14:53:40 +00:00
Alice ce650857f7 Add test for applying of config for list of nodes
Change-Id: Iefc271503e2d0dd73a1f6ffb1cd802b940a7c139
Closes-Bug: #1561482
2016-05-16 14:45:07 +03:00
Jenkins c5810da15d Merge "Fix periodical failure of reconfigure_nova_quota test" 2016-05-16 08:01:58 +00:00
Ksenia Demina 32d561520b Fix deployment configuration of two clusters
Private network ranges were equal with the same VLANs. It lead
to the network issues of the booted VMs

Extend vlan range of the second cluster

Change-Id: Iea64d51ee1f59b1edbc97b85c1c96b0af09ab57f
Closes-Bug: #1561961
2016-05-12 20:19:54 +03:00
Dmitriy Kruglov a2dc5c7f01 Fix periodical failure of reconfigure_nova_quota test
Increase timeout of waiting for nova services reconfiguration
on the whole cluster.

Change-Id: I38b54d06fb6d5d702114af1473277d0805ed4a5a
Closes-Bug: #1580687
2016-05-12 13:40:31 +00:00
Alexey Stepanov 3990b5fb65 Fix inspection issues
1. PyCharm inspection: ignore no member for magic places
  (six.moves, mixin for system_test, unicode<->string on python2)
2. Fix docstrings
3. Fix reraise of SkipTest
  (use raise instead of raising again the same exception, but no args)
4. Bash simple variable usage

Closes-bug: #1578998

Change-Id: Ifac2dcb68b323ce48c6c80598abfd18ed9bf2caf
2016-05-10 11:54:55 +03:00
Jenkins 577a98ff76 Merge "Change a way to check keystone was reconfigured to use LDAP" 2016-03-28 15:54:18 +00:00
Alexey Stepanov 79de91cdc0 Python3 code compatibility: Stage2.2 - API changes
six library usage is enabled for non transparent compatible code

blueprint fuel-qa-python3-compatibility

Change-Id: I2a636c72454809e59545ec20c3cb52124fd9753a
2016-03-28 11:32:52 +03:00
Sergey Novikov 50e348dece Change a way to check keystone was reconfigured to use LDAP
Change-Id: I4d306c71b6bc8bb0de27e19348281659c21382a3
Closes-Bug: 1561471
2016-03-27 20:37:32 +00:00
Alexey Stepanov 573c39acf5 Fix docs tests
1. Indention of docstrings
2. Moved modules
3. Deleted duplicates

Change-Id: Ie77f8a123c419c7e42bfe7d888a8f90dc0c6bcf4
Closes-bug: #1561506
2016-03-25 10:00:41 +03:00
Alexey Stepanov 4c6ef9699b Python3 code compatibility: filter, map, zip
Do not use filter(), map() or zip() for not iterator tasks

blueprint fuel-qa-python3-compatibility
Related-bug: #1556791

Change-Id: I6e031ed2ca18080a15eecd5d0c1db275f9ec9aa1
2016-03-18 10:44:09 +03:00
Alexey Stepanov 235959b861 Pylint: fix trivial issues 8
fix: make methods static, if self is not used inside
(call is not changed, backward change is possible without code change,
  if self will be required)
Related-bug: #1556791

Change-Id: I48175c0179e0fde69ed9b527ab570a267b9191a5
2016-03-18 10:35:15 +03:00
Alexey Stepanov 7ba03f6537 Pylint: fix trivial issues 7
Change-Id: I65bd247fe65facfab9c88d5f6e751ceed3135558
fix: no default value in base class
Fix: property, which raising ValuError in base class and override in child classes
Related-bug: #1556791
2016-03-18 10:34:54 +03:00
Alexey Stepanov b661d47b32 Pylint: fix trivial issues 2
Change-Id: Id29cb8831714fd96960f85c29d866084a5565f5c
fix: invalid import order, double import, relative import, no super call, instance defined outside of init, incorrect __all__ variable
Related-bug: #1556791
2016-03-16 10:30:31 +03:00
Ksenia Demina a50685696e Remove checking for deprecated nova-objectstore service
Service nova-objectstore was removed from Mitaka release, so
it should be removed from the list of services for validation

This fix was mistakenly removed by
https://review.openstack.org/#/c/285985/

Change-Id: I0d763c1c7ffed6ef2b9156cc690e134c75a49b88
Closes-Bug: #1551195
2016-03-14 11:32:00 +00:00
Dmitry Tyzhnenko 7f3fb9da40 Replace ipaddr to netaddr
Remove ipaddr from fuelweb_test/requirements.txt and use netaddr
    in test cases instead of ipaddr

Use string for creation of netaddr instances

Change-Id: Idc86dcaae6f10c13b04095fb11fa9351b130deb8
Closes-bug: #1544148
2016-03-09 21:32:01 +00:00
Alexey Stepanov 77b5f71332 Do not raise exception classes
Replace `raise Exception` by `raise Exception()`

Closes-bug: #1551113

Change-Id: Ic7b9ca7fd06750c58a4710fb55f6114ec00cefd9
2016-03-02 16:32:11 +03:00
Jenkins a0a97d71fb Merge "Fix incorrect exception handling (pass without any log record) by adding log record" 2016-03-01 18:14:23 +00:00
Alexey Stepanov fae4f24153 Fix incorrect exception handling (pass without any log record) by adding log record
Use `logger.warning('Ignoring exception: {!r}'.format(e))` as exception hadnler in `pass` places
Closes-bug: #1551130

Change-Id: I27d9b9901b1ec382533c43b1f18ee72b996c08d8
2016-02-29 17:55:02 +03:00
Ksenia Demina 8608b49afc Remove checking for deprecated nova-objectstore service
Service nova-objectstore was removed from Mitaka release, so
it should be removed from the list of services for validation

Change-Id: I6f9ce150de54b1460aec25f94c4ae4b56abdee45
Closes-Bug: #1551195
2016-02-29 14:53:35 +03:00
Maksym Strukov d5c987924a Revert "Replace ipaddr to netaddr"
This reverts commit 588d1687ac.

Change-Id: Idd064bcc6e57e163e52d976313fe7645073fca36
2016-02-26 21:48:39 +00:00
Dmitry Tyzhnenko 588d1687ac Replace ipaddr to netaddr
Remove ipaddr from fuelweb_test/requirements.txt and use netaddr
    in test cases instead of ipaddr

Change-Id: I80cee069f9f17360cc5fc48e429a8b7f986c6f2c
Closes-bug: #1544148
2016-02-22 16:44:02 +02:00
Ksenia Demina 9000abecf3 Add test for applying config with new parameters
Closes-Bug:1541299

Change-Id: I45d402edf2d533cfe3587026c3a967c795eb341a
2016-02-09 18:14:24 +03:00
Sergey Novikov 98c2e845ec Add test for applying of config for node with multiple role
Change-Id: Id34c1facd00fa983e6b88d4ac1283687196c3775
Implements: blueprint test-openstack-config-change
2016-01-31 09:28:37 +00:00
Ksenia Demina a4e8a40aed Fix typo in list of services_reconfiguration testgroup
Change-Id: Ibc8fa2fa59291489777a124c9c80d9a0c68e0528
Closes-Bug: #1537696
2016-01-25 15:11:56 +03:00
Ksenia Demina 0c3378c8f0 Divide group "Service_reconfiguration"
Create 2 group in service_reconfiguration group:
 * services_reconfiguration_thread_1
 * services_reconfiguration_thread_2

Change-Id: If9f800e49c44710517c4224ac2d7d1f245aa9c87
Closes-Bug: #1536068
2016-01-20 13:39:23 +03:00
Sergey Novikov 071b331c3c Change logic of test for reconfiguration of keystone to use LDAP
Change-Id: I6efaac6f9d135e9a37cf316e455779f31d9a5025
Closes-Bug: #1533812
2016-01-18 10:13:27 +00:00
Sergey Novikov 98107100bf Add two negative tests for services reconfiguration
Change-Id: I09ced3bd47043b26dce6ed0c203e703afbb4b9bb
Implements: blueprint test-openstack-config-change
2016-01-15 12:07:13 +03:00
Ksenia Demina d78bddc94b Add test for applying configuration to number of clusters
Change-Id: If802703dac048954e94985e19e843e9a5d622cd2
Implements: blueprint test-openstack-config-change
2016-01-14 13:00:33 +03:00
Sergey Novikov 551af64389 Add test for multiple serial applying of configuration
Change-Id: I43a16eace4f5a1d83f63de7008718d90267899d6
Implements: blueprint test-openstack-config-change
2016-01-11 16:18:05 +03:00
Vasily Gorin 8ef24131e7 Automate failover acceptance tests
Partial-bug: #1524772
Change-Id: I91abf769e8a92114185bf6cdc8896d1e72433ef7
2016-01-06 13:15:16 +02:00
Sergey Novikov d6daea1cc5 Add test for scalability of configured environment
Change-Id: I0b52757948ee4d18fab38c7ae74cfeb8c58001d4
Implements: blueprint test-openstack-config-change
2015-12-30 16:52:01 +00:00
Alexey Stepanov 4a4e9f3baf Fix incorrect expected step at test start
Change-Id: Ibca1716cc2f86ffbd3a448162802b2c890fc7ff9
Closes-bug: #1527123
2015-12-25 18:05:43 +03:00