[RFE] Deprecate and remove the *_ssh drivers

Bug #1570301 reported by Sam Betts
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Wishlist
Pavlo Shchelokovskyy

Bug Description

The *_ssh drivers were added to Ironic to help with virtualised testing and were required until recently because there was no other way for Ironic to manage a VM. VirtualBMC now allows us to control VMs through the IPMI drivers letting us simulate baremetal even more closely. Thanks to this I now propose we remove the *_ssh drivers as they only lead to confusion from people who assume that all Ironic drivers work with hardware, and prevent conversations like this:

< ------- > one thing i understood from docs is that hardware should support IPMI in order to use the IPMI driver
< ------- > is it correct ?
< ------- > my hardware does not have IPMI controller ...
< ------- > so i changed my driver to pxe_ssh from pxe_ipmitool

Timeline:

Newton development cycle:

- Pull VirtualBMC into the Ironic project umbrella

- Deprecate SSH interfaces for removal in OpenStack Ocata that includes: SSHPower, SSHManagement and ssh.ShellInABoxConsole in-tree drivers affected are pxe_ssh, agent_ssh, and fake_ssh.

- Make gate IPMITool tests that use VirtualBMC voting

Ocata development cycle:

- Remove *_ssh gate tests and move them to using ipmitool drivers
- Remove support for *_ssh drivers

Tags: rfe-approved
Revision history for this message
Dmitry Tantsur (divius) wrote :

+1 :)

Changed in ironic:
status: New → Confirmed
importance: Undecided → Wishlist
Sam Betts (sambetts)
description: updated
description: updated
description: updated
description: updated
tags: added: rfe-approved
removed: rfe
Changed in ironic:
assignee: nobody → Pavlo Shchelokovskyy (pshchelo)
Revision history for this message
Pavlo Shchelokovskyy (pshchelo) wrote :

So, we missed Ocata for this, and the currently agreed upon deadline is Pike milestone 3.

Currently we have 4 jobs running devstack that deploy nodes using *_ssh drivers:
- gate-tempest-dsvm-ironic-multitenant-network-ubuntu-xenial
- gate-grenade-dsvm-ironic-ubuntu-xenial
- gate-grenade-dsvm-ironic-inspector-ubuntu-xenial
- gate-tempest-dsvm-python-ironicclient-src-ubuntu-xenial

I'll start testing the switch by patches to devstack-gate etc.

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/439721

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to ironic (stable/mitaka)

Related fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/439781

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to ironic (stable/ocata)

Related fix proposed to branch: stable/ocata
Review: https://review.openstack.org/440299

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to ironic (stable/newton)

Related fix proposed to branch: stable/newton
Review: https://review.openstack.org/440300

Revision history for this message
VIncent S. Cojot (vincent-m) wrote :

I am not sure I agree with this train of thought:

pxe_ssh used to support vbox, virsh, vmware, parallels and xenserver.
virtualbmx only supports virsh/libvirt.

Isn't there a gap for those not using virsh/libvirt?
Thanks,

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

Change abandoned by Joshua Hesketh (<email address hidden>) on branch: stable/mitaka
Review: https://review.openstack.org/439781
Reason: This branch (stable/mitaka) is at End Of Life

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

Change abandoned by Pavlo Shchelokovskyy (<email address hidden>) on branch: stable/newton
Review: https://review.openstack.org/440300
Reason: all gates have been moved to not use *_ssh as deploy drivers

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

Change abandoned by Pavlo Shchelokovskyy (<email address hidden>) on branch: master
Review: https://review.openstack.org/439721
Reason: all gates have been moved to not use *_ssh as deploy drivers

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

Change abandoned by Pavlo Shchelokovskyy (<email address hidden>) on branch: stable/ocata
Review: https://review.openstack.org/440299
Reason: all gates have been moved to not use *_ssh as deploy drivers

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/481688
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=3d9895cc0b6b9e41cdc5cc389d10504cd31ffa9d
Submitter: Jenkins
Branch: master

commit 3d9895cc0b6b9e41cdc5cc389d10504cd31ffa9d
Author: Pavlo Shchelokovskyy <email address hidden>
Date: Fri Jul 7 18:23:02 2017 +0300

    Remove SSH-based driver interfaces and drivers

    SSH drivers are being unsupported for about a year now. All current
    stable branches of ironic are officially supporting IPMI-capable HW
    simulation via virtualbmc.
    All ironic-related gate jobs have already been switched
    to not use or enable those drivers.

    This patch finally removes SSH-based power and managemtnt driver interfaces
    and all classic drivers using those from ironic code and documentation.
    Related exceptions and `ssh_connect` function, together with dependency
    on `paramiko` package are removed as well.

    Change-Id: Ieda7249b9cd78e3be1eff37804996295fc8d3969
    Closes-Bug: #1570301
    Depends-On: I9b60c9fa24652e9e64e787cd4e5b0152f51e7a28

Changed in ironic:
status: In Progress → Fix Released
Revision history for this message
Kaifeng Wang (kaifeng) wrote :

Just a reminder, there are some codes left at bifrost, is there plan to remove them too?
not sure if we add bifrost to this bug for tracking.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master
Review: https://review.openstack.org/492819

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

Change abandoned by Wang KaiFeng (<email address hidden>) on branch: master
Review: https://review.openstack.org/492819
Reason: ssh_key_contents masking will be kept to avoid breaking out-of-tree usage.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ironic 9.0.0

This issue was fixed in the openstack/ironic 9.0.0 release.

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.