Commit 439fc600 by Karsa Zoltán István

bugfix

parent 95bcd32a
...@@ -459,8 +459,10 @@ class Disk(TimeStampedModel): ...@@ -459,8 +459,10 @@ class Disk(TimeStampedModel):
queue=queue_name queue=queue_name
).get(timeout=15) ).get(timeout=15)
disk.size = result['size'] disk.size = result['size']
disk.type = 'raw-ro' disk.type = result['type']
disk.checksum = result['checksum'] disk.checksum = result['checksum']
disk.dev_num = 'c'
# disk.bus = 'virtio'
disk.is_ready = True disk.is_ready = True
disk.ci_disk = True disk.ci_disk = True
disk.save() disk.save()
......
...@@ -435,7 +435,6 @@ class DeployOperation(InstanceOperation): ...@@ -435,7 +435,6 @@ class DeployOperation(InstanceOperation):
self.instance.save() self.instance.save()
else: else:
self.instance.allocate_node() self.instance.allocate_node()
logger.debug(' - - valami - - ')
init_disk = None init_disk = None
try: try:
init_disk = self.instance.disks.get(ci_disk=True) 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