Skip to content

HPE OneView driver for OpenStack Ironic bare-metal machine provisioning

License

Notifications You must be signed in to change notification settings

fellypefca/ironic-driver-oneview

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HPE OneView drivers and tools for OpenStack

While virtualization is the use case for the average end user, it does not apply for all types of workloads. Some applications cannot be executed in virtual machines due to performance constraints (e.g. database hosting), hardware constraints (i.e. depending on hardware that cannot be virtualized), also due to security and isolation reasons, or even deploying cloud nodes for provisioning virtual machines or containers (new use case being adopted).

HPE OneView is an infrastructure management tool that allows IT teams to deploy, monitor and manage their HPE data center infrastructure and is the foundation of HPE’s drive to Composable Infrastructure. HPE OneView is built with software intelligence and provides a unified API that allows to automate the infrastructure deployment and updates and manage facilities.

In order to bring bare metal to Cloud with HPE OneView, we have developed integrations with OpenStack Ironic and Neutron. With our solution, we can provision HPE OneView bare metal servers using end user tenant networks in OpenStack in the same way as virtual machines.

In the OpenStack ecosystem, the component responsible for provisioning bare metal machines is named Ironic. In the most basic scenario, Ironic achieves this goal communicating with other three main OpenStack components:

  1. "Nova" - compute service;
  2. "Glance" - image service; and
  3. "Neutron" - networking service.

The integration of management systems, such as HPE OneView, is made possible in Ironic through the implementation of drivers. This way, OneView drivers implement well defined interfaces in Ironic and uses OneView RESTful API to execute actions that will be performed in the physical machines (e.g. powering machine on/off and rebooting; changing boot device; and when creating and removing a Server Profile.)

Projects

Bare metal Drivers

The HPE OneView drivers for OpenStack Ironic, already incorporated in the OpenStack mainstream codebase, allow cloud providers to use their OneView managed hardware as bare metal instances. Please refer to OpenStack Ironic documentation for OneView drivers

OneView’s Server Hardware are enrolled as OpenStack Ironic nodes, based on a given Server Profile Template previously created. Thus, the OneView drivers, unlike others, can help cloud administrators manage firmware/driver dependencies between the hardware they provision and the operating system images they make use of. The drivers work in a shared allocation fashion with other HPE OneView users, which means nodes enrolled to OpenStack Ironic are not statically allocated at OneView. OneView drivers’ periodic tasks take care of marking nodes claimed by OneView users as unavailable to OpenStack users and vice versa.

Known Bugs

A list of known bugs (and proposed fixes) for OpenStack Newton is available here

Ironic OneView CLI

Tool with custom interactive commands, that interfaces with OpenStack CLI, helping administrators create Ironic nodes, exposing their HPE OneView compute nodes to the bare metal service, and Nova flavors, mapping different Server Hardware configuration (memory, disk and vcpus to match the bare metal instance), taking into consideration not only hardware configuration but also Server Hardware Type and Enclosure Group. Moreover, it provides commands to create Ironic Ports mapping Server Hardware NICs.. Please refer to ironic-oneview-cli.

Ironic OneView Daemon

Tool that helps administrators to manage their compute nodes, automating the process of Server Hardware enrollment - the transition of states according to OpenStack ironic state machine, and also making the nodes available for deployment. Please refer to ironic-oneviewd.

Network ML2 Driver

The HPE OneView ML2 driver allows cloud providers to manage their networking hardware reflecting networking operations performed on OpenStack Neutron to OneView, being responsible for automatically creating and deleting networks, configuring Logical Interconnect Groups, and its associated Logical Interconnects and UpLink sets; and updating connections on Server Profile applied to a given Server Hardware. We have been preparing the HPE OneView Mechanism Driver to be moved from GitHub to OpenStack codebase, meanwhile refer to networking-oneview.

Contributing

You know the drill. Fork it, branch it, change it, commit it, and pull-request it. We are passionate about improving this project, and glad to accept help to make it better.

Feature Requests

If you have a need not being met by the current implementation, please let us know (via a new issue). This feedback is crucial for us to deliver a useful product. Do not assume that we have already thought of everything, because we assure you that is not the case.

License

All projects are licensed under the Apache License 2.0 license.

About

HPE OneView driver for OpenStack Ironic bare-metal machine provisioning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Mako 0.2%