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

Playbook "oneclick_add_manage" creates persistent volumes for /DOCLINKS and /bim unconditionally if JMS is configured #1484

Open
ESyq opened this issue Sep 23, 2024 · 0 comments
Labels
Bug Report Something isn't working

Comments

@ESyq
Copy link

ESyq commented Sep 23, 2024

Collection version

22.3.1

Environment information

quay.io/ibmmas/cli:10.7.3

What happened?

Running the MAS DevOps Ansible Collection playbook "oneclick_add_manage" with the following variables:

export CONFIGURE_MANAGE_ATTACHMENTS=false
export CONFIGURE_MANAGE_BIM=false           
export MAS_APP_SETTINGS_SERVER_BUNDLES_SIZE=snojms   
export MAS_APP_SETTINGS_PERSISTENT_VOLUMES_FLAG=false 

Setting MAS_APP_SETTINGS_PERSISTENT_VOLUMES_FLAG=false should result in persistent volumes to not be configured for /DOCLINKS and /bim.

However, the automation still attempts to configure persistent volumes for /DOCLINKS and /bim, result in undefined errors during suite_app_config step.

Relevant log output

TASK [ibm.mas_devops.suite_app_config : Assert Manage related storage classes are defined] *****************************************************************************
fatal: [localhost]: FAILED! => changed=false 
  assertion: mas_app_settings_doclinks_pvc_storage_class != ''
  evaluated_to: false
  msg:
  - Failed! One of more storage classes are not defined for Manage!
  - It was not possible to auto detect a valid storage class as none of the defaulted options were found ....................... ['ibmc-file-gold-gid', 'ocs-storagecluster-cephfs', 'azurefiles-premium', 'efs']
  - Storage Classes available in your cluster .................................................................................. ['efs-sc', 'gp2-csi', 'gp3-csi']
  - ''
  - 'Please, ensure you define a valid storage class for the following:'
  - ''
  - mas_app_settings_doclinks_pvc_storage_class' property ...................................................................... Undefined!
  - mas_app_settings_bim_pvc_storage_class' property ........................................................................... Undefined!
  - mas_app_settings_jms_queue_pvc_storage_class' property ..................................................................... efs-sc
@ESyq ESyq added the Bug Report Something isn't working label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Report Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant