Commit Graph

17 Commits

Author SHA1 Message Date
Julia Kreger abb0865771 Remove oneview drivers
In accordance with the deprecation of oneview,
It is time to remove the oneview drivers.

This patch oneview interfaces and documentation.

Change-Id: Ided79fa788411f839614813ff033c42a13b88c75
Story: #2001924
Task: #24943
2018-10-15 16:32:15 -07:00
Dmitry Tantsur 384f966003 Remove the OneView classic drivers
This change removes iscsi_pxe_oneview and agent_pxe_oneview.

Change-Id: I4301e35f321bd041441dcfce494393fb90e293f3
2018-06-26 14:30:27 +02:00
Julia Kreger a6ae98ff34 Deprecate Oneview
I have been attempting to engage contacts who were
involved in the OneView driver's development since
UFCG contributors entered IRC and indicated that
they had been directed to return the OneView hardware
that Third Party CI ran on. I recieved some neutral
replies, but no committment to re-establish third party
CI testing for the oneview driver.

I gave it a little time, and again followed up with
my contacts reminding them of the necessity of third
party CI for a driver to remain in ironic. No reply
or acknolwedgement was receieved. Nor has any activity
been observed upstream that could be attributed to
someone rebuilding third party CI for oneview.

As such, we have little choice but to proceed with
deprecating the oneview hardware type and drivers,
such that we remove them next cycle as we are unable
to maintain them without CI.

Story: #2001924
Task: #14451
Change-Id: Ic96f7f654ae5ecfc38a19c74a9ad8335629138f2
2018-04-30 08:27:46 -04:00
Dmitry Tantsur d1062cfbdd Migrate the remaining classic drivers to hardware types
I've tried my best to provide a correct matching for these, but
there are two exceptions:

* fake_drac uses iscsi deploy with None boot, which cannot work,
  so changing both to fake
* some fake drivers are migrated to the 'fake' power interface,
  which is changed to include soft power as well.

The latter means that all fake classic drivers now support fake
soft power actions, while previously only fake_soft_power did.
Now fake_soft_power is identical to fake and is left for backward
compatibility

Also wrote more tests to check correctness of this migration.

Change-Id: I00c9c6ed698b10f035e65428e1a20d733c7e544a
Partial-Bug: #1690185
2018-02-01 18:38:24 +01:00
Hugo Nicodemos f8bf0ad51b Remove python-oneviewclient from oneview hardware type.
This patch removes the ``python-oneviewclient`` library from
``oneview`` hardware type since it was migrated to ``hponeview``
and ``python-ilorest-library``.

Change-Id: I3393189abdff6a0e56f54375877cc310d72ff5b1
Closes-Bug: #1693788
2018-01-25 01:30:27 +00:00
Fellype Cavalcante c6b615cc5b Migrate oneview hardware type to use python-hpOneView
Migrate the code on ``oneview`` hardware type to stop using
``python-oneviewclient`` in order to use ``python-hpOneView``
and ``python-ilorest-library``. The library ``python-hpOneView``
is more recent and is being more actively developed and maintained.

Co-Authored-By: Hugo Nicodemos <nicodemos@lsd.ufcg.edu.br>
Co-Authored-By: Xavier <marcusrafael@lsd.ufcg.edu.br>

Change-Id: I2c5b1703603b1401be637b6172cc4297f705332f
Partial-Bug: #1693788
2018-01-23 09:16:01 -03:00
Hugo Nicodemos 02a190942b Fix HPE headers for oneview.
This patch changes the headers of all oneview files
to the right HPE header.

Change-Id: Id457ff910547549d1647d7a74d39a5fe11d23709
2017-11-29 16:51:32 -03:00
Xavier 0996fc2695 Revert "Migrate oneview driver to use python-hpOneView"
Reverting these changes because python-hpOneView does not provide HTTPS
secure connection with custom CAcert and could cause a possible security issue.

This reverts commit 0ed998dfc8.

Change-Id: I8b7f767c2bda8f3d57881ef61466e5d73c898970
2017-11-09 16:14:16 -03:00
Hugo Nicodemos 9b523967e1 Revert "Remove python-oneviewclient from Ironic OneView drivers"
Reverting these changes because python-hpOneView does not provide HTTPS
secure connection with custom CAcert and could cause a possible security issue.

This reverts commit 037360f64d.

Change-Id: I2a95f3cd23f20c363fe97fc347c9d2619d2ab5e9
2017-11-09 16:12:03 -03:00
Hugo Nicodemos 037360f64d Remove python-oneviewclient from Ironic OneView drivers
This patch removes the python-oneviewclient library from
OneView drivers since it was migrated to python-hponeview
and python-ilorest-library.

Change-Id: I061381a941e7d7f82863b326bb7555d41395e661
Closes-Bug: #1693788
2017-11-01 13:42:22 -03:00
Xavier 0ed998dfc8 Migrate oneview driver to use python-hpOneView
Migrate the code on OneView drivers to stop using python-oneviewclient in
order to use python-hpOneView and python-ilorest-library. The library
python-hpOneView is more recent and is being more actively developed and
maintained.

Co-Authored-By: Rodrigo Farias <rodrigofm@lsd.ufcg.edu.br>
Co-Authored-By: Hugo Nicodemos <nicodemos@lsd.ufcg.edu.br>

Change-Id: I731964749cb79da7178882dfc09b3fe54d8e73b4
Partial-Bug: #1693788
2017-09-06 15:52:03 +00:00
Hugo Nicodemos b7eec1560c Add hardware type for HPE OneView
Adds hardware type 'oneview' for HPE OneView supported
servers. 'oneview' hardware type supports deploy interfaces:
'oneview-iscsi' and 'oneview-direct' based on 'iscsi' and
'direct' deploy interfaces respectively, using 'pxe' boot.

Change-Id: I0e32f235d985016bac0272d4ad3c8edd9edda3c7
Closes-Bug: #1705544
2017-08-02 13:24:31 +00:00
Pavlo Shchelokovskyy cf81c491f3 Remove agent vendor passthru from OneView drivers
Change-Id: I811508fb1636f1c36a20a679e6555739c68ce7da
Partial-Bug: #1640533
2016-12-13 09:31:08 +02:00
Xavier b78605487d Add inspection feature for the OneView drivers
This change is about adding the ability to the OneView drivers of doing
hardware inspection. In this context, for enable hardware under
management by OneView been inspected, is essencial a Server Profile
applied to that hardware. A Server Profile, in OneView context, means
a configuration that makes booting and connectivity operations settings
possible.

Considering in-band inspection as the inspection process that involves
booting a ramdisk on the target node and fetching information directly
from it, in this patch we extend the
ironic.drivers.modules.inspector.Inspector class to inherit the ironic
implementation for in-band inspection behaviours and to address our
needs, we override the 'inspect_hardware' method to apply the needed
Server Profile and we also override the '_periodic_check_result'
periodic task to remove the Server Profile after the inspection
process is over.

Change-Id: I77ebf4b9175c2c1df1baa6d58714ff54c97c17ff
Closes-Bug: 1621530
2016-09-28 20:50:38 -03:00
Sinval Vieira 4483de30ba Add Dynamic Allocation feature for the OneView drivers
This change is about adding the ability to the OneView drivers of
dynamically allocate OneView resources to Ironic. The current
version of the drivers consider what we call "pre-allocation" of
nodes, meaning that when a node is registered in Ironic, even if
it is not in use, this resource is still reserved in OneView.
This change will prevent such situations by allocating OneView
resources only at boot time, allowing both systems to really
share the same pool of hardware.

Change-Id: I43d1db490b4834080562946b8a6ca584ea36864d
Co-Authored-By: Lilia Sampaio <liliars@lsd.ufcg.edu.br>
Co-Authored-By: Xavier <marcusrafael@lsd.ufcg.edu.br>
Co-Authored-By: Hugo Nicodemos <nicodemos@lsd.ufcg.edu.br>
Co-Authored-By: Thiago Paiva Brito <thiagop@lsd.ufcg.edu.br>
Co-Authored-By: Caio Oliveira <caiobo@lsd.ufcg.edu.br>
Partial-Bug: #1541096
2016-08-04 13:10:02 -03:00
Lucas Alvares Gomes 2218ed3f0e Move FakeOneViewDriver to the fake.py module
All Fake drivers in tree lives under the fake.py module, this patch is
moving the FakeOneViewDriver to that module as well so we keep things
consistent and organized.

Change-Id: Ie3ecbf87037b353950acd6dd78503cad2e8a0221
2015-10-12 18:46:34 +01:00
Thiago Paiva 460b9f1f5f OneView Driver for Ironic
This driver that will promote integration between Ironic and the HP OneView
Management System. The driver will allow Ironic to borrow non-dedicated servers
from OneViews's inventory to provision baremetal instances with minimal common
pre-configuration, set through OneView's *Server Profile Templates*.

Co-Authored-By: Alberto Barros <albertoffb@lsd.ufcg.edu.br>
Co-Authored-By: André Aranha <afaranha@lsd.ufcg.edu.br>
Co-Authored-By: Caio Oliveira <caiobo@lsd.ufcg.edu.br>
Co-Authored-By: Diego Pereira <diegolp@lsd.ufcg.edu.br>
Co-Authored-By: Gabriel Bezerra <gabrielb@lsd.ufcg.edu.br>
Co-Authored-By: Lilia Sampaio <liliars@lsd.ufcg.edu.br>
Co-Authored-By: Sinval Vieira <sinval@lsd.ufcg.edu.br>

Change-Id: Ic2fb7860e6b4f5183b6525ff7709c7616350a96a
Implements: blueprint new-ironic-driver-for-oneview
Depends-on: I914596e592477e148e642f93cfbe114464c3fe38
2015-10-09 15:14:32 -03:00