Director + AWS Module Initial Configuration - Unresolvable Error

Director version (System - About): 1.10.2
Icinga Web 2 version and modules (System - About): 2.11.4
Icinga 2 version (icinga2 --version): r2.14.0-1
Operating System and version: Ubuntu 20.04.6 LTS
PHP version:7.4.3-4ubuntu2.19
image

I am trying to install the AWS module for the Icinga Director.
I have carefully followed the install guide here: https://github.com/Icinga/icingaweb2-module-aws/blob/master/doc/01-About.md

When I try to run my initial sync I get the following error

I’m at a loss as to how to troubleshoot this. I’ve been unable to find any previous articles on how to trouble shoot this. Icinga + Director is working correctly without issue otherwise.

I get the same error if choose Check for changes or Trigger Import Run

Any help or guidance is appreciated.

it seams like its an open issue

if it is super urgent you can try to patch according to this post from mickael-ange:

keep in mind that you might repeat this step after installing updates

1 Like

Thanks, I don’t know how I missed that previous post.
The patch suggested seems to work as my import is now failing in a new way, but it looks like a configuration issue and I can work on that.

For context I changed my the file to $defaultAgent = ‘GuzzleHttp/7.8.0’; to match the version in #2 noted below.

From what I can tell the root of the issue is that in following the guide you end up with two different versions of GuzzleHttp in play.

1: /usr/share/icinga-php/vendor/vendor/guzzlehttp/guzzle
2: /usr/share/icingaweb2/modules/aws/library/vendor/guzzlehttp/guzzle

Not sure how to reconcile that but, at least I can carry on for now.
Thank you!

1 Like