Docker containers are not restarted by `dockerctl restart` command after setup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Confirmed
|
High
|
Fuel Library (Deprecated) | ||
8.0.x |
Confirmed
|
High
|
Fuel Library (Deprecated) | ||
Mitaka |
Confirmed
|
High
|
Fuel Library (Deprecated) |
Bug Description
We got problem with enablement of advanced mode in fuel-qa on ci
https:/
Expected:
We are setting advanced feature group at https:/
def enable_
fuel_settings = env.admin_
fuel_
env.
env.
def check_api_
try:
except (urllib2.HTTPError, urllib2.URLError):
return False
return True
wait(
wait(lambda: group in
The calls are:
checkers.
wait(lambda: group in
env.
Astute.yaml to update group is at http://
Actual result:
Check is spinning in circles with message and fails because there is no advanced group in test:
2016-02-02 22:09:15,772 - DEBUG __init__.py:59 -- Done: get_api_version with result: {u'release': u'8.0', u'api': u'1', u'openstack_
According to the tests logs Nailgun container was restarted after adding of new feature group:
2016-02-02 22:04:14,851 - DEBUG ssh_manager.py:104 -- SSH_MANAGER:Return existed connection for 10.109.30.2:22 helpers. helpers. SSHClient object at 0x7f00d9264f10>}
2016-02-02 22:04:14,851 - DEBUG ssh_manager.py:105 -- SSH_MANAGER: Connections {('10.109.30.2', 22): <devops.
2016-02-02 22:04:14,851 - DEBUG helpers.py:335 -- Executing command: 'cd ~'
2016-02-02 22:04:14,931 - DEBUG helpers.py:335 -- Executing command: 'dockerctl restart nailgun'
but Nailgun wasn't restarted:
fgrep 'Starting uWSGI' /var/log/ docker- logs/nailgun/ app.log docker- logs/nailgun/ app.log
*** Starting uWSGI 2.0.11.1 (64bit) on [Tue Feb 2 21:16:40 2016] ***
fgrep -c 'Starting uWSGI' /var/log/
1
I tried to execute `dockerctl restart nailgun` command manually few times and it worked fine.