-
Notifications
You must be signed in to change notification settings - Fork 41
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
[rke2] pods are duplicated after restart due to the name change #221
Closed
Itxaka opened this issue
Jul 28, 2022
· 1 comment
· Fixed by rancher/elemental-operator#97 or rancher/elemental-operator#106
Closed
[rke2] pods are duplicated after restart due to the name change #221
Itxaka opened this issue
Jul 28, 2022
· 1 comment
· Fixed by rancher/elemental-operator#97 or rancher/elemental-operator#106
Labels
Comments
mjura
added a commit
to rancher/elemental-operator
that referenced
this issue
Aug 3, 2022
For elemental /etc/hostname -> /usr/local/etc/hostname, this file has to be updated to make change persistent. Fixes rancher/elemental#221 Signed-off-by: Michal Jura <mjura@suse.com>
mjura
added a commit
to rancher/elemental-operator
that referenced
this issue
Aug 3, 2022
For elemental /etc/hostname -> /usr/local/etc/hostname, this file has to be updated to make change persistent. Fixes rancher/elemental#221 Signed-off-by: Michal Jura <mjura@suse.com>
mjura
added a commit
to rancher/elemental-operator
that referenced
this issue
Aug 3, 2022
For elemental /etc/hostname -> /usr/local/etc/hostname, this file has to be updated to make change persistent. Fixes rancher/elemental#221 Signed-off-by: Michal Jura <mjura@suse.com>
There is another changes needed which makes hostname persistent after node restart rancher/elemental-operator#106 |
mjura
added a commit
to rancher/elemental-operator
that referenced
this issue
Aug 3, 2022
For elemental /etc/hostname -> /usr/local/etc/hostname, this file has to be updated to make change persistent. Fixes rancher/elemental#221 Signed-off-by: Michal Jura <mjura@suse.com>
mjura
added a commit
to rancher/elemental-operator
that referenced
this issue
Aug 3, 2022
For elemental /etc/hostname -> /usr/local/etc/hostname, this file has to be updated to make change persistent. Fixes rancher/elemental#221 Signed-off-by: Michal Jura <mjura@suse.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Operator version: 0.4.1
Elemental version: master (e134aa6)
Rancher version: 2.6.6
Because the first time the rancher-system-agent runs the rke2 deployment the node has the original name () it will create pods based of that name.
But after restart, the node changes name (rancher-NUMBER) so it will try to launch all pods with those names. Some of then can live alongside but others just crash like crazy
The text was updated successfully, but these errors were encountered: