Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
e3cb877a
Commit
e3cb877a
authored
Apr 12, 2013
by
Christos Stavrakakis
Browse files
cyclades: Fix typo in create_server
State of public NIC should be 'BUILDING'
parent
b1ea672c
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-cyclades-app/synnefo/api/servers.py
View file @
e3cb877a
...
...
@@ -338,7 +338,7 @@ def create_server(serials, request):
# create this NIC, because if the hooks never run (e.g. building error)
# the VM's public IP address will never be released!
NetworkInterface
.
objects
.
create
(
machine
=
vm
,
network
=
network
,
index
=
0
,
ipv4
=
address
,
state
=
"B
uidling
"
)
ipv4
=
address
,
state
=
"B
UILDING
"
)
log
.
info
(
"Created entry in DB for VM '%s'"
,
vm
)
...
...
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