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
Use repr in logwrap
make unicode strings ha one controller tests
get_cluster_block_devices -> make unicode output
(method used 1 times in single test)
Change-Id: Ia72f57b6be13c66edfcb4512f99f01f11da20f13
Closes-bug: #1620330
(cherry picked from commit 5fb4f5d)
1. Use keystoneauth1 for making session
2. Nailgun/OSTF client uses keystoneauth1 session
3. Drop HTTPClient
4. Support NailgunClient construction by providing session
5. Requests has on-demand authorization and re-authorization
by keystoneauth1.
Pros:
* interface unification, after implementation of bugfix fr 1581024
we could transparently switch the most methods
from our implmentation to python-fuelclient implementation.
* Less decorators magic (@jsonparse is not required)
Blueprint: python-fuel-client-in-system-tests
Change-Id: Idc0c0b3b0039f64d852ea1a08e02a9c3ecd65c46
Fuel-mirror can download files which it failed
to download in previous attempts.
Re-run will simply try to download absent files.
Change-Id: I54e5bbd2bac4904f6b8c1e3ce8392e170e60a1f2
Closes-bug: #1565857
This reverts commit bc16aa02b0.
Murano still available out of the box and we need to test it.
Closes-Bug: #1572975
Change-Id: I2566566c5124a76e4bfff232d20a8516f45ffac2
- Add check on snapshot logs for master, controller, compute
- Add decorator with checking snapshot logs to
deploy_multirole_controller_cinder test
Change-Id: I5507908b73e8d464adbcd42220e93d8fc9f62e9a
Closes-Bug: #1541779
Fix mistype in pylint ignore block
(+3 warnings was produced by this mistype)
Change-Id: Ie9ad7270d2026a8eba450cd0525a785fdf9417c3
Related-bug: #1561687
1. Made human readable assertion text.
2. Disk size is rounded to point 3 digits.
Change-Id: I2e7d9c313cfe94839a77700df84a606de626b530
Closes-bug: #1561687
Make division transparent-compatible (from __future__ import division, // for strict int result)
Do not use round due to different types of result objects
blueprint fuel-qa-python3-compatibility
Related-bug: #1556791
Change-Id: I7bb173c6f97ac046af45c3f52cc32846a93a8981
Do not use filter(), map() or zip() for not iterator tasks
blueprint fuel-qa-python3-compatibility
Related-bug: #1556791
Change-Id: I6e031ed2ca18080a15eecd5d0c1db275f9ec9aa1
- move diagnostic and environment snapshots creation to
a separate method 'store_error_details', to not allow overriding
exceptions in 'log_snapshot_after_test'
- fix UnexpectedExitCode exception logging: do not try to cast
list of integers into a single decimal
- remove deprecated 'verbose' argument from fuel-devops method
invocations.
Change-Id: Ibd5f22eff12b966b7c19c349b582d6b442e2ca28
Closes-Bug:#1557077
Disable Murano test according to Murano servise is not available out of box.
Also delete murano option from test deploy_multiple_services_local_mirror,
because we can not disable our single scenarion for check mirros
Change-Id: I9e6b8699c890a10fe6ea1e5267161a5c69125843
Related-Bug: #1546080
Mirrors are replaced and ubuntu is used as default to
be able to build bootstrap image.
Change-Id: I2e0971a6b49b457c03a82fcc1c9bd3b06ebaec60
Closes-bug: #1518960
- Fix call of get_cluster_repos in
deploy_multiple_services_local_mirror test
Change-Id: If26194f04049f12a650897457696e0e07edbfbdf
Closes-Bug: #1540321
I replaced if with a method which has logic
related to interface names.
Name is fetched by old naming schema to ease developer switch.
There is still a problem with yaml templates, should be fixed
in next commits.
Change-Id: I63787e51f9e74532f5dd49fb765cbe204b148eb1
Related-bug: #1523541
- Remove 'NEUTRON_ENABLE'
- Remove redundant configuring of 'network_provider' from tests.
Keep it only for tests where a special segment type should be
used.
- NEUTRON_SEGMENT_TYPE makes sense only if a test not configure
custom network settings. If not set - defaults from Fuel should
be used.
- nova-network is going to be removed from Fuel, so vcenter tests
are outdated because vcenter will be moving to a plugin.
Change-Id: I68c6728832569e5bc92a52ad5dd7676b6924ee48
Related-Bug:#1503752
- Remove verify_network_configuration from tests due
to having advanced check 'check_ipconfig_for_template'
that is used in networking templates tests
Change-Id: I441ed6b749c77ea81d07eaf192d34d00f7c78bf6
Closes-Bug: #1516046
Fix:
1. Default arguments should not be mutable
2. Set could be created without set() call (little faster)
3. Redundant parenthesis (readability)
4. lambdas is strictly not recommended by PEP8, especially as class variables
5. fix old style classes (not inherited from object)
Update-reason: rebase
Closes-Bug: #1512671
Change-Id: Id8314b76848278b67da898600240b59cf76a7328
- Use the local Ubuntu mirror to speed building the Ubuntu
bootstrap image,
- Move replace_repos modules to a separate module.
Change-Id: I263752884a7b629a76f5ce7cb3e921390c11af90
Closes-Bug:#1487498
- disabled 'deploy_one_node' controller test for swarm;
- removed 'deploy_ha_one_controller_cinder', we have the same
cluster configuration in several other testcases;
- add "one_controller_actions" test group for test cases that do
some actions to the cluster;
- set "multirole" group as main group for multirole test cases.
Change-Id: Ibf5cab1317301b7856f100e640420267a03a4810
Related-Bug:#1492294
export REPLACE_DEFAULT_REPOS_ONLY_ONCE=true
- Along with REPLACE_DEFAULT_REPOS=true , enables replacing default
repositories only when Fuel admin node has been installed
export REPLACE_DEFAULT_REPOS_ONLY_ONCE=false
- Along with REPLACE_DEFAULT_REPOS=true , enables replacing default
repositories only before a new cluster is created by tests.
export REPLACE_DEFAULT_REPOS=false
- Disables replacing repositories, Nailgun keeps it's defaults.
Change-Id: Ief45650580cdd897bb785f286d850d27baf06adc
Closes-Bug:#1484137
Some test cases are started on more than one Jenkins jobs with
the same names. Different Jenkins jobs should use different
test case names.
- add class 'NeutronTunHaBase' as a base test case neutron_tun_ha
- move backup/restore cases in a separate module
Change-Id: Ia6dff6bf63206f767ba1bb48744fd7d69cb687e1
Related-Bug:#1482126
- Changed test_ha_one_controller_base to
use neutron
- Changed test_ha_one_controller to use neutron
- deploy_ha_one_controller_vlan test was deleted as
duplicate of deploy_ha_one_controller_neutron
Change-Id: Iff4fe9ce5876f8dd769873189c5c294c7a6c29fd
Closes-Bug: #1478915
- Add testcase 'deploy_multiple_services_local_mirror', where
added more services to check more package dependencies during
deploy;
- Move replacing of default repositories from 'empty' to 'ready'
snapshot, to have a clear Fuel admin node with defaults in 'empty'
- Add a new test group 'prepare_release' that can be used instead
of 'setup' to get Fuel admin node with customized settings;
- Remove excess calls for replace repositories from create_cluster()
Change-Id: Iace5351df4f5cb1a3e0c56dade96fd1a2dd7de24
Closes-Bug:#1463793