Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RHPAM-724] Added rhpam70-prod-immutable-monitor & rhpam70-prod-immutable-kieserver templates #32

Conversation

bmozaffa
Copy link
Contributor

https://issues.jboss.org/browse/RHBA-724

Signed-off-by: Babak Mozaffari bmozaffa@redhat.com

Thanks for submitting your Pull Request!

Please make sure your PR meets the following requirements:

  • Pull Request title is properly formatted: [CLOUD-XYA] Subject
  • Pull Request contains link to the JIRA issue
  • Pull Request contains description of the issue
  • Pull Request does not include fixes for issues other than the main ticket
  • Attached commits represent units of work and are properly formatted
  • You have read and agreed to the Developer Certificate of Origin (DCO) (see CONTRIBUTING.md)
  • Every commit contains Signed-off-by: Your Name <yourname@example.com> - use git commit -s

@bmozaffa
Copy link
Contributor Author

@sutaakar Here is on with SSO support

@sutaakar
Copy link
Contributor

@jakubschwan Can you please take a look?

value: KIE Server Router
- displayName: KIE Server Monitor User
description: KIE server monitor username (Sets the org.kie.server.controller.user system property)
name: KIE_SERVER_MONITOR_USER
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the reason of renaming KIE_SERVER_CONTROLLER_USER ? I am afraid that this change can be confusing because here in template we set Monitor User but for image we set this Monitor User as Controller User.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've been discussing that in production and with immutable images, most customers expect there to not be a "controller". As the name applies, the controller in fact controls what KIE containers are deployed and started on KIE servers, and has to be running for a KIE server to validate its configuration and start up. That is not the case for this template, or at least it won't be after https://issues.jboss.org/browse/RHPAM-794 is merged and effective. I think a better parameter name would solidify this understanding (even if not renamed upstream), but am open to changing it back if I'm in the minority on this.

@bmozaffa
Copy link
Contributor Author

@jakubschwan To make sure you don't waste time, let me warn you that in my own validation, the SSO_Client parameter was not effective and it always set the client to "root". This should be resolved with this Pull Request but not sure if it's in our built images yet.

@bmozaffa bmozaffa changed the title [RHBA-724] Added rhpam70-prod-immutable-monitor template [RHBA-724] Added rhpam70-prod-immutable-monitor & rhpam70-prod-immutable-kieserver templates Apr 15, 2018
@bmozaffa
Copy link
Contributor Author

Updated PR to include rhpam70-prod-immutable-kieserver, and support for RHPAM-794

@bmozaffa bmozaffa changed the title [RHBA-724] Added rhpam70-prod-immutable-monitor & rhpam70-prod-immutable-kieserver templates [RHPAM-724] Added rhpam70-prod-immutable-monitor & rhpam70-prod-immutable-kieserver templates Apr 16, 2018
@errantepiphany
Copy link
Collaborator

@jakubschwan , @bmozaffa , @sutaakar : Is this PR ready to be merged?

namespace: "${IMAGE_STREAM_NAMESPACE}"
name: "rhpam70-smartrouter-openshift:${IMAGE_STREAM_TAG}"
- type: ConfigChange
replicas: 2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove replicas for now.
Smart Router can't be clustered because watcher is not enabled (org.kie.server.router.config.watcher.enabled) and there is not create shared volume for config file. Reported as https://issues.jboss.org/browse/RHPAM-796

@jakubschwan
Copy link
Contributor

jakubschwan commented Apr 17, 2018

@bmozaffa There is a need to add AMQ for Monitorng because now controller is not updated between pods.

- name: RHPAM_JTA
value: "true"
- name: RHPAM_TX_ISOLATION
value: "TRANSACTION_READ_UNCOMMITTED"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should not be hardcoded, see my comment on #36

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see my reply there and let me know what you think.

@bmozaffa
Copy link
Contributor Author

Pushed to set replicas to 1 for business central and smart router, to allow us to have valid templates for the time being until the HA part is figured out.

… and rhpam70-prod-immutable-kieserver.yaml, with support for RHPAM-794

Signed-off-by: Babak Mozaffari <bmozaffa@redhat.com>
@errantepiphany errantepiphany merged commit 29ea29d into jboss-container-images:rhpam70-dev Apr 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants