Bug #12990
closedAdd Amazon Linux support to ncf and techniques
Description
The underlying version of CFEngine 3.10 does not detect Amazon Linux, and as a result some variables pointing to tool paths are undefined. This leads to the technique failures. I discovered this with sshKeyDistribution, as ${paths.sed} was not defined. CFEngine 3.11 (and later) appears to have code changes to properly detect Amazon Linux.
It appears Architecture #12856 is in progress to incorporate CFengine 3.12 in release 4.4.0.
A workaround for me was to create a /etc/redhat-release file with the contents I took from a CentOS host ("CentOS Linux release 7.3.1611 (Core)"). After creating the file, the agent detected it as CentOS and the sshKeyDistribution techniques worked and reported properly.
Updated by Nicolas CHARLES over 6 years ago
- Target version set to 4.1.14
References ticket in CFEngine bugtracker:
https://tracker.mender.io/browse/CFE-2670
and maybe https://tracker.mender.io/browse/CFE-1881
Updated by Benoît PECCATTE over 6 years ago
- Target version changed from 4.1.14 to 4.1.15
Updated by François ARMAND about 6 years ago
- Priority changed from 50 to 49
Mike, we switched to CFEngine 3.12 in Rudder 5.0.0, which is released this week. Would you mind test with that version to see it corrects you problem?
Updated by Mike Kingsbury about 6 years ago
No, it doesn't appear so. Operating system from the WebUI (4.3.4 server w/ 5.0-rc1 client) shows \S
The actual failure for the sshKeyDistribution still remains. I haven't had time to figure out more details as the cause, but I suspect its still the undefined paths.sed.
Updated by Vincent MEMBRÉ about 6 years ago
- Target version changed from 4.1.15 to 4.1.16
Updated by Vincent MEMBRÉ about 6 years ago
- Target version changed from 4.1.16 to 4.1.17
- Priority changed from 49 to 48
Updated by François ARMAND about 6 years ago
- Effort required set to Very Small
- Priority changed from 48 to 76
OK, we need to check if it's still not OK in 5.0.1 (that's a very small required effort)
Updated by Alexis Mousset about 6 years ago
- Priority changed from 76 to 0
5.0.2 on Amazon Linux gives:
AmazonLinux amazon_linux amazon_linux_2018_03 amzn amzn_2018 amzn_2018_03
Updated by Alexis Mousset about 6 years ago
With 4.3.6:
AmazonLinux amazon_linux amazon_linux_2018_03
Updated by Alexis Mousset about 6 years ago
Amazon Linux is not supported by our stdlib. We need code for compatibility.
Updated by Alexis Mousset about 6 years ago
- Subject changed from RHEL/CentOS-based Amazon Linux fails detection with Rudder agent 4.3.2, resulting in technique failures to Add Amazon Linux support to ncf and techniques
Updated by Alexis Mousset about 6 years ago
- Severity changed from Minor - inconvenience | misleading | easy workaround to Major - prevents use of part of Rudder | no simple workaround
- Effort required changed from Very Small to Small
Should be close to RHEL, but requires:
- contributing stdlib compatibility upstream
- Fix ncf
- Fix techniques
Updated by Alexis Mousset about 6 years ago
- Category changed from Architecture - Dependencies to Packaging
- Target version changed from 4.1.17 to 5.0.3
Updated by Vincent MEMBRÉ about 6 years ago
- Target version changed from 5.0.3 to 5.0.4
Updated by Vincent MEMBRÉ almost 6 years ago
- Target version changed from 5.0.4 to 5.0.5
Updated by Alexis Mousset almost 6 years ago
- Target version changed from 5.0.5 to 5.0.6
Updated by Vincent MEMBRÉ almost 6 years ago
- Target version changed from 5.0.6 to 5.0.7
Updated by François ARMAND almost 6 years ago
- Target version changed from 5.0.7 to 5.0.9
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.9 to 5.0.10
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.10 to 5.0.11
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.11 to 5.0.12
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.12 to 5.0.13
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.13 to 5.0.14
Updated by Vincent MEMBRÉ about 5 years ago
- Target version changed from 5.0.14 to 5.0.15
Updated by Alexis Mousset about 5 years ago
- Effort required changed from Small to Medium
This is not small.
Updated by Vincent MEMBRÉ about 5 years ago
- Target version changed from 5.0.15 to 5.0.16
Updated by Alexis Mousset almost 5 years ago
- Status changed from New to In progress
- Assignee set to Alexis Mousset
Updated by Alexis Mousset almost 5 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/1573
Updated by Alexis Mousset almost 5 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-techniques|99935fda8dcb674f071cac7fad1911779bf4ee48.
Updated by François ARMAND almost 5 years ago
- Name check set to To do
- Fix check set to To do
Updated by Alexis Mousset almost 5 years ago
- Name check changed from To do to Reviewed
Updated by Alexis Mousset almost 5 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ almost 5 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0.16 which was released today.