I am taking Pivotal's Cloud Foundry training. I set up a 30 day trial account at SAP and trying to push my first "hello, world" application, but getting error
Updating app web-app...
Mapping routes...
You have exceeded the total routes for your organization's quota. FAILED
How do I increase that quota? (This is my first and only push! Not sure why I am exceeding anything!)
I tried
> cf org P2000121914trial_trial
Getting info for org P2000121914trial_trial...
name: P2000121914trial_trial
domains: cfapps.us10.hana.ondemand.com
quota: SUBSCRIPTION_QUOTA
spaces: victor
isolation segments:
I also tried
> cf create-quota small -m 2048M -i 1024M -r 10 -s 10
Creating quota small as [email protected]...
FAILED
Server error, status code: 403, error code: 10003, message: You are not
authorized to perform the requested action
My manifest looks like this:
---
applications:
- name: web-app
memory: 32M
disk_quota: 256M
random-route: true
buildpack: "https://github.com/cloudfoundry/ruby-buildpack#v1.6.47"
Quotas in public CF deployments are typically set by the platform operator and are not adataptable by customers unless you have received Org Manager Permissions. I'm quite suprised this appears to be provisioned incorrectly at SAP.
In any case, you might try a cf routes --orglevel
to see all the routes your org is consuming.
It sounds like this won't apply to your case, but a common "beginner" mistake in CF is that deleting an app does not delete any routes associated with it because they might still be in use by other applications. You can delete routes that are not associated with any app using cf delete-orphaned-routes
.
In summary, this might be something that only their support can fix for you.
Plug: If you want to get up and running quickly, there are also providers that offer CF hosting with free tiers for developers. I'm a co-founder at Meshcloud we also offer a free 30-day trial. I can assure you org & space quotas are set up correctly ;-)
I had a similar issue, you need to assign some quota to your space. You do this in the SAP Cloud Platform Cockpit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With