Skip to content

Instantly share code, notes, and snippets.

@ccollicutt
Last active April 11, 2019 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ccollicutt/1d15970f0db20a8b569eeca85d4472d0 to your computer and use it in GitHub Desktop.
Save ccollicutt/1d15970f0db20a8b569eeca85d4472d0 to your computer and use it in GitHub Desktop.
infra/control:
root@infra0:/opt/openstack-ansible/playbooks# ip ad sh br-vxlan
6: br-vxlan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
link/ether 16:05:7e:47:c7:7d brd ff:ff:ff:ff:ff:ff
inet 10.99.235.177/28 scope global br-vxlan
valid_lft forever preferred_lft forever
inet6 fe80::1405:7eff:fe47:c77d/64 scope link
valid_lft forever preferred_lft forever
compute:
root@compute0:~# ip ad sh br-vxlan
6: br-vxlan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
link/ether b6:b0:cf:b4:21:25 brd ff:ff:ff:ff:ff:ff
inet 10.99.235.193/28 scope global br-vxlan
valid_lft forever preferred_lft forever
inet6 fe80::b4b0:cfff:feb4:2125/64 scope link
valid_lft forever preferred_lft forever
root@infra0:/opt/openstack-ansible/playbooks# openstack-ansible -vvvv setup-hosts.yml
Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "
ansible-playbook 2.5.10
config file = None
configured module search path = [u'/etc/ansible/roles/plugins/library', u'/etc/ansible/roles/ceph-ansible/library']
ansible python module location = /opt/ansible-runtime/local/lib/python2.7/site-packages/ansible
executable location = /opt/ansible-runtime/bin/ansible-playbook
python version = 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0]
No config file found; using defaults
setting up inventory plugins
[WARNING]: * Failed to parse /opt/openstack-ansible/inventory/dynamic_inventory.py with
script plugin: Inventory script (/opt/openstack-ansible/inventory/dynamic_inventory.py) had
an execution error: Cannot retrieve requested amount of IP addresses. Increase the container
range in your openstack_user_config.yml.
SNIP!
---
cidr_networks: &cidr_networks
container: 10.99.235.144/28
# NOTE(curtis): this needs to be here but I'm not sure it's
# used to set IPs with...dont think so
#tunnel: "10.99.235.176/28,10.99.235.192/28"
used_ips:
- 10.99.235.131,10.99.235.135,10.99.235.160,10.99.235.177,10.99.235.193
- 147.75.196.7,147.75.197.15
global_overrides:
cidr_networks: *cidr_networks
#
# The below domain name must resolve to an IP address
# in the CIDR specified in haproxy_keepalived_external_vip_cidr.
# If using different protocols (https/http) for the public/internal
# endpoints the two addresses must be different.
#
tunnel_bridge: "br-vxlan"
management_bridge: "br-mgmt"
internal_lb_vip_address: 10.99.235.131
external_lb_vip_address: 147.75.196.7
provider_networks:
- network:
container_bridge: "br-mgmt"
container_type: "veth"
container_interface: "eth1"
ip_from_q: "container"
group_binds:
- all_containers
- hosts
is_container_address: true
is_ssh_address: true
- network:
container_bridge: "br-vxlan"
container_type: "veth"
container_interface: "eth10"
#ip_from_q: "tunnel"
type: "vxlan"
range: "1:1000"
net_name: "vxlan"
group_binds:
- neutron_linuxbridge_agent
SNIP!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment