ironic DevStack plugin fails to install on Ubuntu 16.04

Bug #1580101 reported by Pavlo Shchelokovskyy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
High
Mathieu Mitchell

Bug Description

this is due to the package "openvswitch-datapath-dkms" is hardcoded as plugin dependency [1]

according to [2] it is not needed for kernels >= 3.13, so it is only needed for Ubuntu < 14.04, although it is present in upstream trusty repos.

The problem is this package is completely absent from upstream xenial repos (currently 4.4 kernel), so installing Ironic on 16.04 fails early on package installation step.

I'm not sure if devstack still officially supports ubuntu < 14.04, that is whether we can remove this package from the dependencies completely. And as xenial support in devstack is not there yet officially AFAIK, feel free to set Low priority for this bug.

[1] http://git.openstack.org/cgit/openstack/ironic/tree/devstack/files/debs/ironic#n12
[2] http://git.openstack.org/cgit/openstack-dev/devstack/tree/lib/neutron_plugins/ovs_base#n56

Revision history for this message
Dmitry Tantsur (divius) wrote :

I think 16.04 support is pretty important. To be honest, I'm not sure why we're installing stuff that neutron depends on, maybe we should leave it up to neutron's devstack plugin.

Changed in ironic:
status: New → Triaged
importance: Undecided → High
tags: added: gate
description: updated
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/314616

Changed in ironic:
assignee: nobody → Pavlo Shchelokovskyy (pshchelo)
status: Triaged → In Progress
aeva black (tenbrae)
tags: added: devstack
Revision history for this message
aeva black (tenbrae) wrote :

After a week of no response onthe patch, I'm reassigning this bug to myself to continue working on it.

Changed in ironic:
assignee: Pavlo Shchelokovskyy (pshchelo) → Devananda van der Veen (devananda)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic (master)

Change abandoned by Devananda van der Veen (<email address hidden>) on branch: master
Review: https://review.openstack.org/314616

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

Changed in ironic:
assignee: Devananda van der Veen (devananda) → Mathieu Mitchell (mat128)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/325346
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=033dbb2d104c02569ceb87d91e09b9d7d68cf9d9
Submitter: Jenkins
Branch: master

commit 033dbb2d104c02569ceb87d91e09b9d7d68cf9d9
Author: dparalen <email address hidden>
Date: Fri Jun 3 16:36:24 2016 +0200

    remove neutron stuff from devstack deb packages

    It seems we are enforcing certain dependencies to be always installed on
    behalf of other projects. The issue I'm facing is we unconditionally
    install openvswitch-datapath-dkms which isn't necessary for Ubuntu kernels
    >= 3.13. Even worse, this package isn't available on Ubuntu 16.4 LTS thus
    breaking devstack setup.sh on that platform.

    This patch removes Neutron dependencies as those are handled by devstack[1]
    and devstack neutron plugin[2]

    [1] https://github.com/openstack-dev/devstack/blob/master/files/debs/openvswitch#L3
    [2] https://github.com/openstack-dev/devstack/blob/master/lib/neutron_plugins/ovs_base#L58

    Closes-bug: #1580101

    Change-Id: Iff0cf13499d9cb05f241f23759d5faec9a9c4a98

Changed in ironic:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/326250

Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/ironic 6.0.0

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

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

Reviewed: https://review.openstack.org/326250
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=aca99298f9014c5b4542de2bd113a185748dd91c
Submitter: Jenkins
Branch: stable/mitaka

commit aca99298f9014c5b4542de2bd113a185748dd91c
Author: dparalen <email address hidden>
Date: Fri Jun 3 16:36:24 2016 +0200

    remove neutron stuff from devstack deb packages

    It seems we are enforcing certain dependencies to be always installed on
    behalf of other projects. The issue I'm facing is we unconditionally
    install openvswitch-datapath-dkms which isn't necessary for Ubuntu kernels
    >= 3.13. Even worse, this package isn't available on Ubuntu 16.4 LTS thus
    breaking devstack setup.sh on that platform.

    This patch removes Neutron dependencies as those are handled by devstack[1]
    and devstack neutron plugin[2]

    [1] https://github.com/openstack-dev/devstack/blob/master/files/debs/openvswitch#L3
    [2] https://github.com/openstack-dev/devstack/blob/master/lib/neutron_plugins/ovs_base#L58

    Closes-bug: #1580101

    Change-Id: Iff0cf13499d9cb05f241f23759d5faec9a9c4a98
    (cherry picked from commit 033dbb2d104c02569ceb87d91e09b9d7d68cf9d9)

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

Change abandoned by Mathieu Mitchell (<email address hidden>) on branch: master
Review: https://review.openstack.org/326024
Reason: Abandoning this, @Pavlo (or anyone else) feel free to revive this. I was providing this as a help for devananda to try 16.04 but I have no working platform for trying it out.

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

This issue was fixed in the openstack/ironic 5.1.3 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.