Unable to perform patch scan on Ubuntu instances

0

I am attempting to setup Patch Manager for all my AWS instances but all my Ubuntu servers are failing on scan. I've checked the servers to ensure the SSM agent is installed and the service is running. Servers are running Ubuntu 22.04.2.

When I run a scan I receive the below output error:

/var/log/amazon/ssm/patch-baseline-operations/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="? if x is 0 or x is 1: /var/log/amazon/ssm/patch-baseline-operations/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="? if x is 0 or x is 1: /var/log/amazon/ssm/patch-baseline-operations/jmespath/visitor.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="? elif y is 0 or y is 1: /var/log/amazon/ssm/patch-baseline-operations/jmespath/visitor.py:34: SyntaxWarning: "is" with a literal. Did you mean "=="? elif y is 0 or y is 1: /var/log/amazon/ssm/patch-baseline-operations/jmespath/visitor.py:260: SyntaxWarning: "is" with a literal. Did you mean "=="? if original_result is 0: No IMDS credentials found on instance.failed to run commands: exit status 156

Skyrail
질문됨 일 년 전663회 조회
3개 답변
2

Patch Manager now supports Ubuntu Server 22.04 LTS

You can now use Patch Manager to patch Ubuntu Server 22.04 LTS nodes. Like other supported versions of Ubuntu Server, version 22.04 LTS, uses the AWS managed AWS-UbuntuDefaultPatchBaseline patch baseline.

AWS
지원 엔지니어
Vinay_S
답변함 일 년 전
1

Hello,

As of 30th March 2023, Ubuntu 22 is not yet supported by patch manger, but it is support for Amazon Linux 2023.

Please follow this link for news on update regarding this

Hope this helps.

AWS
지원 엔지니어
Vinay_S
답변함 일 년 전
  • I there a roadmap for when Ubuntu 22.04 will be supported?

  • Thanks for the info Vinay

0

I'm also seeing this error, on AL3 and Ubuntu 22 :(

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠