{"action":"created","issue":{"url":"https://api.github.com/repos/opscode-cookbooks/jenkins/issues/310","labels_url":"https://api.github.com/repos/opscode-cookbooks/jenkins/issues/310/labels{/name}","comments_url":"https://api.github.com/repos/opscode-cookbooks/jenkins/issues/310/comments","events_url":"https://api.github.com/repos/opscode-cookbooks/jenkins/issues/310/events","html_url":"https://github.com/opscode-cookbooks/jenkins/issues/310","id":53513728,"number":310,"title":"Error \"No mapping between account names and security IDs was done.\" when creating a new jenkins slave","user":{"login":"v1v","id":2871786,"avatar_url":"https://avatars.githubusercontent.com/u/2871786?v=3","gravatar_id":"","url":"https://api.github.com/users/v1v","html_url":"https://github.com/v1v","followers_url":"https://api.github.com/users/v1v/followers","following_url":"https://api.github.com/users/v1v/following{/other_user}","gists_url":"https://api.github.com/users/v1v/gists{/gist_id}","starred_url":"https://api.github.com/users/v1v/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v1v/subscriptions","organizations_url":"https://api.github.com/users/v1v/orgs","repos_url":"https://api.github.com/users/v1v/repos","events_url":"https://api.github.com/users/v1v/events{/privacy}","received_events_url":"https://api.github.com/users/v1v/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-06T13:17:55Z","updated_at":"2015-01-14T22:10:08Z","closed_at":"2015-01-14T22:10:08Z","body":"Jenkins cookbook version: 2.2.1\r\nError message: Chef::Exceptions::Win32APIError: No mapping between account names and security IDs was done.\r\nAlready identified as https://github.com/opscode-cookbooks/jenkins/issues/241\r\n\r\nI haven't seen that error when I used v1.2.X\r\n\r\nFurther details:\r\n\r\nrecipe [acme::slave]\r\n```ruby\r\njenkins_windows_slave node['fqdn'] do\r\n  description         'Runs a series of high-level smoke tests'\r\n  remote_fs           \"C:/jenkins\"\r\n  labels              ['windows']\r\n  user                \"build\"\r\n  password        \"d3V4321\"\r\n  group              \"Users\"\r\n  action              :create\r\n\tenvironment(\r\n\t\t'FOO' => 'bar',\r\n\t\t'BAZ' => 'qux',\r\n\t)\r\nend\r\n```\r\n\r\nmetadata\r\n```ruby\r\nname             'acme_jenkins'\r\nversion           '0.0.1'\r\ndepends        'jenkins', '= 2.2.1'\r\n```\r\n\r\nw7-001.acme.com.json\r\n```json\r\n{\r\n  \"run_list\": [\r\n    \"recipe[acme_jenkins::slave]\"\r\n   ],\r\n   \"name\": \"w7-001.acme.com\",\r\n   \"chef_environment\": \"test\",\r\n   \"normal\" : {\r\n    \"jenkins\" : {\r\n        \"node\" : {\r\n            \"agent_type\"  : \"windows\",\r\n            \"description\" : \"IE 10 on Windows 7\",\r\n            \"home\"        : \"D:/jenkins\"\r\n        },\r\n        \"windows\" : {\r\n            \"service\" : \"interactive\"\r\n        }\r\n    },\r\n    \"machine_attributes\" : {\r\n        \"node\"  : \"build win7 clients\"\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n```\r\n[2015-01-06T13:01:45+00:00] INFO: Running queued delayed notifications before re-raising exception\r\n[2015-01-06T13:01:45+00:00] ERROR: Running exception handlers\r\n[2015-01-06T13:01:45+00:00] ERROR: Exception handlers complete\r\n[2015-01-06T13:01:45+00:00] FATAL: Stacktrace dumped to C:/chef/cache/chef-stacktrace.out\r\nChef Client failed. 1 resources updated\r\n[2015-01-06T13:01:45+00:00] FATAL: Chef::Exceptions::Win32APIError: jenkins_windows_slave[w7-001.acme.com] (acme_jenkins::slave line 20) had an error: Chef::Exceptions::Win32APIError: directory[C:/jenkins] (dynamically defined) had an error: Chef::Exceptions::Win32APIError: No mapping between account names and security IDs was done.\r\n---- Begin Win32 API output ----\r\nSystem Error Code: 1332\r\nSystem Error Message: No mapping between account names and security IDs was done.\r\n---- End Win32 API output ----\r\n```\r\n\r\nLet me know if you need further details"},"comment":{"url":"https://api.github.com/repos/opscode-cookbooks/jenkins/issues/comments/70002422","html_url":"https://github.com/opscode-cookbooks/jenkins/issues/310#issuecomment-70002422","issue_url":"https://api.github.com/repos/opscode-cookbooks/jenkins/issues/310","id":70002422,"user":{"login":"schisamo","id":6164,"avatar_url":"https://avatars.githubusercontent.com/u/6164?v=3","gravatar_id":"","url":"https://api.github.com/users/schisamo","html_url":"https://github.com/schisamo","followers_url":"https://api.github.com/users/schisamo/followers","following_url":"https://api.github.com/users/schisamo/following{/other_user}","gists_url":"https://api.github.com/users/schisamo/gists{/gist_id}","starred_url":"https://api.github.com/users/schisamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schisamo/subscriptions","organizations_url":"https://api.github.com/users/schisamo/orgs","repos_url":"https://api.github.com/users/schisamo/repos","events_url":"https://api.github.com/users/schisamo/events{/privacy}","received_events_url":"https://api.github.com/users/schisamo/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T22:10:08Z","updated_at":"2015-01-14T22:10:08Z","body":"Closing this as a workaround was identified. Feel free to open a PR with a fix also."}}