[
https://issues.jboss.org/browse/JBIDE-13729?page=com.atlassian.jira.plugi...
]
Andre Dietisheim commented on JBIDE-13729:
------------------------------------------
@Stefan: good observation, but definitely not a bug in the tooling. we have to report this
to libra.
The REST service is not reporting the HAProxy cartridge when one queries its embedded
cartridges.
I have a scaling (*<scales-from>2</scales-from>
<scales-to>-1</scales-to>*) application running on 2 gears with HAProxy
embedded (*<cartridge>name>haproxy-1.4</name>*):
{code}
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>
{code}
If I query it's embedded cartridges, the list is empty, the HAProxy is not reported:
{code}
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>
{code}
Error trying to embed HAProxy into scaled application
-----------------------------------------------------
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
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