23d935b3a6
When storage network for booting an instance from iSCSI volume is managed by neutron, an IP address for volume connector cannot be registered by an operator in advance. A MAC address can be registered as a volume connector for an Ironic node. The IP address may be required depending on cinder backend drivers. This patch gets an IP address for a volume connector based on a MAC address assigned to a volume connector in ironic. To bind VIFs to ironic ports before connecting a volume, VIFs are attached earlier with a new virt driver API. Nova can get an IP address assigned to a VIF attached to an ironic port by retrieving the port with the MAC address. Co-Authored-By: Satoru Moriya <satoru.moriya.br@hitachi.com> Implements: blueprint ironic-volume-connector-ip Change-Id: I999bbfc0e28ec43390298deb59e2b6f6e10bf8ea
12 lines
575 B
YAML
12 lines
575 B
YAML
---
|
|
features:
|
|
- |
|
|
When creating a baremetal instance with volumes, the ironic driver will
|
|
now pass an IP address of an iSCSI initiator to the block storage service
|
|
because the volume backend may require the IP address for access control.
|
|
If an IP address is set to an ironic node as a volume connector resource,
|
|
the address is used. If a node has MAC addresses as volume connector
|
|
resources, an IP address is retrieved from VIFs associated with the MAC
|
|
addresses. IPv4 addresses are given priority over IPv6 addresses if both
|
|
are available.
|