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

Backup-Restore Missing Environment Variables #1483

Open
faangbait opened this issue Sep 21, 2024 · 0 comments
Open

Backup-Restore Missing Environment Variables #1483

faangbait opened this issue Sep 21, 2024 · 0 comments
Labels
Bug Report Something isn't working

Comments

@faangbait
Copy link
Contributor

Collection version

22.3.2

Environment information

ansible             8.7.0
ansible-core        2.15.12

What happened?

This ticket is reopening #1430 -- more variables are missing in the scheduled job.

I suspect the line in ansible-devops/ibm/mas_devops/common_tasks/backup_restore/create_run_tasks_job.yml which is responsible for populating the MASBR_ variables is not working as intended.

Relevant log output

Pods Statuses:    0 Active (0 Ready) / 0 Succeeded / 2 Failed
Pod Template:
  Labels:           batch.kubernetes.io/controller-uid=9d3d2328-e245-4fba-89d8-74b20263b849
                    batch.kubernetes.io/job-name=schedule-full-20240821230439-28739765
                    controller-uid=9d3d2328-e245-4fba-89d8-74b20263b849
                    job-name=schedule-full-20240821230439-28739765
                    mas.ibm.com/masbr=
                    masbr-type=schedule
  Service Account:  masbr-sa
  Containers:
   main:
    Image:      quay.io/ibmmas/cli:latest
    Port:       <none>
    Host Port:  <none>
    Command:
      sh
      -c
      ROLE_NAME=suite_backup_restore ansible-playbook ibm.mas_devops.run_role
    Environment:
      ANSIBLE_LOG_PATH:                 /tmp/ansible.log
      MASBR_CONFIRM_CLUSTER:            false
      MASBR_CREATE_TASK_JOB:            false
      MASBR_RUNNING_IN_TASK_JOB:        true
      MASBR_TASK_JOB_NAMESPACE:         mas-max-core
      MASBR_TASK_JOB_NAME:              schedule-full-20240821230439
      MASBR_JOB_VERSION:                20240821230438
      MAS_INSTANCE_ID:                  max
      MASBR_STORAGE_CLOUD_RCLONE_FILE:  /mnt/configmap/rclone.conf
    Mounts:
      /mnt/configmap from cm-volume (ro)
@faangbait faangbait added the Bug Report Something isn't working label Sep 21, 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