Giter Site home page Giter Site logo

Comments (9)

lperezdude avatar lperezdude commented on June 8, 2024 7

Im having a issue where my deployment scrip is failing and i'm not sure why. When i use locate i can se that there are some files kept in the deployment-archive

/opt/codedeploy-agent/deployment-root/b0262369-...-4c44-ab6d-6ee70839a1ae/d-.../deployment-archive/deploy/scripts/ApplicationStop.sh
/opt/codedeploy-agent/deployment-root/b0262369-...-4c44-ab6d-6ee70839a1ae/d-.../deployment-archive/deploy/scripts/ApplicationStop.sh
/opt/codedeploy-agent/deployment-root/b0262369-...-4c44-ab6d-6ee70839a1ae/d-../deployment-archive/deploy/scripts/ApplicationStop.sh.

And these are Old deployments (failed attempts). I believe i've fixed my scrip issue but i don't know how to make the codedeploy agent use the new scripts from GitHub and not try to pick up from the old deployments. is there like a deployment-archive cache clear or something for this ?

from aws-codedeploy-agent.

manikarnam avatar manikarnam commented on June 8, 2024 2

image

from aws-codedeploy-agent.

gaohan137 avatar gaohan137 commented on June 8, 2024

Hi timgilbert,

max_revision is not documented anywhere? hmm -> http://docs.aws.amazon.com/codedeploy/latest/userguide/host-cleanup.html

The fix for #57 will be fixed in next release of the host agent.

from aws-codedeploy-agent.

webmutation avatar webmutation commented on June 8, 2024

I configured the :max_revisions: parameter to 3 and it continues to have 5 folders and going over the amount of space... currently the only thing that seems to work is to force the cleanup thru a hook.

Installed Packages
Name : codedeploy-agent
Arch : noarch
Version : 1.0
Release : 1.1352
Size : 16 M
Repo : installed
Summary : Provides the required files for CodeDeploy agent to run in EC2 instances
License : Amazon.com Internal
Description : CodeDeploy instance agent is responsible for doing the actual work of deploying software
: on an EC2 instance.

from aws-codedeploy-agent.

annamataws avatar annamataws commented on June 8, 2024

Hi,

The max_revisions works in the new agent releases and deletes the extra deployment revisions within a deployment group. It works when being set to an integer that is 1 or greater. If you have multiple deployment groups, each deployment group will honor the max_revisions separately.

Please let me know if you are still seeing problems.

Thank you

from aws-codedeploy-agent.

annamataws avatar annamataws commented on June 8, 2024

Will close this since the fix has been out for a while.

from aws-codedeploy-agent.

manikarnam avatar manikarnam commented on June 8, 2024

Team,
I have an issue with AWS Codedeploy Cache after completed the pipeline but it is taking old data.
How do I solve the issue over the Pipeline?

Could anyone help me, guys?
Thanks in advance.

from aws-codedeploy-agent.

manikarnam avatar manikarnam commented on June 8, 2024

But MySQL service everything has been deleted. I don't know why how it comes to the old data after completed the Pipeline.

Could you please help me on this issue

from aws-codedeploy-agent.

send2kbl avatar send2kbl commented on June 8, 2024

@manikarnam
Any updates or workaround on this issue ?

Besides the same Log error from a previous deployment, I'm getting this error message on the console:
The overall deployment failed because too many individual instances failed deployment, too few healthy instances are available for deployment, or some instances in your deployment group are experiencing problems.

PS. I did restart the agent

from aws-codedeploy-agent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.