commit ce533592e41950bf6207e8b854e7032983d6f3f8
Author: Victor Coutellier <email address hidden>
Date: Sun Mar 10 19:07:00 2019 +0100
Fix kolla-docker possible undefined variable
It is possible to reference undefined variable in kolla-docker module if
DockerWorker object initialization fail, so the current behaviour will
crash the playbook with the unwanted error message :
UnboundLocalError: local variable 'dw' referenced before assignment
Change-Id: Ic8d26b11f93255220888b5406f8ab4a6f81736c2
Closes-Bug: #1819361
(cherry picked from commit 3bb4c199817c8aa4ecd4ae684bd28f84933fb14d)
Reviewed: https:/ /review. opendev. org/659040 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=ce533592e41 950bf6207e8b854 e7032983d6f3f8
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit ce533592e41950b f6207e8b854e703 2983d6f3f8
Author: Victor Coutellier <email address hidden>
Date: Sun Mar 10 19:07:00 2019 +0100
Fix kolla-docker possible undefined variable
It is possible to reference undefined variable in kolla-docker module if
DockerWorker object initialization fail, so the current behaviour will
crash the playbook with the unwanted error message :
UnboundLoca lError: local variable 'dw' referenced before assignment
Change-Id: Ic8d26b11f93255 220888b5406f8ab 4a6f81736c2 4ecd4ae684bd28f 84933fb14d)
Closes-Bug: #1819361
(cherry picked from commit 3bb4c199817c8aa