Closed lucaspr closed 9 years ago
Strange, make sure you are using the second line as I show you, it must work.
Also I am using the default exclusions file, without any changes.
I tried it with the updated version and the original and I get the same result.
One more time...
line 237
patch_upload_verify_cmd = str(xecli) + str(' patch-list params=uuid uuid=') + str(uuid) + str(" --minimal")
Running...
[root@xs3 ~]# ./patcher.py -e ./XS62_exclusions.py
Error: Failed to obtain HOSTUUID from XE CLI
With the original line...
patch_upload_verify_cmd = str(xecli) + str(' patch-list hosts=') + str(host_uuid) + (' params=uuid uuid=') + str(uuid) + str(" --minimal")
Running...
./patcher_orignial.py -e ./XS62_exclusions.py
Error: Failed to obtain HOSTUUID from XE CLI
I also tried again with the original exclusions file, same...
Hi all, I just wanted to quickly say thanks for all the debugging and effort you've all put in to getting this back on track; unfortunately a lot of my work has deviated away from xenserver for the time being, but I do expect to be back on this at some point- just so much going on! If you have some recommended changes please feel free to create your own fork of the repo, apply the fixes, and then request a merge following the instructions under: https://help.github.com/articles/creating-a-pull-request
Thanks again!
@dsiminiuk seems there is a difference between what happens in my xen server and in yours, now why is that, trying to guess...
Is there a debug mode for the script (or for python in general) that might expose an issue?
Long time since I've opened up this thread. Too long, but i'm seeing the "Error: Failed to obtain HOSTUUID from XE CLI" too.
Answered my onw question about a pool error.. Thats not it. Then why are we getting there errors..
Backup to manual updating for these pending updates I guess..
It's the most likely issue; none of the boxes I had at the start of this were in pools (and they still aren't!), so I had nothing to test against :)
Long time no update; i've recently switched the method by which the Host UUID is obtained (pulling the host's name from /etc/sysconfig, which maps to the name-label parameter for xe host-list) - so this paired with the exclusions file should resolve the issues being discussed here.
Would anyone be willing to test and verify?
Crap, I just updated last weekend or I could try it. there was one patch 009. I'll try it next time a new patch is issued.
Haha! no problem :) I'll close this for now anyway- and re-open if it's still an issue.
I installed all patches already using the command line, but when I run patcher.py it tells me to install patches (6.2 SP1 is the latest I believe).
Is the script checking already installed patches?
I must tell you I only installed SP1, which included all previous patches according to Citrix...