[jbosstools-issues] [JBoss JIRA] (JBIDE-22133) Get error "UnsupportedMediaType' when create project/applications from JBT on Mac

Xia Zhao (JIRA) issues at jboss.org
Sun Apr 10 23:39:00 EDT 2016


     [ https://issues.jboss.org/browse/JBIDE-22133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xia Zhao updated JBIDE-22133:
-----------------------------
    Steps to Reproduce: 
1. Login openshift from JBDS installed on Mac OS
2. Create a new project
3. Create a new application from local template or server template
local template: e.g. 
server template:  e.g. cakephp-example

Actual Result:
2. Operation failed, get error msg:
Could not create project "xiazhao-jbt": the body of the request was in an unknown format - accepted media types include: application/json, application/yaml
Could not create resource xiazhao-jbt in namespace '': {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"the body of the request was in an unknown format - accepted media types include: application/json, application/yaml","reason":"UnsupportedMediaType","code":415}

3. Operation failed, get error msg:
the body of the request was in an unknown format - accepted media types include: application/json, application/yaml
Could not create resource ruby-helloworld-sample in namespace 'xiazhao-jbt': {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"the body of the request was in an unknown format - accepted media types include: application/json, application/yaml","reason":"UnsupportedMediaType","code":415}

Expected Result:
step 2,3 should be successful


Additional info:
Issue did not repro on Fedora 22 and Windows 10 OS

  was:
1. Login openshift from JBDS installed on Mac OS
2. Create a new project
3. Create a new application from local template or server template
local template:
server template: 

Actual Result:
2. Operation failed, get error msg:
Could not create project "xiazhao-jbt": the body of the request was in an unknown format - accepted media types include: application/json, application/yaml
Could not create resource xiazhao-jbt in namespace '': {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"the body of the request was in an unknown format - accepted media types include: application/json, application/yaml","reason":"UnsupportedMediaType","code":415}

3. Operation failed, get error msg:
the body of the request was in an unknown format - accepted media types include: application/json, application/yaml
Could not create resource ruby-helloworld-sample in namespace 'xiazhao-jbt': {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"the body of the request was in an unknown format - accepted media types include: application/json, application/yaml","reason":"UnsupportedMediaType","code":415}

Expected Result:
step 2,3 should be successful


Additional info:
Issue did not repro on Fedora 22 and Windows 10 OS



> Get error "UnsupportedMediaType' when create project/applications from JBT on Mac
> ---------------------------------------------------------------------------------
>
>                 Key: JBIDE-22133
>                 URL: https://issues.jboss.org/browse/JBIDE-22133
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.3.1.Beta2
>         Environment: JBDS 9.1.0 Beta2-v20160127-2213-B262
> Mac OS
>            Reporter: Xia Zhao
>            Assignee: Jeff Cantrill
>              Labels: openshift_v3
>
> Get error "UnsupportedMediaType" when create project and applications from JBT on Mac



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list