Bug 851778 - Could not create app from command line after trying to create app in web ui
Summary: Could not create app from command line after trying to create app in web ui
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Windows
unspecified
high
Target Milestone: ---
: ---
Assignee: Clayton Coleman
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-25 17:09 UTC by olegych
Modified: 2015-05-15 02:03 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-29 16:32:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description olegych 2012-08-25 17:09:03 UTC
Description of problem:
Could not create app from command line after trying to create app in web ui

Version-Release number of selected component (if applicable):


How reproducible:
sometimes

Steps to Reproduce:
1. tried to created jenkins app in web ui, but cancelled
2. tried to create diy app in cli, but got an error

  
Actual results:
Problem reported from server. Response code was 406.
Re-run with -d for more information.

MESSAGES:
Failed to create application scastie due to: Scalable app cannot be of type jenkins-1.4 diy-0.1

Expected results:
application created


Additional info:

Comment 1 Xiaoli Tian 2012-08-29 05:18:44 UTC
(In reply to comment #0)

Hi, olegych

Which command are you using to create the jenkins app or diy app?

If you want to create an non-scaling app, please try if the following commands works for you:

rhc app create -a &yourappname -t jenkins-1.4 

or 

rhc app create -a &yourappname -t diy-0.1

We do not support  scaling jenkins or diy app currently.

Thanks

Comment 2 olegych 2012-08-29 11:51:58 UTC
Hi, thanks for the info.
Perhaps the issue is not related to the fact that i tried to create jenkins app.
It's just the wording of the message that is confusing.

Comment 3 Clayton Coleman 2012-08-29 16:32:56 UTC
The message is being returned by the server, and sounds accurate.  Can you please describe what you input and what the error was?

Comment 4 olegych 2012-08-29 17:09:37 UTC
The message is confusing becase it mentions unrelated type, and because it says 'type jenkins-1.4 diy-0.1' like it's one type.


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