Get rid of cpu label error message
Errors like
```
{"component":"virt-handler","level":"error","msg":"failed to set a cpu manager label on host node02","pos":"vm.go:1688","reason":"open /proc/16842/cmdline: no such file or directory","timestamp":"2019-07-15T17:13:25.027192Z"}
```
can not occur anymore because we now explicitly handle disappeard
processes.
@@ -1549,7 +1549,10 @@ func (d *VirtualMachineController) updateNodeCpuManagerLabel() {
isEnabled := false
for _, entry := range entries {
content, err := ioutil.ReadFile(entry)
- if err != nil {
+ if os.IsNotExist(err) {
+ // processes can disappear anytime, it is ok if they don't exist anymore
+ continue
+ } else if err != nil {
log.DefaultLogger().Reason(err).Errorf("failed to set a cpu manager label on host %s", d.host)
return
}
