ocp-power-automation / ocp4-upi-powervm

OpenShift on IBM PowerVM servers managed using PowerVC
Apache License 2.0
27 stars 51 forks source link

Check IPv4 address being available #50

Open xxTReich opened 4 years ago

xxTReich commented 4 years ago

Running terraform in a 10.21.50/24 enterprise-LAN. terraform allocated IPv4 addresses that were already used.

yussufsh commented 4 years ago

The module creates PowerVC network ports to allocate the IP and macaddress. Not sure how the above case is possible.

xxTReich commented 4 years ago

The 10.2150/24 is a DHCP LAN.

bpradipt commented 4 years ago

@xxTReich in your setup, did you create a separate network for OCP or you are using an existing network which already has some LPARs running ? From the description it looks like you are using an existing network which already has some LPARs running and have IPs assigned from the network.