Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE3
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
5
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
439fc600
authored
Jul 25, 2022
by
Karsa Zoltán István
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
95bcd32a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
circle/storage/models.py
+3
-1
circle/vm/operations.py
+0
-1
No files found.
circle/storage/models.py
View file @
439fc600
...
@@ -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
()
...
...
circle/vm/operations.py
View file @
439fc600
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment