Skip to content

Remove usage of temporary subnet as external net #1684

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions etc/kayobe/ansible/configure-aio-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,15 @@
files_matching: passwords.yml
name: kolla_passwords

- name: Add an IP to connect to the instances
# FIXME: host configure will have bounced the bridge
# and removed the IP
ansible.builtin.command: ip a add 10.0.2.1/24 dev breth1
register: result
failed_when: 'result.rc != 0 and "RTNETLINK answers: File exists" not in result.stderr'
changed_when: result.rc == 0
become: true

- name: Run init-run-once
ansible.builtin.script:
cmd: scripts/aio-init.sh
creates: /tmp/.init-runonce
environment:
KOLLA_OPENSTACK_COMMAND: "{{ venv }}/bin/openstack"
EXT_NET_CIDR: "{{ aio_cidr }}"
EXT_NET_RANGE: "start={{ aio_neutron_allocation_pool_start }},end={{ aio_neutron_allocation_pool_end }}"
EXT_NET_GATEWAY: "{{ external_net_names | first | net_ip(inventory_hostname=groups['controllers'][0]) }}"
OS_PROJECT_DOMAIN_NAME: Default
OS_USER_DOMAIN_NAME: Default
OS_PROJECT_NAME: admin
Expand Down
Loading