Error: Failed to obtain HOSTUUID from XE CLI
See original GitHub issueHi, in a few hosts I get the Error: Failed to obtain HOSTUUID from XE CLI error.
I change the get_host_uuid_cmd setting into:
get_host_uuid_cmd = str(xecli) + str(’ host-list name-label=grep "^HOSTNAME=" /etc/sysconfig/network | awk -F= \'{print$2}\'
params=uuid --minimal’)
and it is working with all the hosts
Is it a good improvement?
Have a nice day, Ivo
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Error: Failed to obtain HOSTUUID from XE CLI #70 - GitHub
Hi, just tried patcher version 1.6.1 on a XenServer 6.2 as well as on 7.1. On both systems patcher.py is unable to get...
Read more >Command-line interface | Citrix Hypervisor 8.2
The xe CLI enables you to script and automate system administration tasks. Use the CLI to integrate Citrix Hypervisor into an existing IT...
Read more >Xenserver management command line - Console - kim.sg
Elect a new Poolmaster. ... Determine the VMs still running on that failed server. xe vm-list is-control-domain=false resident-on=UUID_OF_Failed_server. Reset the ...
Read more >xe - full command list reference with description for XenServer
Reference full xe command line guide for xenserver linux.
Read more >Xenserver Archives - FATMIN
xe sr-create host-uuid=4a9971f7-1e59-4e02-b849-04d206ee7b2b content-type=user type=ext ... XenServer 6 – Deleting a Storage Repository From the Command Line.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ran into this today on a 7.1 pool. You can resolve this with
hostnamectl set-hostname full-fqdn.whatever.com
andxe-toolstack-restart
on all the hosts in the pool if you want to avoid a reboot.Commit 968c9cf adds 2 additional tests for identifying the host’s UUID. That should stop this with any luck. Closing.