Bug 1390696

Summary: Auto-tagging from name=value and name=VALUE labels breaks refresh
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Beni Paskin-Cherniavsky <cben>
Status: CLOSED CURRENTRELEASE QA Contact: Einat Pacifici <epacific>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.6.0CC: bazulay, cben, cpelland, dron, fsimonce, jfrey, jhardy, lavenel, mtayer, obarenbo, zgalor
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.7.0   
Hardware: All   
OS: All   
Whiteboard: container
Fixed In Version: 5.7.0.9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1382347 Environment:
Last Closed: 2017-01-11 20:22:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:
Bug Depends On: 1382347    
Bug Blocks:    

Comment 2 Beni Paskin-Cherniavsky 2016-11-02 11:15:37 UTC
Backported to 5.7:
https://github.com/ManageIQ/manageiq/commit/bbcda770928a952d649f8f3df48169294127e93b

Comment 3 Einat Pacifici 2016-11-03 11:29:56 UTC
NeedInfo: in OSE33, it is not possible to use oc edit namespace and modify a label with empty value. 
Also, using oc label --overwrite namespace xxx label=<empty value> is not allowed. 

After discussing this issue at length with cben, we decided to return this to dev. so that cben can define a way to enter a label with an empty value.

Comment 4 Beni Paskin-Cherniavsky 2016-11-03 19:39:41 UTC
This Q refers to different BZ, answered there:
bug 1358257 comment 7

Comment 5 Einat Pacifici 2016-11-08 13:05:50 UTC
Verified. 
Following steps: 
Project hello3 has label: key=value
Project hello4 has label: key=Value

In CFME Mapped: 
key --> MappedKey

Refresh Provider

In CFME: 
Checked hello3 --> MappedKey = value
Checked hello4 --> MappedKey = value

Refresh was successful all mapping was as expected.