Rejoin already provisioned nodes in new environment

Registered by Dima Shulyak on 2014-05-14

Given list of dhcp leases from previous deployment implement mechanism that will allow rejoin for nodes that was already provisioned.

Required:
- list of dhcp leases
- dhcp relays that will point to new master
- ip for master node should not be changed, or static route will be required

It can be done as dhcp requests listener or simple script, that will do the following:

In case of listener:
1. Install NAT forwarder rules that will prevent provisioned nodes from reprovisioning
2. On sniffed dhcp request, check that it is from provided leases
3. Send api request with mac address to ironic/cobbler that will install new rules for dhcp server for a given node

In case of script:
1. Script should be runned before dhcp relay on master node is up
2. register nodes in ironic/cobbler with macs

Also we should create thos nodes in nailgun with appropriate state, deployed or smth like rejoined

Blueprint information

Status:
Not started
Approver:
Dmitry Pyzhov
Priority:
Undefined
Drafter:
Dima Shulyak
Direction:
Needs approval
Assignee:
Fuel Python (Deprecated)
Definition:
New
Series goal:
Accepted for 6.0.x
Implementation:
Not started
Milestone target:
milestone icon next

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.