zowe / zowe-install-packaging

Packaging repository for the Zowe install scripts and files
Eclipse Public License 2.0
27 stars 52 forks source link

Many missing variables in Zowe configuration workflow #3594

Closed js665999 closed 11 months ago

js665999 commented 11 months ago

Describe the bug Workflow is hardcoded to outdated Zowe version. Following variables are missing from zowe.yaml generated by workflows. Compared against v2.11

zowe.setup.dataset.parmlibMembers.zis: ZWESIP00 zowe.setup.dataset.loadlib: IBMUSER.ZWEV2.SZWELOAD zowe.useConfigmgr: true zowe.configmgr.validation: "COMPONENT-COMPAT" zowe.rbacProfileIdentifier: "1" zowe.cookieIdentifier: "1" zowe.onComponentConfigureFail: "warn" components.cloud-gateway.enabled: false components.cloud-gateway.port: 7563 components.cloud-gateway.debug: false components.jobs-api.enabled: false components.files-api.enabled: false components.caching-service.infinispan.jgroups.port: 7600 components.app-server.debug: false components.zss.agent.jwt.fallback: true

Additional issues

balhar-jakub commented 11 months ago

I believe that around 2.9 the config manager is the default mode of operation, when there is no value in zowe.useConfigMgr as such it probably doesn't need to be part of the workflow.

js665999 commented 11 months ago

I believe that around 2.9 the config manager is the default mode of operation, when there is no value in zowe.useConfigMgr as such it probably doesn't need to be part of the workflow.

Will that be ok with backward compatibility requirements? Without the variable, same config file will behave differently on different versions.

balhar-jakub commented 11 months ago

There was an agreement about it and the decision on TSC call was that we are able to live with the potential risk.

JoeNemo commented 11 months ago

I am not sure how these workflows are staying in sync with the example and the json schema(s) of zowe base and components.

balhar-jakub commented 11 months ago

They probably don't and therefore the correct answer would be to generate them based on the JSON schema, which I believe @jp669844 plans to open as a new issue to actually discuss.

jp669844 commented 11 months ago

They are clearly out of sync. The plan is to employ a JSON schema, potentially enhancing it, and make it the sole source of truth for both the YAML file and the z/OSMF workflow.

jp669844 commented 11 months ago

https://github.com/zowe/zowe-install-packaging/issues/3608