RETIRED, TripleO Ansible project repository. Contains playbooks for use with TripleO OpenStack deployments.
Go to file
James Slagle 9f99a1a2e8 Only add gateway IP if defined during network extract
If the gateway IP was not a subnet (IPv4 or IPv6), the network extract
command was generating a network_data.yaml file that had an entry for
gateway_ip set to null. Example:

- dns_domain: storagemgmt.tripleodomain.
  mtu: 1400
  name: StorageMgmt
  name_lower: storage_mgmt
  subnets:
    storage_mgmt_subnet:
      allocation_pools:
      - end: 172.16.3.250
        start: 172.16.3.4
      gateway_ip: null
      ip_subnet: 172.16.3.0/24
      physical_network: storage_mgmt
      routes: []
      vlan: 40
  vip: true

During "openstack overcloud network provision", the yaml was then
failing validation since null is not a valid string value for gateway_ip
as defined in the schema.

This patch updates the tripleo_overcloud_network_extract module to only
add the gateway_ip[v6] key to the subnet info if it's actually defined
on the subnet object.

Change-Id: I9701064c33c2e319617d90da99db00d10ad68a0f
Signed-off-by: James Slagle <jslagle@redhat.com>
2020-12-03 21:05:49 -05:00
.ansible-lint_rules Add custom ansible-lint rule for Role Names 2020-02-27 10:53:11 +00:00
_skeleton_role_ Use the UBI8 image for testing 2020-09-23 08:56:23 -05:00
doc Add tripleo_update_trusted_cas role 2020-11-18 11:50:02 -05:00
releasenotes Update master for stable/victoria 2020-10-30 15:50:56 +00:00
scripts Kill sudo once we don't need it anymore 2020-11-03 14:54:31 +01:00
tests Merge "Convert tox to native zuul" 2019-07-08 14:18:00 +00:00
tripleo_ansible Only add gateway IP if defined during network extract 2020-12-03 21:05:49 -05:00
zuul.d Add test_deps_setup_tripleo var 2020-11-26 11:07:21 +00:00
.ansible-lint Add custom ansible-lint rule for Role Names 2020-02-27 10:53:11 +00:00
.gitignore Adding playbook support for changes coming to python-tripleoclient. 2020-06-05 17:19:41 -04:00
.gitreview OpenDev Migration Patch 2019-04-19 19:33:52 +00:00
.pre-commit-config.yaml Pin ansible to 2.9 in ansible-lint deps 2020-09-25 18:04:28 +03:00
.stestr.conf Introduce unit tests structure for tripleo-ansible filters 2019-12-02 22:26:16 +00:00
.yamllint Re-organize zuul config 2019-06-19 12:52:07 -05:00
LICENSE normalize newlines at end of file 2019-11-12 15:06:58 +00:00
README.rst Fix launchpad tracker in README.rst 2019-09-29 10:08:38 +02:00
ansible-requirements.txt Use metalsmith version of metalsmith_instances 2020-10-13 21:08:58 +00:00
ansible-test-env.rc Molecule testing for TripleO Strategy Plugins 2020-06-03 20:07:10 +00:00
bindep.txt Drop tasks meant to run run_os_net_config.sh 2020-09-26 10:23:43 +05:30
constraints.txt Fix the docs job 2020-03-19 19:31:20 +00:00
molecule-requirements.txt Use metalsmith version of metalsmith_instances 2020-10-13 21:08:58 +00:00
requirements.txt Fix missing requirements for tests 2020-06-26 15:04:21 -06:00
role-addition.yml role-addition: automatically add the new molecule jobs into periodic 2020-05-07 13:17:28 -04:00
roles Revert "Remove roles symlink" 2019-10-28 21:43:35 +00:00
setup.cfg Cleanup after rename-pocolyps 2020-04-02 07:56:20 -05:00
setup.py Initial repo content 2018-07-17 16:36:40 -07:00
test-requirements.txt Add mock to test-requirements 2020-07-07 15:42:21 +03:00
tox.ini Replace deprecated UPPER_CONSTRAINTS_FILE variable 2020-11-04 11:10:17 +01:00

README.rst

Team and repository tags

image

TripleO Ansible

TripleO Ansible project repository. Contains Ansible playbooks, roles, and plugins for use with TripleO.

Documentation for the project can be found at: https://docs.openstack.org/tripleo-ansible/latest/

Release notes for the project can be found at: https://docs.openstack.org/releasenotes/tripleo-ansible/

The project source code repository is located at: https://opendev.org/openstack/tripleo-ansible/

The project home is at: https://launchpad.net/tripleo

The project bug tracker is located at: https://bugs.launchpad.net/tripleo