Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10937

OpenShift embeddable cartridges addition needs to be ordered

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 3.3.0.Beta2
    • 3.3.0.Beta1
    • openshift
    • None
    • Hide

      Create an app of type JBossAS7, with the following embeddable cartridges: mongod, rockmongo and 10gen-mms

      The cartridges operation fails with the following exception:

      com.openshift.express.client.OpenShiftEndpointException: Could not configure application "sample" at "https://openshift.redhat.com/broker/embed_cartridge"
         at com.openshift.express.client.OpenShiftService.sendRequest(OpenShiftService.java:429)
         at com.openshift.express.client.OpenShiftService.requestEmbedAction(OpenShiftService.java:407)
         at com.openshift.express.client.OpenShiftService.addEmbeddedCartridge(OpenShiftService.java:391)
         at com.openshift.express.internal.client.Application.addEmbbedCartridge(Application.java:149)
         at com.openshift.express.internal.client.Application.addEmbbedCartridges(Application.java:159)
         at org.jboss.tools.openshift.express.internal.ui.wizard.OpenShiftExpressApplicationWizard$4.run(OpenShiftExpressApplicationWizard.java:222)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      Caused by: com.openshift.express.internal.client.httpclient.InternalServerErrorException: {"result":"\nMongoDB must be embedded before the 10gen MMS Agent\n\n","broker_c":["namespace","rhlogin","ssh","app_uuid","debug","alter","cartridge","cart_type","action","app_name","api"],"messages":"","debug":"Cartridge return code: 137","data":"","broker":"1.1.1","api":"1.1.2","exit_code":1,"api_c":["placeholder"]}
         at com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:102)
         at com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.post(UrlConnectionHttpClient.java:71)
         at com.openshift.express.client.OpenShiftService.sendRequest(OpenShiftService.java:420)
         ... 6 more
      Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: https://openshift.redhat.com/broker/embed_cartridge
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
         at com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.post(UrlConnectionHttpClient.java:66)
         ... 7 more
      
      Show
      Create an app of type JBossAS7, with the following embeddable cartridges: mongod, rockmongo and 10gen-mms The cartridges operation fails with the following exception: com.openshift.express.client.OpenShiftEndpointException: Could not configure application "sample" at "https: //openshift.redhat.com/broker/embed_cartridge" at com.openshift.express.client.OpenShiftService.sendRequest(OpenShiftService.java:429) at com.openshift.express.client.OpenShiftService.requestEmbedAction(OpenShiftService.java:407) at com.openshift.express.client.OpenShiftService.addEmbeddedCartridge(OpenShiftService.java:391) at com.openshift.express.internal.client.Application.addEmbbedCartridge(Application.java:149) at com.openshift.express.internal.client.Application.addEmbbedCartridges(Application.java:159) at org.jboss.tools.openshift.express.internal.ui.wizard.OpenShiftExpressApplicationWizard$4.run(OpenShiftExpressApplicationWizard.java:222) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: com.openshift.express.internal.client.httpclient.InternalServerErrorException: { "result" : "\nMongoDB must be embedded before the 10gen MMS Agent\n\n" , "broker_c" :[ "namespace" , "rhlogin" , "ssh" , "app_uuid" , "debug" , "alter" , "cartridge" , "cart_type" , "action" , "app_name" , "api" ], "messages" : ""," debug ":" Cartridge return code: 137 "," data ":" "," broker ":" 1.1.1 "," api ":" 1.1.2 "," exit_code ":1," api_c ":[" placeholder"]} at com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:102) at com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.post(UrlConnectionHttpClient.java:71) at com.openshift.express.client.OpenShiftService.sendRequest(OpenShiftService.java:420) ... 6 more Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: https: //openshift.redhat.com/broker/embed_cartridge at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234) at com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.post(UrlConnectionHttpClient.java:66) ... 7 more

    Attachments

      Issue Links

        Activity

          People

            adietish@redhat.com André Dietisheim
            xcoulon@redhat.com Xavier Coulon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: