[jbosstools-issues] [JBoss JIRA] (JBIDE-18679) JBDS IDE for Creating New Openshift Application does not differentiate between cartridges that support scaling and cartridges that do not support scaling.

Marián Labuda (JIRA) issues at jboss.org
Thu Oct 23 04:12:35 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-18679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13014494#comment-13014494 ] 

Marián Labuda commented on JBIDE-18679:
---------------------------------------

[~adietish] it seems that REST API provide in json key-value pairs supported_scales_from and supported_scales_to. Non-scalable applications have values 1 and 1, but scalable application has 1 and -1 (maybe there also could be some maximum number occured, need more exploration). I think it could check whether *from and *to are same or not...

To 2.: There is JIRA JBIDE-16040 for this. The haproxy should not be listed there.

> JBDS IDE for Creating New Openshift Application does not differentiate between cartridges that support scaling and cartridges that do not support scaling.
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-18679
>                 URL: https://issues.jboss.org/browse/JBIDE-18679
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: openshift
>    Affects Versions: 4.2.0.CR2
>         Environment: JBDS IDE CR02 release,   Open Shift Wizard - to create new openshift applications. 
>            Reporter: Aakanksha Singh
>            Priority: Minor
>             Fix For: 4.3.x
>
>
> When I create a new openshift application using Openshift Application wizard, the application creation fails. 
> If i choose a cartidge without knowing if it is scalable, my application is not created due to the following reasons. 
> 1. I choose a cartridge, for example diy-0.1 and proceed to select the "Enable scaling " feature in the wizard. My app is not created as the cartiridge is not scalable. 
> Error message:
> "Could not request https://openshift.redhat.com/broker/rest/domain/aakanksha/applications?include=cartridges: The cartridge 'diy-0.1' does not support being made scalable."
> 2.  I choose a cartridge, for example haproxy-1.4  and proceed without selecting the "Enable scaling " feature in the wizard. My app is not created as the cartiridge is scalable. 
> Error message: 
> 1]Error Message:
> "Could not create application aakanksha
> Could not request https://openshift.redhat.com/broker/rest/domain/aakanksha/applications?include=cartridges: haproxy-1.4 cannot be added to existing applications. It is automatically added when you create a scaling application."
> Change requested: 
> Somewhere in the UI the "enable scaling" and the list of cartridges should be linked. 
> So If user selects a cartridge is not scalable and selects "Enable scaling" feature, the UI shows a warning sign. 
> OR  
> Once user selects "Enable scaling", only the list of cartridges that are scalable should be displayed in the UI and viceversa. 



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)



More information about the jbosstools-issues mailing list