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