Origin: An error occurred creating the route

Created on 4 Nov 2017  路  15Comments  路  Source: openshift/origin

oc version

oc v3.6.173.0.5
kubernetes v1.6.1+
features: Basic-Auth

Server https://api.starter-us-east-1.openshift.com:443
openshift v3.6.173.0.5
kubernetes v1.6.1+

An error occurred creating the route

I am using OpenShift Online Starter.

I was able to create routes until October.

At the time of route creation an error occurs.

An error occurred creating the route.
Reason: Route "xxxxxxx" is invalid: spec.host: Forbidden: you do not have permission to set the host field of the route

ref : https://github.com/openshift/openshift-docs/issues/6086

componennetworking kinbug prioritP2

Most helpful comment

thats not great

All 15 comments

I am having the same issue.

I met the same problem.

@simo5 @enj the forbidden error looks like validation

Custom routes were intentionally disabled in starter clusters late last week, was not intended to be a permanent feature.

CC @Miciah

@abhgupta as well.

All of our starter clusters have had an additional restriction added which now prevents the creation of any route with the 'host' field set. When creating a route please do not set spec.host. The system will fill out spec.host for you after the route is created.

This is inline with the Starter restriction of no custom domains allowed.

Can it handle CNAME or redirect?

Application is not available

@syui In order for a CNAME to be accepted, the route with the appropriate host must be created first. This is a restriction of the Starter plan. If you need a custom domain, you will have to upgrade to Pro.

ok, thanks

thats not great

For additional context, custom host names in routes were always blocked for the Starter tier. However, that restriction/validation was lost during an upgrade (regression) and was re-applied last week.

Looks like I will be switching hosting environments. Digital Ocean = $5 month

Got it.Thank you for answering.

@kmb385 Digital ocean is a great and affordable resource for basic web hosting, but if you need the advanced capabilities of a system for automating deployment, scaling, and management of containerized applications, then I'll use OpenShift all day long!

Was this page helpful?
0 / 5 - 0 ratings