Comment 8 for bug 1353315

Revision history for this message
wanghong (w-wanghong) wrote : Re: Incorrect condition expression for ssl_insecure

I have done the tests and can confirm this is an issue. If I add 'insecure = 1' in /etc/nova/nova.conf it is OK, the 'insecure' can be convert to bool. But, if I add 'insecure = 1' in /etc/nova/api-paste.ini the 'insecure' would be a string. This is because when add conf in /etc/nova/api-paste.ini the conf will be passed into AuthProtocol class as initialization parameters rather than passed into oslo.