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
Because the metadata.yaml for the release 0.5.0 only reference the 0.5 series, it seems to be impossible to upgrade the Cloudstack provider without using an override.
What steps did you take and what happened:
On a management cluster with cloudstack provider 0.4.8 deployed, I ran clusterctl upgrade plan, which failed with the error :
Error: invalid provider metadata: version v0.4.8 (the current version) for the provider capc-system/infrastructure-cloudstack does not match any release series
What did you expect to happen:
The command to succeed.
Anything else you would like to add:
It is possible to plan the upgrade by creating an override file as follow in ~/.config/cluster-api/overrides/infrastructure-cloudstack/v0.5.0/metadata.yaml
With this override file, the upgrade plan succeed :
# clusterctl upgrade plan
Checking if cert-manager needs upgrade...
Cert-Manager will be upgraded from "v1.9.1" to "v1.14.5"
Checking new release availability...
Latest release available for the v1beta1 API Version of Cluster API (contract):
NAME NAMESPACE TYPE CURRENT VERSION NEXT VERSION
bootstrap-kubeadm capi-kubeadm-bootstrap-system BootstrapProvider v1.3.5 v1.8.5
control-plane-kubeadm capi-kubeadm-control-plane-system ControlPlaneProvider v1.3.5 v1.8.5
cluster-api capi-system CoreProvider v1.3.5 v1.8.5
infrastructure-cloudstack capc-system InfrastructureProvider v0.4.8 v0.5.0
You can now apply the upgrade by executing the following command:
clusterctl upgrade apply --contract v1beta1
Environment:
Cluster-api-provider-cloudstack version:
Kubernetes version: (use kubectl version):
OS (e.g. from /etc/os-release):
The text was updated successfully, but these errors were encountered:
/kind bug
Because the metadata.yaml for the release 0.5.0 only reference the 0.5 series, it seems to be impossible to upgrade the Cloudstack provider without using an override.
What steps did you take and what happened:
On a management cluster with cloudstack provider 0.4.8 deployed, I ran
clusterctl upgrade plan
, which failed with the error :What did you expect to happen:
The command to succeed.
Anything else you would like to add:
It is possible to plan the upgrade by creating an override file as follow in
~/.config/cluster-api/overrides/infrastructure-cloudstack/v0.5.0/metadata.yaml
With this override file, the upgrade plan succeed :
Environment:
kubectl version
):/etc/os-release
):The text was updated successfully, but these errors were encountered: