Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1336593

Summary: DNS addon could not be created by kube-addons.sh
Product: Red Hat Enterprise Linux 7 Reporter: Guohua Ouyang <gouyang>
Component: kubernetesAssignee: Jan Chaloupka <jchaloup>
Status: CLOSED CURRENTRELEASE QA Contact: atomic-bugs <atomic-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.2CC: gouyang
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-27 03:34:23 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 Guohua Ouyang 2016-05-17 00:10:43 UTC
Description of problem:
kube-addons.sh is trying to create the skydns-rc, but failed because of below:

# kubectl create -f skydns-rc.yaml 
error validating "skydns-rc.yaml": error validating data: [found invalid field successThreshold for v1.Probe, found invalid field failureThreshold for v1.Probe]; if you choose to ignore these errors, turn validation off with --validate=false

Could see "Liveness and readiness probes now support more configuration parameters: periodSeconds, successThreshold, failureThreshold"
under https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG.md/#other-notable-improvements.

Not sure if it apply to kubectl as well.

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


How reproducible:


Steps to Reproduce:
1. # kubectl create -f skydns-rc.yaml 
2.
3.

Actual results:
# kubectl create -f skydns-rc.yaml 
error validating "skydns-rc.yaml": error validating data: [found invalid field successThreshold for v1.Probe, found invalid field failureThreshold for v1.Probe]; if you choose to ignore these errors, turn validation off with --validate=false

Expected results:


Additional info:

Comment 4 Jan Chaloupka 2016-06-22 12:37:47 UTC
Neither successThreshold nor failureThreshold are present in ~/.kube/schema/v1.2.0/api/v1/schema.json.

Comment 5 Jan Chaloupka 2016-06-22 12:47:56 UTC
Guohua, can you remove ~/.kube/schema and re-run the ``kubectl create -f skydns-rc.yaml`` again"?

Comment 6 Guohua Ouyang 2016-06-27 03:34:23 UTC
after remove ~/.kube/schema, the problem does not exist.

Comment 7 Jan Chaloupka 2016-06-27 11:04:49 UTC
Anytime the apiserver is updated, ~/.kube/schema needs to be removed as the kubectl downloads the schema from apiserver. Once the schema is downloaded(=cached) it is never re-downloaded.