-
Notifications
You must be signed in to change notification settings - Fork 186
CodeDeploy Agent install fails on Ubuntu 20.10 (and likely others) #277
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
yikes, this isn't good. Adding to this week's grooming. Targeting next release of the agent. |
Disregard: was able to reproduce on 20.10. |
Btw, this documentation is brutallllllllllll. After a few hours i got here when I finally For the lazy and tired
|
My failure was related to arch, but the manual method above seemed to work. "documentStatus": "Failed",
"documentTraceOutput": "",
"runtimeStatus": {
"configurePackage": {
"status": "Failed",
"code": 1,
"name": "aws:configurePackage",
"output": "\n----------ERROR-------\nfailed to find platform: no manifest found for platform: ubuntu, version 20.04, architecture arm64\nfailed to find platform: no manifest found for platform: ubuntu, version 20.04, architecture arm64\nfailed to find platform: no manifest found for platform: ubuntu, version 20.04, architecture arm64\nfailed to find platform: no manifest found for platform: ubuntu, version 20.04, architecture arm64\n",
"startDateTime": "2021-05-13T06:04:32.801Z",
"endDateTime": "2021-05-13T06:04:39.885Z",
"outputS3BucketName": "",
"outputS3KeyPrefix": "",
"stepName": "",
"standardOutput": "",
"standardError": "failed to find platform: no manifest found for platform: ubuntu, version 20.04, architecture arm64\nfailed to find platform: no manifest found for platform: ubuntu, version 20.04, architecture arm64\nfailed to find platform: no manifest found for platform: ubuntu, version 20.04, architecture arm64\nfailed to find platform: no manifest found for platform: ubuntu, version 20.04, architecture arm64\n"
}, |
1.3.2 is should fix this
…On Thu, May 13, 2021 at 2:38 AM Ryan Romanchuk ***@***.***> wrote:
My failure was related to arch, but the manual method above seemed to work.
"documentStatus": "Failed",
"documentTraceOutput": "",
"runtimeStatus": {
"configurePackage": {
"status": "Failed",
"code": 1,
"name": "aws:configurePackage",
"output": "\n----------ERROR-------\nfailed to find platform: no manifest found for platform: ubuntu, version 20.04, architecture arm64\nfailed to find platform: no manifest found for platform: ubuntu, version 20.04, architecture arm64\nfailed to find platform: no manifest found for platform: ubuntu, version 20.04, architecture arm64\nfailed to find platform: no manifest found for platform: ubuntu, version 20.04, architecture arm64\n",
"startDateTime": "2021-05-13T06:04:32.801Z",
"endDateTime": "2021-05-13T06:04:39.885Z",
"outputS3BucketName": "",
"outputS3KeyPrefix": "",
"stepName": "",
"standardOutput": "",
"standardError": "failed to find platform: no manifest found for platform: ubuntu, version 20.04, architecture arm64\nfailed to find platform: no manifest found for platform: ubuntu, version 20.04, architecture arm64\nfailed to find platform: no manifest found for platform: ubuntu, version 20.04, architecture arm64\nfailed to find platform: no manifest found for platform: ubuntu, version 20.04, architecture arm64\n"
},
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#277 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAUCBGLN4LSAKNXYM3EQILTNNXW7ANCNFSM4W5OL5SQ>
.
|
Running Code deploy agent is already installed and running, not sure why state manager is failing, i'm not specifying a version or anything. I'm not running that exotic of environment. Is there some technical reason why aws software is the only publisher i cant install with apt? I need to be able to deploy your software faster than it takes to deploy my own, thats gotta be the base case here. |
I'd love to contribute to this project, but really de-motivated by current pinned ruby version which i'm sure is a cross platform arch limitation. I'm already running in a ruby env, so really easy for me to fork, bump, and just test on staging in my bundler environment |
really de-motivated by current pinned ruby version
Wondering if there is a way we can do this better. Not sure we've tested
otherwise. Is your suggestion to remove pin altogether? bump it up or move
it back?
…On Tue, Aug 31, 2021 at 8:11 PM Ryan Romanchuk ***@***.***> wrote:
I'd love to contribute to this project, but really de-motivated by current
pinned ruby version which i'm sure is a cross platform arch limitation.
I'm already running in a ruby env, so really easy for me to fork, bump,
and just test on staging in my bundler environment
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#277 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAUCBAD4OV2UGXV3MCSHJDT7VVSXANCNFSM4W5OL5SQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@philstrong It's more of a problem i have with SSM. I moved from ansible over ssh to ansible over SSM, and the most fragile part of provisioning is always always aws related software (CLI tools, CodeDeploy, SSM agent itself (now at least supports snap, CloudWatch, X-ray, etc) because it requires me to handcraft bash scripts. These documents are used to provision instances during scaling events, from any previous created AMI i didn't even realize this project ruby until after i posted earlier. looked at the actual install docs for ubuntu and realized its just setting up the ruby env, which i can support/manage form source very quickly, without needing the runtime form apt packages, which ironically, is the one thing i do not let apt manage for me. It's probably pinned because thats the easiest way to get running (bundler, rubygems, ruby runtime) as they are the latest published from apt. I just assumed the binaries were some compiled java/c/typed, didn't realize they were just Anyways, i'm going to migrate/fix any deprecations/warnings, fix any broken param passing, then ship it within my own binstubs for testing. Doesn't solve the distribution problem, but at least i can send a PR with the chores/busy work done, and give it some solid testing in production environments. |
ps. i deploy our rails app with CodeDeploy, i love it. I couldn't find any examples in the wild back when i made the migration, so maybe i could share my deploy for others. No bastion hosts, no ssh, tear down/launch at will and will be put into service when it's ready to start takings requests. Goodbye capistrano! |
Attempting to install Code Deploy agent 1.3.2 using SSM and still getting the error. Appears that this was not fixed in the 1.3.2 release. |
I was able to successfully install using the docs at https://docs.aws.amazon.com/codedeploy/latest/userguide/codedeploy-agent-operations-install-ubuntu.html, however it would be better to be able to use SSM to do the install. Especially since using SSM is the recommended way to install. |
Yep, also not working on a Raspberry Pi 4 running Ubuntu 20.04 Server LTS. Steps at the link its4net provided work perfectly, though. When I tried to install it through SSM, the stderr.txt saved to S3 contents were as follows: failed to find platform: no manifest found for platform: ubuntu, version 20.04, architecture arm64 |
Facing the same when installing |
Not sure if my reply is of any added value, but having the exact same issue |
I'm also facing the same issue installing CodeDeploy Agent on arm64 ec2 instances.
|
In the deb package, DEBIAN/conffiles contains the line:
etc/codedeploy-agent/conf/codedeployagent.yml
Note that this is a relative path.
It seems that new versions of dpkg require absolute paths for specified conf files:
https://www.mail-archive.com/debian-dpkg-cvs@lists.debian.org/msg07446.html
Error I received:
Workaround:
Extract the package, add a leading forward slash in DEBIAN/conffiles, repackage, and manually install.
The text was updated successfully, but these errors were encountered: