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)
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
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)
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
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
Wait for nodes really in correct status before:
1. Timesync, if required
2. Return from bootstrap method
Change-Id: Ic7d906027154856c7aa17f47ff5e738cb531ce98
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
1. Move QuietLogger and logwrap to core
2. Fix QuietLogger (if log level was upper, than in param,
QuietLogger ebabled additional logging instead of pass)
3. Cover by unit-tests
4. Added missed license text
5. add *.log to gitignore
Change-Id: If842791000c76852fe1dec1e66edcc081c278b2c
Blueprint: fuel-qa-join-helpers
(cherry picked from commit b7ca0ff)
1. Drop empty fuelweb_test/helpers/exceptions.py
2. Drop unused anymore fuelweb_test/helpers/http.py
3. Drop execute_throw_remote, run_in_remote, run_on_remote_get_results,
execute_remote_cmd.
4. Drop unused private deserializers from SSHManager
5. Fix misprint in deprecation message
Change-Id: I56a220e49f44a4f22b2b3499acf022fef923b323
https://review.openstack.org/#/c/346119 was merged and now
we have to switch our tests to production-style updating
Change-Id: Ifd3aabc7db24ce5e5213438992ab7eeef459cae5
Partial-bug:1616188
SingletonMeta class is exists in fuel-devops: deprecate copy
all imports has been changed to devops side
Announce drop of deprecated and already unused helpers.
Change-Id: I98311de2c4fc579b8d6095bf5decd28940a00f88
(cherry picked from commit ef37f0d)
Warn on run_on_remote, execute_remote_cmd and run_on_remote_get_results call
SSHManager().execute_on_remote marked as deprecated in favor of
SSHManager().check_call
Change-Id: I2615e910d294f465dd6599ae28091ab2eab2cc03
The updater script is still on development so we have to use
bootstrap_admin_node.sh. Also there is an issue in devops that
is preventing fuelmenu appearing. Lasts, we are not able to
quit from fuelmenu after it appears.
Change-Id: Ifea88dde2e7ccb045172603eed182bd8db12ba79
Related-bug:1607402
In case of installing fuel from packages there is no
bootstrap_admin_node.conf file
Change-Id: I6cff442e3aa06a20e55215d5a6cb74a8ae198486
Closes-bug:1611757
During migration to keystone shared session we gon an issue when
time on master node was changed (during ntp sync). This issue reproduces only
for the first connection after time sync.
Change-Id: I2f203b8a1957b70389e76f9fa99459b1365b242f
Related-bug:1606887
Right now 9.x deployment contains 50min timeout created for astute.yaml
modifications but it useless and consumes time when we want to apply
9.x over 9.0 via bootsrtap_admin_node.sh
Updater script https://review.openstack.org/346119 without this timeout
is under development. We can save about 1h of deployment with this
temporary solution before the updater script will be released.
Change-Id: Icd2b9906c3c3195970f858a4164920b959616352
Use intermediate layers while test adoptation in process.
Mark as deprecated methods, which is completely covered by
devops implementation.
Change-Id: I4cb87cc1d5f7184cd5400a5f03358068e528d93a
['stdout_str'] and ['stderr_str'] is accessible
on all SSHClient output (except async) only starting
from 2.9.22 and currently we using 2.9.21
Solution: roll-back part of changes from review 344612
Change-Id: I2ab955dd42a5b5db102236c7468f029bd89e3bc6
Replace deprecated methods by it's successors
Drop stdout_len and stderr_len as useless and unused
Change-Id: I558e864240c9d8bed7e9acd4dd1406c33d066800
Closes-bug: #1604688
Previously fix was added to the decorator.
This one will cover updates section
Change-Id: I79495b19d341023a5f5067379d3ead2a5b8d3075
Related-Bug:1585194
Reduce log level during revert snapshot
fuelweb.client.get_releases waiting:
Set logging.CRITICAL for stdout due to @logwrap on method
Replace deprecated method callse by actual new in environment.py:
_wait -> wait_pass
_tcp_ping -> tcp_ping_
Closes-bug: #1602236
Change-Id: Ic59c4cb5a29285b19f4143a4280ea04e9093a28c
Now in latest devops it's possible to insert cdrom tray without
virsh magic - now it's time to remove it.
Change-Id: I762cc449c4715e360d794beec872b1fd79273215
Depends-On:I90b4d4884914e0a5be914c1429dffef33a33e922
- added waiters for node status
- removed redundant try/except/assert
Related blueprint: fuel-qa-failure-reason-grouping
Change-Id: I06ccac42856712d1f9afe64402d34aeba3c07af6
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
It's possible to get the error above if no packages
were updated on master node in 'admin_install_updates'
method.
Also tests must handle situations when old package is
replaced by new one, so it's marked as installed but
not upgraded.
Change-Id: I6fe99ae16d887024643c60ea60e7650181fd432a
Closes-bug: #1599901
This change allow to install any
additional packages from any additional
repository during install master-node.
Related-Bug: #1526544
Change-Id: I4b10ff432b385824595c0ac65b5282a2b81c859c
Add test for testing Separate master node deployment
on pre-provisioned Centos 7 server
Change-Id: I9b9d40a59d24f579502a38dfc9b8c142bc219a06
Closes-Bug: #1575650
Move some actions executing after master node boostrapping to
TestBasics action to using them in separate_master node deployment
Implements blueprint: fuelwebclient-refactoring
Change-Id: Idb8954c71861840124a805e8982a2fe63c94376f
SSHManager has been extended to be able to accept slave node login/password
as well.
Partial-Bug: #1566377
Change-Id: I6ce86c1340f0276f9f3cfd22b44dd307ba8eace5