Bug #810

A missing DEV_PREFIX for Images is not detected

Added by Carlos Martín almost 10 years ago. Updated almost 10 years ago.

Status:ClosedStart date:09/15/2011
Priority:NormalDue date:
Assignee:Ruben S. Montero% Done:

0%

Category:Core & System
Target version:Release 3.0
Resolution:fixed Pull request:
Affected Versions:

Description

A new Image needs a DEV_PREFIX, and if that attribute is not present, it is added with the default value.
But now that Image templates can be edited with 'oneimage update', the DEV_PREFIX can be deleted by the user.

Currently a VM using an Image without DEV_PREFIX is created with targets such as "a" or "b".
OpenNebula should be aware of that and use the default device prefix each time a VM is instantiated.

Associated revisions

Revision 770728fb
Added by Ruben S. Montero almost 10 years ago

bug #810: Gets device prefix from defaults if DEV_PREFIX attribute is removed from image template

Revision 58d26c0c
Added by Ruben S. Montero almost 10 years ago

bug #810: Gets device prefix from defaults if DEV_PREFIX attribute is removed from image template
(cherry picked from commit 770728fb2148b4dc9c26ca9a2a3a5e3c5dc4a30b)

History

#1 Updated by Ruben S. Montero almost 10 years ago

  • Assignee changed from Carlos Martín to Ruben S. Montero

#2 Updated by Ruben S. Montero almost 10 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Also available in: Atom PDF