OpenStack Compute (Nova)

FLAGS.instance_name_template needs to be more flexible

Reported by Chris Behrens on 2011-09-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Low
Chris Behrens

Bug Description

In sqlalchemy/models.py right now... Instance.name becomes FLAGS.instance_name_template % Instance.id
This needs to be more flexible. Something like FLAGS.instance_name_template % dict(instance.iteritems()) would be nice so we can specify "%(uuid)s" for FLAGS.instance_name_template

Chris Behrens (cbehrens) on 2011-09-29
Changed in nova:
importance: Undecided → Low
assignee: nobody → Chris Behrens (cbehrens)
status: New → In Progress

Reviewed: https://review.openstack.org/748
Committed: http://github.com/openstack/nova/commit/48fc6611d15aaedc68747df150480250816fc04e
Submitter: Jenkins
Branch: master

 status fixcommitted
 done

commit 48fc6611d15aaedc68747df150480250816fc04e
Author: Chris Behrens <email address hidden>
Date: Thu Sep 29 21:27:18 2011 +0000

    Fixes bug 862637 -- make instance_name_template more flexible

    Allow use of %(uuid)s in the template.. along with any other Instance
    attribute.

    Change-Id: I0c0ed8cf51d5cfc632c957c4559014eb1d7844d1

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2011-11-09
Changed in nova:
milestone: none → essex-1
Thierry Carrez (ttx) on 2011-11-17
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-1 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers