Description of problem: Some resources defined in List without metadata: {} parameter couldn't be created through Import YAML/JSON Version-Release number of selected component (if applicable): v3.4.0.38 How reproducible: Always Steps to Reproduce: 1.Create a project -> Add to Project -> Import YAML/JSON 2.Copy & Paste content of https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/image-streams/image-source.yaml 3.Hit on Create button 4.Copy & Paste content of https://raw.githubusercontent.com/mdshuai/testfile-openshift/master/k8s/rc-and-svc-list.yaml 5.Hit on Create button Actual results: 3.Resources defined in image-source.yaml could be created successfully 5.rc-and-svc-list.yaml lacks of metadata: {} parameter, so it can't be created and give error: Failed to process the resource. Resource is missing metadata field. Expected results: 5.Resource defined in rc-and-svc-list.yaml should be created successfully Additional info: Resources in both files could be created successfully via CLI
This was actually fixed in 3.5.0 as part of https://github.com/openshift/origin-web-console/pull/1043
Resources in both files could be created successfully by web console. Verified on: OpenShift Master: v3.5.5.31 Kubernetes Master: v1.5.2+43a9be4
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:1828