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
The text was updated successfully, but these errors were encountered:
VestigeJ
changed the title
[Release-1.22] etcd-snapshot loading config fails with "flag provided but not defined: -profile" #2129
[Release-1.22] etcd-snapshot loading config fails with "flag provided but not defined: -profile"
Nov 30, 2021
WARN[0000] Unknown flag --write-kubeconfig-mode found in config.yaml, skipping
WARN[0000] Unknown flag --tls-san found in config.yaml, skipping
WARN[0000] Unknown flag --node-label found in config.yaml, skipping
WARN[0000] Unknown flag --node-label found in config.yaml, skipping
WARN[0000] Unknown flag --etcd-expose-metrics found in config.yaml, skipping
WARN[0000] Unknown flag --etcd-snapshot-name found in config.yaml, skipping
WARN[0000] Unknown flag --etcd-snapshot-schedule-cron found in config.yaml, skipping
WARN[0000] Unknown flag --etcd-snapshot-retention found in config.yaml, skipping
WARN[0000] Unknown flag --etcd-snapshot-dir found in config.yaml, skipping
WARN[0000] Unknown flag --profile found in config.yaml, skipping
INFO[0000] Managed etcd cluster bootstrap already complete and initialized
INFO[0000] Applying CRD addons.k3s.cattle.io
INFO[0000] Applying CRD helmcharts.helm.cattle.io
INFO[0000] Applying CRD helmchartconfigs.helm.cattle.io
...
...
...
INFO[0000] Saving etcd snapshot on-demand-ip-155-5-55-55.us-north-9.compute.internal-55 to S3
INFO[0000] Checking if S3 bucket justin-validation-bucket exists
INFO[0000] S3 bucket justin-validation-bucket exists
INFO[0001] S3 upload complete for on-demand-ip-155-5-55-55.us-north-9.compute.internal-55
INFO[0001] Saving current etcd snapshot set to rke2-etcd-snapshots ConfigMap
This is a backport issue for #2103
Environmental Info:
RKE2 Version:
rke2 version v1.21.6+rke2r1 (b915fc9)
go version go1.16.6b7
Node(s) CPU architecture, OS, and Version:
N/A
Cluster Configuration:
N/A
Describe the bug:
Running the etcd-snapshot commands throw an error flag provided but not defined: -profile.
Steps To Reproduce:
Have the profile set in the config file and run the etcd-snapshot which loads the default config.
Expected behavior:
Runs snapshot.
Actual behavior:
Throw error saying flag profile is not defined.
@rancher-max
The text was updated successfully, but these errors were encountered: