Comments (11)
@MbolotSuse sure, updated my comment with the information we discussed offline.
from rancher.
Blocked on design review currently.
from rancher.
Depends on #45628.
from rancher.
from rancher.
Tested this with results over in Qase test run /RM/1631. I noted the following failure:
# | Scenario | Result |
---|---|---|
4 | Setup Rancher with valid ca-certs and agent-tls-mode=system-store |
❌ |
VALIDATION STEPS
- Setup Rancher v2.9-head with a valid cert.pem and/or key.pem file.
- Ensured
agentTLSMode=system-store
in the helm install command.
- Ensured
- Ran command
kubectl get settings agent-tls-mode -o yaml
and noted that the value isstrict
:
$ kubectl get settings agent-tls-mode -o yaml
apiVersion: management.cattle.io/v3
customized: false
default: strict
kind: Setting
metadata:
creationTimestamp: "2024-07-02T20:30:00Z"
generation: 1
name: agent-tls-mode
resourceVersion: "936"
uid: ba85e161-b9b9-4450-9265-d01d04ca59f9
source: ""
value: ""
There are two other scenarios that have the same steps as above that have not been tested yet due to this failure. Marking as blocked until this is resolved.
from rancher.
@markusewalker Can you provide more details? The default on 2.9.0 will be strict, but the actual value should be as in the helm command, system-store
- your output doesn't provide sufficient detail to determine if that is the case.
from rancher.
@markusewalker - Can you verify what the helm command is actually rendering templates into? I'm able to verify that based on the release/v2.9
branch the chart should set Env variables as expected. So I'd like to confirm what you're seeing there to identify if the issue is with the helm chart, or "after the chart".
For instance, in my testing I can see:
Default values file (no ENV var expected):
→ helm template ./chart/|grep -A1 CATTLE_AGENT_TLS
And when I set the agentTLSMode
we see:
→ helm template ./chart/ --set agentTLSMode=system-store|grep -A1 CATTLE_AGENT_TLS
- name: CATTLE_AGENT_TLS_MODE
value: "system-store"
from rancher.
@mallardduck is helm template
the only means in which this can be tested? I used the following command:
helm install rancher rancher-latest/rancher --namespace cattle-system --set global.cattle.psp.enabled=false \
--set ingress.tls.source=secret --set hostname=$NAME --set rancherImageTag=v2.9-head \
--set bootstrapPassword=<retracted>--set agentTLSMode="system-store"
If so, I can attempt to retest. I had used this method as the reference guide given implied that helm install
should work.
from rancher.
@markusewalker - No it's just the easiest way to directly see the rendered helm results w/o a cluster. You can also do the install command you shared, but append --dry-run --debug
and get similar results to the helm template
command. However that method does require a k8s cluster for some minimal (hence dry run) cluster state checking.
I think I see the issue and it's much more simple; I believe you're not using the correct chart. From what I can see the newest chart published in rancher-latest
helm repo is v2.9.0-rc1
from May 7th. The changes to add this feature to the chart itself were only merged 4 days ago so will not be in v2.9.0-rc1
charts.
@MbolotSuse - I'm not familiar with this area, wondering if you are? I assume they need a v2.9.0-rc2
since charts probably aren't published on alpha by design? Or maybe should they just test from the local ./charts
folder?
from rancher.
@mallardduck v2.9.0-rc7
recently became available. I will try with that version and see if I have successful results.
from rancher.
Re-ran the test cases outlined in Qase test run /RM/1631. Using v2.9.0-alpha7
, I was successfully able to validate this issue. Summary of the scenarios tested provided below:
# | Scenario | Result |
---|---|---|
1 | Validate Rancher is accessible with valid ca-certs | ✅ |
2 | Validate Rancher is inaccessible with invalid ca-certs | ✅ |
3 | Validate Rancher is unusable with invalid ca-certs and agentTLSMode=system-store |
✅ |
4 | Validate Rancher is accessible/usable with valid ca-certs and agentTLSMode=system-store |
✅ |
5 | Update agentTLSMode from strict to system-store |
✅ |
6 | Update agentTLSMode from system-store to strict |
✅ |
7 | Upgrade Rancher from v2.8-head -> v2.9-head | ✅ |
8 | Upgrade Rancher from v2.8-head -> v2.9-head w/agentTLSMode=strict |
✅ |
from rancher.
Related Issues (20)
- [2.10] Add support for docker 27.2.x
- [2.9] Add support for docker 27.2.x
- Add GH workflow to update system agent on tag
- Feature Charts: Add Longhorn 1.7.1 Chart in 2.7.x
- Feature Charts: Add Longhorn 1.7.1 Chart in 2.8.x
- Feature Charts: Add Longhorn 1.7.1 Chart in 2.9.x
- [BUG] Failed to remove etcd+controlplane node from RKE1 cluster HOT 2
- High cpu spike and cluster unresponsiveness after enabling ui server-side pagination in Rancher v2.9.1 on k3s cluster
- [RFE] Add the flag delete_on_termination when creation Openstack Node
- What is the Technology Evolution Logic of redhat openshift container platform and rancher?
- Reduce `webhook`'s dependency on RKE1 type changes
- [Backport v2.9] Reduce `webhook`'s dependency on RKE1 type changes
- [Backport v2.8] Reduce `webhook`'s dependency on RKE1 type changes
- [BUG] Upgrade from 2.8.4 to 2.9.1 - Deletion of existing projects gets stuck in "removing" state
- [BUG] Keycloak OIDC configuration forces using obsolete /auth/ path
- [BUG] Argo CD cannot sync GlobalRoles
- Wrangler codegen prevents updating to Go 1.23
- [RFE] Opening/Viewing ClusterIP/NodePort Services directly from the Rancher's UI
- [BUG] Rancher GitHub release assets and Docker Hub container images are missing for releases v2.8.6, v2.8.7 and v2.8.8 HOT 3
- [BUG] Rancher upgrade to v2.9.2 failed HOT 1
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 rancher.