[
https://issues.redhat.com/browse/WFWIP-359?page=com.atlassian.jira.plugin...
]
Kabir Khan edited comment on WFWIP-359 at 9/24/20 10:45 AM:
------------------------------------------------------------
Enhanced status message:
{code:java}
$java -jar target/jboss-eap-xp-patch-stream-manager-2.0.0.Final-SNAPSHOT.jar status
--jboss-home=../xp-patching/jboss-eap-7.3
Starting JBoss EAP XP manager (2.0.0.Final-SNAPSHOT).
The JBoss EAP XP patch stream setup in the JBoss EAP server seems broken.
You have more than one JBoss EAP XP patch stream set up in the JBoss EAP server. You may
end up in this situation if you installed the latest XP patch stream and applied patches
from an older JBoss EAP XP patch stream. To recover from this you need to run the
'remove' command, run 'setup' again and make sure you only install JBoss
EAP XP patch stream patches from the current JBoss EAP XP patch stream.
Enabled patch streams and their cumulative patch ids:
- Patch stream: 'JBoss EAP'; Cumulative patch id: 'base'
- Patch stream: 'jboss-eap-xp-2.0'; Cumulative patch id: 'base'
- Patch stream: 'jboss-eap-xp-1.0'; Cumulative patch id:
'jboss-eap-xp-1.0.0.CP'
Available commands in this state are: [remove]
{code}
[~amehendal] This might be of interest to you. Essentially the issue is that we cannot
stop the user from enabling the XP 2.0 patch stream and then applying XP 1.0 patches. Once
they apply the XP 1.0 patch, that is also available as a patch stream which makes the
installation broken.
I will try to change the XP manager to check the streams from the patch-apply command to
avoid this there, but they may still get into this situation by applying patches from the
CLI.
was (Author: kabirkhan):
Enhanced status message:
{code:java}
$java -jar target/jboss-eap-xp-patch-stream-manager-2.0.0.Final-SNAPSHOT.jar status
--jboss-home=../xp-patching/jboss-eap-7.3
Starting JBoss EAP XP manager (2.0.0.Final-SNAPSHOT).
The JBoss EAP XP patch stream setup in the JBoss EAP server seems broken.
You have more than one JBoss EAP XP patch stream set up in the JBoss EAP server. You may
end up in this situation if you installed the latest XP patch stream and applied patches
from an older JBoss EAP XP patch stream. To recover from this you need to run the
'remove' command, run 'setup' again and make sure you only install JBoss
EAP XP patch stream patches from the current JBoss EAP XP patch stream.
Enabled patch streams and their cumulative patch ids:
- Patch stream: 'JBoss EAP'; Cumulative patch id: 'base'
- Patch stream: 'jboss-eap-xp-2.0'; Cumulative patch id: 'base'
- Patch stream: 'jboss-eap-xp-1.0'; Cumulative patch id:
'jboss-eap-xp-1.0.0.CP'
Available commands in this state are: [remove]
{code}
Server can get to state, where XP2 manager thinks both XP1 and XP2
streams are active
-------------------------------------------------------------------------------------
Key: WFWIP-359
URL:
https://issues.redhat.com/browse/WFWIP-359
Project: WildFly WIP
Issue Type: Bug
Reporter: Martin Svehla
Assignee: Kabir Khan
Priority: Major
If I run setup first, manager activates XP2 stream. However, if I then use patch-apply to
apply XP1 patch, manager lets this action to happen and then thinks both streams are
active.
{code}
$ java -jar manager.jar status --jboss-home=jboss-eap-73
Starting JBoss EAP XP manager (2.0.0.Final-redhat-20200911).
The JBoss EAP XP patch stream is enabled. You may apply patches both from the JBoss EAP
and the JBoss EAP XP patch streams. While enabled the following support policy applies:
[snip]
You are currently on JBoss EAP XP 2.
Enabled patch streams and their cumulative patch ids:
- Patch stream: 'JBoss EAP'; Cumulative patch id: 'base'
- Patch stream: 'jboss-eap-xp-2.0'; Cumulative patch id: 'base'
Available commands in this state are: [remove]
{code}
{code}
$ java -jar manager.jar patch-apply --jboss-home=jboss-eap-7.3
--patch=jboss-eap-xp-1.0.2.GA-redhat-20200911-patch.zip
{code}
{code}
$ java -jar manager.jar status --jboss-home=jboss-eap-7.3
Starting JBoss EAP XP manager (2.0.0.Final-redhat-20200911).
The JBoss EAP XP patch stream setup in the JBoss EAP server seems broken.
Enabled patch streams and their cumulative patch ids:
- Patch stream: 'JBoss EAP'; Cumulative patch id: 'base'
- Patch stream: 'jboss-eap-xp-2.0'; Cumulative patch id: 'base'
- Patch stream: 'jboss-eap-xp-1.0'; Cumulative patch id:
'jboss-eap-xp-1.0.2.CP'
Available commands in this state are: [remove]
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)