auth token may be expired while node is deploying

Bug #1377168 reported by Yuriy Zveryanskyy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
High
Yuriy Zveryanskyy

Bug Description

Deploy ramdisk uses auth token from PXE driver, if token near expiration deploy will be fail, because hardware and deploy ramdisk booting takes some time.

Tags: pxe
Dmitry Tantsur (divius)
Changed in ironic:
status: New → Confirmed
importance: Undecided → High
tags: added: pxe
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/125972

Changed in ironic:
assignee: nobody → Yuriy Zveryanskyy (yzveryanskyy)
status: Confirmed → In Progress
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/125972
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=59c9b2c07721f49b28350967526b07bae363f8cd
Submitter: Jenkins
Branch: master

commit 59c9b2c07721f49b28350967526b07bae363f8cd
Author: Yuriy Zveryanskyy <email address hidden>
Date: Fri Oct 3 16:35:22 2014 +0300

    Get new auth token for ramdisk if old will expire soon

    PXE driver prepares auth token for ramdisk, if this token near
    expiration deploy will be fail. This patch modify PXE driver,
    get new token from Keystone for this case. New function
    token_expires_soon() added to keystone module.

    Closes-Bug: #1377168
    Change-Id: I215e2ec679b510152e2d140234594f7596e602af

Changed in ironic:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ironic:
milestone: none → kilo-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ironic:
milestone: kilo-1 → 2015.1.0
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.