[jbosstools-issues] [JBoss JIRA] (JBDS-4081) Installation fails with "Error: Command failed: vagrant box remove cdkv2 -f" when a previous installation went bad

Aurélien Pupier (JIRA) issues at jboss.org
Tue Nov 29 11:45:01 EST 2016


     [ https://issues.jboss.org/browse/JBDS-4081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aurélien Pupier updated JBDS-4081:
----------------------------------
    Summary: Installation fails with "Error: Command failed: vagrant box remove cdkv2 -f" when a previous installation went bad  (was: Installation fails with "Error: Command failed: vagrant box remove cdkv2 -f")


> Installation fails with "Error: Command failed: vagrant box remove cdkv2 -f" when a previous installation went bad
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBDS-4081
>                 URL: https://issues.jboss.org/browse/JBDS-4081
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Bug
>          Components: platform-installer
>    Affects Versions: 1.1.0.GA
>            Reporter: Aurélien Pupier
>            Assignee: Denis Golovin
>
> {noformat}
> Tue, 04 Oct 2016 13:08:46 GMT-INFO: cdk - Execute command vagrant box remove cdkv2 -f
> Tue, 04 Oct 2016 13:08:46 GMT-INFO: cdk - Execute options {
>     "env": {
>         "ALLUSERSPROFILE": "C:\\ProgramData",
>         "APPDATA": "C:\\Users\\Aurelien Pupier\\AppData\\Roaming",
>         "CommonProgramFiles": "C:\\Program Files\\Common Files",
>         "CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
>         "CommonProgramW6432": "C:\\Program Files\\Common Files",
>         "COMPUTERNAME": "DESKTOP-9NT300B",
>         "ComSpec": "C:\\WINDOWS\\system32\\cmd.exe",
>         "DOCKER_CERT_PATH": "C:\\certificate",
>         "DOCKER_HOST": "tcp://10.1.2.2:2376",
>         "DOCKER_MACHINE_NAME": "498b304",
>         "DOCKER_TLS_VERIFY": "1",
>         "DOCKER_TOOLBOX_INSTALL_PATH": "C:\\Program Files\\Docker Toolbox",
>         "GIT_HOME": "C:\\Program Files\\Git",
>         "GOOGLE_API_KEY": "AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q",
>         "HOMEDRIVE": "C:",
>         "HOMEPATH": "\\Users\\Aurelien Pupier",
>         "JAVA_HOME": "C:\\Program Files\\Java\\jdk1.8.0_65",
>         "LOCALAPPDATA": "C:\\Users\\Aurelien Pupier\\AppData\\Local",
>         "LOGONSERVER": "\\\\DESKTOP-9NT300B",
>         "MAVEN_HOME": "C:\\install\\apache-maven-3.3.9-bin\\apache-maven-3.3.9",
>         "NUMBER_OF_PROCESSORS": "8",
>         "OS": "Windows_NT",
>         "Path": "C:\\ProgramData\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Skype\\Phone\\;C:\\Program Files (x86)\\PuTTY\\;C:\\Program Files\\RedHat\\java-1.8.0-openjdk-1.8.0.102-1\\bin;C:\\HashiCorp\\Vagrant\\bin;c:\\install\\DevelopmentSuite\\cdk\\bin;c:\\install\\DevelopmentSuite\\cygwin\\bin;C:\\OpenShift;C:\\Program Files\\Docker Toolbox;C:\\install\\apache-maven-3.3.9-bin\\apache-maven-3.3.9\\bin;C:\\Program Files\\Git\\bin;C:\\Users\\Aurelien Pupier\\AppData\\Local\\Microsoft\\WindowsApps;C:\\HashiCorp\\Vagrant\\bin;bin;C:\\Program Files\\Oracle\\VirtualBox\\",
>         "PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC",
>         "PROCESSOR_ARCHITECTURE": "AMD64",
>         "PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 60 Stepping 3, GenuineIntel",
>         "PROCESSOR_LEVEL": "6",
>         "PROCESSOR_REVISION": "3c03",
>         "ProgramData": "C:\\ProgramData",
>         "ProgramFiles": "C:\\Program Files",
>         "ProgramFiles(x86)": "C:\\Program Files (x86)",
>         "ProgramW6432": "C:\\Program Files",
>         "PSModulePath": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules",
>         "PUBLIC": "C:\\Users\\Public",
>         "SystemDrive": "C:",
>         "SystemRoot": "C:\\WINDOWS",
>         "TEMP": "C:\\Users\\AURELI~1\\AppData\\Local\\Temp",
>         "TMP": "C:\\Users\\AURELI~1\\AppData\\Local\\Temp",
>         "USERDOMAIN": "DESKTOP-9NT300B",
>         "USERDOMAIN_ROAMINGPROFILE": "DESKTOP-9NT300B",
>         "USERNAME": "Aurelien Pupier",
>         "USERPROFILE": "C:\\Users\\Aurelien Pupier",
>         "VAGRANT_DETECTED_OS": "cygwin",
>         "VAGRANT_HOME": "C:\\install\\.vagrant_home",
>         "VBOX_MSI_INSTALL_PATH": "C:\\Program Files\\Oracle\\VirtualBox\\",
>         "windir": "C:\\WINDOWS",
>         "__COMPAT_LAYER": "Installer"
>     },
>     "cwd": "c:\\install\\DevelopmentSuite-1.1.0\\cdk\\boxes"
> }
> Tue, 04 Oct 2016 13:08:48 GMT-ERROR: cdk - Error: Command failed: vagrant box remove cdkv2 -f
> The VirtualBox VM was created with a user that doesn't match the
> current user running Vagrant. VirtualBox requires that the same user
> be used to manage the VM that was created. Please re-run Vagrant with
> that user. This is not a Vagrant issue.
> The UID used to create the VM was: 0
> Your UID is: 1001
> {noformat}
> I tried to call the same command from cmd line and I have the same error.
> I tried to call the same command from cmd line as administrator and I have the same error.
> I found this on StackOverflow:http://stackoverflow.com/questions/31644222/vagrant-not-starting-up-user-that-created-vm-doesnt-match-current-user but I have no .vagrant\machines\default\virtualbox\creator_uid files neither .vagrant folder, I have only .vagrant.d folder
> I'm on Windows 10
> I suppose that the previous version of the box was installed while I followed the steps to install CDK before the installer exists.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jbosstools-issues mailing list