During installation, the product will compile and package all of the software that's needed to run Pivotal Cloud Foundry®. It does this by creating short-lived VM's called "compilation" VMs. These VMs spin up, build some software and then are terminated.
Occasionally there may be problems with the compilation process or the network connection to/from the compilation VM and it is helpful to connect to the VM to troubleshoot.
This article describes how to connect to a compilation VM.
Pivotal Cloud Foundry (PCF) 1.3.x, 1.4.x & 1.5.x
- The first step is to locate the compilation VM. This is typically done by logging into your IaaS (vSphere client, vCD web console, AWS web console, etc..) and watching the recent task list. The idea is to watch this list to see when new VMs are being created.
- The next step is to kick off the PCF installation. This is because compilation VMs only exist while an installation is running. Now, just wait for the installation to proceed to the stage where it begins compiling.
- Monitor your IaaS tool and wait for a compilation VM to be created. Select that VM and open it with the Console tool for your IaaS. This should present you with a login. The credentials for the VM will be vcap and c1oudc0w.
Because the compilation VMs only exist while actually compiling a package, they are short-lived. Exactly how long they stick around depends on the package being compiled and it's size & complexity. It's generally only for a few minutes though. Plan accordingly and copy any data that you want to retain off to a remote server, perhaps via sftp/scp.