Skip to content
This repository was archived by the owner on Oct 11, 2021. It is now read-only.
This repository was archived by the owner on Oct 11, 2021. It is now read-only.

codedeploy-agent.service is made executable and causes sytemd to error #185

@ilyanoskov

Description

@ilyanoskov

Hello, the scheduler has failed and then it keeps trying to get recreated without success:

[   22.583701] cloud-init[2662]: Cloud-init v. 19.3-2.amzn2 running 'modules:final' at Tue, 23 Jun 2020 20:16:58 +0000. Up 22.49 seconds.
[   22.598211] cloud-init[2662]: + /opt/aws/bin/cfn-init -v --region eu-central-1 --stack airflow-stack-TurbineCluster-KYVRTM1L34GC-SchedulerStack-4B6CDKN0L3OL --resource LaunchConfiguration
[  111.979026] systemd-sysv-generator[3400]: Configuration file /usr/lib/systemd/system/codedeploy-agent.service is marked executable. Please remove executable permission bits. Proceeding anyway.
[  112.056604] systemd-sysv-generator[3420]: Configuration file /usr/lib/systemd/system/codedeploy-agent.service is marked executable. Please remove executable permission bits. Proceeding anyway.
[  113.121328] cloud-init[2662]: + /opt/aws/bin/cfn-signal -e 0
[  113.383730] cloud-init[2662]: Error: No WaitConditionHandle URL or logical resource id specified
[  113.389476] cloud-init[2662]: Usage: cfn-signal [options] [WaitConditionHandle URL]
[  113.393242] cloud-init[2662]: Options:
[  113.395372] cloud-init[2662]: -h, --help            show this help message and exit
[  113.398876] cloud-init[2662]: -s SUCCESS, --success=SUCCESS
[  113.401478] cloud-init[2662]: If true, signal success to CloudFormation; if false,
[  113.412297] cloud-init[2662]: signal failure. Default: true
[  113.414889] cloud-init[2662]: -i ID, --id=ID        A unique ID to send with the signal
[  113.418303] cloud-init[2662]: -e EXIT_CODE, --exit-code=EXIT_CODE
[  113.421459] cloud-init[2662]: Derive success or failure from specified exit code
[  113.432048] cloud-init[2662]: AWS Credentials:
[  113.434343] cloud-init[2662]: Options for specifying AWS Account Credentials.
[  113.437537] cloud-init[2662]: -f CREDENTIAL_FILE, --credential-file=CREDENTIAL_FILE
[  113.440815] cloud-init[2662]: A credential file, readable only by the owner, with
[  113.452722] cloud-init[2662]: keys 'AWSAccessKeyId' and 'AWSSecretKey'
[  113.455761] cloud-init[2662]: --role=IAM_ROLE     An IAM Role
[  113.458485] cloud-init[2662]: --access-key=ACCESS_KEY
[  113.460655] cloud-init[2662]: An AWS Access Key
[  113.462848] cloud-init[2662]: --secret-key=SECRET_KEY
[  113.465099] cloud-init[2662]: An AWS Secret Key
[  113.467541] cloud-init[2662]: Proxy:
[  113.469520] cloud-init[2662]: Options for specifying proxies. Format:
[  113.472558] cloud-init[2662]: [scheme://][user:password@]host:port
[  113.475352] cloud-init[2662]: --http-proxy=HTTP_PROXY
[  113.477669] cloud-init[2662]: A (non-SSL) HTTP proxy
[  113.480200] cloud-init[2662]: --https-proxy=HTTPS_PROXY
ci-info: no authorized ssh keys fingerprints found for user ec2-user.
[  113.485129] cloud-init[2662]: An HTTPS proxy
[  113.487392] cloud-init[2662]: WaitConditionHandle Signal Options:
[  113.490793] cloud-init[2662]: -r REASON, --reason=REASON
[  113.493343] cloud-init[2662]: The reason for success/failure
[  113.496181] cloud-init[2662]: -d DATA, --data=DATA
[  113.498354] cloud-init[2662]: Data to include with the WaitCondition signal
[  113.501489] cloud-init[2662]: Resource Signal Options:
[  113.503868] cloud-init[2662]: --stack=STACK_NAME  A CloudFormation stack
[  113.507285] cloud-init[2662]: --resource=LOGICAL_RESOURCE_ID
[  113.510332] cloud-init[2662]: A CloudFormation logical resource ID
[  113.513647] cloud-init[2662]: --url=ENDPOINT      The CloudFormation service URL. The endpoint URL must
[  113.517877] cloud-init[2662]: match the region option. Use of this parameter is
[  113.521165] cloud-init[2662]: discouraged.
[  113.525759] cloud-init[2662]: --region=REGION     The CloudFormation region. Default: us-east-1.
[  113.530549] cloud-init[2662]: Jun 23 20:18:29 cloud-init[2662]: util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-001 [1]
[  113.537307] cloud-init[2662]: Jun 23 20:18:29 cloud-init[2662]: cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
[  113.544112] cloud-init[2662]: Jun 23 20:18:29 cloud-init[2662]: util.py[WARNING]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_scripts_user.pyc'>) failed

This repeats over and over. What do you think could be the source of this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions