{"action":"created","issue":{"url":"https://api.github.com/repos/chef-partners/knife-vsphere/issues/275","repository_url":"https://api.github.com/repos/chef-partners/knife-vsphere","labels_url":"https://api.github.com/repos/chef-partners/knife-vsphere/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/chef-partners/knife-vsphere/issues/275/comments","events_url":"https://api.github.com/repos/chef-partners/knife-vsphere/issues/275/events","html_url":"https://github.com/chef-partners/knife-vsphere/issues/275","id":171909177,"number":275,"title":"knife-vsphere-1.2.12/lib/chef/knife/vsphere_vm_clone.rb:581:in `block in generate_clone_spec': undefined method `[]' for nil:NilClass (NoMethodError)","user":{"login":"swalberg","id":221368,"avatar_url":"https://avatars.githubusercontent.com/u/221368?v=3","gravatar_id":"","url":"https://api.github.com/users/swalberg","html_url":"https://github.com/swalberg","followers_url":"https://api.github.com/users/swalberg/followers","following_url":"https://api.github.com/users/swalberg/following{/other_user}","gists_url":"https://api.github.com/users/swalberg/gists{/gist_id}","starred_url":"https://api.github.com/users/swalberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swalberg/subscriptions","organizations_url":"https://api.github.com/users/swalberg/orgs","repos_url":"https://api.github.com/users/swalberg/repos","events_url":"https://api.github.com/users/swalberg/events{/privacy}","received_events_url":"https://api.github.com/users/swalberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-18T14:04:48Z","updated_at":"2016-08-18T16:24:30Z","closed_at":null,"body":"After upgrading to 1.2.12 from an older version, \r\n\r\n```\r\nCPUS=4 RAM=8 SERVER=xxx ZONE=yyyy ENVIRONMENT=staging\r\nknife vsphere vm clone $SERVER --template=\"CentOS_6.7_Template_16GB_v1.6\" --json-attributes='{ \"tags\": [\"app:sso\"] }' --cvlan=\"97-INFRA-PROJECT-TOOLS\" --cips dhcp --chostname=$SERVER --cdomain=$ZONE --run-list=\"$RUNLIST\" --start  --fqdn=$SERVER.$ZONE --distro chef-full --bootstrap --cdnsips=1.2.3.4 --cdnssuffix=$ZONE --node-name=$SERVER.$ZONE $EXTRA --environment $ENVIRONMENT  --bootstrap-version 12.8.1\r\n```\r\n\r\nGives \r\n```\r\nknife-vsphere-1.2.12/lib/chef/knife/vsphere_vm_clone.rb:581:in `block in generate_clone_spec': undefined method `[]' for nil:NilClass (NoMethodError)```\r\n\r\nFixed by adding `--cmacs auto`. Likely a regression introduced by #273 as the hash there is only defined if `--cmacs` is set."},"comment":{"url":"https://api.github.com/repos/chef-partners/knife-vsphere/issues/comments/240777826","html_url":"https://github.com/chef-partners/knife-vsphere/issues/275#issuecomment-240777826","issue_url":"https://api.github.com/repos/chef-partners/knife-vsphere/issues/275","id":240777826,"user":{"login":"swalberg","id":221368,"avatar_url":"https://avatars.githubusercontent.com/u/221368?v=3","gravatar_id":"","url":"https://api.github.com/users/swalberg","html_url":"https://github.com/swalberg","followers_url":"https://api.github.com/users/swalberg/followers","following_url":"https://api.github.com/users/swalberg/following{/other_user}","gists_url":"https://api.github.com/users/swalberg/gists{/gist_id}","starred_url":"https://api.github.com/users/swalberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swalberg/subscriptions","organizations_url":"https://api.github.com/users/swalberg/orgs","repos_url":"https://api.github.com/users/swalberg/repos","events_url":"https://api.github.com/users/swalberg/events{/privacy}","received_events_url":"https://api.github.com/users/swalberg/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T16:24:30Z","updated_at":"2016-08-18T16:24:30Z","body":"You are too far ahead of me... Was going to look at it this afternoon ;) Thanks so much!"}}
{"actor":{"display_login":"swalberg"}}