gateway option does not work

Bug #1752898 reported by Albert Mikaelyan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Invalid
Undecided
Unassigned

Bug Description

According to the reference:
https://docs.openstack.org/project-deploy-guide/openstack-ansible/ocata/app-networking.html

One could use the 'gateway' option to set the containers gateway.

For some reason it does not work. It doesn't set any route at all.
We had to use 'static_routes' to set the additional routes we need.

Example:
    - network:
        container_bridge: "br-mgmt"
        container_type: "veth"
        container_interface: "eth1"
        ip_from_q: "container"
        type: "raw"
        group_binds:
          - all_containers
          - hosts
        is_container_address: true
        is_ssh_address: true
        gateway: "10.0.13.254"
        static_routes:
          - cidr: "10.0.14.0/23"
            gateway: "10.0.13.254"

Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :

The gateway option works, but only on specific cases. Worth clarifying on the documentation as a separate thing.

Changed in openstack-ansible:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.