Re: Help required

Scott Sisil
 

Hi Umesh,

Im the PM for CF Dev - you are using the legacy PCF Dev plugin - please use the latest version the new CF Dev that uses native hypervisors instead of virtual box for virtualization

You can get this version if you uninstall the legacy pcf dev plugin 

`cf uninstall-plugin pcfdev`

and then install the latest version of cf dev

`cf install-plugin cfdev`

As Frederic mentioned earlier in the chain - this tool is intended to run on a local machine, not an Azure VM.  However, in theory it should work on an Azure VM if you configure the VM with 4 cores and a generous amount of RAM (64 GB +) and also configure it to use nested VMs (https://docs.microsoft.com/en-us/azure/virtual-machines/windows/nested-virtualization) so it can use native hypervisors. 

We have not seen this setup work on our team - but you may be able to get it to work. Let us know.

-Scott


On Thu, Sep 6, 2018 at 8:59 AM Corneil du Plessis <corneil.duplessis@...> wrote:
pcfdev is aimed at running in VirtualBox on your desktop. I don't think it is going to work when trying to install in another VM.


On Thu, 6 Sep 2018 at 15:47, Umesh Moudgil <umoudgil08@...> wrote:
Dear All,

I am trying to setup PCF Dev on my Azure VM.
However when I run "pcf dev start" command, I will below error:


[root@GBAZUKSL025 softwares]# cf dev start
Using existing image.
Allocating 4096 MB out of 16030 MB total system memory (12709 MB free).
Importing VM...
FAILED
Error: failed to import VM: failed to execute 'VBoxManage clonemedium disk /root/.pcfdev/vms/pcfdev-v0.549.0-disk1.vmdk.compressed /root/.pcfdev/vms/pcfdev-v0.549.0/pcfdev-v0.549.0-disk1.vmdk': exit status 1: 0%!.(MISSING).10%!.(MISSING).20%!.(MISSING).30%!.(MISSING).40%!.(MISSING).50%!.(MISSING).60%!.(MISSING).70%!.(MISSING).80%!.(MISSING).
Progress state: VBOX_E_FILE_ERROR
VBoxManage: error: Failed to clone medium
VBoxManage: error: Could not create the clone medium '/root/.pcfdev/vms/pcfdev-v0.549.0/pcfdev-v0.549.0-disk1.vmdk'.
VBoxManage: error: VMDK: cannot write allocated data block in '/root/.pcfdev/vms/pcfdev-v0.549.0/pcfdev-v0.549.0-disk1.vmdk' (VERR_DISK_FULL)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MediumWrap, interface IMedium
VBoxManage: error: Context: "RTEXITCODE handleCloneMedium(HandlerArg*)" at line 990 of file VBoxManageDisk.cpp



Please let me know if you require any further details.
.

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.