You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> AWX Operator 2.13.0 has [a bug that potentially causes data loss](https://forum.ansible.com/t/attention-do-not-upgrade-to-awx-operator-to-2-13-0/4363/3), and its image is already removed from `quay.io`. Use AWX Operator 2.13.1 or later instead.
90
-
91
88
> [!NOTE]
92
89
> From AWX Operator 2.13.0, Default PostgreSQL version is bumped from 13 to 15. If you have a plan to upgrade existing AWX Operator and AWX, refer to [📝Tips: Upgrade AWX Operator and AWX](tips/upgrade-operator.md) to perform additional tasks to database migration.
93
90
@@ -99,7 +96,7 @@ If you want to use files suitable for a specific version of AWX Operator, [refer
Then invoke `kubectl apply -k operator` to deploy AWX Operator.
@@ -171,9 +168,10 @@ Modify the two `password` entries in `base/kustomization.yaml`. Note that the `p
171
168
Prepare directories for Persistent Volumes defined in `base/pv.yaml`. These directories will be used to store your databases and project files. Note that the size of the PVs and PVCs are specified in some of the files in this repository, but since their backends are `hostPath`, its value is just like a label and there is no actual capacity limitation.
Copy file name to clipboardExpand all lines: backup/ansible/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ An example simple playbook for Ansible is also provided in this repository. This
32
32
| - | - | - |
33
33
|`awxbackup_namespace`| The name of the NameSpace where the `AWXBackup` resource will be created. |`awx`|
34
34
|`awxbackup_name`| The name of the `AWXBackup` resource. Dynamically generated using execution time by default. |`awxbackup-{{ lookup('pipe', 'date +%Y-%m-%d-%H-%M-%S') }}`|
35
-
|`awxbackup_spec`| The `spec` of the `AWXBackup` resource. Refer [official documentation](https://github.com/ansible/awx-operator/tree/2.13.0/roles/backup) for acceptable fields. |`deployment_name: awx`<br>`backup_pvc: awx-backup-claim`<br>`clean_backup_on_delete: true`|
35
+
|`awxbackup_spec`| The `spec` of the `AWXBackup` resource. Refer [official documentation](https://github.com/ansible/awx-operator/tree/2.13.1/roles/backup) for acceptable fields. |`deployment_name: awx`<br>`backup_pvc: awx-backup-claim`<br>`clean_backup_on_delete: true`|
36
36
|`awxbackup_timeout`| Time to wait for backup to complete, in seconds. If exceeded, the playbook will fail. |`600`|
37
37
|`awxbackup_keep_days`| Number of days to keep `AWXBackup` resources. `AWXBackup` resources older than this value will be deleted by this playbook. Set `0` to keep forever. |`30`|
- You can specify more specific value for each containers. Refer [official documentation](https://ansible.readthedocs.io/projects/awx-operator/en/latest/user-guide/advanced-configuration/containers-resource-requirements.html) for details.
You should check the permissions and the owner of directories where used as PV on your K3s host.
294
304
295
-
For the PostgreSQL that deployed by **AWX Operator 2.12.2 or earlier**, if you followed my guide, it would be `/data/postgres-13`. There is additional `data` directory created by K3s under `/data/postgres-13`.
305
+
For the PostgreSQL 13 that deployed by **AWX Operator 2.12.2 or earlier**, if you followed my guide, it would be `/data/postgres-13`. There is additional `data` directory created by K3s under `/data/postgres-13`.
296
306
297
307
```bash
298
308
$ ls -ld /data/postgres-13 /data/postgres-13/data
299
309
drwxr-xr-x. 2 root root 18 Aug 20 10:09 /data/postgres-13
300
310
drwxr-xr-x. 3 root root 20 Aug 20 10:09 /data/postgres-13/data
301
311
```
302
312
303
-
In my environment, `755` and `root:root` (`0:0`) works correctly. So you can try:
313
+
In my environment, `755` and `root:root` (`0:0`) works correctly. So you can try following commands.
Or, you can also try `` as owner/group for the directory.
320
+
Or, you can also try `999:0` as owner/group for the directory. `999` is [the UID of the `postgres` user which used in the container](https://github.com/docker-library/postgres/blob/master/13/bullseye/Dockerfile#L13).
`999`is [the UID of the `postgres` user which used in the container](https://github.com/docker-library/postgres/blob/master/13/bullseye/Dockerfile#L13).
318
-
319
-
For the PostgreSQL that deployed by **AWX Operator 2.13.0 or later**, if you followed my guide, it would be `/data/postgres-15`. There is additional `data` directory created by K3s under `/data/postgres-15`.
327
+
For the PostgreSQL 15 that deployed by **AWX Operator 2.13.0 or later**, if you followed my guide, it would be `/data/postgres-15`. There is additional `data` directory created by K3s under `/data/postgres-15`.
320
328
321
329
```bash
322
330
$ ls -ld /data/postgres-15 /data/postgres-15/data
323
331
drwxr-xr-x. 2 root root 18 Aug 20 10:09 /data/postgres-15
324
-
drwxr-xr-x. 3 root root 20 Aug 20 10:09 /data/postgres-15/data
332
+
drwxr-xr-x. 3 26 root 20 Aug 20 10:09 /data/postgres-15/data
325
333
```
326
334
327
-
In my environment, `755` and `26:0` works correctly. So you can try:
335
+
In my environment, `700` and `26:0` works correctly. So you can try following commands. `26` is [the UID of the user which used in the container](https://github.com/sclorg/postgresql-container/blob/master/15/Dockerfile.c9s#L86).
0 commit comments