[JBoss JIRA] (JBIDE-13729) Error trying to embed HAProxy into scaled application: HAProxy not listed in embedded cartridges (OpenShift Explorer, Add/Remove embedded cartridges)
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/JBIDE-13729?page=com.atlassian.jira.plugi... ]
RH Bugzilla Integration commented on JBIDE-13729:
-------------------------------------------------
Andre Dietisheim <adietish(a)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..." -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..." -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
13 years, 1 month
[JBoss JIRA] (JBIDE-13730) Server adapter state [Republish] although Repository is uptodate
by Stefan Bunciak (JIRA)
[ https://issues.jboss.org/browse/JBIDE-13730?page=com.atlassian.jira.plugi... ]
Stefan Bunciak updated JBIDE-13730:
-----------------------------------
Steps to Reproduce:
* EXEC: Create some deployable application (I imported RichFaces quickstart from JBoss Central)
* EXEC: Creat a new OpenShift application and merge it into the project created before
* EXEC: Select Team - Commit & Push
* ASSERT: In most cases EGit Push will timeout and give something like
{code}
An exception occurred during push on URI ssh://51372c12500446ed430000ed@rf-sbunciak.rhcloud.com/~/git/rf.git/: ssh://51372c12500446ed430000ed@rf-sbunciak.rhcloud.com/~/git/rf.git/: Read timed out
{code}
* ASSERT: Server adapter states that it needs to be republished (but if you open remote console - Tail Files - you will see that the app is deploying)
* EXEC: Publish application via Server adapter
* ASSERT: Output is Repository already uptodate.
* REULST: Server adapter still saying [Republish] -> should be synchronized imho:
!republishsync.png|thumbnail!
was:
* EXEC: Create some deployable application (I imported RichFaces quickstart from JBoss Central)
* EXEC: Creat a new OpenShift application and merge it into the project created before
* EXEC: Select Team - Commit & Push
* ASSERT: In most cases EGit Push will timeout
* ASSERT: Server adapter states that it needs to be republished (but if you open remote console - Tail Files - you will see that the app is deploying)
* EXEC: Publish application via Server adapter
* ASSERT: Output is Repository already uptodate.
* REULST: Server adapter still saying [Republish] -> should be synchronized imho:
!republishsync.png|thumbnail!
> Server adapter state [Republish] although Repository is uptodate
> ----------------------------------------------------------------
>
> Key: JBIDE-13730
> URL: https://issues.jboss.org/browse/JBIDE-13730
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: JBossAS/Servers, openshift
> Affects Versions: 4.1.0.Alpha1
> Reporter: Stefan Bunciak
> Assignee: Rob Stryker
> Fix For: 4.1.0.Alpha2
>
> Attachments: republishsync.png
>
>
--
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
13 years, 1 month
[JBoss JIRA] (JBIDE-13729) Error trying to embed HAProxy into scaled application
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-13729?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-13729:
------------------------------------------
Nevertheless I put the priority down to minor since this is not critical nor breaking the user experience in any way. The error is handled gracefully, the only missing part is that the HAProxy is not reported in OpenShift Explorer nor in the list of embedded cartridges when you edit these.
> 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
13 years, 1 month
[JBoss JIRA] (JBIDE-13729) Error trying to embed HAProxy into scaled application
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-13729?page=com.atlassian.jira.plugi... ]
Andre Dietisheim edited comment on JBIDE-13729 at 3/6/13 6:56 AM:
------------------------------------------------------------------
@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..." -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..." -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}
Thus OpenShift Explorer is not reporting the HAProxy nor is the dialog to add/remove embedded cartridges.
was (Author: adietish):
@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..." -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..." -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
13 years, 1 month