VMs changing to unknown state
by Michael Watters
I have an ovirt host running ovirt 4.0 which keeps putting the VMs
running on that host into an unknown state. I checked the vdsm logs and
there are several errors similar to below.
Mar 20 10:16:11 ovirt-node-production3.example.com vdsm[17123]: vdsm root ERROR Unhandled exception
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 372, in wrapper
return f(*a, **kw)
File "/usr/share/vdsm/virt/migration.py", line 624, in run
self.monitor_migration()
File "/usr/share/vdsm/virt/migration.py", line 657, in monitor_migration
job_stats = self._vm._dom.jobStats()
File "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py", line 69, in f
ret = attr(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 123, in wrapper
ret = f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 917, in wrapper
return func(inst, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1387, in jobStats
if ret is None: raise libvirtError ('virDomainGetJobStats() failed', dom=self)
libvirtError: Requested operation is not valid: domain is not running
Restarting vdsmd resolves the issue however I would like to resolve the
issue permanently. Does anybody know what would cause this?
7 years, 9 months
Roadmap
by Julián Tete
Hi Friends of oVirt
Is there any roadmap for oVirt for 2017 and 2018?
Any roadmap for oVirt by versions? 4.2.X, 4.3.X, 4.4.X
Thank you
7 years, 9 months
NFS ISO domain from hosted-engine VM
by Devin A. Bougie
Hi, All. Are there any recommendations or best practices WRT whether or not to host an NFS ISO domain from the hosted-engine VM (running the oVirt Engine Appliance)? We have a hosted-engine 4.1.1 cluster up and running, and now just have to decide where to serve the NFS ISO domain from.
Many thanks,
Devin
7 years, 9 months
hosted-engine with iscsi storage domain
by Devin A. Bougie
We have a hosted-engine running on 4.1 with an iSCSI hosted_storage domain, and are able to import the domain. However, we cannot attache the domain to the data center.
Just to make sure I'm not missing something basic, does the engine VM need to be able to connect to the iSCSI target itself? In other words, does the iSCSI traffic need to go over the ovirtmgmt bridged network? Currently we have the iSCSI SAN on a separate subnet from ovirtmgmt, so the hosted-engine VM can't directly see the iSCSI storage.
Thanks,
Devin
7 years, 9 months
Python-SDK: ovirtsdk4.Connection object autologout?
by nicolas@devels.es
Hi,
We've recently upgraded from oVirt 4.0.x to 4.1.0 and it seems that the
behavior of a script we wrote in Python-SDK has changed slightly. We
have a script that needs to be executed forever (daemon mode). This
daemon creates an ovirtsdk4.Connection object and uses the same
Connection object all the time.
conn = sdk.Connection(
url=URI,
username=USERNAME,
password=PASSWORD,
ca_file=CAFILE
)
Between iterations we have ~5 minutes delays which we accomplish with a
time.sleep(...) call.
After some of these iterations (5 or 6), when trying to perform an
operation on the Connection object (in this case, listing all SDs):
try:
sys_serv = conn.system_service()
sd_serv = sys_serv.storage_domains_service()
storages = sd_serv.list(search=sd_search_query)
except Error, e:
log('ERR: Error getting storage domains: %s' % (e))
We start getting exceptions (i.e., the sd_serv.list() call throwing an
Error exception) with this message:
ERR: Error getting storage domains: HTTP response code is 401.
I believe this has something to do with the Connection object expiring
(even if it's not idle more than 5 minutes at any time). Is there a way
to "refresh" the Connection object so it doesn't auto-logout (assuming
this is the actual problem)?
As I said, this started happening as of oVirt 4.1.0.
ovirt-engine-sdk-python version is 4.1.1.
Any ideas?
Thanks.
7 years, 9 months
ACTION_TYPE_FAILED_NO_SERVERS_FOR_CLUSTER
by Davide Ferrari
I get this error when I click "
Gluster status is disconnected for this host.
Restart Glusterd service" in the Genral tab of a the sole host in a new
cluster. I've enabled "Manage Gluster" in the cluster options and already
created a new gluster volume (via CLI) with bricks only in the hosts that
are part of this new cluster.
--
Davide Ferrari
Senior Systems Engineer
7 years, 9 months
How to attach Host device to VM ?
by TranceWorldLogic .
Hi,
I have created an LVM device( /dev/myvg/lvm1 ) in Host.
I want that device to attach with VM.
Can I attach device to VM via vdsClient ?
If yes, please provide me example command that I need to run.
Thanks,
~Rohit
7 years, 9 months
Expand an ovirt+glusterfs cluster
by Davide Ferrari
Hello
I have a 4 node oVirt 4.0 cluster running on top of glusterfs volumes,
managed by the oVirt cluster (option ticked in the cluster properties)
Now, I'm adding several new nodes to this cluster with a better CPU
(Broadwell vs Haswell) but now comes the "bad" part. Out of enthusiasm I've
already added storage from these new servers to the data volume already
present and used by the current cluster. In fact now ovirt has detected new
hosts and it's asking me if I want to add these host to the cluster.
But there are two problems:
1) I want to create a new, Broadwell cluster
2) I'm using a separate VLAN+domain name for gluster, and oVirt is
proposing me to use the gluster (storage) domain names as the new hosts
identifier.
What are the right steps/actions to take now? It's a running production
system.
Thanks in advance
--
Davide Ferrari
Senior Systems Engineer
7 years, 9 months
ovirt 4.1 - mount recovery iso for failing vm ?
by Ian Neilsen
Guys
I've spent the day reading any and all content on recovering a failing to
boot vm under ovirt 4.1 and am finding many cmds are deprecated , old
processes no longer work.
What is the correct way to mount an iso to perform recovery on a boot
partition of a failing VM in oVirt 4.1?
vm.conf, virsh, virt-edit, vmhost.xml, vdsClient, new vda, way too many
options and no singular right way to do this that works well.
--
Ian Neilsen
Mobile: 0424 379 762
Linkedin: http://au.linkedin.com/in/ianneilsen
Twitter : ineilsen
7 years, 9 months