[
https://issues.jboss.org/browse/JBIDE-22328?page=com.atlassian.jira.plugi...
]
Xia Zhao updated JBIDE-22328:
-----------------------------
Description: After JBT 3.2.0.Alpha1-v20160509-1836-B1291 is installed
successfully, run the New Connection Wizard, menuitem 'OpenShift 3' is missing
on drop down menu 'Server Type' of 'New OpenShift Connection' window
(was: Get error "UnsupportedMediaType" when create project and applications from
JBT on Mac)
Fix Version/s: (was: 4.3.1.Final)
Steps to Reproduce:
1.Update JBT from
http://download.jboss.org/jbosstools/neon/snapshots/updates/core/master/
2.After the installation completed successfully, check Help->Installation Details:
JBoss OpenShift 3 Tools 3.2.0.Alpha1-v20160509-1836-B1291
org.jboss.tools.openshift.feature.feature.group JBoss by Red Hat
3.Go to OpenShift Explorer, run the New Connection Wizard
Actual Result:
Menuitem 'OpenShift 3' is missing on drop down menu 'Server Type', only
'OpenShift 2' exist
Expected Result:
menuitem 'OpenShift 3' should exist
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: e.g.
https://raw.githubusercontent.com/openshift/origin/master/examples/sample...
server template: e.g. cakephp-example
4. Manually trigger build from buildconfig in JBT logical view
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}
4. Operation failed, get error msg:
Error starting build ruby-sample-build.
Could not create BuildConfig resource ruby-sample-build in namespace xiazhao2 for
subresource instantiate:
{"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
Environment:
JBT: 3.2.0.Alpha1-v20160509-1836-B1291
Eclipse version: Neon Milestone 4 (4.6.0M5)
was:
JBDS 9.1.0 Beta2-v20160127-2213-B262
Mac OS
Affects Version/s: 4.4.0.Alpha1
(was: 4.3.1.Beta2)
Menuitem 'OpenShift 3' is missing on drop down menu
'Server Type'
-----------------------------------------------------------------
Key: JBIDE-22328
URL:
https://issues.jboss.org/browse/JBIDE-22328
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.4.0.Alpha1
Environment: JBT: 3.2.0.Alpha1-v20160509-1836-B1291
Eclipse version: Neon Milestone 4 (4.6.0M5)
Reporter: Xia Zhao
Assignee: Jeff Cantrill
Labels: openshift_v3
After JBT 3.2.0.Alpha1-v20160509-1836-B1291 is installed successfully, run the New
Connection Wizard, menuitem 'OpenShift 3' is missing on drop down menu
'Server Type' of 'New OpenShift Connection' window
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)