# AWX Backup (Operator) is not work at Redhat Openshift 4.15.0, Write awx object to pvc Error

**URL:** <https://forum.ansible.com/t/awx-backup-operator-is-not-work-at-redhat-openshift-4-15-0-write-awx-object-to-pvc-error/4348>\
**Category:** Get Help\
**Tags:** kubernetes, awx-operator, openshift, awx\
**Created:** [March 13, 2024, 1:37am UTC](https://forum.ansible.com/t/awx-backup-operator-is-not-work-at-redhat-openshift-4-15-0-write-awx-object-to-pvc-error/4348 "2024-03-13T01:37:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![swlee](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/swlee/32/2566_2.png) [@swlee](https://forum.ansible.com/u/swlee)\
**Post date:** [March 13, 2024, 1:37am UTC](https://forum.ansible.com/t/awx-backup-operator-is-not-work-at-redhat-openshift-4-15-0-write-awx-object-to-pvc-error/4348/1 "2024-03-13T01:37:34Z")

</div>

Hi there, I was install AWX Operator in RedHat Openshift, And i Need to Craete AWX Backup use by AWX Operator.

But, When I execute AWX Backup, I can see error that like this.

# Operator Version is 2.12.0

```auto
TASK [Write awx object to pvc] ********************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ValueError: too many values to unpack (expected 2)
fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/opt/ansible/.ansible/tmp/ansible-tmp-1710292924.5279477-5572-226092363804075/AnsiballZ_k8s_cp.py\", line 107, in <module>\n _ansiballz_main()\n File \"/opt/ansible/.ansible/tmp/ansible-tmp-1710292924.5279477-5572-226092363804075/AnsiballZ_k8s_cp.py\", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/opt/ansible/.ansible/tmp/ansible-tmp-1710292924.5279477-5572-226092363804075/AnsiballZ_k8s_cp.py\", line 47, in invoke_module\n runpy.run_module(mod_name='ansible_collections.kubernetes.core.plugins.modules.k8s_cp', init_globals=dict(_module_fqn='ansible_collections.kubernetes.core.plugins.modules.k8s_cp', _modlib_path=modlib_path),\n File \"/usr/lib64/python3.9/runpy.py\", line 225, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/usr/lib64/python3.9/runpy.py\", line 97, in _run_module_code...
-------------------------------------------------------------------------------
{"level":"error","ts":"2024-03-13T01:22:07Z","logger":"logging_event_handler","msg":"","name":"swleeback","namespace":"awx","gvk":"awx.ansible.com/v1beta1, Kind=AWXBackup","event_type":"runner_on_failed","job":"4819447133874507710","EventData.Task":"Write awx object to pvc","EventData.TaskArgs":"","EventData.FailedTaskPath":"/opt/ansible/roles/backup/tasks/awx-cro.yml:30","error":"[playbook task failed]","stacktrace":"github.com/operator-framework/ansible-operator-plugins/internal/ansible/events.loggingEventHandler.Handle\n\tansible-operator-plugins/internal/ansible/events/log_events.go:111"}
{"level":"error","ts":"2024-03-13T01:22:07Z","logger":"runner","msg":"\u001b[0;34mansible-playbook [core 2.15.3]\u001b[0m\r\n\u001b[0;34m config file = /etc/ansible/ansible.cfg\u001b[0m\r\n\u001b[0;34m configured module search path = ['/usr/share/ansible/openshift']\u001b[0m\r\n\u001b[0;34m ansible python module location = /usr/local/lib/python3.9/site-packages/ansible\u001b[0m\r\n\u001b[0;34m ansible collection location = /opt/ansible/.ansible/collections:/usr/share/ansible/collections\u001b[0m\r\n\u001b[0;34m executable location = /usr/local/bin/ansible-playbook\u001b[0m\r\n\u001b[0;34m python version = 3.9.16 (main, May 31 2023, 12:21:58) [GCC 8.5.0 20210514 (Red Hat 8.5.0-18)] (/usr/bin/python3)\u001b[0m\r\n\u001b[0;34m jinja version = 3.1.2\u001b[0m\r\n\u001b[0;34m libyaml = True\u001b[0m\r\n\u001b[0;34mUsing /etc/ansible/ansible.cfg as config file\u001b[0m\r\n\u001b[0;34mSkipping callback 'awx_display', as we already have a stdout callback.\u001b[0m\n\u001b[0;34mSkipping callback 'default', a...
----- Ansible Task Status Event StdOut (awx.ansible.com/v1beta1, Kind=AWXBackup, swleeback/awx) -----
PLAY RECAP *********************************************************************
localhost : ok=38 changed=6 unreachable=0 failed=1 skipped=8 rescued=0 ignored=0

```

I use Storage Class local lvm like this.

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/f/f81b3935a00704a3de3893861ec339216193019f.png)

How can i solve that errors?

Thanks.

---

<div class="post-metadata">

**Author:** ![gundalow](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/gundalow/32/99_2.png) [@gundalow](https://forum.ansible.com/u/gundalow)\
**Post date:** [March 13, 2024, 6:43pm UTC](https://forum.ansible.com/t/awx-backup-operator-is-not-work-at-redhat-openshift-4-15-0-write-awx-object-to-pvc-error/4348/2 "2024-03-13T18:43:54Z")

</div>

@swlee Thank you for reporting this, and welcome to The Forum.

I think it should be fixed by [Skip replicas test for awx-operator by TheRealHaoLiu · Pull Request #14987 · ansible/awx · GitHub](https://github.com/ansible/awx/pull/14987) which we’ve just merged.  
I don’t have a date for the next AWX release, though I think we will do one sooner rather than later.
