{"action":"closed","issue":{"url":"https://api.github.com/repos/subutai-io/vagrant/issues/129","repository_url":"https://api.github.com/repos/subutai-io/vagrant","labels_url":"https://api.github.com/repos/subutai-io/vagrant/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/subutai-io/vagrant/issues/129/comments","events_url":"https://api.github.com/repos/subutai-io/vagrant/issues/129/events","html_url":"https://github.com/subutai-io/vagrant/issues/129","id":374650567,"node_id":"MDU6SXNzdWUzNzQ2NTA1Njc=","number":129,"title":"Whitespace in home directory path results in vm storage growth script failures","user":{"login":"akarasulu","id":10051386,"node_id":"MDQ6VXNlcjEwMDUxMzg2","avatar_url":"https://avatars2.githubusercontent.com/u/10051386?v=4","gravatar_id":"","url":"https://api.github.com/users/akarasulu","html_url":"https://github.com/akarasulu","followers_url":"https://api.github.com/users/akarasulu/followers","following_url":"https://api.github.com/users/akarasulu/following{/other_user}","gists_url":"https://api.github.com/users/akarasulu/gists{/gist_id}","starred_url":"https://api.github.com/users/akarasulu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akarasulu/subscriptions","organizations_url":"https://api.github.com/users/akarasulu/orgs","repos_url":"https://api.github.com/users/akarasulu/repos","events_url":"https://api.github.com/users/akarasulu/events{/privacy}","received_events_url":"https://api.github.com/users/akarasulu/received_events","type":"User","site_admin":false},"labels":[{"id":1106661565,"node_id":"MDU6TGFiZWwxMTA2NjYxNTY1","url":"https://api.github.com/repos/subutai-io/vagrant/labels/HyperV","name":"HyperV","color":"0e8a16","default":false},{"id":846970036,"node_id":"MDU6TGFiZWw4NDY5NzAwMzY=","url":"https://api.github.com/repos/subutai-io/vagrant/labels/critical","name":"critical","color":"B00000","default":false},{"id":1106663235,"node_id":"MDU6TGFiZWwxMTA2NjYzMjM1","url":"https://api.github.com/repos/subutai-io/vagrant/labels/osWindows","name":"osWindows","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":{"login":"jadilet","id":6593519,"node_id":"MDQ6VXNlcjY1OTM1MTk=","avatar_url":"https://avatars3.githubusercontent.com/u/6593519?v=4","gravatar_id":"","url":"https://api.github.com/users/jadilet","html_url":"https://github.com/jadilet","followers_url":"https://api.github.com/users/jadilet/followers","following_url":"https://api.github.com/users/jadilet/following{/other_user}","gists_url":"https://api.github.com/users/jadilet/gists{/gist_id}","starred_url":"https://api.github.com/users/jadilet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadilet/subscriptions","organizations_url":"https://api.github.com/users/jadilet/orgs","repos_url":"https://api.github.com/users/jadilet/repos","events_url":"https://api.github.com/users/jadilet/events{/privacy}","received_events_url":"https://api.github.com/users/jadilet/received_events","type":"User","site_admin":false},"assignees":[{"login":"jadilet","id":6593519,"node_id":"MDQ6VXNlcjY1OTM1MTk=","avatar_url":"https://avatars3.githubusercontent.com/u/6593519?v=4","gravatar_id":"","url":"https://api.github.com/users/jadilet","html_url":"https://github.com/jadilet","followers_url":"https://api.github.com/users/jadilet/followers","following_url":"https://api.github.com/users/jadilet/following{/other_user}","gists_url":"https://api.github.com/users/jadilet/gists{/gist_id}","starred_url":"https://api.github.com/users/jadilet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadilet/subscriptions","organizations_url":"https://api.github.com/users/jadilet/orgs","repos_url":"https://api.github.com/users/jadilet/repos","events_url":"https://api.github.com/users/jadilet/events{/privacy}","received_events_url":"https://api.github.com/users/jadilet/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-10-27T14:24:23Z","updated_at":"2018-11-14T11:00:34Z","closed_at":"2018-11-14T11:00:33Z","author_association":"CONTRIBUTOR","body":"This happened in particular on Windows, but checks should be done to make sure that the problem is not present also on Mac or Linux. **Please!**\r\n\r\nGot the following output in the window and it worried me because of the error message on the inability to create the disk. I had grown the disk in this peer to 200GB: it has enough disk space for growing. It seems this growth failed but the peer came up ok.\r\n\r\n```\r\nringing machine 'default' up with 'hyperv' provider...\r\n==> default: Verifying Hyper-V is enabled...\r\n==> default: Verifying Hyper-V is accessible...\r\n==> default: Importing a Hyper-V instance\r\n    default: Creating and registering the VM...\r\n    default: Successfully imported VM\r\n    default: Configuring the VM...\r\n==> default: Starting the machine...\r\n==> default: Waiting for the machine to report its IP address...\r\n    default: Timeout: 120 seconds\r\n    default: IP: 172.17.174.221\r\n==> default: Waiting for machine to boot. This may take a few minutes...\r\n    default: SSH address: 172.17.174.221:22\r\n    default: SSH username: subutai\r\n    default: SSH auth method: private key\r\n    default:\r\n    default: Vagrant insecure key detected. Vagrant will automatically replace\r\n    default: this with a newly generated keypair for better security.\r\n    default:\r\n    default: Inserting generated public key within guest...\r\n\r\n... SNIP ...\r\n\r\n==> default: Running provisioner: cleanup...\r\nPeer finished to up with following messages:\r\nThe system cannot find the path specified.\r\nNEW-VHD : Failed to create the virtual hard disk.\r\nThe file extension for 'C:\\Users\\Alex' is invalid. Virtual hard disk for this operation must have a .vhd or .vhdx\r\nextension.\r\nAt C:\\Users\\Alex O. Karasulu\\.vagrant.d\\gems\\2.4.4\\gems\\vagrant-subutai-7.0.6\\lib\\vagrant-subutai\\packer\\script\\create_\r\ndisk_and_attach.ps1:12 char:5\r\n+     NEW-VHD -Dynamic $DiskPath -SizeBytes $($DiskSize*1073741824)\r\n+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : InvalidArgument: (:) [New-VHD], VirtualizationException\r\n    + FullyQualifiedErrorId : InvalidParameter,Microsoft.Vhd.PowerShell.Cmdlets.NewVhd\r\n\r\nADD-VMHardDiskDrive : Adding the device 'Microsoft:Hyper-V:Virtual Hard Disk' to\r\n'subutai-peer_hypervcc_default_1540670236929_48310' failed.\r\nAt C:\\Users\\Alex O. Karasulu\\.vagrant.d\\gems\\2.4.4\\gems\\vagrant-subutai-7.0.6\\lib\\vagrant-subutai\\packer\\script\\create_\r\ndisk_and_attach.ps1:14 char:5\r\n+     ADD-VMHardDiskDrive -vmname $vm.Name -path $DiskPath -ControllerT ...\r\n+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : NotSpecified: (:) [Add-VMHardDiskDrive], VirtualizationException\r\n    + FullyQualifiedErrorId : OperationFailed,Microsoft.HyperV.PowerShell.Commands.AddVMHardDiskDrive\r\n\r\nHit ENTER to finish...\r\n```\r\n\r\nTo test @jadilet's theory of the whitespace in the username being the issue, I changed the setting for vm storage to C:\\Peers. Disk growth works perfectly when this setting is changed so we can presume you are right ... the problem with the disk growth script is the whitespace in the username."}}
{"actor":{"display_login":"Almansherov"}}