[RFE] Use libvirt API in test drivers for virtual hardware

Bug #1523880 reported by Pavlo Shchelokovskyy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Opinion
Wishlist
Pavlo Shchelokovskyy

Bug Description

Libvirt API provides unified interface for connection to different hypervisors via different transports.
Currently the following hypervisors are supported: LXC, OpenVZ, QEMU, VirtualBox, VMware ESX ,VMware Workstation/Player, Xen, Microsoft Hyper-V, IBM PowerVM (phyp), Virtuozzo, Bhyve - The BSD Hypervisor, Paralels.
Full list can be found at: https://libvirt.org/drivers.html.
Also libvirt-python library supports different type of transports like tls, tcp, unix, ssh.
Current development drivers *_ssh are slow because of bash commands usage. They always use ssh connection, while in most cases it doesn't allow to create ironic VM on hardware server due to security reasons.

Tags: rfe
Vladyslav Drok (vdrok)
Changed in ironic:
importance: Undecided → Wishlist
Dmitry Tantsur (divius)
Changed in ironic:
status: New → Confirmed
Vladyslav Drok (vdrok)
summary: - Use libvirt API in test drivers for virtual hardware
+ [RFE] Use libvirt API in test drivers for virtual hardware
Revision history for this message
Vladyslav Drok (vdrok) wrote :

Copy of whiteboard:

Gerrit topic: https://review.openstack.org/#q,topic:bp/ironic-libvirt-api,n,z

Addressed by: https://review.openstack.org/253096
    Introduce libvirt dirver

Changed in ironic:
assignee: nobody → Pavlo Shchelokovskyy (pshchelo)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to ironic (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/265189

Changed in ironic:
status: Confirmed → In Progress
Revision history for this message
Jim Rollenhagen (jim-rollenhagen) wrote :

This is being taken over by the virtualbmc work, right? Can we close it out if so?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic (master)

Change abandoned by Vasyl Saienko (<email address hidden>) on branch: master
Review: https://review.openstack.org/265189

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Vasyl Saienko (<email address hidden>) on branch: master
Review: https://review.openstack.org/253096

Revision history for this message
Pavlo Shchelokovskyy (pshchelo) wrote :

Moved to Opinion, as the current plan is to utilize virtualbmc for all tests

Changed in ironic:
status: In Progress → Opinion
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic-specs (master)

Change abandoned by Pavlo Shchelokovskyy (<email address hidden>) on branch: master
Review: https://review.openstack.org/254421
Reason: virtualbmc seems have reached proper stability, so I am abandoning this spec as it was planned as alternative to *_ssh driver for "virtual" hardware

Nevertheless, if anybody finds it useful, this driver is available as part of ironic-staging-drivers since 0.2.0 release - code [0], docs [1]

[0] http://git.openstack.org/cgit/openstack/ironic-staging-drivers/tree/ironic_staging_drivers/libvirt

[1] http://ironic-staging-drivers.readthedocs.io/en/latest/drivers/libvirt.html

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.