commit 15fff23284e9e3140c1af7bf9fc87e5f2b421af8
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/659041 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=15fff23284e 9e3140c1af7bf9f c87e5f2b421af8
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 15fff23284e9e31 40c1af7bf9fc87e 5f2b421af8
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