Skip to content

Conversation

fr3nd
Copy link

@fr3nd fr3nd commented Jul 19, 2017

Fixing the following error:

Starting to execute deployment from within folder /opt/codedeploy-agent/deployment-root/default-local-deployment-application/d-J324JTGAR-local
/opt/codedeploy-local/gems/aws_codedeploy_agent-0.1/lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb:89:in `block in parse_permissions': uninitialized constant InstanceAgent::Plugins::CodeDeployPlugin::ApplicationSpecification::LinuxPermissionInfo (NameError)
        from /opt/codedeploy-local/gems/aws_codedeploy_agent-0.1/lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb:84:in `each'
        from /opt/codedeploy-local/gems/aws_codedeploy_agent-0.1/lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb:84:in `parse_permissions'
        from /opt/codedeploy-local/gems/aws_codedeploy_agent-0.1/lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb:21:in `initialize'
        from /opt/codedeploy-local/gems/aws_codedeploy_agent-0.1/lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb:25:in `new'
        from /opt/codedeploy-local/gems/aws_codedeploy_agent-0.1/lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb:25:in `parse'
        from /opt/codedeploy-local/gems/aws_codedeploy_agent-0.1/lib/instance_agent/plugins/codedeploy/hook_executor.rb:211:in `parse_app_spec'
        from /opt/codedeploy-local/gems/aws_codedeploy_agent-0.1/lib/instance_agent/plugins/codedeploy/hook_executor.rb:91:in `initialize'
        from /opt/codedeploy-local/gems/aws_codedeploy_agent-0.1/lib/instance_agent/plugins/codedeploy/command_executor.rb:146:in `new'
        from /opt/codedeploy-local/gems/aws_codedeploy_agent-0.1/lib/instance_agent/plugins/codedeploy/command_executor.rb:146:in `block (3 levels) in map'
        from /opt/codedeploy-local/gems/aws_codedeploy_agent-0.1/lib/instance_agent/plugins/codedeploy/command_executor.rb:145:in `each'
        from /opt/codedeploy-local/gems/aws_codedeploy_agent-0.1/lib/instance_agent/plugins/codedeploy/command_executor.rb:145:in `block (2 levels) in map'
        from /opt/codedeploy-local/gems/aws_codedeploy_agent-0.1/lib/instance_agent/plugins/codedeploy/command_executor.rb:67:in `execute_command'
        from /opt/codedeploy-local/gems/aws_codedeploy_agent-0.1/lib/aws/codedeploy/local/deployer.rb:74:in `block in execute_events'
        from /opt/codedeploy-local/gems/aws_codedeploy_agent-0.1/lib/aws/codedeploy/local/deployer.rb:73:in `each'
        from /opt/codedeploy-local/gems/aws_codedeploy_agent-0.1/lib/aws/codedeploy/local/deployer.rb:73:in `execute_events'
        from /opt/codedeploy-local/gems/aws_codedeploy_agent-0.1/bin/codedeploy-local:58:in `<main>'

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.001%) to 94.582% when pulling 647cede on fr3nd:require_all_plugins into c510185 on aws:master.

@feverLu
Copy link
Contributor

feverLu commented Aug 1, 2017

Could you only include the specific file that is needed?

@coveralls
Copy link

Coverage Status

Coverage increased (+0.002%) to 94.586% when pulling 2b12c61 on wuakitv:require_all_plugins into c510185 on aws:master.

@fr3nd
Copy link
Author

fr3nd commented Aug 2, 2017

I've included only the ones I needed when running codedeploy-local in my environment, but it could be possible more are needed...

@feverLu feverLu merged commit 481218b into aws:master Sep 19, 2017
@fr3nd fr3nd mentioned this pull request Feb 8, 2018
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

Successfully merging this pull request may close these issues.

3 participants