Comments (4)
It's really hard to troubleshoot this. Sometimes there's 2 out fo 3 master nodes that are working, while the 3rd one does not have a kube-apiserver
started (rke2-server
service running) hence shown as OutOfService
for the LB. And sometimes just one node is good while 2 are reporting the errors from the initial comment.
from rke2-aws-tf.
Hi @kaosmonk , this is unfortunately a known issue with rke2
and not specific to this implementation with terraform. You can see the full discussion, workarounds, and track the status here.
from rke2-aws-tf.
For me, I found that the /var/lib/cloud/instance/scripts/00_download.sh file that gets populated needs to be tweaked. The scenario is that awscli already exists and it is failing on the install.
[root@ip-10-2-5-28 ~]# /var/lib/cloud/instance/scripts/00_download.sh
Loaded plugins: amazon-id, search-disabled-repos
Package unzip-6.0-21.el7.x86_64 already installed and latest version
Nothing to do
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 33.5M 100 33.5M 0 0 47.0M 0 --:--:-- --:--:-- --:--:-- 47.0M
Found preexisting AWS CLI installation: /usr/local/aws-cli/v2/current. Please rerun install script with --update flag.
[root@ip-10-2-5-28 ~]# echo $?
1
I'll try and figure out how to modify the population of the /var/lib/cloud/instance/scripts/00_download.sh script but if anyone knows already please let me know. :)
from rke2-aws-tf.
Issues with preexisting awscli installations were resolved via this commit:
from rke2-aws-tf.
Related Issues (20)
- agent-nodepool Terraform template using an experimental feature without enabling the feature HOT 3
- RKE2 Cluster creation fails with private subnets HOT 4
- Examples don't work in RHEL8. NGINX Backend, CoreDNS, Metrics server left in crash loop. HOT 3
- Setting kube-apiserver.yaml values on deployment HOT 4
- statestore module not compatabile with version 4.0.0 of AWS provider HOT 1
- publish module to terraform registry HOT 1
- Fix deprecated items for Terraform 1.27 HOT 1
- How to access private IP servers and agents HOT 1
- Server fails on AMI having the AWS CLI installed HOT 2
- Feature flag to allow turning on/off security group creation HOT 2
- S3 now defaults to ACLs disabled HOT 1
- Name length issues for nlb module HOT 2
- Does not work on latest RHEL AMIs. No easy way to specify release channel for binary HOT 1
- Error: want at least 1 healthy instance(s) registered to Load Balancer, have 0', timeout: 10m0 HOT 3
- Non-backwards compatible change: CP using NLB HOT 9
- `aws_lb_target_group` logic error on long names HOT 1
- tls-san entry in server config is ignored HOT 3
- No SLES provision for servers or agents HOT 1
- Need to pin Terraform AWS provider HOT 2
- Terraform 0.13 does not support optional keyword HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rke2-aws-tf.