vrouter_interface_route playbook bails out when onprem gw and controller are in diff subnet
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R5.0 |
Fix Committed
|
Critical
|
Paweł Kopka | |||
Trunk |
Fix Committed
|
Critical
|
Paweł Kopka |
Bug Description
vrouter_
local_lan of the onprem gateway is different from the controller subnet so the below task gets skipped
- name: Find controller lan
set_fact:
controller_lan: "{{ hostvars[
with_items: "{{ groups['gateways'] }}"
when: "controller | ipaddr(
delegate_to: localhost
run_once: True
TASK [software/facts : Find controller lan] *******
skipping: [192.168.2.1] => (item=172.16.23.5)
skipping: [192.168.2.1] => (item=192.168.2.1)
TASK [software/facts : Show host controller lan] *******
fatal: [192.168.2.1]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'controller_lan' is undefined\n\nThe error appears to have been in '/root/
to retry, use: --limit @/root/
OnPrem gateway is on 192.168.2.0/24 and controller is on 192.168.1.0/24
and this is what i had set for private_subnet under the onprem gw in topology.yml
private_
- 192.168.2.0/24
- 192.168.1.0/24
Changed in juniperopenstack: | |
assignee: | nobody → Paweł Kopka (pkopka) |
information type: | Proprietary → Public |
Changed in juniperopenstack: | |
assignee: | Paweł Kopka (pkopka) → nobody |
tags: | added: releaseblocker |
We are finding which gw are connected to controlle using subnet(primary) and private ip. We are checking if controller are in gatewey subnet(primary). I will check if we can check every subnet.