Last active
December 25, 2018 07:06
-
-
Save liusheng/dd25d4987e47ac83ade220c2b1459ead to your computer and use it in GitHub Desktop.
Config routing for openshift origin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. configure `router-id` in `/etc/origin/cloudprovider/openstack.conf` | |
cat << EOF >> /etc/origin/cloudprovider/openstack.conf | |
[Route] | |
router-id = <router-id> | |
EOF | |
2. Adding following config options under `controllerArguments:` of `/etc/origin/master/master-config.yaml` | |
``` | |
allocate-node-cidrs: | |
- "true" | |
configure-cloud-routes: | |
- "true" | |
cluster-cidr: | |
- "172.17.0.0/16" | |
``` | |
3. set all the `networkPluginName` to "" | |
ERROR: | |
Dec 25 11:25:07 master-0 origin-master-controllers: W1225 11:25:07.371045 65669 openstack.go:635] Failed to list neutron extensions: Resource not found | |
Dec 25 11:25:07 master-0 origin-master-controllers: W1225 11:25:07.371067 65669 core.go:141] configure-cloud-routes is set, but cloud provider does not support routes. Will not configure cloud provider routes. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment