Questions tagged [cloud-foundry]
Cloud Foundry is an open Platform-as-a-Service (PaaS), providing a choice of clouds, developer frameworks and application services. It is an open-source project and is available through a variety of private cloud distributions and public cloud instances, including CloudFoundry.org.
3,080
questions
-1
votes
0answers
8 views
how to install iptable rule in cloud foundry
I'm trying to install custom iptable rules in cloud foundry to mark specific destination traffic with an dscp tag. I do not have root access to cloud foundry. I'm installing openjdk-8-jre to my python ...
0
votes
1answer
17 views
Metric Registrar in Cloud Foundry
Does Metric Registrar works in Cloud Foundry without Pivotal?
I have open source Cloud Foundry and I need to get custom metrics from app. I installed Metric Registrar community plugin for CF, I ...
-1
votes
0answers
20 views
cloud-foundry with kubernetes
Currently,have hosted the microservice apps on cloud-foundry. But sometimes whenever the apps goes down, will have to start them manually . So,I am looking for some option if I can have an abstract ...
0
votes
1answer
30 views
Unable to create organization and space in PCF using CLI
I have created the PCF account in run.pivotal.io platform but not able to create org and space in UI as PCF is not allowing new account and showing the message "We will no longer be accepting any ...
0
votes
1answer
17 views
Steeltoe3.0 AddCloudFoundryConfiguration throws exception
I have upgraded my app to .net 5 and hence upgraded steeltoe also to 3.0, but when i run the app I get an exception as "could not load type 'steeltoe.extensions.configuration.cloudfoundry.service'...
0
votes
1answer
11 views
Convert docker image into Cloud Foundry droplet
Is there a simple way of converting my docker image to a cloud foundry droplet ?
What did not work:
docker save registry/myapp1 |gzip > myapp1.tgz
cf push myapp1 --droplet myapp1.tgz
LOG: 2021-...
0
votes
1answer
25 views
mux unknown revision error while pushing application to cloud foundry
I'm trying to deploy a Go Web application using mux for routing, onto Cloud Foundry. My application contains a couple of other dependencies as well, mentioned below. However, there is a problem with ...
0
votes
0answers
38 views
Azure DevOps Deploy to Pivotal Cloud Foundry: Making Sure The Services Are Ready
I have a Build Release pipeline I'm creating in Azure DevOps (ADO) for deploying an app to Pivotal Cloud Foundry (PCF). I am using the CLI to issue a cf create-service ... command and ensure that the ...
0
votes
0answers
14 views
Failed to compress droplet filesystem: exit status 2
I've been deploying a Java application and trying to push it to the Cloud using the PaaS Cloud Foundry The exact error log.
2021-02-01T10:19:09.45-0300 [STG/0] ERR Failed to compress droplet ...
0
votes
2answers
72 views
How can a springboot application deployed on PCF read messages from Websphere MQ
I'm developing a spring boot application that will be deployed in pivotal cloud foundry and it needs to read/listen to messages from Websphere MQ. Is there a way to do that?
0
votes
0answers
33 views
Error when Deploying Asp.Net Core app with multiple projects with Cloud Foundry
I'm a total novice at cloud foundry and my organisation has asked me to look into deploying using cloud foundry. I've created a very basic Blazor App as shown below.
Solution Structure
When I try to ...
0
votes
1answer
38 views
Cloud Foundry with 3 AZ without shared storage
I am trying to install Cloud Foundry on three vSphere clusters (one node each) using Bosh without having shared storage. The nodes use their own local storages.
If I use scale-to-one-az.yml file, I ...
0
votes
0answers
43 views
TokenStore in Spring Security 5.x after removal of Spring Security OAuth 2.x
Are there plans to provide TokenStore in Spring Security 5.x after end of life of Spring Security OAuth 2.x?
Currently we are using JdbcTokenStore to cache the tokens, which later on are used to ...
0
votes
0answers
12 views
Cloud Foundry ensure the communication between concourse service and deployed container
We need to run our integration tests against a running container on cloud foundry.
The problem is that the deployed container can not be reached from the CF concourse service. There is only ...
1
vote
1answer
26 views
Is there any way to use Spring cloud config server hosted outside PCF environment from an application hosted with in PCF?
I have a Spring boot application hosted on the PCF environment which I wanted to connect to a Config server hosted outside the PCF. How I would be able to achieve that?
Searching online, I have found ...
0
votes
1answer
28 views
What is the differnce between a Cloud Foundry and A Web Server
So being an SAP consultant , I am trying to understand the SAP cloud foundry .
As per understanding till now , Cloud Foundry is a runtime engine provider (on the cloud ) .
There are many Cloud ...
0
votes
0answers
22 views
Access environment variable defined on jules.yml through code
I have a flask application and the jules pipeline to be hosted into Gaia cloud using cloudfoundry.
Manisfest.yml
---
applications:
- name: my_app
path: ./
buildpacks:
-python_buildpack
command:...
0
votes
1answer
41 views
How to test or validate multiple instances of app hosted in PCF (Cloud Foundry)
We had hosted Sprint boot application in PCF and configured to 3 instances. As a QA how to validate multiple instances. Is there a any tool which can help us to validate.
0
votes
1answer
37 views
How can I get PCF App Manager to display information about my detected as Spring Boot Application?
I have a Spring Boot application that is being deployed to Pivotal Cloud Foundry (PCF).
PCF recognizes the application as a Spring Boot Application. However, the none of the information displays.
The ...
0
votes
1answer
28 views
Scaling Socket.io Node.js App using Cloud Foundry and NginX Build Pack
I am trying to scale my Socket.io Node.js server horizontally using Cloud Foundry (on IBM Cloud).
As of now, my manifest.yml for cf looks like this:
applications:
- name: chat-app-server
memory: ...
0
votes
1answer
30 views
Error while deploying on CF: “ERR The serve command requires to be run in an Angular project, but a project definition could not be found.”
I want to deploy my Angular Application to Cloud-Foundry.
Below you can find the current package.json located in my dist folder:
{
"name": "showroom-app",
"version": &...
2
votes
1answer
51 views
How can the locale and encoding set in cloudfoundry buildpack docker image built by spring boot gradle task “bootBuildImage”
When I create a docker image with a spring boot app, I see encoding problems in filenames of directories mounted into the running container with the spring boot app. I create the docker image by the ...
0
votes
0answers
100 views
Installing PCF DEV in Windows 10 Home Edition
I am new to Pivotal Cloud Foundry and I need to play with PCF.
I understand Pivotal Web Service (PWS) reached EOL and no more new registration accepted for it.
I have came to know we can install PCF ...
0
votes
1answer
29 views
How to do a logout from SiteMinder session for a Pivotal Cloud Foundry hosted JSP/Servlet application?
I am having a JSP/Servlet based application running on Pivotal Cloud Foundary and using Siteminder for authentication.
The logout we implemented but is unsuccessful currentnly includes
clearing of ...
0
votes
1answer
37 views
Python with --enable-shared on cloudfoundry
I would like to deploy an application on a cloudfoundry instance, consisting of an Rmarkdown file which should contain both R and python chunks. I'd like to render the document on cloudfoundry, rather ...
0
votes
1answer
31 views
Pivotal Cloud Foundry - Deployed Spring Boot App failed to run because of java netsocket(port) permission denied
so, i tried to deploy spring boot app to a PCF Server. When i deployed it, the logs showed that my application was shut down because it failed to open a tomcat server because there is a java....
0
votes
0answers
18 views
RabbitMQ/CloudFoundry - How to enable publisher returns?
I'm using the Publisher Returns - RabbitMQ Error Channels - concept in my Spring Boot application.
spring.rabbitmq.publisher-confirms: true
spring.rabbitmq.publisher-returns: true
spring.cloud.stream....
0
votes
0answers
200 views
Get /login: unsupported protocol scheme “” wth Cloud Foundry cli
I am getting the below error
Get /login: unsupported protocol scheme ""
when I am trying to login with cloud foundry cli..
I am typing cf login , it displays the api endpoint and the below ...
1
vote
1answer
89 views
PCF p-config-server /decrypt api returning 403 forbidden error
While trying to use encryption/decryption feature of spring cloud config server with Pivotal Cloud Foundry's p-config-server service which is configured with a symmetric key for encryption, I am ...
1
vote
1answer
421 views
Webclient : java.lang.OutOfMemoryError: Direct buffer memory
I am getting java.lang.OutOfMemoryError: Direct buffer memory error at the web client.
The batch job runs daily. It fails twice then passed in the third attempt.
at org.springframework.retry.support....
0
votes
0answers
42 views
Add HTTP response header set_cookie in R shiny app
We, as non-R experts/developers(!), are trying to migrate an R Shiny webapp to Cloud Foundry. To be able to facilitate the Cloud Foundry auto scaling option for this specific case, we need to add a ...
0
votes
0answers
30 views
How to get logs of multiple apps, using cf-cli?
I am using java Process to open a shell, pull app logs from cf-cli and stop Process when some conditions are met, the problem is that I need logs from multiple apps to check the conditions. I want to ...
1
vote
0answers
43 views
Why is the fs (filesystem) being deleted in the cloud foundry app hosted on IBM Cloud?
So I hosted my backend (RESTful API) as a cloud foundry resource in IBM Cloud. The backend dir looks something like this
controllers
models
middlewares
pdfs
public
routes
...
In my code, I am sending ...
1
vote
0answers
32 views
Java Not Found while using Tabula-py on Cloud Foundry
I am using Python's library Tabula which has a dependency on Java 8.0+.
I can run the flask app successfully on my local machine using Postman as I have java installed in my path, however I am unable ...
0
votes
0answers
17 views
Bind new Cloud Foundry application to SSO Service via Jenkins script
My team deploys feature branches of the application code from GitHub to Pivotal Cloud Foundry as new applications in our PCF development environment. However, they also want to bind the newly-deployed ...
0
votes
2answers
57 views
Cloud Foundry map Users with spaces, organizations and role collections
I have cloud foundry organizations and spaces in these organizations. To check which Users is in which space I wanted to access the API via the cloud controller v3: https://v3-apidocs.cloudfoundry.org/...
0
votes
0answers
84 views
Getting pyodbc to connect in Cloud Foundry
I am trying to get a python script to deploy to Cloud Foundry which uses pyobdc to connect to sql server and execute commands. My pyobdc connection statement looks like so:
warehouse_connection = ...
0
votes
1answer
24 views
Cloud Foundry more then 10 ports for an app by curl
I have running app in Cloud Foundry. I would like to proceed the procedure of adding more then 10 ports to the app described here: https://docs.cloudfoundry.org/devguide/custom-ports.html#procedure
...
1
vote
0answers
171 views
Unable to deploy CAP application to Cloud Foundry
I have been developing an application using Cloud Application Programming Model (Node.js), following this tutorial:
https://github.com/SAP-samples/cloud-cap-nodejs-codejam
Unfortunately, I am unable ...
0
votes
0answers
19 views
Python buildpack
We're having a terrible time trying to get our build to run. We keep getting the following error message:
Preparing transaction: ...working... done
Executing transaction: ...working... done
...
0
votes
0answers
28 views
Pivotal Cloud Foundry : Error while deploying app
I am getting the following error when I am trying to deploy an app :
Pushing from manifest to org s / space P as l...
Using manifest file /Users/a/b/b/b/manifest.yml
Getting app info...
Unexpected ...
0
votes
0answers
49 views
Spring Cloud Config Server on Pivotal Cloud Foundry
I have two microservices. A Spring Cloud Config Server and another module that implements Spring Cloud Config Client. When I use the default configuration for the Spring Cloud Config Server service (...
0
votes
0answers
24 views
Database for django deployed application
I have a Django website where you can fill a form and after that you can upload/download files. I'm using PostgreSQL database and everything works well locally. If I deploy the site on the server (...
0
votes
1answer
45 views
Can not create shared-domain in Cloud Foundry - 504 Gateway Time-out
I can not create shared-domain in Cloud Foundry, any pushed apps get's health check connection refused.
I had working Cloud Foundry environment based on OpenStack IaaS. Everything worked as expected. ...
0
votes
0answers
49 views
PCF .Net Core: Access system provided service variable in .Net Core
I am having a .Net core application that has secret information like clientid and secret. For that, I am using Credhub service borker. I have pushed my .Net core application to PCF and bind it with ...
0
votes
0answers
43 views
Cloud foundry “cf create-service” appends nonsense to “xsappname”
Trying to create a XSUAA service in the cloud fail because of already existing service. But actually no service exist there.
-> cf create-service xsuaa application xsuaa-authentication-newsletter -...
0
votes
1answer
60 views
Node.js - how to read Environmental variables from Cloud Foundry application?
I am working on the Node.js project and need to login to Cloud Foundry and read environmental variables (basically, credentials) of one application. So far, I was able to login and target the correct ...
0
votes
1answer
32 views
CF Python micoservices application(s) with common local python module(s)
I'm writing a CF microservices group of apps in python/flask. There are 6 applications total. All of these share a couple of local python modules.
I can't figure out a decent way to manage these ...
0
votes
1answer
137 views
Can I have multiple commands run in a manifest.yml file?
I have a question about manifest.yml files, and the command argument. I am trying to run multiple python scripts, and I was wondering if there was a better way that I can accomplish this?
command: ...
2
votes
2answers
105 views
cf push failed java version mismatch
I'm trying to push "spring-music" demo application to my local dev cloud foundary, but I'm getting below error. When I run the command "cf logs spring-music --recent" I got the ...