{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-provider-vsphere/issues/480","repository_url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-provider-vsphere","labels_url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-provider-vsphere/issues/480/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-provider-vsphere/issues/480/comments","events_url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-provider-vsphere/issues/480/events","html_url":"https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/issues/480","id":476766524,"node_id":"MDU6SXNzdWU0NzY3NjY1MjQ=","number":480,"title":"[CAPV][Clusterctl] Misleading logs while creating cluster - 'unable to get client for target cluster: failed to retrieve kubeconfig secret for Cluster \"management-cluster\" in namespace \"default\": secret not found'","user":{"login":"sujeet-banerjee","id":1738131,"node_id":"MDQ6VXNlcjE3MzgxMzE=","avatar_url":"https://avatars0.githubusercontent.com/u/1738131?v=4","gravatar_id":"","url":"https://api.github.com/users/sujeet-banerjee","html_url":"https://github.com/sujeet-banerjee","followers_url":"https://api.github.com/users/sujeet-banerjee/followers","following_url":"https://api.github.com/users/sujeet-banerjee/following{/other_user}","gists_url":"https://api.github.com/users/sujeet-banerjee/gists{/gist_id}","starred_url":"https://api.github.com/users/sujeet-banerjee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sujeet-banerjee/subscriptions","organizations_url":"https://api.github.com/users/sujeet-banerjee/orgs","repos_url":"https://api.github.com/users/sujeet-banerjee/repos","events_url":"https://api.github.com/users/sujeet-banerjee/events{/privacy}","received_events_url":"https://api.github.com/users/sujeet-banerjee/received_events","type":"User","site_admin":false},"labels":[{"id":1013899764,"node_id":"MDU6TGFiZWwxMDEzODk5NzY0","url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-provider-vsphere/labels/kind/bug","name":"kind/bug","color":"e11d21","default":false,"description":"Categorizes issue or PR as related to a bug."},{"id":1014085582,"node_id":"MDU6TGFiZWwxMDE0MDg1NTgy","url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-provider-vsphere/labels/lifecycle/rotten","name":"lifecycle/rotten","color":"604460","default":false,"description":"Denotes an issue or PR that has aged beyond stale and will be auto-closed."}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-08-05T09:55:05Z","updated_at":"2020-01-02T11:51:10Z","closed_at":"2020-01-02T11:51:09Z","author_association":"NONE","body":"/kind bug\r\n\r\n**What steps did you take and what happened:**\r\nI followed steps: https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/blob/master/docs/troubleshooting.md\r\n\r\nI gave the incorrect \"ResourcePool\" name in envvars.txt\r\n\r\nCLI: bin/clusterctl create cluster -a ./out/management-cluster/addons.yaml -c ./out/management-cluster/cluster.yaml -m ./out/management-cluster/machines.yaml -p ./out/management-cluster/provider-components.yaml --kubeconfig-out ./out/management-cluster/kubeconfig --provider vsphere --bootstrap-type kind   -v 6\r\n\r\nThe clusterctl eventually bailed out after numerous messages: \"Waiting for Machine management-cluster-controlplane-1 to become ready...\"\r\n\r\nSee below the logs from the provider-controller...\r\n\r\n**What did you expect to happen:**\r\nclusterctl / controller logs should have pointed this out: \"unable to get resource pool for \\\"default/management-cluster/management-cluster-controlplane-1\\\": resource pool 'k8ss' not found\" or something in the likes.\r\n\r\n**Anything else you would like to add:**\r\n>> provider-controller logs...\r\n\r\nE0805 09:47:08.842061       1 util.go:61] [SECRET] error=Secret \"management-cluster-kubeconfig\" not found\r\nE0805 09:47:08.842088       1 cluster.go:47] [TARGET] Error Fetching Kubeconfig Secret: \r\n secret not found\r\nI0805 09:47:08.842123       1 actuator.go:220] [TARGET] Error Fetching Kubeclient... error=\r\nunable to get client for target cluster: failed to retrieve kubeconfig secret for Cluster \"management-cluster\" in namespace \"default\": secret not found\r\nE0805 09:47:08.842163       1 actuator.go:221] [cluster-actuator]/cluster.k8s.io/v1alpha1/default/management-cluster \"msg\"=\"target cluster is not ready\" \"error\"=\"unable to get client for target cluster: failed to retrieve kubeconfig secret for Cluster \\\"management-cluster\\\" in namespace \\\"default\\\": secret not found\"  \r\nI0805 09:47:08.843424       1 cluster_controller.go:163] Actuator returned requeue-after error: requeue in: 20s\r\n....\r\n\r\n\r\n**Environment:**\r\nexport GOVC_URL=“10.184.93.117”\r\nexport GOVC_USERNAME=“administrator@vsphere.local”\r\nexport GOVC_PASSWORD=“Admin!23”\r\nexport DC_NAME=“DC-NCP”\r\ndocker run --rm -e GOVC_URL -e GOVC_USERNAME -e GOVC_PASSWORD vmware/govc ls -k /${DC_NAME}/vm /${DC_NAME}/network /${DC_NAME}/host /${DC_NAME}/datastore\r\ndocker run -e GOVC_URL -e GOVC_USERNAME -e GOVC_PASSWORD vmware/govc ls -k /${DC_NAME}/network\r\n\r\n\r\n- Cluster-api-provider-vsphere version: Upstream 'master' (top of tree)\r\n- Kubernetes version: (use `kubectl version`): \r\nClient Version: version.Info{Major:\"1\", Minor:\"13\", GitVersion:\"v1.13.2\", GitCommit:\"cff46ab41ff0bb44d8584413b598ad8360ec1def\", GitTreeState:\"clean\", BuildDate:\"2019-01-13T23:16:58Z\", GoVersion:\"go1.11.4\", Compiler:\"gc\", Platform:\"darwin/amd64\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"15\", GitVersion:\"v1.15.0\", GitCommit:\"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529\", GitTreeState:\"clean\", BuildDate:\"2019-06-19T16:32:14Z\", GoVersion:\"go1.12.5\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n- OS (e.g. from `/etc/os-release`):  \r\nDarwin banerjees-a01.vmware.com 17.7.0 Darwin Kernel Version 17.7.0: Wed Feb 27 00:43:23 PST 2019; root:xnu-4570.71.35~1/RELEASE_X86_64 x86_64 i386 MacBookPro11,5 Darwin"},"comment":{"url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-provider-vsphere/issues/comments/570186517","html_url":"https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/issues/480#issuecomment-570186517","issue_url":"https://api.github.com/repos/kubernetes-sigs/cluster-api-provider-vsphere/issues/480","id":570186517,"node_id":"MDEyOklzc3VlQ29tbWVudDU3MDE4NjUxNw==","user":{"login":"k8s-ci-robot","id":20407524,"node_id":"MDQ6VXNlcjIwNDA3NTI0","avatar_url":"https://avatars0.githubusercontent.com/u/20407524?v=4","gravatar_id":"","url":"https://api.github.com/users/k8s-ci-robot","html_url":"https://github.com/k8s-ci-robot","followers_url":"https://api.github.com/users/k8s-ci-robot/followers","following_url":"https://api.github.com/users/k8s-ci-robot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-ci-robot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-ci-robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-ci-robot/subscriptions","organizations_url":"https://api.github.com/users/k8s-ci-robot/orgs","repos_url":"https://api.github.com/users/k8s-ci-robot/repos","events_url":"https://api.github.com/users/k8s-ci-robot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-ci-robot/received_events","type":"User","site_admin":false},"created_at":"2020-01-02T11:51:10Z","updated_at":"2020-01-02T11:51:10Z","author_association":"CONTRIBUTOR","body":"@fejta-bot: Closing this issue.\n\n<details>\n\nIn response to [this](https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/issues/480#issuecomment-570186480):\n\n>Rotten issues close after 30d of inactivity.\n>Reopen the issue with `/reopen`.\n>Mark the issue as fresh with `/remove-lifecycle rotten`.\n>\n>Send feedback to sig-testing, kubernetes/test-infra and/or [fejta](https://github.com/fejta).\n>/close\n\n\nInstructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md).  If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.\n</details>"}}
{"actor":{"display_login":"k8s-ci-robot"}}