some more logs
This commit is contained in:
parent
aa1ab103e0
commit
4b9a5f9c49
@ -218,9 +218,7 @@ module Provider
|
||||
'Capabilities' => ['CAPABILITY_IAM']
|
||||
}
|
||||
)
|
||||
body = response.body
|
||||
out << "Body: #{body.inspect}\n"
|
||||
stack.id = body['StackId']
|
||||
stack.id = response.body['StackId']
|
||||
out << "Stack id: #{stack.id}\n"
|
||||
rescue Excon::Errors::Conflict => e
|
||||
raise ProviderErrors::NameConflict
|
||||
@ -243,11 +241,9 @@ module Provider
|
||||
end
|
||||
|
||||
def stack_details(stack)
|
||||
body = cloud_formation.describe_stacks({'StackName' => stack.name}).body
|
||||
d = body['Stacks'][0]['stack']
|
||||
#d = cloud_formation.describe_stacks({'StackName' => stack.name}).body['Stacks'][0]['stack']
|
||||
puts "Details body: #{body.inspect}"
|
||||
puts "Details: #{d.inspect}"
|
||||
d = cloud_formation.describe_stacks({'StackName' => stack.name}).body['Stacks'][0]
|
||||
pp d
|
||||
d
|
||||
end
|
||||
|
||||
def stack_resources(stack)
|
||||
|
||||
@ -29,6 +29,7 @@ class StackBootstrapWorker < Worker
|
||||
mongo.stack_insert(stack)
|
||||
|
||||
sync_bootstrap_proc.call(out, stack, mongo)
|
||||
out << "\nStack '#{stack.name}' has been created\n"
|
||||
servers = persist_stack_servers!(stack, provider)
|
||||
unless options['stack_attributes']['without_bootstrap']
|
||||
statuses = servers.map do |s|
|
||||
|
||||
Loading…
Reference in New Issue
Block a user