Bug 1054616 - Power configurations with no entry for their password use 'None' as the password
Summary: Power configurations with no entry for their password use 'None' as the password
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: lab controller
Version: 0.14
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 0.15.3
Assignee: Raymond Mancy
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-17 06:21 UTC by Raymond Mancy
Modified: 2018-02-06 00:41 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-02-03 04:51:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Raymond Mancy 2014-01-17 06:21:13 UTC
Description of problem:

If there is no password set for power configurations then the power script is passed the string 'None'

Version-Release number of selected component (if applicable):

0.14.1

How reproducible:

Always

Steps to Reproduce:
1. Set a blank power password
2. Power cycle the system
3.

Actual results:

Fails because incorrect password is given

Expected results:

Works.

Additional info:

Comment 3 Raymond Mancy 2014-01-17 08:05:20 UTC
The problem seems to be that we are passing None to SensitiveUnicode() in provision.py and it just converts it to a Unicode object. We should avoid passing the password value to SensitiveUnicode() unless it is not None.

Comment 4 Raymond Mancy 2014-01-20 22:39:49 UTC
http://gerrit.beaker-project.org/#/c/2702/

Comment 7 Nick Coghlan 2014-02-03 04:51:54 UTC
This change is included in the Beaker 0.15.3 maintenance release:

http://beaker-project.org/docs/whats-new/release-0.15.html#beaker-0-15-3


Note You need to log in before you can comment on or make changes to this bug.