02 03:00:10 gs-test-vmware-oms01.lab.com backupschedule185[539]: successfully create backup scheduled-vio-backup-20xx-yy-zz-uu-00-10 for BackupSchedule backupschedule165
02 03:02:06 gs-test-vmware-oms01.lab.com upload[539]: failed to upload file scheduled-vio-backup-xxxx-yy-zz-uu-00-10 from directory /var/lib/backup to content library gslab-vmware-VCL01
02 03:02:06 gs-test-vmware-oms01.lab.com upload[539]: connection creation failed: x509: certificate signed by unknown authority
25 10:07:23 gs-test-vmware-oms01.lab.com vcenter-vcenter3[539]: time="20xx-yy-zzTxx:yy:zz.311Z" level=error msg="TLS validation error while connecting to 'https://www.example.com/sdk': x509: certificate signed by unknown authority" hostname=gsvmware-lab
Resolved in 7.1
Login to the Manager UI and disable vCenter certificate validation:
Openstack Deployment > <deployment name> > Manage > vCenter Credentials > Select vCenter > Edit > Ignore the vCenter Server certificate validation
Note: If the backup schedule was created prior to that version, update the backup schedule configuration file as below.
#viocli get backupschedule
SCHEDULE NAME STATUS CREATION DATE NAME PREFIX MAX BACKUPS RETAINED KIND LOCATION DESCRIPTION
backupschedule322 Unknown Wed Jun 17 xx:yy:zz UTC 2020 vio7-backup 2 ContentLibrary xxx.yy.zz.uu:backupcontentlib Backups for VIO7 deployment
osctl edit backupschedule <backup_schedule_name>
---
#backupschedules.vio.vmware.com
apiVersion: v1
items:
...
spec:
backupSchedule: 0 3 * * *
description: scheduled-vio-backup
namePrefix: scheduled-vio-backup
retentionPolicy:
maximumNumberOfBackup: 30
target:
contentLibrary:
hostname: .VCenter:vcenter759:spec.hostname <-- remove these 4 lines
insecure: .VCenter:vcenter759:spec.insecure <--
name: ###-###-###
password: .VCenter:vcenter759:spec.password <--
username: .VCenter:vcenter759:spec.username <--
kind: contentLibrary