[cf-dev] Help required

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[cf-dev] Help required

Umesh Moudgil
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.
.
_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8241) | [hidden email] | [hidden email] | Mute This Topic | New Topic

Your Subscription | [hidden email] | Unsubscribe [[hidden email]]

_._,_._,_
Reply | Threaded
Open this post in threaded view
|

Re: [cf-dev] Help required

Liu Liming

Hi Umesh,

From the error message:

 

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)

 

I think that’s due to the disk is full.

 

 

Thanks,

Andy

 

From: <[hidden email]> on behalf of Umesh Moudgil <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Thursday, September 6, 2018 at 9:47 PM
To: "[hidden email]" <[hidden email]>
Subject: [cf-dev] Help required

 

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.
.

_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8242) | [hidden email] | [hidden email] | Mute This Topic | New Topic

Your Subscription | [hidden email] | Unsubscribe [[hidden email]]

_._,_._,_
Reply | Threaded
Open this post in threaded view
|

Re: [cf-dev] Help required

Frédéric Desbiens
In reply to this post by Umesh Moudgil
Hi Umesh.

This will not work. CF Dev is designed to run on your laptop, not on public Cloud. Right now, it supports MacOS only. 

Best,

    Frédéric Desbiens
    Product Manager | Cloud Foundry BOSH

_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8243) | [hidden email] | [hidden email] | Mute This Topic | New Topic

Your Subscription | [hidden email] | Unsubscribe [[hidden email]]

_._,_._,_
Reply | Threaded
Open this post in threaded view
|

Re: [cf-dev] Help required

Corneil du Plessis
In reply to this post by Umesh Moudgil
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 <[hidden email]> 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.
.

_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8244) | [hidden email] | [hidden email] | Mute This Topic | New Topic

Your Subscription | [hidden email] | Unsubscribe [[hidden email]]

_._,_._,_
Reply | Threaded
Open this post in threaded view
|

Re: [cf-dev] 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 <[hidden email]> 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 <[hidden email]> 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.
.

_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8245) | [hidden email] | [hidden email] | Mute This Topic | New Topic

Your Subscription | [hidden email] | Unsubscribe [[hidden email]]

_._,_._,_
Reply | Threaded
Open this post in threaded view
|

Re: [cf-dev] Help required

Umesh Moudgil
Dear Scott,

Thanks a lot for prompt reply !!!
I tried running the commands however I didn't get the plugin from CF community.

[root@GBAZUKSL025 ~]# cf uninstall-plugin pcfdev
Uninstalling plugin pcfdev...
OK
Plugin pcfdev 0.30.0 successfully uninstalled.
[root@GBAZUKSL025 ~]# cf install-plugin cfdev
Searching CF-Community for plugin cfdev...
Plugin requested has no binary available for your platform.
FAILED

I have below Azure VM with 16GB RAM.


[root@GBAZUKSL025 ~]# uname -a
Linux GBAZUKSL025 3.10.0-862.9.1.el7.x86_64 #1 SMP Wed Jun 27 04:30:39 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux

I believe, it will not work till you make some tweaking in PFC Dev as per specific platform.
Please let me know if you have any other troubleshooting steps to follow.

Regards,
Umesh Kumar

On Thu, Sep 6, 2018 at 3:09 PM Scott Sisil <[hidden email]> wrote:
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 <[hidden email]> 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 <[hidden email]> 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.
.

_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8247) | [hidden email] | [hidden email] | Mute This Topic | New Topic

Your Subscription | [hidden email] | Unsubscribe [[hidden email]]

_._,_._,_
Reply | Threaded
Open this post in threaded view
|

Re: [cf-dev] Help required

Mike Lloyd
Umesh,

There was an interesting task I helped someone at Microsoft with regarding this same use case. I sent them your thread since they're not on the mailing list and I'll update you if/when he gets back to me on his testing and validation.

Thanks,

Mike.

On Fri, Sep 7, 2018 at 2:47 AM Umesh Moudgil <[hidden email]> wrote:
Dear Scott,

Thanks a lot for prompt reply !!!
I tried running the commands however I didn't get the plugin from CF community.

[root@GBAZUKSL025 ~]# cf uninstall-plugin pcfdev
Uninstalling plugin pcfdev...
OK
Plugin pcfdev 0.30.0 successfully uninstalled.
[root@GBAZUKSL025 ~]# cf install-plugin cfdev
Searching CF-Community for plugin cfdev...
Plugin requested has no binary available for your platform.
FAILED

I have below Azure VM with 16GB RAM.


[root@GBAZUKSL025 ~]# uname -a
Linux GBAZUKSL025 3.10.0-862.9.1.el7.x86_64 #1 SMP Wed Jun 27 04:30:39 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux

I believe, it will not work till you make some tweaking in PFC Dev as per specific platform.
Please let me know if you have any other troubleshooting steps to follow.

Regards,
Umesh Kumar

On Thu, Sep 6, 2018 at 3:09 PM Scott Sisil <[hidden email]> wrote:
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 <[hidden email]> 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 <[hidden email]> 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.
.

--
Thanks,

Mike.

(on mobile, apologies for typos!)
_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8248) | [hidden email] | [hidden email] | Mute This Topic | New Topic

Your Subscription | [hidden email] | Unsubscribe [[hidden email]]

_._,_._,_
Reply | Threaded
Open this post in threaded view
|

Re: [cf-dev] Help required

via Lists.Cloudfoundry.Org
In reply to this post by Umesh Moudgil

Hi Umesh,

Just got message from cf dev team, the cfdev plugin only available on windows 10 and macos for now.

And here’s the tracking issue for the support on Linux box: https://github.com/cloudfoundry-incubator/cfdev/issues/18

 

So maybe you should use a windows 10 or windows server 2016 vm to use the cfdev 😊

I also will try it later. Will post the result on this thread.

 

Thanks

Andy

 

From: <[hidden email]> on behalf of Umesh Moudgil <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Friday, September 7, 2018 at 4:47 PM
To: "[hidden email]" <[hidden email]>
Subject: Re: [cf-dev] Help required

 

Dear Scott,

 

Thanks a lot for prompt reply !!!

I tried running the commands however I didn't get the plugin from CF community.

 

[root@GBAZUKSL025 ~]# cf uninstall-plugin pcfdev
Uninstalling plugin pcfdev...
OK
Plugin pcfdev 0.30.0 successfully uninstalled.
[root@GBAZUKSL025 ~]# cf install-plugin cfdev
Searching CF-Community for plugin cfdev...
Plugin requested has no binary available for your platform.
FAILED

 

I have below Azure VM with 16GB RAM.

 


[root@GBAZUKSL025 ~]# uname -a
Linux GBAZUKSL025 3.10.0-862.9.1.el7.x86_64 #1 SMP Wed Jun 27 04:30:39 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux

 

I believe, it will not work till you make some tweaking in PFC Dev as per specific platform.

Please let me know if you have any other troubleshooting steps to follow.

Regards,

Umesh Kumar

 

On Thu, Sep 6, 2018 at 3:09 PM Scott Sisil <[hidden email]> wrote:

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 <[hidden email]> 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.

 

Error! Filename not specified.

Corneil du Plessis

Error! Filename not specified.about.me/corneil

 

 

 

On Thu, 6 Sep 2018 at 15:47, Umesh Moudgil <[hidden email]> 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.
.

_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8249) | [hidden email] | [hidden email] | Mute This Topic | New Topic

Your Subscription | [hidden email] | Unsubscribe [[hidden email]]

_._,_._,_
Reply | Threaded
Open this post in threaded view
|

Re: [cf-dev] Help required

via Lists.Cloudfoundry.Org

Hi Umesh,

 

And also I have another way to do the cf development, deploy the cloud foundry on one box:

https://github.com/virtualcloudfoundry/cf-azure-deployment/tree/master/cf-lite

here’s the sample scripts to do the deployment:

terraform apply -var prefix="cf-blabla" -var subscription_id="<your subsciption id>" -var client_id="<your client id>" -var client_secret="<your client secret>" -var tenant_id="<your tenant id>" -var ssh_user_username="cfcf" -var ssh_public_key_filename="./ssh_key.pub" -var auto_deploy_bosh="enabled" -var auto_deploy_cf="enabled" -var location="eastasia"

 

after run this, you would get one dev box, and one box, and one cf box.

You can login into the dev box to do the cf push and so on. (using cfcf and the ssh_key.priv to connect to it)

 

it’s not an official release, but normally I use it for cf feature development.

Feel free to shoot me one email if you have problem using it.

 

Thanks,

Andy

 

From: Andy Liu <[hidden email]>
Date: Friday, September 7, 2018 at 11:09 PM
To: "[hidden email]" <[hidden email]>
Subject: Re: [cf-dev] Help required

 

Hi Umesh,

Just got message from cf dev team, the cfdev plugin only available on windows 10 and macos for now.

And here’s the tracking issue for the support on Linux box: https://github.com/cloudfoundry-incubator/cfdev/issues/18

 

So maybe you should use a windows 10 or windows server 2016 vm to use the cfdev 😊

I also will try it later. Will post the result on this thread.

 

Thanks

Andy

 

From: <[hidden email]> on behalf of Umesh Moudgil <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Friday, September 7, 2018 at 4:47 PM
To: "[hidden email]" <[hidden email]>
Subject: Re: [cf-dev] Help required

 

Dear Scott,

 

Thanks a lot for prompt reply !!!

I tried running the commands however I didn't get the plugin from CF community.

 

[root@GBAZUKSL025 ~]# cf uninstall-plugin pcfdev
Uninstalling plugin pcfdev...
OK
Plugin pcfdev 0.30.0 successfully uninstalled.
[root@GBAZUKSL025 ~]# cf install-plugin cfdev
Searching CF-Community for plugin cfdev...
Plugin requested has no binary available for your platform.
FAILED

 

I have below Azure VM with 16GB RAM.

 


[root@GBAZUKSL025 ~]# uname -a
Linux GBAZUKSL025 3.10.0-862.9.1.el7.x86_64 #1 SMP Wed Jun 27 04:30:39 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux

 

I believe, it will not work till you make some tweaking in PFC Dev as per specific platform.

Please let me know if you have any other troubleshooting steps to follow.

Regards,

Umesh Kumar

 

On Thu, Sep 6, 2018 at 3:09 PM Scott Sisil <[hidden email]> wrote:

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 <[hidden email]> 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.

 

Error! Filename not specified.

Corneil du Plessis

Error! Filename not specified.about.me/corneil

 

 

 

On Thu, 6 Sep 2018 at 15:47, Umesh Moudgil <[hidden email]> 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.
.

_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8250) | [hidden email] | [hidden email] | Mute This Topic | New Topic

Your Subscription | [hidden email] | Unsubscribe [[hidden email]]

_._,_._,_
Reply | Threaded
Open this post in threaded view
|

Re: [cf-dev] Help required

via Lists.Cloudfoundry.Org

Hi Umesh,

I did a test the cfdev plugin on the windows 10 pro on windows azure with Standard D4s v3, it works.

 

Details steps:

  1. Create one “Standard D4s v3” windows 10 pro VM on azure.
  2. Enable the hyper-v follow this document https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v
  3. Download& install  cf-cli v6.28.0 from https://github.com/cloudfoundry/cli/releases
  4. install the plugin  cf install-plugin cfdev
  5. run the cf dev start.
  6. Login into the cf using : “cf login -a https://api.dev.cfdev.sh --skip-ssl-validation”
  7. Clone one sample application https://github.com/bingosummer/2048
  8. cf push

the app start up correctly.

 

BTW, I also tested the windows server 2016, it does not work for now, that’s due to the hyper-v detection logic does not cover the windows server 2016.

[hidden email] PR to add the support for the windows server 2016 sent : https://github.com/cloudfoundry-incubator/cfdev/pull/44

 

 

Thanks,

Andy

 

From: Andy Liu <[hidden email]>
Date: Friday, September 7, 2018 at 11:23 PM
To: "[hidden email]" <[hidden email]>
Subject: Re: [cf-dev] Help required

 

Hi Umesh,

 

And also I have another way to do the cf development, deploy the cloud foundry on one box:

https://github.com/virtualcloudfoundry/cf-azure-deployment/tree/master/cf-lite

here’s the sample scripts to do the deployment:

terraform apply -var prefix="cf-blabla" -var subscription_id="<your subsciption id>" -var client_id="<your client id>" -var client_secret="<your client secret>" -var tenant_id="<your tenant id>" -var ssh_user_username="cfcf" -var ssh_public_key_filename="./ssh_key.pub" -var auto_deploy_bosh="enabled" -var auto_deploy_cf="enabled" -var location="eastasia"

 

after run this, you would get one dev box, and one box, and one cf box.

You can login into the dev box to do the cf push and so on. (using cfcf and the ssh_key.priv to connect to it)

 

it’s not an official release, but normally I use it for cf feature development.

Feel free to shoot me one email if you have problem using it.

 

Thanks,

Andy

 

From: Andy Liu <[hidden email]>
Date: Friday, September 7, 2018 at 11:09 PM
To: "[hidden email]" <[hidden email]>
Subject: Re: [cf-dev] Help required

 

Hi Umesh,

Just got message from cf dev team, the cfdev plugin only available on windows 10 and macos for now.

And here’s the tracking issue for the support on Linux box: https://github.com/cloudfoundry-incubator/cfdev/issues/18

 

So maybe you should use a windows 10 or windows server 2016 vm to use the cfdev 😊

I also will try it later. Will post the result on this thread.

 

Thanks

Andy

 

From: <[hidden email]> on behalf of Umesh Moudgil <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Friday, September 7, 2018 at 4:47 PM
To: "[hidden email]" <[hidden email]>
Subject: Re: [cf-dev] Help required

 

Dear Scott,

 

Thanks a lot for prompt reply !!!

I tried running the commands however I didn't get the plugin from CF community.

 

[root@GBAZUKSL025 ~]# cf uninstall-plugin pcfdev
Uninstalling plugin pcfdev...
OK
Plugin pcfdev 0.30.0 successfully uninstalled.
[root@GBAZUKSL025 ~]# cf install-plugin cfdev
Searching CF-Community for plugin cfdev...
Plugin requested has no binary available for your platform.
FAILED

 

I have below Azure VM with 16GB RAM.

 


[root@GBAZUKSL025 ~]# uname -a
Linux GBAZUKSL025 3.10.0-862.9.1.el7.x86_64 #1 SMP Wed Jun 27 04:30:39 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux

 

I believe, it will not work till you make some tweaking in PFC Dev as per specific platform.

Please let me know if you have any other troubleshooting steps to follow.

Regards,

Umesh Kumar

 

On Thu, Sep 6, 2018 at 3:09 PM Scott Sisil <[hidden email]> wrote:

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 <[hidden email]> 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.

 

Error! Filename not specified.

Corneil du Plessis

Error! Filename not specified.about.me/corneil

 

 

 

On Thu, 6 Sep 2018 at 15:47, Umesh Moudgil <[hidden email]> 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.
.

_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8251) | [hidden email] | [hidden email] | Mute This Topic | New Topic

Your Subscription | [hidden email] | Unsubscribe [[hidden email]]

_._,_._,_
Reply | Threaded
Open this post in threaded view
|

Re: [cf-dev] Help required

via Lists.Cloudfoundry.Org

Sorry, minor change,  it’s v6.38.0 not v6.28.0.

 

From: Andy Liu <[hidden email]>
Date: Monday, September 10, 2018 at 2:17 PM
To: "[hidden email]" <[hidden email]>, Umesh Moudgil <[hidden email]>, Scott Sisil <[hidden email]>
Subject: Re: [cf-dev] Help required

 

Hi Umesh,

I did a test the cfdev plugin on the windows 10 pro on windows azure with Standard D4s v3, it works.

 

Details steps:

  1. Create one “Standard D4s v3” windows 10 pro VM on azure.
  2. Enable the hyper-v follow this document https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v
  3. Download& install  cf-cli v6.28.0 => v6.38.0 from https://github.com/cloudfoundry/cli/releases
  4. install the plugin  cf install-plugin cfdev
  5. run the cf dev start.
  6. Login into the cf using : “cf login -a https://api.dev.cfdev.sh --skip-ssl-validation”
  7. Clone one sample application https://github.com/bingosummer/2048
  8. cf push

the app start up correctly.

 

BTW, I also tested the windows server 2016, it does not work for now, that’s due to the hyper-v detection logic does not cover the windows server 2016.

[hidden email] PR to add the support for the windows server 2016 sent : https://github.com/cloudfoundry-incubator/cfdev/pull/44

 

 

Thanks,

Andy

 

From: Andy Liu <[hidden email]>
Date: Friday, September 7, 2018 at 11:23 PM
To: "[hidden email]" <[hidden email]>
Subject: Re: [cf-dev] Help required

 

Hi Umesh,

 

And also I have another way to do the cf development, deploy the cloud foundry on one box:

https://github.com/virtualcloudfoundry/cf-azure-deployment/tree/master/cf-lite

here’s the sample scripts to do the deployment:

terraform apply -var prefix="cf-blabla" -var subscription_id="<your subsciption id>" -var client_id="<your client id>" -var client_secret="<your client secret>" -var tenant_id="<your tenant id>" -var ssh_user_username="cfcf" -var ssh_public_key_filename="./ssh_key.pub" -var auto_deploy_bosh="enabled" -var auto_deploy_cf="enabled" -var location="eastasia"

 

after run this, you would get one dev box, and one box, and one cf box.

You can login into the dev box to do the cf push and so on. (using cfcf and the ssh_key.priv to connect to it)

 

it’s not an official release, but normally I use it for cf feature development.

Feel free to shoot me one email if you have problem using it.

 

Thanks,

Andy

 

From: Andy Liu <[hidden email]>
Date: Friday, September 7, 2018 at 11:09 PM
To: "[hidden email]" <[hidden email]>
Subject: Re: [cf-dev] Help required

 

Hi Umesh,

Just got message from cf dev team, the cfdev plugin only available on windows 10 and macos for now.

And here’s the tracking issue for the support on Linux box: https://github.com/cloudfoundry-incubator/cfdev/issues/18

 

So maybe you should use a windows 10 or windows server 2016 vm to use the cfdev 😊

I also will try it later. Will post the result on this thread.

 

Thanks

Andy

 

From: <[hidden email]> on behalf of Umesh Moudgil <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Friday, September 7, 2018 at 4:47 PM
To: "[hidden email]" <[hidden email]>
Subject: Re: [cf-dev] Help required

 

Dear Scott,

 

Thanks a lot for prompt reply !!!

I tried running the commands however I didn't get the plugin from CF community.

 

[root@GBAZUKSL025 ~]# cf uninstall-plugin pcfdev
Uninstalling plugin pcfdev...
OK
Plugin pcfdev 0.30.0 successfully uninstalled.
[root@GBAZUKSL025 ~]# cf install-plugin cfdev
Searching CF-Community for plugin cfdev...
Plugin requested has no binary available for your platform.
FAILED

 

I have below Azure VM with 16GB RAM.

 


[root@GBAZUKSL025 ~]# uname -a
Linux GBAZUKSL025 3.10.0-862.9.1.el7.x86_64 #1 SMP Wed Jun 27 04:30:39 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux

 

I believe, it will not work till you make some tweaking in PFC Dev as per specific platform.

Please let me know if you have any other troubleshooting steps to follow.

Regards,

Umesh Kumar

 

On Thu, Sep 6, 2018 at 3:09 PM Scott Sisil <[hidden email]> wrote:

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 <[hidden email]> 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.

 

Error! Filename not specified.

Corneil du Plessis

Error! Filename not specified.about.me/corneil

 

 

 

On Thu, 6 Sep 2018 at 15:47, Umesh Moudgil <[hidden email]> 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.
.

_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8252) | [hidden email] | [hidden email] | Mute This Topic | New Topic

Your Subscription | [hidden email] | Unsubscribe [[hidden email]]

_._,_._,_