{"action":"opened","number":73,"pull_request":{"url":"https://api.github.com/repos/Azure/WALinuxAgent/pulls/73","id":31881798,"html_url":"https://github.com/Azure/WALinuxAgent/pull/73","diff_url":"https://github.com/Azure/WALinuxAgent/pull/73.diff","patch_url":"https://github.com/Azure/WALinuxAgent/pull/73.patch","issue_url":"https://api.github.com/repos/Azure/WALinuxAgent/issues/73","number":73,"state":"open","locked":false,"title":"Allow provisioning with existing system user","user":{"login":"tmm1","id":2567,"avatar_url":"https://avatars.githubusercontent.com/u/2567?v=3","gravatar_id":"","url":"https://api.github.com/users/tmm1","html_url":"https://github.com/tmm1","followers_url":"https://api.github.com/users/tmm1/followers","following_url":"https://api.github.com/users/tmm1/following{/other_user}","gists_url":"https://api.github.com/users/tmm1/gists{/gist_id}","starred_url":"https://api.github.com/users/tmm1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmm1/subscriptions","organizations_url":"https://api.github.com/users/tmm1/orgs","repos_url":"https://api.github.com/users/tmm1/repos","events_url":"https://api.github.com/users/tmm1/events{/privacy}","received_events_url":"https://api.github.com/users/tmm1/received_events","type":"User","site_admin":true},"body":"I used `azure vm create --no-ssh-password --user admin` with a VM image that already had an admin user created on it with the uid 501. The VM failed to come up fully, failing on the following provisioning error:\r\n\r\n```\r\n2015/03/16 22:26:47 ERROR:CreateAccount: admin is a system user. Will not set password.\r\n2015/03/16 22:26:47 ERROR:Provisioning image FAILED Failed to set password for system user: admin (0x06).\r\n```\r\n\r\nSince I am not requesting a password to be set, it does not make sense for provisioning to fail here. I have updated the code in this PR to avoid the failure for this case.","created_at":"2015-03-24T23:52:13Z","updated_at":"2015-03-24T23:52:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Azure/WALinuxAgent/pulls/73/commits","review_comments_url":"https://api.github.com/repos/Azure/WALinuxAgent/pulls/73/comments","review_comment_url":"https://api.github.com/repos/Azure/WALinuxAgent/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/WALinuxAgent/issues/73/comments","statuses_url":"https://api.github.com/repos/Azure/WALinuxAgent/statuses/821039e6841b0d8f1b3f76074fe8f61425b44639","head":{"label":"tmm1:system-user-no-password","ref":"system-user-no-password","sha":"821039e6841b0d8f1b3f76074fe8f61425b44639","user":{"login":"tmm1","id":2567,"avatar_url":"https://avatars.githubusercontent.com/u/2567?v=3","gravatar_id":"","url":"https://api.github.com/users/tmm1","html_url":"https://github.com/tmm1","followers_url":"https://api.github.com/users/tmm1/followers","following_url":"https://api.github.com/users/tmm1/following{/other_user}","gists_url":"https://api.github.com/users/tmm1/gists{/gist_id}","starred_url":"https://api.github.com/users/tmm1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmm1/subscriptions","organizations_url":"https://api.github.com/users/tmm1/orgs","repos_url":"https://api.github.com/users/tmm1/repos","events_url":"https://api.github.com/users/tmm1/events{/privacy}","received_events_url":"https://api.github.com/users/tmm1/received_events","type":"User","site_admin":true},"repo":{"id":32831780,"name":"WALinuxAgent","full_name":"tmm1/WALinuxAgent","owner":{"login":"tmm1","id":2567,"avatar_url":"https://avatars.githubusercontent.com/u/2567?v=3","gravatar_id":"","url":"https://api.github.com/users/tmm1","html_url":"https://github.com/tmm1","followers_url":"https://api.github.com/users/tmm1/followers","following_url":"https://api.github.com/users/tmm1/following{/other_user}","gists_url":"https://api.github.com/users/tmm1/gists{/gist_id}","starred_url":"https://api.github.com/users/tmm1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmm1/subscriptions","organizations_url":"https://api.github.com/users/tmm1/orgs","repos_url":"https://api.github.com/users/tmm1/repos","events_url":"https://api.github.com/users/tmm1/events{/privacy}","received_events_url":"https://api.github.com/users/tmm1/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/tmm1/WALinuxAgent","description":"The Microsoft Azure Linux Agent ","fork":true,"url":"https://api.github.com/repos/tmm1/WALinuxAgent","forks_url":"https://api.github.com/repos/tmm1/WALinuxAgent/forks","keys_url":"https://api.github.com/repos/tmm1/WALinuxAgent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tmm1/WALinuxAgent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tmm1/WALinuxAgent/teams","hooks_url":"https://api.github.com/repos/tmm1/WALinuxAgent/hooks","issue_events_url":"https://api.github.com/repos/tmm1/WALinuxAgent/issues/events{/number}","events_url":"https://api.github.com/repos/tmm1/WALinuxAgent/events","assignees_url":"https://api.github.com/repos/tmm1/WALinuxAgent/assignees{/user}","branches_url":"https://api.github.com/repos/tmm1/WALinuxAgent/branches{/branch}","tags_url":"https://api.github.com/repos/tmm1/WALinuxAgent/tags","blobs_url":"https://api.github.com/repos/tmm1/WALinuxAgent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tmm1/WALinuxAgent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tmm1/WALinuxAgent/git/refs{/sha}","trees_url":"https://api.github.com/repos/tmm1/WALinuxAgent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tmm1/WALinuxAgent/statuses/{sha}","languages_url":"https://api.github.com/repos/tmm1/WALinuxAgent/languages","stargazers_url":"https://api.github.com/repos/tmm1/WALinuxAgent/stargazers","contributors_url":"https://api.github.com/repos/tmm1/WALinuxAgent/contributors","subscribers_url":"https://api.github.com/repos/tmm1/WALinuxAgent/subscribers","subscription_url":"https://api.github.com/repos/tmm1/WALinuxAgent/subscription","commits_url":"https://api.github.com/repos/tmm1/WALinuxAgent/commits{/sha}","git_commits_url":"https://api.github.com/repos/tmm1/WALinuxAgent/git/commits{/sha}","comments_url":"https://api.github.com/repos/tmm1/WALinuxAgent/comments{/number}","issue_comment_url":"https://api.github.com/repos/tmm1/WALinuxAgent/issues/comments{/number}","contents_url":"https://api.github.com/repos/tmm1/WALinuxAgent/contents/{+path}","compare_url":"https://api.github.com/repos/tmm1/WALinuxAgent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tmm1/WALinuxAgent/merges","archive_url":"https://api.github.com/repos/tmm1/WALinuxAgent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tmm1/WALinuxAgent/downloads","issues_url":"https://api.github.com/repos/tmm1/WALinuxAgent/issues{/number}","pulls_url":"https://api.github.com/repos/tmm1/WALinuxAgent/pulls{/number}","milestones_url":"https://api.github.com/repos/tmm1/WALinuxAgent/milestones{/number}","notifications_url":"https://api.github.com/repos/tmm1/WALinuxAgent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tmm1/WALinuxAgent/labels{/name}","releases_url":"https://api.github.com/repos/tmm1/WALinuxAgent/releases{/id}","created_at":"2015-03-24T23:49:32Z","updated_at":"2015-03-24T23:49:33Z","pushed_at":"2015-03-24T23:51:12Z","git_url":"git://github.com/tmm1/WALinuxAgent.git","ssh_url":"git@github.com:tmm1/WALinuxAgent.git","clone_url":"https://github.com/tmm1/WALinuxAgent.git","svn_url":"https://github.com/tmm1/WALinuxAgent","homepage":"http://azure.microsoft.com/","size":2376,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"2.0"}},"base":{"label":"Azure:2.0","ref":"2.0","sha":"0bf5284cd73a07f2bd2006c20189d63c995d6229","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":4576639,"name":"WALinuxAgent","full_name":"Azure/WALinuxAgent","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars.githubusercontent.com/u/6844498?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/WALinuxAgent","description":"The Microsoft Azure Linux Agent ","fork":false,"url":"https://api.github.com/repos/Azure/WALinuxAgent","forks_url":"https://api.github.com/repos/Azure/WALinuxAgent/forks","keys_url":"https://api.github.com/repos/Azure/WALinuxAgent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/WALinuxAgent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/WALinuxAgent/teams","hooks_url":"https://api.github.com/repos/Azure/WALinuxAgent/hooks","issue_events_url":"https://api.github.com/repos/Azure/WALinuxAgent/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/WALinuxAgent/events","assignees_url":"https://api.github.com/repos/Azure/WALinuxAgent/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/WALinuxAgent/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/WALinuxAgent/tags","blobs_url":"https://api.github.com/repos/Azure/WALinuxAgent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/WALinuxAgent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/WALinuxAgent/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/WALinuxAgent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/WALinuxAgent/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/WALinuxAgent/languages","stargazers_url":"https://api.github.com/repos/Azure/WALinuxAgent/stargazers","contributors_url":"https://api.github.com/repos/Azure/WALinuxAgent/contributors","subscribers_url":"https://api.github.com/repos/Azure/WALinuxAgent/subscribers","subscription_url":"https://api.github.com/repos/Azure/WALinuxAgent/subscription","commits_url":"https://api.github.com/repos/Azure/WALinuxAgent/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/WALinuxAgent/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/WALinuxAgent/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/WALinuxAgent/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/WALinuxAgent/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/WALinuxAgent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/WALinuxAgent/merges","archive_url":"https://api.github.com/repos/Azure/WALinuxAgent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/WALinuxAgent/downloads","issues_url":"https://api.github.com/repos/Azure/WALinuxAgent/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/WALinuxAgent/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/WALinuxAgent/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/WALinuxAgent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/WALinuxAgent/labels{/name}","releases_url":"https://api.github.com/repos/Azure/WALinuxAgent/releases{/id}","created_at":"2012-06-06T18:55:55Z","updated_at":"2015-03-20T07:27:28Z","pushed_at":"2015-03-20T07:27:28Z","git_url":"git://github.com/Azure/WALinuxAgent.git","ssh_url":"git@github.com:Azure/WALinuxAgent.git","clone_url":"https://github.com/Azure/WALinuxAgent.git","svn_url":"https://github.com/Azure/WALinuxAgent","homepage":"http://azure.microsoft.com/","size":2376,"stargazers_count":68,"watchers_count":68,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":10,"forks":66,"open_issues":10,"watchers":68,"default_branch":"2.0"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/WALinuxAgent/pulls/73"},"html":{"href":"https://github.com/Azure/WALinuxAgent/pull/73"},"issue":{"href":"https://api.github.com/repos/Azure/WALinuxAgent/issues/73"},"comments":{"href":"https://api.github.com/repos/Azure/WALinuxAgent/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/WALinuxAgent/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/WALinuxAgent/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/WALinuxAgent/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/WALinuxAgent/statuses/821039e6841b0d8f1b3f76074fe8f61425b44639"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}