{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/packer/issues/3204","repository_url":"https://api.github.com/repos/mitchellh/packer","labels_url":"https://api.github.com/repos/mitchellh/packer/issues/3204/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/packer/issues/3204/comments","events_url":"https://api.github.com/repos/mitchellh/packer/issues/3204/events","html_url":"https://github.com/mitchellh/packer/issues/3204","id":133608161,"number":3204,"title":"[post-processor: vsphere]: Truncating \".period\" when uploading ovf to vCenter","user":{"login":"NetworkBytes","id":8462900,"avatar_url":"https://avatars.githubusercontent.com/u/8462900?v=3","gravatar_id":"","url":"https://api.github.com/users/NetworkBytes","html_url":"https://github.com/NetworkBytes","followers_url":"https://api.github.com/users/NetworkBytes/followers","following_url":"https://api.github.com/users/NetworkBytes/following{/other_user}","gists_url":"https://api.github.com/users/NetworkBytes/gists{/gist_id}","starred_url":"https://api.github.com/users/NetworkBytes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetworkBytes/subscriptions","organizations_url":"https://api.github.com/users/NetworkBytes/orgs","repos_url":"https://api.github.com/users/NetworkBytes/repos","events_url":"https://api.github.com/users/NetworkBytes/events{/privacy}","received_events_url":"https://api.github.com/users/NetworkBytes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mitchellh/packer/labels/bug","name":"bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/mitchellh/packer/labels/post-processor/vsphere","name":"post-processor/vsphere","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-15T02:36:37Z","updated_at":"2016-02-24T22:05:23Z","closed_at":null,"body":"Getting truncation errors with the latest packer (released) build 8.6 when calling ovftools,  \r\nthis didn't happen on the previous release of packer \r\n\r\n\r\n`\r\nError: Failed to create directory: \"vi://Administrator%40vsphere.local:<#removed#>@<#vcenter removed #>/DC1/host/Cluster1/Resources\\3\\\r\n`\r\n\r\nThe Resource pool line seems to be truncating  \"3.Bronze\" to \"3\"\r\nwill attempt to use hex code \"%2E\" instead to see if that works \r\n\r\n`\r\n2016/02/14 22:28:24 ui:     vmware-iso (vsphere): Uploading output\\Redhat-7.2-x86_64_Template_20160214.2207\\Redhat-7.2-x86_64_Template_20160214.2207.vmx to vSphere\r\n2016/02/14 22:28:24 packer.exe: 2016/02/14 22:28:24 Starting ovftool with parameters: --noSSLVerify=true --acceptAllEulas --name=\"Redhat-7.2-x86_64_Template_20160214.2207\" --datastore=\"Site_1\" --diskMode=\"thin\" --network=\"<#network removed#>\" --vmFolder=\"Templates\" output\\Redhat-7.2-x86_64_Template_20160214.2207\\Redhat-7.2-x86_64_Template_20160214.2207.vmx \"vi://Administrator%40vsphere.local:<#removed#>@<#vcenter removed #>/DC1/host/Cluster1/Resources/3.Bronze\"\r\n`\r\n* Post-processor failed: Failed: exit status 1\r\nStdout: Opening VMX source: output\\Redhat-7.2-x86_64_Template_20160214.2207\\Redhat-7.2-x86_64_Template_20160214.2207.vmx\r\nOpening OVF target: \"vi://Administrator%40vsphere.local:<#removed#>@<#vcenter removed #>/DC1/host/Cluster1/Resources/3.Bronze\"\r\nError: Failed to create directory: \"vi://Administrator%40vsphere.local:<#removed#>@<#vcenter removed #>/DC1/host/Cluster1/Resources\\3\\\r\nCompleted with errors\r\n"},"comment":{"url":"https://api.github.com/repos/mitchellh/packer/issues/comments/188472733","html_url":"https://github.com/mitchellh/packer/issues/3204#issuecomment-188472733","issue_url":"https://api.github.com/repos/mitchellh/packer/issues/3204","id":188472733,"user":{"login":"zverocool","id":9117804,"avatar_url":"https://avatars.githubusercontent.com/u/9117804?v=3","gravatar_id":"","url":"https://api.github.com/users/zverocool","html_url":"https://github.com/zverocool","followers_url":"https://api.github.com/users/zverocool/followers","following_url":"https://api.github.com/users/zverocool/following{/other_user}","gists_url":"https://api.github.com/users/zverocool/gists{/gist_id}","starred_url":"https://api.github.com/users/zverocool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zverocool/subscriptions","organizations_url":"https://api.github.com/users/zverocool/orgs","repos_url":"https://api.github.com/users/zverocool/repos","events_url":"https://api.github.com/users/zverocool/events{/privacy}","received_events_url":"https://api.github.com/users/zverocool/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T22:05:23Z","updated_at":"2016-02-24T22:05:23Z","body":"I am experiencing a similar issue, after upgrading to 0.9.0. It worked in 0.8.6 with no problem\r\n```bash\r\nBuild 'CentOS7-282f1663-1552-055' errored: 1 error(s) occurred:\r\n\r\n\r\n* Post-processor failed: Failed: exit status 1\r\nStdout: Opening VMX source: output/build-CentOS7-282f1663-1552-055/packer-CentOS7-282f1663-1552-055.vmx\r\nOpening OVF target: \"vi://user:pass@esxhost.com/datacenter/host/cluster/Resources/resourcepool\"\r\nWriting OVF package: \"vi://user:pass@esxhost.com/datacenter/host/cluster/Resources/resourcepool\"/\"CentOS7-282f1663-1552-055\"/\"CentOS7-282f1663-1552-055\".ovf\r\nTransfer Failed                       \r\nError: System error: (std::exception)\r\nDeleting directory tree below: \"vi:\r\nCompleted with errors\r\n```\r\n\r\nI am not sure what the issue is, but its probably parsing:  This does not look correct:\r\n\r\n> **\"/\"**CentOS7-282f1663-1552-055**\"/\"**CentOS7-282f1663-1552-055**\"**.ovf "}}