Nova doesn't support v3 when connecting to Ironic

Bug #1582045 reported by Clenimar Filemon
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Clenimar Filemon

Bug Description

nova-ironic communication only supports v2, deprecated auth parameters, e.g [1]. this will cause a fatal error during a v3-only devstack setup, as ironic keeps waiting for nova to provide resources and a timeout occurs (logs will show a lot of 404s) failing the setup.

currently an ironic-enabled, v3-only devstack setup will fail because ironic itself doesn't support v3, but we already have a filed bug [2] and a patch on the way [3].

to reproduce this issue: setup a v3-only devstack with patched [3] ironic enabled. it should fail waiting for nova-hypervisor to provide VMs.

[1] https://github.com/openstack/nova/blob/master/nova/virt/ironic/client_wrapper.py#L72-L78
[2] https://bugs.launchpad.net/ironic/+bug/1494776
[3] https://review.openstack.org/#/c/236982/

Changed in nova:
assignee: nobody → Clenimar Filemon (clenimar-filemon)
Changed in nova:
status: New → In Progress
description: updated
description: updated
Matt Riedemann (mriedem)
Changed in nova:
importance: Undecided → Medium
Revision history for this message
Clenimar Filemon (clenimar-filemon) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/300154
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=2ea2399ec3e4b976beadfbcd1cab78b94382eca3
Submitter: Jenkins
Branch: master

commit 2ea2399ec3e4b976beadfbcd1cab78b94382eca3
Author: Clenimar Filemon <email address hidden>
Date: Thu Mar 31 14:46:43 2016 -0300

    Support Identity v3 when connecting to Ironic

    This patch makes Nova:
    a) support Identity v3 params when creating an Ironiccient by
    creating a v3Password auth plugin and a Session;
    b) deprecate auth parameters admin_tenant_name, admin_username
    admin_password and admin_url;
    c) remove support to admin_auth_token auth parameter [1].

    [1] admin_auth_token was deprecated
    (317d9d8f13e8a34af189504ae1258d315154cc82) in favour of admin_username and
    admin_password (which are deprecated now in favour of username and
    password). More info at Keystone release notes (see Deprecation Notes
    and Security Issues):
    http://docs.openstack.org/releasenotes/keystone/mitaka.html#deprecation-notes

    Change-Id: Id837d26bb21c158de0504627e488c0692aef1e24
    Closes-Bug: #1582045

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 14.0.0.0b3

This issue was fixed in the openstack/nova 14.0.0.0b3 development milestone.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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