On Thu, 14 Sept 2023, 5:01 am Robby Pocase, <email address hidden>
wrote:
> A little delayed, but this is available in serials 20230830 and newer.
> Please let us know if you see this again.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2034002
>
> Title:
> Amazon EKS optimized Ubuntu Linux AMIs - new instance family (m7a)
> fails to join cluster - bootstrap scripts lagging
>
> Status in cloud-images:
> Fix Released
>
> Bug description:
> ## Description
>
> AWS released a new instance family m7a -
> https://aws.amazon.com/ec2/instance-types/m7a/
>
> This is not yet present in eni-max-pods.txt file
>
> The bootstrap.sh file fails silently due to missing log function if
> the instance type is missing from the file.
>
>
> ## Steps to Reproduce
>
> Launch an m7a instance with the EKS Ubuntu AMI in an EKS cluster.
>
> It won't join the cluster and you'll get the following error on
> /var/log/user-data.log:
> .....
> /etc/eks/bootstrap.sh: line 420: log: command not found
> Exited with error on line 420
>
> It seems like the log function, introduced in this PR:
> https://github.com/awslabs/amazon-eks-ami/pull/1276 is missing in
> Ubuntu's AMI.
>
> ## More context
>
> Adding the log function to bootstrap.sh, it fails in another step:
> # /etc/eks/max-pods-calculator.sh --instance-type-from-imds
> --cni-version 1.10.0 --show-max-allowed
> /etc/eks/max-pods-calculator.sh: line 84: imds: command not found
> /etc/eks/max-pods-calculator.sh: line 85: imds: command not found
>
> imds is a helpter script that was added in this PR:
> https://github.com/awslabs/amazon-eks-ami/pull/1044
>
> The script exists under /usr/local/share/eks/imds but it's not in the
> path.
>
> ## What's the fix?
>
> Merge latest EKS AMI bootstrap.sh: https://github.com/awslabs/amazon-
> eks-ami/blame/master/files/bootstrap.sh with Ubuntu's and make sure
> any helper scripts can be reached (sym links).
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/cloud-images/+bug/2034002/+subscriptions
>
>
Thanks very much for the fix.
On Thu, 14 Sept 2023, 5:01 am Robby Pocase, <email address hidden>
wrote:
> A little delayed, but this is available in serials 20230830 and newer. /bugs.launchpad .net/bugs/ 2034002 /aws.amazon. com/ec2/ instance- types/m7a/ user-data. log: bootstrap. sh: line 420: log: command not found /github. com/awslabs/ amazon- eks-ami/ pull/1276 is missing in max-pods- calculator. sh --instance- type-from- imds max-pods- calculator. sh: line 84: imds: command not found max-pods- calculator. sh: line 85: imds: command not found /github. com/awslabs/ amazon- eks-ami/ pull/1044 share/eks/ imds but it's not in the /github. com/awslabs/ amazon- blame/master/ files/bootstrap .sh with Ubuntu's and make sure /bugs.launchpad .net/cloud- images/ +bug/2034002/ +subscriptions
> Please let us know if you see this again.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> Amazon EKS optimized Ubuntu Linux AMIs - new instance family (m7a)
> fails to join cluster - bootstrap scripts lagging
>
> Status in cloud-images:
> Fix Released
>
> Bug description:
> ## Description
>
> AWS released a new instance family m7a -
> https:/
>
> This is not yet present in eni-max-pods.txt file
>
> The bootstrap.sh file fails silently due to missing log function if
> the instance type is missing from the file.
>
>
> ## Steps to Reproduce
>
> Launch an m7a instance with the EKS Ubuntu AMI in an EKS cluster.
>
> It won't join the cluster and you'll get the following error on
> /var/log/
> .....
> /etc/eks/
> Exited with error on line 420
>
> It seems like the log function, introduced in this PR:
> https:/
> Ubuntu's AMI.
>
> ## More context
>
> Adding the log function to bootstrap.sh, it fails in another step:
> # /etc/eks/
> --cni-version 1.10.0 --show-max-allowed
> /etc/eks/
> /etc/eks/
>
> imds is a helpter script that was added in this PR:
> https:/
>
> The script exists under /usr/local/
> path.
>
> ## What's the fix?
>
> Merge latest EKS AMI bootstrap.sh: https:/
> eks-ami/
> any helper scripts can be reached (sym links).
>
> To manage notifications about this bug go to:
> https:/
>
>
-- /www.canva. com/> /www.canva. com/careers/>! Check out the latest news and /www.canva. com/newsroom/ news/>. /twitter. com/canva>
**
** <https:/
Empowering the world to design
We're hiring,
apply here <https:/
learnings from our team on the Canva Newsroom
<https:/
<https:/
<https:/ /facebook. com/canva> /au.linkedin. com/company/ canva>
<https:/
<https:/ /twitter. com/canva> <https:/ /facebook. com/canva> /www.linkedin. com/company/ canva> /instagram. com/canva>
<https:/
<https:/