Bug #291

Target auto assignment doesn't have a limit

Added by Carlos Martín over 10 years ago. Updated about 10 years ago.

Status:ClosedStart date:07/23/2010
Priority:NormalDue date:
Assignee:Tino Vázquez% Done:

0%

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

Description

A VM template can use as many DATABLOCK images as you need.
But the target generation will go from 'e' to the number of DATABLOCKs used... which can be greater than 'z'.

This will create an invalid deployment.0

<domain type='kvm'>
        <name>one-76</name>

From the DB:

[...]
76|DISK|1|CLONE=YES@^_^@DISK_ID=21@^_^@IMAGE=DB_22@^_^@IMAGE_ID=33@^_^@READONLY=NO@^_^@SAVE=NO@^_^@SOURCE=/home/cloud/opennebula/var//ddf49476cb24d9bdcd25bea018587e440df02695@^_^@TARGET=hdz@^_^@TYPE=DISK
76|DISK|1|CLONE=YES@^_^@DISK_ID=22@^_^@IMAGE=DB_23@^_^@IMAGE_ID=34@^_^@READONLY=NO@^_^@SAVE=NO@^_^@SOURCE=/home/cloud/opennebula/var//41ff4c67360d3f5aec699b18b1a82d1666d37d6d@^_^@TARGET=hd{@^_^@TYPE=DISK
76|DISK|1|CLONE=YES@^_^@DISK_ID=23@^_^@IMAGE=DB_24@^_^@IMAGE_ID=35@^_^@READONLY=NO@^_^@SAVE=NO@^_^@SOURCE=/home/cloud/opennebula/var//2f310a5277ee77c658e5691565b8b6023c29f606@^_^@TARGET=hd|@^_^@TYPE=DISK
76|DISK|1|CLONE=YES@^_^@DISK_ID=24@^_^@IMAGE=DB_25@^_^@IMAGE_ID=36@^_^@READONLY=NO@^_^@SAVE=NO@^_^@SOURCE=/home/cloud/opennebula/var//a3438d812a0752c8dac7fa8fa822c3d4b443936b@^_^@TARGET=hd}@^_^@TYPE=DISK
76|DISK|1|CLONE=YES@^_^@DISK_ID=25@^_^@IMAGE=DB_26@^_^@IMAGE_ID=37@^_^@READONLY=NO@^_^@SAVE=NO@^_^@SOURCE=/home/cloud/opennebula/var//6677cf246d1a3ca5f8364b2bfce9272c57ae5c34@^_^@TARGET=hd~@^_^@TYPE=DISK
76|DISK|1|CLONE=YES@^_^@DISK_ID=26@^_^@IMAGE=DB_27@^_^@IMAGE_ID=38@^_^@READONLY=NO@^_^@SAVE=NO@^_^@SOURCE=/home/cloud/opennebula/var//a71842893956bc4c4dd0fff52c36cf294295ec7f@^_^@TARGET=hd@^_^@TYPE=DISK
76|DISK|1|CLONE=YES@^_^@DISK_ID=27@^_^@IMAGE=DB_28@^_^@IMAGE_ID=39@^_^@READONLY=NO@^_^@SAVE=NO@^_^@SOURCE=/home/cloud/opennebula/var//b5a8076fcc6bd1dc30c37fda7e156f09ff35637f@^_^@TARGET=hd�@^_^@TYPE=DISK

Associated revisions

Revision fc91d482
Added by Tino Vázquez over 10 years ago

bug #291: Number of DATABLOCKs than a VM can have is set to a maximum of 10

Revision b882f5f4
Added by Juan Jose Montiel Cano over 3 years ago

F #5043 Added persistents labels for users and system (#291)

History

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

  • Category set to Core & System
  • Assignee set to Tino Vázquez
  • Target version set to Release 2.0

#2 Updated by Javi Fontan about 10 years ago

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

Also available in: Atom PDF