Closes-Bug: #1721406 - Handle edge case where the generated heat encryption key contains only numbers
If all 16 randomly generated characters are numbers, then puppet fails as it expects the value to be a string
Patch:
Use isdigit instead of isinstance()
Change-Id: Icbfb5da24260bc3fbb44536d1890d2b9454cda0f
(cherry picked from commit 723ee26bd76cd37da55b38d73a73c034871cde90)
Reviewed: https:/ /review. opencontrail. org/39072 github. com/Juniper/ contrail- server- manager/ commit/ cf8d3353d9dc17e 59a3052547fc9e1 774a6e146f
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R3.2
commit cf8d3353d9dc17e 59a3052547fc9e1 774a6e146f
Author: nitishkrishna <email address hidden>
Date: Mon Jan 8 15:16:38 2018 -0800
Closes-Bug: #1721406 - Handle edge case where the generated heat encryption key contains only numbers
If all 16 randomly generated characters are numbers, then puppet fails as it expects the value to be a string
Patch:
Use isdigit instead of isinstance()
Change-Id: Icbfb5da24260bc 3fbb44536d1890d 2b9454cda0f da55b38d73a73c0 34871cde90)
(cherry picked from commit 723ee26bd76cd37