[jbosstools-issues] [JBoss JIRA] (JBDS-3863) Platform Installer Hung after CDK install failed, no way to cancel, no info on error.

Robert Terzi (JIRA) issues at jboss.org
Wed Apr 27 15:44:00 EDT 2016


Robert Terzi created JBDS-3863:
----------------------------------

             Summary: Platform Installer Hung after CDK install failed,  no way to cancel, no info on error.
                 Key: JBDS-3863
                 URL: https://issues.jboss.org/browse/JBDS-3863
             Project: Developer Studio (JBoss Developer Studio)
          Issue Type: Bug
          Components: platform-installer
    Affects Versions: 9.1.0.Beta1
         Environment: Windows 7/64 bit.
(Some components of previous manual CDK install on the system).

            Reporter: Robert Terzi
         Attachments: jbds-install-log-win7-error.txt

Using the platform installer, CDK installation failed, progress shown as 99%.  At this point the installer was hung. 
  Note:
* CDK install progress said Failed, with progress stuck at 99%.
* There is no way to cancel out of the install.
* There was no pop-up about error messages.
* No indication of where to look for error messages/logs etc.was provided.
* CDK was previously installed manually.  However, the installer window didn't say a previous CDK installation was detected, but the log does show it deleted the previous cdkv2 box.

>From the log it looks like the box add command failed.   This might have been due to disk space, but it's not clear/obvious from the log.  

Note: after killing the installer and trying the `vagrant box add` command copied from the log file manually in Cygwin bash the box add command succeeded.   The test system had 5-15 GB of free space between the installation started. 

Full log attached, excerpt here.  


Tue, 26 Apr 2016 18:05:38 GMT-INFO: cdk - Move C:\Users\rct\AppData\Local\Temp\7zSC53C.tmp\rhel-vagrant-virtualbox.box to c:\sw\rhjbds\cdk\boxes\rhel-vagrant-virtualbox.box
Tue, 26 Apr 2016 18:05:43 GMT-INFO: cdk - Move C:\Users\rct\AppData\Local\Temp\7zSC53C.tmp\rhel-vagrant-virtualbox.box to c:\sw\rhjbds\cdk\boxes\rhel-vagrant-virtualbox.box SUCCESS
Tue, 26 Apr 2016 18:05:43 GMT-INFO: cdk - Move C:\Users\rct\AppData\Local\Temp\7zSC53C.tmp\pscp.exe to c:\sw\rhjbds\cdk\bin\pscp.exe
Tue, 26 Apr 2016 18:05:43 GMT-INFO: cdk - Move C:\Users\rct\AppData\Local\Temp\7zSC53C.tmp\pscp.exe to c:\sw\rhjbds\cdk\bin\pscp.exe SUCCESS
Tue, 26 Apr 2016 18:05:43 GMT-INFO: cdk - Write C:\Users\rct\AppData\Local\Temp\set-pscp-path.ps1
Tue, 26 Apr 2016 18:05:43 GMT-INFO: cdk - Write C:\Users\rct\AppData\Local\Temp\set-pscp-path.ps1 SUCCESS
Tue, 26 Apr 2016 18:05:43 GMT-INFO: cdk - Write c:\sw\rhjbds\cdk\components\rhel\rhel-ose\.cdk
Tue, 26 Apr 2016 18:05:43 GMT-INFO: cdk - Write c:\sw\rhjbds\cdk\components\rhel\rhel-ose\.cdk SUCCESS
Tue, 26 Apr 2016 18:05:43 GMT-INFO: cdk - Execute powershell -ExecutionPolicy,ByPass,-File,C:\Users\rct\AppData\Local\Temp\set-pscp-path.ps1
Tue, 26 Apr 2016 18:05:44 GMT-INFO: cdk - Execute powershell -ExecutionPolicy,ByPass,-File,C:\Users\rct\AppData\Local\Temp\set-pscp-path.ps1 SUCCESS
Tue, 26 Apr 2016 18:05:44 GMT-INFO: cdk - postVagrantSetup called
Tue, 26 Apr 2016 18:05:44 GMT-INFO: cdk - Execute command vagrant plugin install "c:\sw\rhjbds\cdk\plugins\vagrant-registration-1.2.1.gem"
Tue, 26 Apr 2016 18:05:44 GMT-INFO: cdk - Execute options {
    "env": {
        "path": "C:\\HashiCorp\\Vagrant\\bin;C:\\Program Files\\Oracle\\VirtualBox\\;"
    }
}
Tue, 26 Apr 2016 18:05:55 GMT-INFO: cdk - Installing the 'c:\sw\rhjbds\cdk\plugins\vagrant-registration-1.2.1.gem' plugin. This can take a few minutes...
Installed the plugin 'vagrant-registration (1.2.1)'!

Tue, 26 Apr 2016 18:05:55 GMT-INFO: cdk - Execute vagrant plugin install "c:\sw\rhjbds\cdk\plugins\vagrant-registration-1.2.1.gem" SUCCESS
Tue, 26 Apr 2016 18:05:55 GMT-INFO: cdk - Execute command vagrant box remove cdkv2 -f
Tue, 26 Apr 2016 18:05:55 GMT-INFO: cdk - Execute options {
    "env": {
        "path": "C:\\HashiCorp\\Vagrant\\bin;C:\\Program Files\\Oracle\\VirtualBox\\;"
    }
}
Tue, 26 Apr 2016 18:06:02 GMT-INFO: cdk - Removing box 'cdkv2' (v0) with provider 'virtualbox'...

Tue, 26 Apr 2016 18:06:02 GMT-INFO: cdk - Execute vagrant box remove cdkv2 -f SUCCESS
Tue, 26 Apr 2016 18:06:02 GMT-INFO: cdk - Execute command vagrant box add --name cdkv2 "c:\sw\rhjbds\cdk\boxes\rhel-vagrant-virtualbox.box"
Tue, 26 Apr 2016 18:06:02 GMT-INFO: cdk - Execute options {
    "env": {
        "path": "C:\\HashiCorp\\Vagrant\\bin;C:\\Program Files\\Oracle\\VirtualBox\\;"
    }
}
Tue, 26 Apr 2016 18:06:10 GMT-ERROR: cdk - Error: Command failed: vagrant box add --name cdkv2 "c:\sw\rhjbds\cdk\boxes\rhel-vagrant-virtualbox.box"
The box failed to unpackage properly. Please verify that the box
file you're trying to add is not corrupted and try again. The
output from attempting to unpackage (if any):

x box.ovf
x Vagrantfile
x vagrant-virtualbox-box.vmdk: Write failed
x metadata.json
bsdtar.EXE: Error exit delayed from previous errors.

Tue, 26 Apr 2016 18:06:10 GMT-ERROR: cdk - The box failed to unpackage properly. Please verify that the box
file you're trying to add is not corrupted and try again. The
output from attempting to unpackage (if any):

x box.ovf
x Vagrantfile
x vagrant-virtualbox-box.vmdk: Write failed
x metadata.json
bsdtar.EXE: Error exit delayed from previous errors.

Tue, 26 Apr 2016 18:06:10 GMT-ERROR: cdk failed to install: Error: Command failed: vagrant box add --name cdkv2 "c:\sw\rhjbds\cdk\boxes\rhel-vagrant-virtualbox.box"
The box failed to unpackage properly. Please verify that the box
file you're trying to add is not corrupted and try again. The
output from attempting to unpackage (if any):

x box.ovf
x Vagrantfile
x vagrant-virtualbox-box.vmdk: Write failed
x metadata.json
bsdtar.EXE: Error exit delayed from previous errors.






--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list