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
2 years ago
by
Karsa Zoltán István
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
95bcd32a
Show 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):
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
()
...
...
This diff is collapsed.
Click to expand it.
circle/vm/operations.py
View file @
439fc600
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
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