{"action":"closed","issue":{"url":"https://api.github.com/repos/k8sp/sextant/issues/341","repository_url":"https://api.github.com/repos/k8sp/sextant","labels_url":"https://api.github.com/repos/k8sp/sextant/issues/341/labels{/name}","comments_url":"https://api.github.com/repos/k8sp/sextant/issues/341/comments","events_url":"https://api.github.com/repos/k8sp/sextant/issues/341/events","html_url":"https://github.com/k8sp/sextant/issues/341","id":184380761,"number":341,"title":"在程序中增加对 cluster-desc.yaml 、cloud-config.yaml等yaml文件合法性的检测","user":{"login":"jiamliang","id":1405049,"avatar_url":"https://avatars.githubusercontent.com/u/1405049?v=3","gravatar_id":"","url":"https://api.github.com/users/jiamliang","html_url":"https://github.com/jiamliang","followers_url":"https://api.github.com/users/jiamliang/followers","following_url":"https://api.github.com/users/jiamliang/following{/other_user}","gists_url":"https://api.github.com/users/jiamliang/gists{/gist_id}","starred_url":"https://api.github.com/users/jiamliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiamliang/subscriptions","organizations_url":"https://api.github.com/users/jiamliang/orgs","repos_url":"https://api.github.com/users/jiamliang/repos","events_url":"https://api.github.com/users/jiamliang/events{/privacy}","received_events_url":"https://api.github.com/users/jiamliang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"Yancey1989","id":1426912,"avatar_url":"https://avatars.githubusercontent.com/u/1426912?v=3","gravatar_id":"","url":"https://api.github.com/users/Yancey1989","html_url":"https://github.com/Yancey1989","followers_url":"https://api.github.com/users/Yancey1989/followers","following_url":"https://api.github.com/users/Yancey1989/following{/other_user}","gists_url":"https://api.github.com/users/Yancey1989/gists{/gist_id}","starred_url":"https://api.github.com/users/Yancey1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yancey1989/subscriptions","organizations_url":"https://api.github.com/users/Yancey1989/orgs","repos_url":"https://api.github.com/users/Yancey1989/repos","events_url":"https://api.github.com/users/Yancey1989/events{/privacy}","received_events_url":"https://api.github.com/users/Yancey1989/received_events","type":"User","site_admin":false},"assignees":[{"login":"Yancey1989","id":1426912,"avatar_url":"https://avatars.githubusercontent.com/u/1426912?v=3","gravatar_id":"","url":"https://api.github.com/users/Yancey1989","html_url":"https://github.com/Yancey1989","followers_url":"https://api.github.com/users/Yancey1989/followers","following_url":"https://api.github.com/users/Yancey1989/following{/other_user}","gists_url":"https://api.github.com/users/Yancey1989/gists{/gist_id}","starred_url":"https://api.github.com/users/Yancey1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yancey1989/subscriptions","organizations_url":"https://api.github.com/users/Yancey1989/orgs","repos_url":"https://api.github.com/users/Yancey1989/repos","events_url":"https://api.github.com/users/Yancey1989/events{/privacy}","received_events_url":"https://api.github.com/users/Yancey1989/received_events","type":"User","site_admin":false},{"login":"wangkuiyi","id":1548775,"avatar_url":"https://avatars.githubusercontent.com/u/1548775?v=3","gravatar_id":"","url":"https://api.github.com/users/wangkuiyi","html_url":"https://github.com/wangkuiyi","followers_url":"https://api.github.com/users/wangkuiyi/followers","following_url":"https://api.github.com/users/wangkuiyi/following{/other_user}","gists_url":"https://api.github.com/users/wangkuiyi/gists{/gist_id}","starred_url":"https://api.github.com/users/wangkuiyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangkuiyi/subscriptions","organizations_url":"https://api.github.com/users/wangkuiyi/orgs","repos_url":"https://api.github.com/users/wangkuiyi/repos","events_url":"https://api.github.com/users/wangkuiyi/events{/privacy}","received_events_url":"https://api.github.com/users/wangkuiyi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2016-10-21T01:41:41Z","updated_at":"2016-12-01T10:46:33Z","closed_at":"2016-12-01T10:46:33Z","body":"1. 由于cluster-desc.yaml是需要最终用户根据自身的环境进行配置的，那么这个yaml文件的格式就不一定合法。如果这个配置文件的格式有问题，在解析yaml的时候就会出错。\n2. 根据cluster-desc.yaml和template生成的cloud-config.yaml 或者其他配置文件的格式也需要进行校验。这些yaml格式有问题的话，用户不一定能看到错误信息。\n\n昨天我在增加一个公钥到cluster-desc.yaml，少写了一个空格，结果在安装coreos 的时候，pxe引导完了之后就卡住了。多亏@lipeng-unisound和@pineking的帮助，终于从坑里爬出来了。\n"}}
{"actor":{"display_login":"pineking"}}