Description of problem: Upstream issue - https://github.com/openshift/origin/issues/3924 When creating a template from existing project using this command: oc export dc,is,se,route --all -o yaml --as-template=hello-php > test-hello-php.yaml We get panic: assignment to entry in nil map. The export imagestream part fails. $ oc export is --all -o yaml panic: assignment to entry in nil map Version-Release number of selected component (if applicable): 3.0 How reproducible: Always Steps to Reproduce: 1.$ oc export svc,ImageStreams,dc --all -o json 2. 3. Actual results: It gives an error while exporting resources Expected results: It shall do export of resources properly Additional info:
This has been solved as of 1.0.4 in Origin (v3.0.1.900 in OSE)
Verified against version: oc v3.0.2.0-17-g701346b kubernetes v1.1.0-alpha.0-1605-g44c91b1 The issue is fixed.
This fix is available in OpenShift Enterprise 3.1.