Closed mkuchnik closed 6 years ago
My guess for the cause is sysctl wasn't versioned in the metadata.rb and then sysctl introduced a major change. nfs pulls the most recent sysctl, but is kept at an older version itself. Version 2.4 of nfs hints at such a change with respect to sysctl https://supermarket.chef.io/cookbooks/nfs#changelog.
Fix has been merged, closing.
A Centos 7 example
bash build_ami.sh centos7 us-east-1
It seems that upgrading the nfs version to 2.4.1 (https://supermarket.chef.io/cookbooks/nfs) solves the issue for the packer build. However, running cfncluster with the generated AMI still fails. I suspect this is because the cookbook version being pulled at configuration time is the current cfncluster version with the older nfs.