Bug 679084

Summary: provider account fields should chomp or trim extra white space at the beggining or end of an entry
Product: [Retired] CloudForms Cloud Engine Reporter: wes hayutin <whayutin>
Component: aeolus-conductorAssignee: Jozef Zigmund <jzigmund>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.3.1CC: cpelland, deltacloud-maint, morazi
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://10.16.66.77:3000/deltacloud/admin/provider_accounts
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-14 15:53:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 684278    

Description wes hayutin 2011-02-21 14:39:49 UTC
Description of problem:

[root@dell-pe6950-01 RPMS]# rpm -qa | grep deltacloud-aggregator
deltacloud-aggregator-doc-0.0.3-0.fc14.20110216090820git76267b4.x86_64
deltacloud-aggregator-daemons-0.0.3-0.fc14.20110216090820git76267b4.x86_64
deltacloud-aggregator-0.0.3-0.fc14.20110216090820git76267b4.x86_64

Recreate:
1. create a provider account w/ good credentials
2. make sure the account is added correctly
3. delete the provider account
4. Now add the provider account again w/ the same credentials however this time add an extra white space character at the end of the account username or password

Results:
error invalid account details

I *think* white space should be trimmed, however I'll leave that up to the developers to make the call.  I *think* trimming the whitespace is the usual procedure.

Thanks

Comment 1 wes hayutin 2011-03-11 16:58:49 UTC
adding to the ce-beta blocking tracker

Comment 2 wes hayutin 2011-06-14 15:53:44 UTC
closing out old bugs that dev has not addressed :(

Comment 3 wes hayutin 2011-12-08 14:07:40 UTC
perm close