diff --git a/pkg/cloud/openstack/clients/machineservice.go b/pkg/cloud/openstack/clients/machineservice.go index 9c919ac0ac..8b7d721f26 100644 --- a/pkg/cloud/openstack/clients/machineservice.go +++ b/pkg/cloud/openstack/clients/machineservice.go @@ -1065,7 +1065,18 @@ func (is *InstanceService) InstanceDelete(id string) error { } // delete instance - return servers.Delete(is.computeClient, id).ExtractErr() + err = servers.Delete(is.computeClient, id).ExtractErr() + + // we don't report HTTP 404 since that's okay - the server is gone already + if err != nil { + if httpStatus, ok := err.(gophercloud.ErrDefault404); ok { + if httpStatus.Actual == 404 { + klog.Infof("Couldn't find instance %v to delete: %v", id, err) + return nil + } + } + } + return err } func GetTrunkSupport(is *InstanceService) (bool, error) {