Skip to content

Instantly share code, notes, and snippets.

@liusheng
Last active December 25, 2018 07:06
Show Gist options
  • Save liusheng/dd25d4987e47ac83ade220c2b1459ead to your computer and use it in GitHub Desktop.
Save liusheng/dd25d4987e47ac83ade220c2b1459ead to your computer and use it in GitHub Desktop.
Config routing for openshift origin
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