Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
[8.0] Reboot procedure fixed
Browse files Browse the repository at this point in the history
Added the workaround to avoid the thin pool exhaustion probably caused
by the issue moby/moby#3182

Change-Id: I2edc74189872754383bf9a1f3215490d46e38b27
  • Loading branch information
avgoor committed Nov 21, 2016
1 parent 133e7f4 commit 3282812
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions fuelweb_test/models/environment.py
Expand Up @@ -675,6 +675,15 @@ def admin_install_updates(self):
)
logger.info('Containers terminated')

# Working around the bug https://github.com/docker/docker/issues/3182
logger.info('Removing docker images')
self.ssh_manager.execute_on_remote(
ip=self.admin_node_ip,
cmd='docker rmi -f $(docker images -q)',
err_msg='Unable to remove images'
)
logger.info('Images removed')

logger.info('Searching for updates..')
update_command = 'yum clean expire-cache && ' \
'yum update -y 2>>/var/log/yum-update-error.log'
Expand Down

0 comments on commit 3282812

Please sign in to comment.