-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/etc/hostname no longer present on OpenShift workers #415
Comments
that hostname line has not been touched for very long time and that file should exist in Linux. I see that file when I run the image:
|
If you run it via docker locally or on standard Linux box it will be present, however it will not be present when run off a CoreOs worker (Openshift). |
ic, you are using FCOS. Probably something todo with FCOS vs RHCOS.
@c-nixon ? |
@dkhokhlov Im referring to RHCOS, just couldnt find any discussion specific to it. |
ic. might be OCP 4 vs OCP 3. @thanusiak |
It seems to works as expected, so Im good with this solution |
Testing agent-resources-openshift.yaml
with:
Server Version: 4.10.18
I got the following error:
due to
Not sure when the change happened in OCP, but workers in fact don't have the hostname file by default.
Replacing
path: /etc/hostname
with :path: /proc/sys/kernel/hostname
seems to resolve the problem.
The text was updated successfully, but these errors were encountered: