fixed, without roll_back
This commit is contained in:
parent
02d1ff3ad3
commit
ee2e193a8b
@ -16,7 +16,7 @@ module StackCommands
|
|||||||
puts stack.stack_status
|
puts stack.stack_status
|
||||||
if stack.stack_status != 'CREATE_IN_PROGRESS'
|
if stack.stack_status != 'CREATE_IN_PROGRESS'
|
||||||
mongo.stack_update(stack)
|
mongo.stack_update(stack)
|
||||||
out << "Stack '#{stack.id}' status is now #{stack.stack_status}\n"
|
out << "\nStack '#{stack.id}' status is now #{stack.stack_status}\n"
|
||||||
out.flush
|
out.flush
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
|||||||
@ -187,11 +187,11 @@ module Devops
|
|||||||
@out << "\n" + msg + "\n"
|
@out << "\n" + msg + "\n"
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
msg = "Failed while bootstraping server with id '#{s.id}'"
|
msg = "Failed while bootstraping server with id '#{@server.id}'"
|
||||||
DevopsLogger.logger.error msg
|
DevopsLogger.logger.error msg
|
||||||
@out << "\n" + msg + "\n"
|
@out << "\n" + msg + "\n"
|
||||||
@out << roll_back
|
# @out << roll_back
|
||||||
mongo.server_delete @server.id
|
# mongo.server_delete @server.id
|
||||||
end
|
end
|
||||||
return status
|
return status
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user