Remove check flat network type task in ironic pre-check.yml

flat network type is not mandatory. There are two cases,

1. ironic with flat network: we can use neutron vlan network to
   provision baremetal nodes, as long as the interface of the baremetal
   nodes are configured to use the same vlan.

2. ironic with neutron network: all provision and cleaning_network can
   be vlan type and no flat is needed at all.

So we should remove the task.

Change-Id: I176ded6d2a8b14e350f665f63bc37eb488d32679
Closes-Bug: #1725170
This commit is contained in:
Jeffrey Zhang 2017-10-20 16:13:21 +08:00
parent e2301f0717
commit 175c65e490

View File

@ -40,9 +40,3 @@
with_items: with_items:
- "ironic-agent.kernel" - "ironic-agent.kernel"
- "ironic-agent.initramfs" - "ironic-agent.initramfs"
- name: Looking for 'flat' in tenant network types
local_action: fail msg="'flat' is not in neutron_tenant_network_types [{{ neutron_tenant_network_types }}]"
changed_when: false
when: neutron_tenant_network_types.find('flat') == -1
run_once: true