{"action":"closed","issue":{"url":"https://api.github.com/repos/pingcap/tidb-operator/issues/150","repository_url":"https://api.github.com/repos/pingcap/tidb-operator","labels_url":"https://api.github.com/repos/pingcap/tidb-operator/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/pingcap/tidb-operator/issues/150/comments","events_url":"https://api.github.com/repos/pingcap/tidb-operator/issues/150/events","html_url":"https://github.com/pingcap/tidb-operator/issues/150","id":374372787,"node_id":"MDU6SXNzdWUzNzQzNzI3ODc=","number":150,"title":"tidb-operator blocks when a tidbcluster spec is wrong","user":{"login":"tennix","id":7932127,"node_id":"MDQ6VXNlcjc5MzIxMjc=","avatar_url":"https://avatars1.githubusercontent.com/u/7932127?v=4","gravatar_id":"","url":"https://api.github.com/users/tennix","html_url":"https://github.com/tennix","followers_url":"https://api.github.com/users/tennix/followers","following_url":"https://api.github.com/users/tennix/following{/other_user}","gists_url":"https://api.github.com/users/tennix/gists{/gist_id}","starred_url":"https://api.github.com/users/tennix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tennix/subscriptions","organizations_url":"https://api.github.com/users/tennix/orgs","repos_url":"https://api.github.com/users/tennix/repos","events_url":"https://api.github.com/users/tennix/events{/privacy}","received_events_url":"https://api.github.com/users/tennix/received_events","type":"User","site_admin":false},"labels":[{"id":1042229575,"node_id":"MDU6TGFiZWwxMDQyMjI5NTc1","url":"https://api.github.com/repos/pingcap/tidb-operator/labels/status/in-progress","name":"status/in-progress","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":{"login":"weekface","id":9758,"node_id":"MDQ6VXNlcjk3NTg=","avatar_url":"https://avatars2.githubusercontent.com/u/9758?v=4","gravatar_id":"","url":"https://api.github.com/users/weekface","html_url":"https://github.com/weekface","followers_url":"https://api.github.com/users/weekface/followers","following_url":"https://api.github.com/users/weekface/following{/other_user}","gists_url":"https://api.github.com/users/weekface/gists{/gist_id}","starred_url":"https://api.github.com/users/weekface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weekface/subscriptions","organizations_url":"https://api.github.com/users/weekface/orgs","repos_url":"https://api.github.com/users/weekface/repos","events_url":"https://api.github.com/users/weekface/events{/privacy}","received_events_url":"https://api.github.com/users/weekface/received_events","type":"User","site_admin":false},"assignees":[{"login":"weekface","id":9758,"node_id":"MDQ6VXNlcjk3NTg=","avatar_url":"https://avatars2.githubusercontent.com/u/9758?v=4","gravatar_id":"","url":"https://api.github.com/users/weekface","html_url":"https://github.com/weekface","followers_url":"https://api.github.com/users/weekface/followers","following_url":"https://api.github.com/users/weekface/following{/other_user}","gists_url":"https://api.github.com/users/weekface/gists{/gist_id}","starred_url":"https://api.github.com/users/weekface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weekface/subscriptions","organizations_url":"https://api.github.com/users/weekface/orgs","repos_url":"https://api.github.com/users/weekface/repos","events_url":"https://api.github.com/users/weekface/events{/privacy}","received_events_url":"https://api.github.com/users/weekface/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-10-26T12:59:27Z","updated_at":"2018-10-31T08:42:46Z","closed_at":"2018-10-31T08:42:46Z","author_association":"MEMBER","body":"When creating multiple clusters, if the first one's cpu got an integer. tidb-operator continues complaining the following errors: \r\n```\r\nE1026 12:06:48.169601       1 reflector.go:205] github.com/pingcap/tidb-operator/pkg/client/informers/externalversions/factor\r\ny.go:74: Failed to list *v1alpha1.TidbCluster: v1alpha1.TidbClusterList.Items: []v1alpha1.TidbCluster: v1alpha1.TidbCluster.S\r\npec: v1alpha1.TidbClusterSpec.TiKV: v1alpha1.TiKVSpec.TiDB: v1alpha1.TiDBSpec.ContainerSpec: Requests: v1alpha1.ResourceRequi\r\nrement.Memory: CPU: ReadString: expects \" or n, but found 4, error found in #10 byte of ...|\":{\"cpu\":4,\"memory\":|..., bigger\r\ncontext ...|torRequired\":true,\"replicas\":1,\"requests\":{\"cpu\":4,\"memory\":\"32Gi\"}},\"tikv\":{\"image\":\"127.0.0.1:5001|...\r\nE1026 12:06:49.172083       1 reflector.go:205] github.com/pingcap/tidb-operator/pkg/client/informers/externalversions/factor\r\ny.go:74: Failed to list *v1alpha1.TidbCluster: v1alpha1.TidbClusterList.Items: []v1alpha1.TidbCluster: v1alpha1.TidbCluster.S\r\npec: v1alpha1.TidbClusterSpec.TiKV: v1alpha1.TiKVSpec.TiDB: v1alpha1.TiDBSpec.ContainerSpec: Requests: v1alpha1.ResourceRequi\r\nrement.Memory: CPU: ReadString: expects \" or n, but found 4, error found in #10 byte of ...|\":{\"cpu\":4,\"memory\":|..., bigger\r\ncontext ...|torRequired\":true,\"replicas\":1,\"requests\":{\"cpu\":4,\"memory\":\"32Gi\"}},\"tikv\":{\"image\":\"127.0.0.1:5001|...\r\n```\r\nOnly after deleting the wrong tidb clusters, the correct one begins to creating pods."}}
{"actor":{"display_login":"tennix"}}