Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asgard services fail to start on version 1.5.1 #675

Open
clebio opened this issue Jun 23, 2015 · 0 comments
Open

Asgard services fail to start on version 1.5.1 #675

clebio opened this issue Jun 23, 2015 · 0 comments

Comments

@clebio
Copy link

clebio commented Jun 23, 2015

I have issues similar to #448 and #534, but those issue titles don't seem to fit my scenario.

I'm attempting to upgrade from Asgard version 1.4.2 to 1.5.1 and, when starting /opt/apache-tomcat-7.0.64/bin/startup.sh, I get the following:

[2015-06-23 16:24:16,550] [localhost-startStop-1] grails.web.context.GrailsContextLoader    Error initializing the application: Error creating bean with name 'eurekaClientHolder': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanC
reationException: Error creating bean with name 'healthcheckService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverService': Initialization of bean failed; nested excepti
on is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'awsAutoScalingService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'applicationSe
rvice': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.netflix.asgard.AwsEc2Service com.netflix.asgard.applications.SimpleDBApplicationService.awsEc2Service;
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'awsEc2Service': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'taskSer
vice': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowService': Invocation of init method failed; nested exception is com.amazonaws.AmazonClientException: Unable to load AWS
credentials from any provider in the chain

followed by many more lines of errors, ending with

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowService': Invocation of init method failed; nested exception is com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain
        ... 5 more
Caused by: com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain
        at com.amazonaws.auth.AWSCredentialsProviderChain.getCredentials(AWSCredentialsProviderChain.java:117)
        at com.amazonaws.services.simpleworkflow.AmazonSimpleWorkflowClient.invoke(AmazonSimpleWorkflowClient.java:3161)
        at com.amazonaws.services.simpleworkflow.AmazonSimpleWorkflowClient.listDomains(AmazonSimpleWorkflowClient.java:1108)
        at com.netflix.asgard.AwsSimpleWorkflowService$6.makeRequest(AwsSimpleWorkflowService.groovy:445)
        at com.netflix.asgard.retriever.AwsResultsRetriever.retrieve(AwsResultsRetriever.groovy:48)
        at com.netflix.asgard.AwsSimpleWorkflowService.retrieveDomainsAndEnsureDomainIsRegistered(AwsSimpleWorkflowService.groovy:424)
        at com.netflix.asgard.FlowService.afterPropertiesSet(FlowService.groovy:69)

I've set ASGARD_HOME, AWS_SECRET_KEY_ID, and AWS_ACCESS_KEY_ID environment variables, and head ~/.asgard/Config.groovy contains:

grails {
        awsAccounts=[‘redacted’]
        awsAccountNames=[‘redacted:’dev']
}
secret {
        accessId=‘redacted’
        secretKey=‘re/dacted’
}

Little help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant