[jbosstools-issues] [JBoss JIRA] (JBIDE-13729) Error trying to embed HAProxy into scaled application: HAProxy not listed in embedded cartridges (OpenShift Explorer, Add/Remove embedded cartridges)

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Wed Mar 6 07:05:57 EST 2013


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

RH Bugzilla Integration commented on JBIDE-13729:
-------------------------------------------------

Andre Dietisheim <adietish at redhat.com> made a comment on [bug 918501|https://bugzilla.redhat.com/show_bug.cgi?id=918501]

Description of problem:
HAProxy is not reported in the embedded cartridges

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

How reproducible:
always

Steps to Reproduce:
1. ASSERT: make sure you have a scaling application running on OpenShift
2. EXEC:  inspect it and verify that it is scaling (scales-from, scales-to) and that it has HAProxy embedded (cartridge/name: haproxy-1.4):
curl -H "Accept: application/xml; version=1.0" --user <USER>:<PASS> "https://openshift.redhat.com/broker/rest/domains/honkabonka2/applications/scalable/gear_groups" -X GET

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <status>ok</status>
  <type>gear_groups</type>
  <data>
    <gear-group>
      <uuid>51371581e0b8cd15b900002e</uuid>
      <name>51371581e0b8cd15b900002e</name>
      <gear-profile>medium</gear-profile>
      <gears>
        <gear>
          <id>51371581e0b8cd15b900001b</id>
          <state>started</state>
        </gear>
        <gear>
          <id>513728ee5004465cbb0002bd</id>
          <state>started</state>
        </gear>
      </gears>
      <cartridges>
        <cartridge>
          <name>jbosseap-6.0</name>
          <display-name>JBoss Enterprise Application Platform 6.0</display-name>
          <tags>
            <tag>service</tag>
            <tag>web_framework</tag>
            <tag>java</tag>
            <tag>jboss</tag>
            <tag>jee_full_profile</tag>
            <tag>premium</tag>
          </tags>
        </cartridge>
        <cartridge>
          <name>haproxy-1.4</name>
          <display-name>OpenShift Web Balancer</display-name>
          <tags>
            <tag>web_proxy</tag>
            <tag>scales</tag>
            <tag>embedded</tag>
          </tags>
        </cartridge>
      </cartridges>
      <scales-from>2</scales-from>
      <scales-to>-1</scales-to>
      <base-gear-storage>1</base-gear-storage>
      <additional-gear-storage>0</additional-gear-storage>
    </gear-group>
  </data>
  <messages/>
  <version>1.0</version>
  <supported-api-versions>
    <supported-api-version>1.0</supported-api-version>
    <supported-api-version>1.1</supported-api-version>
    <supported-api-version>1.2</supported-api-version>
    <supported-api-version>1.3</supported-api-version>
  </supported-api-versions>
</response>

3. Now query the embedded cartridges:
curl --proxy http://file.rdu.redhat.com:3128 -H "Accept: application/xml; version=1.0" --user <USER>:<PASS> "https://openshift.redhat.com/broker/rest/domains/honkabonka2/applications/scalable/cartridges" -X GET

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <status>ok</status>
  <type>cartridges</type>
  <data/>
  <messages/>
  <version>1.0</version>
  <supported-api-versions>
    <supported-api-version>1.0</supported-api-version>
    <supported-api-version>1.1</supported-api-version>
    <supported-api-version>1.2</supported-api-version>
    <supported-api-version>1.3</supported-api-version>
  </supported-api-versions>
</response>
  
Actual results:
HAProxy is not listed in the embedded cartridges.

Expected results:
HAProxy should be listed in the list of embedded cartridges at <application>/cartridges
                
> Error trying to embed HAProxy into scaled application: HAProxy not listed in embedded cartridges (OpenShift Explorer, Add/Remove embedded cartridges)
> -----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-13729
>                 URL: https://issues.jboss.org/browse/JBIDE-13729
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.1.0.Alpha1
>            Reporter: Stefan Bunciak
>            Assignee: Andre Dietisheim
>            Priority: Minor
>             Fix For: 4.1.0.Alpha2
>
>         Attachments: scaledeap.png
>
>
> HAProxy cartridge not displayed in OpenShift Explorer even it is already embedded during the process of creating scaled application.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list