[devops] Create devops bare metal driver

Registered by Igor Shishkin

To test hardware installation automatically via jenkins or simply from nosetests we need hardware driver to devops library (https://github.com/Mirantis/devops).

It should be able at least to start/stop/reset node(via IPMI), mount iso image(via PXE for example).

In QA Retro this blueprint implements:
8. Update devops to support bare-metal node type

PS. Might be useful http://sourceforge.net/p/xcat/python-ipmi (working, but IPV6 hardcoded)
PPS.
Might be useful http://ipxe.org/howto/chainloading

Resume:
1. Through pxe cab be loaded ipxe
2. Through ipxe (sanboot or memdisk) iso/image can be loaded through http/tftp
3. memdisk/sanboot can't emulate cd/hdd
4. Fuel hardcoded to get kikstartscrips from cd/hdd

Proposal:
1. Boot centos iso through pxe with only RAM using
2. Execute kickstart scripts from http
4. Reboot in to the Fuel

Blueprint information

Status:
Started
Approver:
Tatyanka
Priority:
High
Drafter:
None
Direction:
Approved
Assignee:
Nastya Urlapova
Definition:
Drafting
Series goal:
Accepted for 7.0.x
Implementation:
Slow progress
Milestone target:
milestone icon 7.0
Started by
Nastya Urlapova

Related branches

Sprints

Whiteboard

QA 3.2 Retro
https://docs.google.com/a/mirantis.com/document/d/1mW09Apj6YrYt0HhwgsP3phMhzjqX_Fi5B8KK7qRsHlI/edit

mihgen - what's the status on this effort?
teran - https://github.com/Mirantis/devops/pull/24 -- the current code for this blueprint.

Was updated on previous week: rebased and fixed all inconsistent stuff. Currently required steps:
 * Create scheduler inside devops to operate multiple drivers(partialy done)
 * Adapt IPMI driver to current devops code

Gerrit topic: https://review.openstack.org/#q,topic:ipmi-driver,n,z

Addressed by: https://review.openstack.org/270755
    Support to start,stop,reset node via IPMI

Gerrit topic: https://review.openstack.org/#q,topic:bp/ipmi-driver,n,z

Addressed by: https://review.openstack.org/270774
    Support to start,stop,reset node via IPMI

Gerrit topic: https://review.openstack.org/#q,topic:bp/devops-bare-metal-driver,n,z

Addressed by: https://review.openstack.org/304435
    Remove unnecessary "destroy" argument from Environment's 'revert'

Addressed by: https://review.openstack.org/322156
    Replace 'baremetal' with 'hybrid' doc for YAML template

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.