Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.1.0, 2.2.0
-
None
-
1
Description
The CronJob command line arguments generated for a CouchbaseBackup include "–threads 1" which produces the following error when run...
usage: backup_script [-h] [-s STRATEGY] [-c CONFIG] [-m MODE] [-r REPO]
[--start START] [--end END] [-b BACKUP_RET]
[--cacert CACERT] [-l LOG_RET] [-v VERBOSITY]
[--s3-bucket S3_BUCKET] [--s3-region S3_REGION]
[--s3-access-key-id S3_ACCESS_KEY_ID]
[--s3-secret-access-key S3_SECRET_ACCESS_KEY]
cluster
backup_script: error: unrecognized arguments: --threads 1
Manually removing the "--threads 1" argument resolves the issue.
(This is for operator:2.2.0 and operator-backup:1.1.0.)
Yeah I was mistaken too, the update code does appear to work, seems Kubernetes has changed to be more user friendly! The cronjob update should be practically instantaneous, so that's still a mystery as to why the delay.