Bug 1257833
Summary: | Disabling token_duration disables ks template substitution | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Chris Jenkins <cjenkins> |
Component: | Provisioning Templates | Assignee: | Lukas Zapletal <lzap> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | Unspecified | CC: | bbuckingham, bkearney, cjenkins, cwelton, dmoessne, lzap, ohadlevy, sauchter |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/11602 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-10-07 17:24:32 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Chris Jenkins
2015-08-28 08:10:57 UTC
Triage notes: Template proxying cannot work without tokens. Instead silently falling back to direct connection, we could raise an error. Created redmine issue http://projects.theforeman.org/issues/11602 from this bug I would not like to support token less installation in general, and in particular on capsules. the token is a unique way of identifying the host, regardless of ip address / mac address (e.g. which NIC used to boot it) etc. all the other alternative/legacy options have their own quirks. the token duration is configurable (e.g. if the use wish to create a nearly fixed tokens that is possible) however its usually hidden from the user, and I would like to understand the root cause of why disabling tokens. however, afaiu, in https://github.com/theforeman/smart-proxy/commit/38a0935152a0cc6f04c3843b8258866b2b96e0ad lukas added a way to proxy the additional information required to identify the requesting host, in which case, this might be already solved in 6.2 adding needinfo for lzap to confirm, and needinfo or reported to explain more of what is the usage case for turning off tokens. thanks! Yes, that should fix the issue (Satellite 6.2). Hi Lukas, Can you provide some verification steps for QE based upon the changes referenced in comment 5? Thanks! Sure thing, so the process is simple, setup provisioning with Capsule templating (without direct connection to Satellite - make sure to block all the communication) and also set token_duration to zero in global settings. Then provision a bare-metal or VM host which installs via Anaconda (e.g. not image-based provisioning). |