Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

[Openness 20.09.01]Fail to set VCA node role as a worker with including uppercase node-hostname #80

Open
haodengeke opened this issue Jan 4, 2021 · 2 comments

Comments

@haodengeke
Copy link

haodengeke commented Jan 4, 2021

HW: SKL
OS: Centos7.6
openness commit: 603268f
Flavor: media-analytics-vca

Node hostname include uppercase

error log:
TASK [kubernetes/node : set VCA node role as a worker] ********************************************************************
fatal: [av09-30-wp-prevAR09-14 -> 10.166.31.202]: FAILED! => {"changed": true, "cmd": ["kubectl", "label", "node", "av09-30-wp-prevAR09-14-vca1", "node-role.kubernetes.io/worker=worker", "--overwrite"], "delta": "0:00:00.103781", "end": "2021-01-04 00:09:59.868451", "msg": "non-zero return code", "rc": 1, "start": "2021-01-04 00:09:59.764670", "stderr": "Error from server (NotFound): nodes "av09-30-wp-prevAR09-14-vca1" not found", "stderr_lines": ["Error from server (NotFound): nodes "av09-30-wp-prevAR09-14-vca1" not found"], "stdout": "", "stdout_lines": []}

kubectl get nodes
NAME STATUS ROLES AGE VERSION
av09-25-wp Ready master 4h41m v1.18.4
av09-30-wp-prevar09-14 Ready worker 45m v1.18.4
av09-30-wp-prevar09-14-vca1 Ready 45m v1.18.4

@haodengeke haodengeke changed the title Fail to set VCA node role as a worker with including uppercase node-hostname [Openness 20.09.01]Fail to set VCA node role as a worker with including uppercase node-hostname Jan 4, 2021
@patrykxmatuszak
Copy link
Contributor

Hi @haodengeke. Can you provide contents of your inventory.ini file?

@haodengeke
Copy link
Author

openness_adi_inventory.zip
Please check attachment

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants