{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/bosh/issues/1640","repository_url":"https://api.github.com/repos/cloudfoundry/bosh","labels_url":"https://api.github.com/repos/cloudfoundry/bosh/issues/1640/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/bosh/issues/1640/comments","events_url":"https://api.github.com/repos/cloudfoundry/bosh/issues/1640/events","html_url":"https://github.com/cloudfoundry/bosh/issues/1640","id":217650588,"number":1640,"title":"Cloud config allows the name: node in itself, leading to misleading errors on tasks","user":{"login":"schmidtsv","id":12711120,"avatar_url":"https://avatars2.githubusercontent.com/u/12711120?v=3","gravatar_id":"","url":"https://api.github.com/users/schmidtsv","html_url":"https://github.com/schmidtsv","followers_url":"https://api.github.com/users/schmidtsv/followers","following_url":"https://api.github.com/users/schmidtsv/following{/other_user}","gists_url":"https://api.github.com/users/schmidtsv/gists{/gist_id}","starred_url":"https://api.github.com/users/schmidtsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmidtsv/subscriptions","organizations_url":"https://api.github.com/users/schmidtsv/orgs","repos_url":"https://api.github.com/users/schmidtsv/repos","events_url":"https://api.github.com/users/schmidtsv/events{/privacy}","received_events_url":"https://api.github.com/users/schmidtsv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-28T18:26:27Z","updated_at":"2017-03-28T18:36:19Z","closed_at":null,"body":"Hi,\r\n\r\nwe encountered an issue where someone added the following to the cloud-config\r\n\r\n```yaml\r\nname: cloud-config\r\n```\r\nbosh did not report an error on uploading the cloud-config, nor on deployment, unless you wanted to run 2 tasks at the same time. \r\n\r\n```bash\r\n70  error  Tue Mar 28 15:55:32 UTC 2017  Tue Mar 28 15:55:42 UTC 2017  admin  mongo-single-3  create deployment                 Failed to acquire lock for lock:deployment:cloud-config uid: a75d9d43-f22d-43e1-a92b-3d8358277423                                  \r\n69  error  Tue Mar 28 15:55:22 UTC 2017  Tue Mar 28 15:55:32 UTC 2017  admin  mongo-single-2  create deployment                 Failed to acquire lock for lock:deployment:cloud-config uid: 4483a15a-b003-4cca-893b-759943de6145                                  \r\n68  done   Tue Mar 28 15:55:12 UTC 2017  Tue Mar 28 15:58:30 UTC 2017  admin  mongo-single-1  create deployment                 /deployments/mongo-single-1\r\n```\r\nWhat happened was, that bosh had an empty deployment cloud-config, which was not shown on `bosh deployments` and only appeared in the events and in the locks while updating.\r\n\r\nbosh should either disallow the use of name: as node in cloud config, or automatically strip it from the cloud config to prevent such behaviour."},"comment":{"url":"https://api.github.com/repos/cloudfoundry/bosh/issues/comments/289864098","html_url":"https://github.com/cloudfoundry/bosh/issues/1640#issuecomment-289864098","issue_url":"https://api.github.com/repos/cloudfoundry/bosh/issues/1640","id":289864098,"user":{"login":"dpb587-pivotal","id":16127344,"avatar_url":"https://avatars1.githubusercontent.com/u/16127344?v=3","gravatar_id":"","url":"https://api.github.com/users/dpb587-pivotal","html_url":"https://github.com/dpb587-pivotal","followers_url":"https://api.github.com/users/dpb587-pivotal/followers","following_url":"https://api.github.com/users/dpb587-pivotal/following{/other_user}","gists_url":"https://api.github.com/users/dpb587-pivotal/gists{/gist_id}","starred_url":"https://api.github.com/users/dpb587-pivotal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpb587-pivotal/subscriptions","organizations_url":"https://api.github.com/users/dpb587-pivotal/orgs","repos_url":"https://api.github.com/users/dpb587-pivotal/repos","events_url":"https://api.github.com/users/dpb587-pivotal/events{/privacy}","received_events_url":"https://api.github.com/users/dpb587-pivotal/received_events","type":"User","site_admin":false},"created_at":"2017-03-28T18:36:19Z","updated_at":"2017-03-28T18:36:19Z","body":"Confirmed issue. Nice find!\n\nProbably should avoid merging unexpected keys from cloud-config.\n-- \nDanny Berger\n"}}
{"actor":{"display_login":"dpb587-pivotal"}}