Skip to content

Conversation

@hanwen-cluster
Copy link
Contributor

@hanwen-cluster hanwen-cluster commented Nov 17, 2025

Description of changes

       ---- Begin output of ["dpkg", "-i", "/opt/parallelcluster/sources/amazon-cloudwatch-agent.deb"] ----
       STDOUT: Selecting previously unselected package amazon-cloudwatch-agent.
       (Reading database ... 98810 files and directories currently installed.)
       Preparing to unpack .../amazon-cloudwatch-agent.deb ...
       create group cwagent, result: 0
       create user cwagent, result: 0
       Unpacking amazon-cloudwatch-agent (1.300060.0b1248-1) ...
       Setting up amazon-cloudwatch-agent (1.300060.0b1248-1) ...
       STDERR: /usr/bin/systemctl: 4: [: unexpected operator
       sysv-init is not supported
       dpkg: error processing package amazon-cloudwatch-agent (--install):
        installed amazon-cloudwatch-agent package post-installation script subprocess returned error exit status 1
       Errors were encountered while processing:
        amazon-cloudwatch-agent
       ---- End output of ["dpkg", "-i", "/opt/parallelcluster/sources/amazon-cloudwatch-agent.deb"] ----
       Ran ["dpkg", "-i", "/opt/parallelcluster/sources/amazon-cloudwatch-agent.deb"] returned 1

This is likely due to an upgrade in docker or CloudWatch agent. Anyway, our build image, which does not rely on Docker, continues to succeed. Therefore, this PR skips CloudWatch agent installation on Ubuntu on Docker

Tests

  • System test on Ubuntu has passed

Checklist

  • Make sure you are pointing to the right branch.
  • If you're creating a patch for a branch other than develop add the branch name as prefix in the PR title (e.g. [release-3.6]).
  • Check all commits' messages are clear, describing what and why vs how.
  • Make sure to have added unit tests or integration tests to cover the new/modified code.
  • Check if documentation is impacted by this change.

Please review the guidelines for contributing and Pull Request Instructions.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@hanwen-cluster hanwen-cluster enabled auto-merge (rebase) November 17, 2025 20:17
@hanwen-cluster hanwen-cluster merged commit 4d1d0b4 into aws:develop Nov 17, 2025
38 of 43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants