k3s/pkg/cloudprovider/providers
Kubernetes Submit Queue 696430dd51
Merge pull request #64248 from feiskyer/exact-err-msg
Automatic merge from submit-queue (batch tested with PRs 63319, 64248, 64250, 63890, 64233). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Add reason message logs for non-exist Azure resources

**What this PR does / why we need it**:

In azure_wrap.go the function checkResourceExistsFromError() looks at a received error and determines it to be a ResourceNotFound if the HTTP status is http.StatusNotFound. However, the HTTP status also equals http.StatusNotFound in case of SubscriptionNotFound.

this PR adds logs to indict the real error messages for such case.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #64220 

**Special notes for your reviewer**:

**Release note**:

```release-note
Add reason message logs for non-exist Azure resources
```
2018-05-24 19:46:12 -07:00
..
aws Merge pull request #58874 from sorenmat/sg_tag_verbose 2018-05-09 05:48:42 -07:00
azure Merge pull request #64248 from feiskyer/exact-err-msg 2018-05-24 19:46:12 -07:00
cloudstack Use cloudprovider.NotImplemented in AddSSHKeyToAllInstances 2018-04-27 13:19:06 -07:00
fake PR #59323, fix bug and remove one api call, add node util dependency to cloud controller 2018-04-22 20:32:26 +03:00
gce gce provider: point to hack/update-cloudprovider-gce.sh in doc 2018-05-17 17:25:33 -07:00
openstack Revert "Openstack: register metadata.hostname as node name" 2018-05-15 22:49:21 -04:00
ovirt PR #59323, fix bug and remove one api call, add node util dependency to cloud controller 2018-04-22 20:32:26 +03:00
photon PR #59323, fix bug and remove one api call, add node util dependency to cloud controller 2018-04-22 20:32:26 +03:00
vsphere Add kubernetes license to credential manager 2018-05-17 12:10:30 -07:00
BUILD update BUILD files 2017-10-15 18:18:13 -07:00
providers.go remove rackspace related code 2017-09-22 18:06:50 +08:00