action #174808
openSynchronization between two openQA-WebUI servers with openqa-load-templates fails with "Internal Server Error: Unable to create group"
0%
Description
We have two running openQA-WebUI servers:
1st - production, where tests are run every day
2nd - test server, where new tests are developed.
When new products or test suites are added or modified on the 2nd server, I try to apply these changes to the 1st server using openqa-dump-templates and openqa-load-templates (so I don’t have to do it manually). However, I encounter an error.
On 2nd server:
$ openqa-dump-templates > dump.yaml
$ scp dump.yaml user@1st_server:~/
On 1st server:
$ openqa-load-templates --update dump.yml
Internal Server Error: Unable to create group with existing name 'JOB_GROUP_NAME' at /usr/bin/openqa-load-templates line 109.
Despite this error, records are successfully added or updated in the Medium types, Machines, and Test suites tables. The script then fails while trying to create a job group with a name that already exists (it’s unclear why it tries to create a group at all). As a result, it looks like the script never completes properly.
Is this the expected behavior of the script?
Is there a correct way to synchronize configuration between two openQA-WebUI servers?
Updated by okurz about 16 hours ago
- Tags set to reactive work, support
- Subject changed from Synchronization between two openQA-WebUI servers to Synchronization between two openQA-WebUI servers with openqa-load-templates fails with "Internal Server Error: Unable to create group"
- Category set to Support
- Priority changed from Normal to High
- Target version set to Ready