Skip to content

[WIP] ZSS startup script to use HA-overriden config for that HA instance #826

Draft
Gautham-coder wants to merge 1 commit intov3.x/stagingfrom
bugfix/v3/zss-respect-HAconfig
Draft

[WIP] ZSS startup script to use HA-overriden config for that HA instance #826
Gautham-coder wants to merge 1 commit intov3.x/stagingfrom
bugfix/v3/zss-respect-HAconfig

Conversation

@Gautham-coder
Copy link
Copy Markdown
Contributor

@Gautham-coder Gautham-coder commented Apr 27, 2026

ZSS doesnt respect HA config.

Proposed changes

Start-up ZSS with new HA overriden merged yaml created by zwe internal start prepare and made available throught environment variable ZWE_PRIVATE_HA_INSTANCE_CONFIG

Since the haInstances value is no longer available the cookieName behavior will be modified.

This PR addresses Issue: #737

This PR depends upon the following PRs: zowe/zowe-install-packaging#4759

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Change in a documentation
  • Refactor the code
  • Chore, repository cleanup, updates the dependencies.
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

PR Checklist

Please delete options that are not relevant.

  • If the changes in this PR are meant for the next release / mainline, this PR targets the "staging" branch.
  • My code follows the style guidelines of this project (see: Contributing guideline)
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • New and existing unit tests pass locally with my changes
  • video or image is included if visual changes are made
  • Relevant update to CHANGELOG.md
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works, or describe a test method below

Testing

yaml
components:
  zss:
    enabled: true
    port: 56709
    crossMemoryServerName: "ZWESISV3"
    agent:
      jwt:
        fallback: true
      64bit: true

haInstances:
  lpar1:
    hostname: "lpar1.company.com"
    sysname: ${{ zos.resolveSymbol('&SYSNAME') }}
    components:
      zss:
        port: 56729        # override for this instance
        crossMemoryServerName: "ZWESISV3"

./zwe start --config ../zowe.yaml --ha-instance lpar1

Before fix:

ZWES1035I ZSS Server settings: Address='0.0.0.0', port='56709', protocol='https'

After fix:

ZWES1035I ZSS Server settings: Address='0.0.0.0', port='56729', protocol='https'

Further comments

…d change in cookieName behavior

Signed-off-by: Gautham Kuppuswamy <gkuppuswamy@rocketsoftware.com>
@sonarqubecloud
Copy link
Copy Markdown

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

@Gautham-coder Gautham-coder changed the title ZSS startup script to use HA-overriden config for that HA instance [WIP] ZSS startup script to use HA-overriden config for that HA instance Apr 28, 2026
@Gautham-coder Gautham-coder marked this pull request as draft April 28, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant