We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/kind bug
What steps did you take and what happened:
If OpenStack instance creation fails, the error is logged as: error creating Openstack instance: <nil>
error creating Openstack instance: <nil>
E0601 10:13:01.337910 8 openstackmachine_controller.go:389] controller-runtime/manager/controller/openstackmachine "msg"="OpenStack instance cannot be created: error creating Openstack instance: error creating Openstack instance: <nil>" "error"="UpdateError" "cluster"="basic-1" "machine"="basic-1-control-plane-v844x" "name"="basic-1-control-plane-bv6dz" "namespace"="default" "openStackCluster"="basic-1" "openStackMachine"="basic-1-control-plane-bv6dz" "reconciler group"="infrastructure.cluster.x-k8s.io" "reconciler kind"="OpenStackMachine"
This is because the error from server creation is reassigned to be the error from ports deletion before the error is logged:
cluster-api-provider-openstack/pkg/cloud/services/compute/instance.go
Lines 230 to 235 in 04e0b54
What did you expect to happen: I expect to see the error from the OpenStack response included in the controller logs.
Environment:
git rev-parse HEAD
kubectl version
/etc/os-release
The text was updated successfully, but these errors were encountered:
good catch
do you mind create a PR to fix ? should be relatively not that hard...
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
/kind bug
What steps did you take and what happened:
If OpenStack instance creation fails, the error is logged as:
error creating Openstack instance: <nil>
This is because the error from server creation is reassigned to be the error from ports deletion before the error is logged:
cluster-api-provider-openstack/pkg/cloud/services/compute/instance.go
Lines 230 to 235 in 04e0b54
What did you expect to happen:
I expect to see the error from the OpenStack response included in the controller logs.
Environment:
git rev-parse HEAD
if manually built):kubectl version
):/etc/os-release
):The text was updated successfully, but these errors were encountered: