Date   

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


Re: Help required

Corneil du Plessis
 

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


Re: Help required

Frédéric Desbiens
 

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


Re: 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: <cf-dev@...> on behalf of Umesh Moudgil <umoudgil08@...>
Reply-To: "cf-dev@..." <cf-dev@...>
Date: Thursday, September 6, 2018 at 9:47 PM
To: "cf-dev@..." <cf-dev@...>
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.
.


Help required

umoudgil08@...
 

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


Cloud Foundry Community Awards

Swarna Podila
 

Dear Cloud Foundry Community,
We are bringing the Community Awards to Cloud Foundry Summit EU (Basel, Switzerland)!  We need your help; please take a minute to nominate your peer(s) today!  Nominations close on September 15, 2018.

More info at: https://www.cloudfoundry.org/blog/nominate-the-cloud-foundry-community-for-awards-deadline-915/
Nomination form: https://docs.google.com/forms/d/e/1FAIpQLSfVNtvu43XQJF43vH-BbeYw1EjI3re5OOsgCC3guIojNN4DpA/viewform?usp=sf_link

Thank you,
Swarna.


Re: Entity Relationship Diagram #cf

Daniel Jones
 

Hi,

I don't think there is, but a quick web search shows that there are tools that you can connect to the Cloud Controller database that will generate an ERD.

Regards,
Daniel 'Deejay' Jones - CTO
+44 (0)79 8000 9153
EngineerBetter Ltd - More than Cloud Foundry specialists


On Tue, 28 Aug 2018 at 20:26, <yegor.ius@...> wrote:
Is there an Entity Relationship Diagram for the database schema?


Entity Relationship Diagram #cf

yegor.ius@...
 

Is there an Entity Relationship Diagram for the database schema?


[FEEDBACK REQUESTED] Brokers MAY receive update request with no parameters or plan change

Lozev, Georgi
 

Hello CF Broker authors,

 

As part of the efforts to improve the workflows and the user experience related to services in Cloud Foundry the following proposal was born [1].

 

The idea is to add the name of the service instance in CF as part of the context information passed to the brokers on provision and update requests. This will allow broker authors to do things like displaying dashboards with more useful information than the service instance guid.

 

We have a suspicion that sending an update request with no parameters or plan change may break some existing brokers and we’d like to get some early feedback on that.

 

Could you please elaborate if you are a broker author and think this might be a breaking change for you?

 

You could reach the Services API Team by replying to this email or in our Slack channel [2].

 

BR,

Georgi & Niki on behalf of SAPI Team

 

[1] https://github.com/openservicebrokerapi/servicebroker/pull/544

[2] https://cloudfoundry.slack.com/messages/C5WH3RDLZ

 

 


High Availability in Cloud Foundry #cf

s.yousouf@...
 

Hi all,

 

I am conducting a research whether we can ensure that application instances run in different availability zones (AZs) to guarantee their high availability.

 

Generally, how do you guarantee HA for your applications and the apps of customers? According to the description of the Diego Auction (https://docs.cloudfoundry.org/concepts/diego/diego-auction.html), first priority is to choose Diego cells with correct software stack and sufficient resources; distribution over different AZs is a second priority. Therefore an app might be running in only one AZ.

 

Also, how can we detect in which AZs the applications are running? We checked the output of CC REST APIs v2 and v3 and of cf tool but didn’t find anything useful there.

 

Going one step further, can we do more than only detect such cases in our CF installations and warn users? Is there tooling or APIs to rebalance the instances without restarting or pausing the apps?

 

Thanks in advance,

Shenol


Re: [cf-bosh] BOSH PMC refactoring part 2 – moving CPIs out of incubation

Dr Nic Williams <drnicwilliams@...>
 

Thanks Marco


From: cf-bosh@... <cf-bosh@...> on behalf of Marco Voelz <marco.voelz@...>
Sent: Thursday, August 23, 2018 7:17:33 PM
To: cf-bosh@...
Cc: Discussions about Cloud Foundry projects and the system overall.
Subject: [cf-bosh] BOSH PMC refactoring part 2 – moving CPIs out of incubation
 

Dear friends of BOSH,
 
The BOSH project management committee (PMC) proposes to promote the most mature and widely used CPIs from incubation to full project status. Specifically, we want to promote these CPIs
  • AWS CPI [1]
  • OpenStack CPI [2]
  • VSphere CPI [3]
  • Google CPI [4]
  • Azure CPI [5]

Promoting the projects has some impact on their users, depending on how you consume the CPIs
  • We will move the repositories from the cloudfoundry-incubator to the cloudfoundry organization in github. Github takes care of redirecting from the old repository location to the new one, so all links and references to the old repositories should still work. 
  • References on bosh.io currently include the github organization name [6]. In the past, there have been issues with people consuming outdated releases from bosh.io after they had been renamed or moved – we might need a similar mechanism of redirecting that github provides to avoid that.

Please reach out to by replying to this mail or contacting me personally if you have questions, concerns, or comments.

Warm regards
Marco

PS: cross-posted on cf-developers for greater reach and potential experiences about previous promotions from incubator to full project.



BOSH PMC refactoring part 2 – moving CPIs out of incubation

Marco Voelz
 

Dear friends of BOSH,
 
The BOSH project management committee (PMC) proposes to promote the most mature and widely used CPIs from incubation to full project status. Specifically, we want to promote these CPIs
  • AWS CPI [1]
  • OpenStack CPI [2]
  • VSphere CPI [3]
  • Google CPI [4]
  • Azure CPI [5]

Promoting the projects has some impact on their users, depending on how you consume the CPIs
  • We will move the repositories from the cloudfoundry-incubator to the cloudfoundry organization in github. Github takes care of redirecting from the old repository location to the new one, so all links and references to the old repositories should still work. 
  • References on bosh.io currently include the github organization name [6]. In the past, there have been issues with people consuming outdated releases from bosh.io after they had been renamed or moved – we might need a similar mechanism of redirecting that github provides to avoid that.

Please reach out to by replying to this mail or contacting me personally if you have questions, concerns, or comments.

Warm regards
Marco

PS: cross-posted on cf-developers for greater reach and potential experiences about previous promotions from incubator to full project.



Re: UAA required configuration #cf

williamnguyen167@...
 

Thank you for your reply.
I have fixed this problem by adding encryption into uaa.yml
Still having another exception but uncommment the SAML key configuration will solve it.


Notice: [Cloud Controller] capi-release is removing debian_nfs_server

Charles Hansen <chansen@...>
 

Hi all,

capi-release is removing the debian_nfs_server job and package. It was deprecated in January 2016 and replaced with webdav. We still support connecting to nfs, but we no longer provide an nfs server.

To follow the full extent of this work, you can see the tracker story here:

Please feel free to reach out on slack if you have any questions:

Thanks,
- CAPI team


Re: CFCR?

Oleksandr Slynko
 

Hi Mike,

Use this mailing list or go directly to the Slack #cfcr channel. https://cloudfoundry.slack.com/messages/C5SF37P8X

Sincerely,
Alex Slynko


Re: CFCR?

Chip Childers <cchilders@...>
 

This should work! Or if it's more BOSH related, the cf-bosh@... list might be better.


On Wed, Aug 22, 2018 at 3:39 PM Mike Lloyd <mike@...> wrote:

Hey folks,

 

Where is the best place to post topics/questions about CFCR? Would that be here or is there another mailing list specific to CFCR?

 

Respectfully,

 

Mike Lloyd

t: @mxplusc

g: @mxplusb
Professional Member, ACM

 

--
Chip Childers
CTO, Cloud Foundry Foundation
1.267.250.0815


CFCR?

mike@...
 

Hey folks,

 

Where is the best place to post topics/questions about CFCR? Would that be here or is there another mailing list specific to CFCR?

 

Respectfully,

 

Mike Lloyd

t: @mxplusc

g: @mxplusb
Professional Member, ACM

 


Re: UAA required configuration #cf

Dr Nic Williams <drnicwilliams@...>
 

Try adding this encryption: section https://github.com/starkandwayne/quick-uaa-deployment-cf/blob/master/src/uaa.yml#L8

 


From: 30051024040n behalf of
Sent: Wednesday, August 22, 2018 6:02 pm
To: cf-dev@...
Subject: [cf-dev] UAA required configuration #cf
 
I'm trying to build UAA on localhost (Window 10 Home)
After running command "$ ./gradlew run"
And finished (I think so) execute at 97%
I running command: 
"$ curl -H "Accept: application/json" localhost:8080/uaa/login
{
  "timestamp":"2012-03-28T18:25:49+0100",
  "commit_id":"111274e",
  "prompts":{"username":["text","Username"],
    "password":["password","Password"]
  }
}"
Server return "FAILURE"
Take a look at log file
The exception threw as: "Invalid bean definition with name 'activeKeyService' defined in class path resource [spring/login-ui.xml]: Could not resolve placeholder 'encryption.active_key_label' in value "${encryption.active_key_label}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'encryption.active_key_label' in value "${encryption.active_key_label}"
How can I fix this problem?


UAA required configuration #cf

williamnguyen167@...
 

I'm trying to build UAA on localhost (Window 10 Home)
After running command "$ ./gradlew run"
And finished (I think so) execute at 97%
I running command: 
"$ curl -H "Accept: application/json" localhost:8080/uaa/login
{
  "timestamp":"2012-03-28T18:25:49+0100",
  "commit_id":"111274e",
  "prompts":{"username":["text","Username"],
    "password":["password","Password"]
  }
}"
Server return "FAILURE"
Take a look at log file
The exception threw as: "Invalid bean definition with name 'activeKeyService' defined in class path resource [spring/login-ui.xml]: Could not resolve placeholder 'encryption.active_key_label' in value "${encryption.active_key_label}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'encryption.active_key_label' in value "${encryption.active_key_label}"
How can I fix this problem?


Re: Polyglot Service Discovery is Generally Available

Mike Youngstrom
 

Wahoo!!!!


On Tue, Aug 21, 2018 at 5:32 PM Preethi Varambally <pvarambally@...> wrote:
Hello All,

Polyglot Service Discovery is now Generally Available in cf-deployment version 3.4.0. Here is the feature narrative that we had shared previously and contains the latest updates.

We made an enhancement to this feature to allow you to configure custom internal domains. Optionally you can still continue to use 'apps.internal' if you wish to. You can find instructions for this on our Github page.

Please reach out to us if you have any questions.

Thanks,
CF Networking Team


1141 - 1160 of 9377