Exported variable not always processed correctly

Bug #1485524 reported by Vasily Gorin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Fuel QA Team

Bug Description

Setup.py includes method 'get_var_as_bool', which returns boolean equivalent of received value.This method uses value.lower() to get boolean state, but I have following result:

When I want to make snapshot, I export variable MAKE_SNAPSHOT and assign to it value 'True' or 'true'.
In case of 'export MAK_SNAPSHOT=true' everything work correct, but when i specify 'True' it isn't work.

Changed in fuel:
status: New → Confirmed
milestone: 7.0 → 8.0
Revision history for this message
Dmitry Tyzhnenko (dtyzhnenko) wrote :
Changed in fuel:
status: Confirmed → Invalid
Dmitry Pyzhov (dpyzhov)
tags: added: area-qa
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.