Bug 1278296 - [platformmanagement_public_514]"reference" should be supported under "tags" level in the ImageStream file
[platformmanagement_public_514]"reference" should be supported under "tags" l...
Product: OpenShift Origin
Classification: Red Hat
Component: Image Registry (Show other bugs)
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Maciej Szulik
Wei Sun
: Regression
Depends On:
  Show dependency treegraph
Reported: 2015-11-05 03:20 EST by Wei Sun
Modified: 2015-11-23 16:16 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-11-23 16:16:32 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Wei Sun 2015-11-05 03:20:13 EST
Description of problem:
"reference" could not be supported under "tags" level in the ImageStream file.When I added "reference":"false" or "reference":"true" under "tags" level in ImageStream json file,I could not create the ImageStream successfully.

Version-Release number of selected component (if applicable):
# openshift version
openshift v3.1.0.0
kubernetes v1.2.0-alpha.1-1107-g4c8e6f4
etcd 2.1.2

How reproducible:

Steps to Reproduce:
1.Create an ImageStream with "reference" is defined under tags level in the json file

Actual results:
1.cat test.json
    "kind": "ImageStream",
    "apiVersion": "v1",
    "metadata": {
      "name": "python",
      "creationTimestamp": null
    "spec": {
                      { "name": "3.3",
                              { "description": "wsun tests" },
                               "Kind": "DockerImage",
                                "Name": "wsun/python-33-centos"

$ oc create -f test.json 
unable to load "test.json": json: cannot unmarshal string into Go value of type bool

Expected results:
"reference" should be supported under "tags" level

Additional info:
Comment 1 Maciej Szulik 2015-11-05 08:27:11 EST
It's an error in your json, remove the false from double quotes like so:

"reference": false

and this should work fine.
Comment 2 Wei Sun 2015-11-05 21:20:38 EST
It works if removing the false from double quotes.Thanks!

Note You need to log in before you can comment on or make changes to this bug.