Commit 439fc600 by Karsa Zoltán István

bugfix

parent 95bcd32a
......@@ -459,8 +459,10 @@ class Disk(TimeStampedModel):
queue=queue_name
).get(timeout=15)
disk.size = result['size']
disk.type = 'raw-ro'
disk.type = result['type']
disk.checksum = result['checksum']
disk.dev_num = 'c'
# disk.bus = 'virtio'
disk.is_ready = True
disk.ci_disk = True
disk.save()
......
......@@ -435,7 +435,6 @@ class DeployOperation(InstanceOperation):
self.instance.save()
else:
self.instance.allocate_node()
logger.debug(' - - valami - - ')
init_disk = None
try:
init_disk = self.instance.disks.get(ci_disk=True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment