Bug 1212721

Summary: Unexpected warning apprears when describe service and pods which are create from database template
Product: OKD Reporter: Wenjing Zheng <wzheng>
Component: ContainersAssignee: Clayton Coleman <ccoleman>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.xCC: bleanhar, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-07 23:45:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Wenjing Zheng 2015-04-17 08:25:08 UTC
Description:
Below warning appears when try to describe service and pods which are create from database template:
[fedora@ip-10-168-217-76 wzheng]$ osc describe se mysql -n wzheng
W0417 05:57:35.853704   20617 request.go:288] field selector: v1beta1 - events - involvedObject.id - mysql: need to check if this is versioned correctly.
W0417 05:57:35.853883   20617 request.go:288] field selector: v1beta1 - events - involvedObject.namespace - wzheng: need to check if this is versioned correctly.
W0417 05:57:35.855259   20617 request.go:288] field selector: v1beta1 - events - involvedObject.kind - Service: need to check if this is versioned correctly.
W0417 05:57:35.855299   20617 request.go:288] field selector: v1beta1 - events - involvedObject.uid - 50d4e08b-e4b3-11e4-add6-22000b7a02b5: need to check if this is versioned correctly.
#########################################
[fedora@ip-10-168-217-76 wzheng]$ osc describe pods mysql-1-onpvu -n wzheng
W0417 05:59:44.894388   20630 request.go:288] field selector: v1beta1 - events - involvedObject.uid - 70dc1775-e4b3-11e4-add6-22000b7a02b5: need to check if this is versioned correctly.
W0417 05:59:44.894559   20630 request.go:288] field selector: v1beta1 - events - involvedObject.id - mysql-1-onpvu: need to check if this is versioned correctly.
W0417 05:59:44.894638   20630 request.go:288] field selector: v1beta1 - events - involvedObject.namespace - wzheng: need to check if this is versioned correctly.

Version-Release number of selected component (if applicable):
https://github.com/bparees/origin/blob/db_templates/examples/db-templates/mysql-rhel7-template.json
https://github.com/bparees/origin/blob/db_templates/examples/db-templates/mysql-centos7-template.json
openshift v0.4.3-168-g120e84a
kubernetes v0.14.1-582-gb12d75d

How reproducible:
always

steps to Reproduce:
1.Create a project
2. Create imagestream for centos7
$osc create -f origin/examples/image-streams/image-streams-centos7.json -n project1
3. Process and create database template
$osc process -f origin/examples/db-templates/mysql-centos7-template.json -n project1
4. Get and describe the resources created
$osc describe se mysql -n project1
$osc describe dc mysql -n project1
$osc describe pods mysql-1-onpvu -n project1

Actual results:
Unexpecte warning appreas in step 4

Expected results:
The warning should not appear.

Additional info:

Comment 1 Brenton Leanhardt 2015-04-17 13:23:01 UTC
I think this is the same as https://github.com/openshift/origin/issues/1725.  While it's ugly we didn't view it as a blocker for beta3 since it's cosmetic.  We'll get it fixed soon though!

Comment 2 Clayton Coleman 2015-04-18 20:54:57 UTC
Fixed by https://github.com/openshift/origin/pull/1799

Comment 3 Wenjing Zheng 2015-04-21 08:33:40 UTC
Verified and tested with below version:
openshift v0.4.3-246-gd6028d1
kubernetes v0.14.1-582-gb12d75d