question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Failed to obtain HOSTUUID from XE CLI

See original GitHub issue

Hi, 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:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bpbp-boopcommented, May 4, 2017

Ran into this today on a 7.1 pool. You can resolve this with hostnamectl set-hostname full-fqdn.whatever.com and xe-toolstack-restart on all the hosts in the pool if you want to avoid a reboot.

0reactions
dalgibbardcommented, Jun 20, 2017

Commit 968c9cf adds 2 additional tests for identifying the host’s UUID. That should stop this with any luck. Closing.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found