Trusted Filter does not work when Mt. Wilson returns non-ISO formatted dates.

Bug #1353029 reported by Christopher MacGown
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Christopher MacGown

Bug Description

The trusted_filter assumes that all OAT attestation servers will return `vtime` in ISO8601 format. This is not the case with the Mt. Wilson attestation server, and there is no way to configure Mt. Wilson to do ship an appropriately formatted `vtime` which prevents trusted hosts from appearing in the available host list for instances booted from a flavor with the trust extra-spec.

It's a pretty trivial change to allow locale-formatted dates to be used in the trusted_filter as well.

Revision history for this message
Christopher MacGown (0x44) wrote :
Changed in nova:
status: New → In Progress
assignee: nobody → Christopher MacGown (0x44)
description: updated
Revision history for this message
Christopher MacGown (0x44) wrote :

https://review.openstack.org/#/c/112132/ rather, it seems gerrit doesn't like rebase --onto.

Changed in nova:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/112132
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=37918fd8765454a1940c55f9366ef9ef7a0be46f
Submitter: Jenkins
Branch: master

commit 37918fd8765454a1940c55f9366ef9ef7a0be46f
Author: Christopher MacGown <email address hidden>
Date: Tue Aug 5 11:06:14 2014 -0700

    Fix Trusted Filter to work with Mt. Wilson `vtime`

    The Trusted Filter expects that `vtime` is returned from the
    attestation server in an ISO8601 format, but the Mt. Wilson
    attestation server can return it in a locale appropriate string format
    instead. There's no way to configure Mt. Wilson to do the right thing
    so we should just try to parse the returned `vtime` as a string
    formatted date.

    Closes-Bug: #1353029

    Change-Id: Ic7351e0463c014321bdb4fcfeba90ac51460b325

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → juno-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-3 → 2014.2
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.