[Users] Bug? ovirt-guest-agent / Ubuntu
by Sven Kieske
Hi,
I just stumbled upon the following in my guest-agent log on
ubuntu 12.04.3 lts server:
MainThread::INFO::2014-01-06
14:29:29,106::ovirt-guest-agent::37::root::Starting oVirt guest agent
MainThread::ERROR::2014-01-06
14:29:29,107::ovirt-guest-agent::117::root::Unhandled exception in oVirt
guest agent!
Traceback (most recent call last):
File "/usr/share/ovirt-guest-agent/ovirt-guest-agent.py", line 111, in
<module>
agent.run(daemon, pidfile)
File "/usr/share/ovirt-guest-agent/ovirt-guest-agent.py", line 42, in run
self.agent = LinuxVdsAgent(config)
File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 324, in
__init__
AgentLogicBase.__init__(self, config)
File "/usr/share/ovirt-guest-agent/OVirtAgentLogic.py", line 90, in
__init__
self.vio = VirtIoChannel(config.get("virtio", "device"))
File "/usr/share/ovirt-guest-agent/VirtIoChannel.py", line 150, in
__init__
self._stream = VirtIoStream(vport_name)
File "/usr/share/ovirt-guest-agent/VirtIoChannel.py", line 131, in
__init__
self._vport = os.open(vport_name, os.O_RDWR)
OSError: [Errno 24] Too many open files:
'/dev/virtio-ports/com.redhat.rhevm.vdsm'
Guest agent version is:
1.0.8.201309301944.gitb7f8f2-1p
Another question: How to disable the logging from the agent?
I just tried to set the following in /etc/ovirt-guest-agent.conf:
[handler_logfile]
class=handlers.RotatingFileHandler
#args=('/var/log/ovirt-guest-agent/ovirt-guest-agent.log', 'a', 100*1024, 5)
args=('/dev/null', 'a', 100*1024, 5)
and then restarted the service
--
Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
10 years, 11 months
[Users] python SDK remove VM once the storage is formatted/detached.
by karthik S
Is there a way to remove VMs entries from rhev manager using python
ovirt-sdk "once the storage becomes unavailble" . - Something equivalent to
"Remove from Inventory" in Vmware vsphere. ?
Currently I get into the postgres db and delete the entries, manually.
-Karthik
10 years, 11 months
[Users] Missing 3.3.2 announcement on ovirt.org
by Sven Kieske
Hi,
On:
http://www.ovirt.org/Home
there's still 3.3.1. mentioned as the newest version.
--
Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
10 years, 11 months
[Users] Stopping glusterfsd service shut down data center
by Amedeo Salvati
Hi all,
I'm testing ovirt+glusterfs with only two node for all (engine,
glusterfs, hypervisors), on centos 6.5 hosts following guide at:
http://community.redhat.com/blog/2013/09/up-and-running-with-ovirt-3-3/
http://www.gluster.org/2013/09/ovirt-3-3-glusterized/
but with some change like setting on glusterfs, parameter
cluster.server-quorum-ratio to 50% (due to prevent glusterfs to go down
if one node goes done) and option on /etc/glusterfs/glusterd.vol "option
base-port 50152" (due to libvirt port conflict).
So, with the above parameter I was able to stop/reboot node not used to
directly mount glusterfs (eg lovhm002), but when I stop/reboot node,
that is used to mount glusterfs (eg node lovhm001), all data center goes
done, especially when I stop service glusterfsd (not glusterd
service!!!), but the glusterfs still alive and is reachable on node
lovhm002 that survives but ovirt/libvirt marks DC/storage in error.
Do you have any ideas to configure DC/Cluster on ovirt that remains
aware if node used to mount glusterfs goes down?
This is a sample vdsmd.log on node that remains on-line (lovhm002) when
I stopped services glusterd and glusterfsd node lovhm001:
Thread-294::DEBUG::2014-01-05
19:12:32,475::task::1168::TaskManager.Task::(prepare)
Task=`a003cde0-a11a-489e-94c2-611f3d096a81`::finished: {'info':
{'spm_id': 2, 'master_uuid': '85ad5f7d-3b67-4618-a871-f9ec886020a4',
'name': 'PROD', 'version': '3', 'domains':
'85ad5f7d-3b67-4618-a871-f9ec886020a4:Active,6a9b4fa6-f393-4036-bd4e-0bc9dccb1594:Active',
'pool_status': 'connected', 'isoprefix':
'/rhev/data-center/mnt/lovhm001.fabber.it:_var_lib_exports_iso/6a9b4fa6-f393-4036-bd4e-0bc9dccb1594/images/11111111-1111-1111-1111-111111111111',
'type': 'GLUSTERFS', 'master_ver': 2, 'lver': 3}, 'dominfo':
{'85ad5f7d-3b67-4618-a871-f9ec886020a4': {'status': 'Active',
'diskfree': '374350675968', 'alerts': [], 'version': 3, 'disktotal':
'375626137600'}, '6a9b4fa6-f393-4036-bd4e-0bc9dccb1594': {'status':
'Active', 'diskfree': '45249200128', 'alerts': [], 'version': 0,
'disktotal': '51604619264'}}}
Thread-294::DEBUG::2014-01-05
19:12:32,476::task::579::TaskManager.Task::(_updateState)
Task=`a003cde0-a11a-489e-94c2-611f3d096a81`::moving from state preparing
-> state finished
Thread-294::DEBUG::2014-01-05
19:12:32,476::resourceManager::939::ResourceManager.Owner::(releaseAll)
Owner.releaseAll requests {} resources
{'Storage.2eceb484-73e0-464a-965b-69f067918080': < ResourceRef
'Storage.2eceb484-73e0-464a-965b-69f067918080', isValid: 'True' obj:
'None'>}
Thread-294::DEBUG::2014-01-05
19:12:32,476::resourceManager::976::ResourceManager.Owner::(cancelAll)
Owner.cancelAll requests {}
Thread-294::DEBUG::2014-01-05
19:12:32,476::resourceManager::615::ResourceManager::(releaseResource)
Trying to release resource 'Storage.2eceb484-73e0-464a-965b-69f067918080'
Thread-294::DEBUG::2014-01-05
19:12:32,476::resourceManager::634::ResourceManager::(releaseResource)
Released resource 'Storage.2eceb484-73e0-464a-965b-69f067918080' (0
active users)
Thread-294::DEBUG::2014-01-05
19:12:32,476::resourceManager::640::ResourceManager::(releaseResource)
Resource 'Storage.2eceb484-73e0-464a-965b-69f067918080' is free, finding
out if anyone is waiting for it.
Thread-294::DEBUG::2014-01-05
19:12:32,476::resourceManager::648::ResourceManager::(releaseResource)
No one is waiting for resource
'Storage.2eceb484-73e0-464a-965b-69f067918080', Clearing records.
Thread-294::DEBUG::2014-01-05
19:12:32,476::task::974::TaskManager.Task::(_decref)
Task=`a003cde0-a11a-489e-94c2-611f3d096a81`::ref 0 aborting False
Thread-296::DEBUG::2014-01-05
19:12:36,070::BindingXMLRPC::974::vds::(wrapper) client
[5.39.66.85]::call volumesList with () {} flowID [76f294ea]
Thread-296::DEBUG::2014-01-05
19:12:36,079::BindingXMLRPC::981::vds::(wrapper) return volumesList with
{'status': {'message': 'Done', 'code': 0}, 'volumes': {'vmdata':
{'transportType': ['TCP'], 'uuid':
'e9b05f7a-f392-44f3-9d44-04761c36437d', 'bricks':
['lovhm001.fabber.it:/vmdata', 'lovhm002.fabber.it:/vmdata'],
'volumeName': 'vmdata', 'volumeType': 'REPLICATE', 'replicaCount': '2',
'brickCount': '2', 'distCount': '2', 'volumeStatus': 'ONLINE',
'stripeCount': '1', 'options': {'cluster.server-quorum-type': 'server',
'cluster.eager-lock': 'enable', 'performance.stat-prefetch': 'off',
'auth.allow': '*', 'cluster.quorum-type': 'auto',
'performance.quick-read': 'off', 'network.remote-dio': 'enable',
'nfs.disable': 'on', 'performance.io-cache': 'off',
'server.allow-insecure': 'on', 'storage.owner-uid': '36', 'user.cifs':
'disable', 'performance.read-ahead': 'off', 'storage.owner-gid': '36',
'cluster.server-quorum-ratio': '50%'}}}}
libvirtEventLoop::INFO::2014-01-05
19:12:38,856::vm::4266::vm.Vm::(_onAbnormalStop)
vmId=`88997598-1db3-478a-bbe2-a7d234cfdc77`::abnormal vm stop device
virtio-disk0 error eother
libvirtEventLoop::DEBUG::2014-01-05
19:12:38,856::vm::4840::vm.Vm::(_onLibvirtLifecycleEvent)
vmId=`88997598-1db3-478a-bbe2-a7d234cfdc77`::event Suspended detail 2
opaque None
Thread-28::DEBUG::2014-01-05
19:12:40,996::fileSD::239::Storage.Misc.excCmd::(getReadDelay) '/bin/dd
iflag=direct
if=/rhev/data-center/mnt/lovhm001.fabber.it:_var_lib_exports_iso/6a9b4fa6-f393-4036-bd4e-0bc9dccb1594/dom_md/metadata
bs=4096 count=1' (cwd None)
Thread-28::DEBUG::2014-01-05
19:12:41,001::fileSD::239::Storage.Misc.excCmd::(getReadDelay) SUCCESS:
<err> = '0+1 records in\n0+1 records out\n361 bytes (361 B) copied,
0.00017524 s, 2.1 MB/s\n'; <rc> = 0
Thread-298::DEBUG::2014-01-05
19:12:41,088::BindingXMLRPC::974::vds::(wrapper) client
[5.39.66.85]::call volumesList with () {}
Thread-298::DEBUG::2014-01-05
19:12:41,097::BindingXMLRPC::981::vds::(wrapper) return volumesList with
{'status': {'message': 'Done', 'code': 0}, 'volumes': {'vmdata':
{'transportType': ['TCP'], 'uuid':
'e9b05f7a-f392-44f3-9d44-04761c36437d', 'bricks':
['lovhm001.fabber.it:/vmdata', 'lovhm002.fabber.it:/vmdata'],
'volumeName': 'vmdata', 'volumeType': 'REPLICATE', 'replicaCount': '2',
'brickCount': '2', 'distCount': '2', 'volumeStatus': 'ONLINE',
'stripeCount': '1', 'options': {'cluster.server-quorum-type': 'server',
'cluster.eager-lock': 'enable', 'performance.stat-prefetch': 'off',
'auth.allow': '*', 'cluster.quorum-type': 'auto',
'performance.quick-read': 'off', 'network.remote-dio': 'enable',
'nfs.disable': 'on', 'performance.io-cache': 'off',
'server.allow-insecure': 'on', 'storage.owner-uid': '36', 'user.cifs':
'disable', 'performance.read-ahead': 'off', 'storage.owner-gid': '36',
'cluster.server-quorum-ratio': '50%'}}}}
Thread-300::DEBUG::2014-01-05
19:12:41,345::task::579::TaskManager.Task::(_updateState)
Task=`d049a71c-70a4-4dc2-9d69-99f1561ab405`::moving from state init ->
state preparing
Thread-300::INFO::2014-01-05
19:12:41,345::logUtils::44::dispatcher::(wrapper) Run and protect:
repoStats(options=None)
Thread-300::INFO::2014-01-05
19:12:41,345::logUtils::47::dispatcher::(wrapper) Run and protect:
repoStats, Return response: {'85ad5f7d-3b67-4618-a871-f9ec886020a4':
{'delay': '0.000370968', 'lastCheck': '8.9', 'code': 0, 'valid': True,
'version': 3}, '6a9b4fa6-f393-4036-bd4e-0bc9dccb1594': {'delay':
'0.00017524', 'lastCheck': '0.3', 'code': 0, 'valid': True, 'version': 0}}
Thread-300::DEBUG::2014-01-05
19:12:41,346::task::1168::TaskManager.Task::(prepare)
Task=`d049a71c-70a4-4dc2-9d69-99f1561ab405`::finished:
{'85ad5f7d-3b67-4618-a871-f9ec886020a4': {'delay': '0.000370968',
'lastCheck': '8.9', 'code': 0, 'valid': True, 'version': 3},
'6a9b4fa6-f393-4036-bd4e-0bc9dccb1594': {'delay': '0.00017524',
'lastCheck': '0.3', 'code': 0, 'valid': True, 'version': 0}}
Thread-300::DEBUG::2014-01-05
19:12:41,346::task::579::TaskManager.Task::(_updateState)
Task=`d049a71c-70a4-4dc2-9d69-99f1561ab405`::moving from state preparing
-> state finished
Thread-300::DEBUG::2014-01-05
19:12:41,346::resourceManager::939::ResourceManager.Owner::(releaseAll)
Owner.releaseAll requests {} resources {}
Thread-300::DEBUG::2014-01-05
19:12:41,346::resourceManager::976::ResourceManager.Owner::(cancelAll)
Owner.cancelAll requests {}
Thread-300::DEBUG::2014-01-05
19:12:41,346::task::974::TaskManager.Task::(_decref)
Task=`d049a71c-70a4-4dc2-9d69-99f1561ab405`::ref 0 aborting False
Thread-27::DEBUG::2014-01-05
19:12:42,459::fileSD::239::Storage.Misc.excCmd::(getReadDelay) '/bin/dd
iflag=direct
if=/rhev/data-center/mnt/glusterSD/lovhm001:_vmdata/85ad5f7d-3b67-4618-a871-f9ec886020a4/dom_md/metadata
bs=4096 count=1' (cwd None)
Thread-27::DEBUG::2014-01-05
19:12:42,464::fileSD::239::Storage.Misc.excCmd::(getReadDelay) SUCCESS:
<err> = '0+1 records in\n0+1 records out\n495 bytes (495 B) copied,
0.000345681 s, 1.4 MB/s\n'; <rc> = 0
Thread-302::DEBUG::2014-01-05
19:12:42,484::BindingXMLRPC::177::vds::(wrapper) client [5.39.66.85]
Thread-302::DEBUG::2014-01-05
19:12:42,485::task::579::TaskManager.Task::(_updateState)
Task=`acd727ae-dcbf-4662-bd97-fbdbadf6968a`::moving from state init ->
state preparing
Thread-302::INFO::2014-01-05
19:12:42,485::logUtils::44::dispatcher::(wrapper) Run and protect:
getSpmStatus(spUUID='2eceb484-73e0-464a-965b-69f067918080', options=None)
Thread-302::INFO::2014-01-05
19:12:42,485::logUtils::47::dispatcher::(wrapper) Run and protect:
getSpmStatus, Return response: {'spm_st': {'spmId': 2, 'spmStatus':
'SPM', 'spmLver': 3}}
thanks in advance
a
--
Amedeo Salvati
RHC{DS,E,VA} - LPIC-3 - UCP - NCLA 11
m. +39 333 1264484
email: amedeo(a)oscert.net
email: amedeo(a)linux.com
http://plugcomputing.it/redhatcert.php
http://plugcomputing.it/lpicert.php
10 years, 11 months
[Users] Cannot add Host. Host with the same address already exists.
by Matt .
Hi All,
Ovirt 3.3.3
I have removed a host from the gui and want to re-add it, there was
something wrong with the installation of this host.
When adding the host I get: "Error while executing action: Cannot add Host.
Host with the same address already exists."
It seems that the host is still in the DB somewhere and it is, I see some
NULL columns for that host because it's actually not really "there" anymore
and stuff like statics are not updated.
I need to clean this one out, how can I accomplish this without getting a
"dirty" DB ?
Thanks!
Cheers,
Matt
10 years, 11 months
[Users] Fwd: Your stand proposal for oVirt has been accepted
by Dave Neary
Hi everyone,
Great news! We will have an oVirt stand at FOSDEM in Brussels this year!
Brian and I will be looking for volunteers to man the stand and spread
the love about oVirt over the next few weeks - please let us know if you
plan to attend FOSDEM, we would love to see you there!
Also, I would love to have an oVirt community meet-up for beers on
Saturday evening - if we did, would you be interested in attending? Let
us know!
Thanks,
Dave.
-------- Original Message --------
Subject: Your stand proposal for oVirt has been accepted
Date: Mon, 16 Dec 2013 22:28:20 +0100 (CET)
From: FOSDEM Stands Team <stands(a)fosdem.org>
To: Dave Neary <dneary(a)redhat.com>
Hi Dave,
The FOSDEM stands team is glad to be able to inform you that your request
for a stand for oVirt has been accepted.
There will be one table reserved for you.
You will receive further information about what's expected of you closer
to the event date.
Looking forward to seeing you at FOSDEM 2014!
Kind regards,
Wynke Stulemeijer
FOSDEM stands team
10 years, 11 months
[Users] Another issue - VM Networking
by Dan Ferris
I've run into another issue with Ovirt 3.3.2.
We have a 2 node VM cluster with Fibre Channel storage. After upgrade
everything to FC 19 and installing Ovirt 3.3 from scratch one of the
nodes has network issues.
The issue is that when we start a VM on the node, the VM cannot access
the network. No ping, no ssh, nothing. However, if I try to ping the
VM, I can see the ICMP traffic on the ethernet VLAN interface and the
bridge interface. I cannot see any traffic on the VM tap interface.
If we migrate the VM from the faulty node to the other node that works,
and then back, the network will start to work. However, if the VM is
shut down the network will fail again when it's booted on the faulty node.
Does anyone have any ideas about this particular problem?
Thanks,
Dan
10 years, 11 months
[Users] Stopping glusterfsd service shut down data center
by Amedeo Salvati
Hi all,
I'm testing ovirt+glusterfs with only two node for all (engine,
glusterfs, hypervisors), on centos 6.5 hosts following guide at:
http://community.redhat.com/blog/2013/09/up-and-running-with-ovirt-3-3/
http://www.gluster.org/2013/09/ovirt-3-3-glusterized/
but with some change like setting on glusterfs, parameter
cluster.server-quorum-ratio to 50% (due to prevent glusterfs to go down
if one node goes done) and option on /etc/glusterfs/glusterd.vol "option
base-port 50152" (due to libvirt port conflict).
So, with the above parameter I was able to stop/reboot node not used to
directly mount glusterfs (eg lovhm002), but when I stop/reboot node,
that is used to mount glusterfs (eg node lovhm001), all data center goes
done, especially when I stop service glusterfsd (not glusterd
service!!!), but the glusterfs still alive and is reachable on node
lovhm002 that survives but ovirt/libvirt marks DC/storage in error.
Do you have any ideas to configure DC/Cluster on ovirt that remains
aware if node used to mount glusterfs goes down?
This is a sample vdsmd.log on node that remains on-line (lovhm002) when
I stopped services glusterd and glusterfsd node lovhm001:
Thread-294::DEBUG::2014-01-05
19:12:32,475::task::1168::TaskManager.Task::(prepare)
Task=`a003cde0-a11a-489e-94c2-611f3d096a81`::finished: {'info':
{'spm_id': 2, 'master_uuid': '85ad5f7d-3b67-4618-a871-f9ec886020a4',
'name': 'PROD', 'version': '3', 'domains':
'85ad5f7d-3b67-4618-a871-f9ec886020a4:Active,6a9b4fa6-f393-4036-bd4e-0bc9dccb1594:Active',
'pool_status': 'connected', 'isoprefix':
'/rhev/data-center/mnt/lovhm001.fabber.it:_var_lib_exports_iso/6a9b4fa6-f393-4036-bd4e-0bc9dccb1594/images/11111111-1111-1111-1111-111111111111',
'type': 'GLUSTERFS', 'master_ver': 2, 'lver': 3}, 'dominfo':
{'85ad5f7d-3b67-4618-a871-f9ec886020a4': {'status': 'Active',
'diskfree': '374350675968', 'alerts': [], 'version': 3, 'disktotal':
'375626137600'}, '6a9b4fa6-f393-4036-bd4e-0bc9dccb1594': {'status':
'Active', 'diskfree': '45249200128', 'alerts': [], 'version': 0,
'disktotal': '51604619264'}}}
Thread-294::DEBUG::2014-01-05
19:12:32,476::task::579::TaskManager.Task::(_updateState)
Task=`a003cde0-a11a-489e-94c2-611f3d096a81`::moving from state preparing
-> state finished
Thread-294::DEBUG::2014-01-05
19:12:32,476::resourceManager::939::ResourceManager.Owner::(releaseAll)
Owner.releaseAll requests {} resources
{'Storage.2eceb484-73e0-464a-965b-69f067918080': < ResourceRef
'Storage.2eceb484-73e0-464a-965b-69f067918080', isValid: 'True' obj:
'None'>}
Thread-294::DEBUG::2014-01-05
19:12:32,476::resourceManager::976::ResourceManager.Owner::(cancelAll)
Owner.cancelAll requests {}
Thread-294::DEBUG::2014-01-05
19:12:32,476::resourceManager::615::ResourceManager::(releaseResource)
Trying to release resource 'Storage.2eceb484-73e0-464a-965b-69f067918080'
Thread-294::DEBUG::2014-01-05
19:12:32,476::resourceManager::634::ResourceManager::(releaseResource)
Released resource 'Storage.2eceb484-73e0-464a-965b-69f067918080' (0
active users)
Thread-294::DEBUG::2014-01-05
19:12:32,476::resourceManager::640::ResourceManager::(releaseResource)
Resource 'Storage.2eceb484-73e0-464a-965b-69f067918080' is free, finding
out if anyone is waiting for it.
Thread-294::DEBUG::2014-01-05
19:12:32,476::resourceManager::648::ResourceManager::(releaseResource)
No one is waiting for resource
'Storage.2eceb484-73e0-464a-965b-69f067918080', Clearing records.
Thread-294::DEBUG::2014-01-05
19:12:32,476::task::974::TaskManager.Task::(_decref)
Task=`a003cde0-a11a-489e-94c2-611f3d096a81`::ref 0 aborting False
Thread-296::DEBUG::2014-01-05
19:12:36,070::BindingXMLRPC::974::vds::(wrapper) client
[5.39.66.85]::call volumesList with () {} flowID [76f294ea]
Thread-296::DEBUG::2014-01-05
19:12:36,079::BindingXMLRPC::981::vds::(wrapper) return volumesList with
{'status': {'message': 'Done', 'code': 0}, 'volumes': {'vmdata':
{'transportType': ['TCP'], 'uuid':
'e9b05f7a-f392-44f3-9d44-04761c36437d', 'bricks':
['lovhm001.fabber.it:/vmdata', 'lovhm002.fabber.it:/vmdata'],
'volumeName': 'vmdata', 'volumeType': 'REPLICATE', 'replicaCount': '2',
'brickCount': '2', 'distCount': '2', 'volumeStatus': 'ONLINE',
'stripeCount': '1', 'options': {'cluster.server-quorum-type': 'server',
'cluster.eager-lock': 'enable', 'performance.stat-prefetch': 'off',
'auth.allow': '*', 'cluster.quorum-type': 'auto',
'performance.quick-read': 'off', 'network.remote-dio': 'enable',
'nfs.disable': 'on', 'performance.io-cache': 'off',
'server.allow-insecure': 'on', 'storage.owner-uid': '36', 'user.cifs':
'disable', 'performance.read-ahead': 'off', 'storage.owner-gid': '36',
'cluster.server-quorum-ratio': '50%'}}}}
libvirtEventLoop::INFO::2014-01-05
19:12:38,856::vm::4266::vm.Vm::(_onAbnormalStop)
vmId=`88997598-1db3-478a-bbe2-a7d234cfdc77`::abnormal vm stop device
virtio-disk0 error eother
libvirtEventLoop::DEBUG::2014-01-05
19:12:38,856::vm::4840::vm.Vm::(_onLibvirtLifecycleEvent)
vmId=`88997598-1db3-478a-bbe2-a7d234cfdc77`::event Suspended detail 2
opaque None
Thread-28::DEBUG::2014-01-05
19:12:40,996::fileSD::239::Storage.Misc.excCmd::(getReadDelay) '/bin/dd
iflag=direct
if=/rhev/data-center/mnt/lovhm001.fabber.it:_var_lib_exports_iso/6a9b4fa6-f393-4036-bd4e-0bc9dccb1594/dom_md/metadata
bs=4096 count=1' (cwd None)
Thread-28::DEBUG::2014-01-05
19:12:41,001::fileSD::239::Storage.Misc.excCmd::(getReadDelay) SUCCESS:
<err> = '0+1 records in\n0+1 records out\n361 bytes (361 B) copied,
0.00017524 s, 2.1 MB/s\n'; <rc> = 0
Thread-298::DEBUG::2014-01-05
19:12:41,088::BindingXMLRPC::974::vds::(wrapper) client
[5.39.66.85]::call volumesList with () {}
Thread-298::DEBUG::2014-01-05
19:12:41,097::BindingXMLRPC::981::vds::(wrapper) return volumesList with
{'status': {'message': 'Done', 'code': 0}, 'volumes': {'vmdata':
{'transportType': ['TCP'], 'uuid':
'e9b05f7a-f392-44f3-9d44-04761c36437d', 'bricks':
['lovhm001.fabber.it:/vmdata', 'lovhm002.fabber.it:/vmdata'],
'volumeName': 'vmdata', 'volumeType': 'REPLICATE', 'replicaCount': '2',
'brickCount': '2', 'distCount': '2', 'volumeStatus': 'ONLINE',
'stripeCount': '1', 'options': {'cluster.server-quorum-type': 'server',
'cluster.eager-lock': 'enable', 'performance.stat-prefetch': 'off',
'auth.allow': '*', 'cluster.quorum-type': 'auto',
'performance.quick-read': 'off', 'network.remote-dio': 'enable',
'nfs.disable': 'on', 'performance.io-cache': 'off',
'server.allow-insecure': 'on', 'storage.owner-uid': '36', 'user.cifs':
'disable', 'performance.read-ahead': 'off', 'storage.owner-gid': '36',
'cluster.server-quorum-ratio': '50%'}}}}
Thread-300::DEBUG::2014-01-05
19:12:41,345::task::579::TaskManager.Task::(_updateState)
Task=`d049a71c-70a4-4dc2-9d69-99f1561ab405`::moving from state init ->
state preparing
Thread-300::INFO::2014-01-05
19:12:41,345::logUtils::44::dispatcher::(wrapper) Run and protect:
repoStats(options=None)
Thread-300::INFO::2014-01-05
19:12:41,345::logUtils::47::dispatcher::(wrapper) Run and protect:
repoStats, Return response: {'85ad5f7d-3b67-4618-a871-f9ec886020a4':
{'delay': '0.000370968', 'lastCheck': '8.9', 'code': 0, 'valid': True,
'version': 3}, '6a9b4fa6-f393-4036-bd4e-0bc9dccb1594': {'delay':
'0.00017524', 'lastCheck': '0.3', 'code': 0, 'valid': True, 'version': 0}}
Thread-300::DEBUG::2014-01-05
19:12:41,346::task::1168::TaskManager.Task::(prepare)
Task=`d049a71c-70a4-4dc2-9d69-99f1561ab405`::finished:
{'85ad5f7d-3b67-4618-a871-f9ec886020a4': {'delay': '0.000370968',
'lastCheck': '8.9', 'code': 0, 'valid': True, 'version': 3},
'6a9b4fa6-f393-4036-bd4e-0bc9dccb1594': {'delay': '0.00017524',
'lastCheck': '0.3', 'code': 0, 'valid': True, 'version': 0}}
Thread-300::DEBUG::2014-01-05
19:12:41,346::task::579::TaskManager.Task::(_updateState)
Task=`d049a71c-70a4-4dc2-9d69-99f1561ab405`::moving from state preparing
-> state finished
Thread-300::DEBUG::2014-01-05
19:12:41,346::resourceManager::939::ResourceManager.Owner::(releaseAll)
Owner.releaseAll requests {} resources {}
Thread-300::DEBUG::2014-01-05
19:12:41,346::resourceManager::976::ResourceManager.Owner::(cancelAll)
Owner.cancelAll requests {}
Thread-300::DEBUG::2014-01-05
19:12:41,346::task::974::TaskManager.Task::(_decref)
Task=`d049a71c-70a4-4dc2-9d69-99f1561ab405`::ref 0 aborting False
Thread-27::DEBUG::2014-01-05
19:12:42,459::fileSD::239::Storage.Misc.excCmd::(getReadDelay) '/bin/dd
iflag=direct
if=/rhev/data-center/mnt/glusterSD/lovhm001:_vmdata/85ad5f7d-3b67-4618-a871-f9ec886020a4/dom_md/metadata
bs=4096 count=1' (cwd None)
Thread-27::DEBUG::2014-01-05
19:12:42,464::fileSD::239::Storage.Misc.excCmd::(getReadDelay) SUCCESS:
<err> = '0+1 records in\n0+1 records out\n495 bytes (495 B) copied,
0.000345681 s, 1.4 MB/s\n'; <rc> = 0
Thread-302::DEBUG::2014-01-05
19:12:42,484::BindingXMLRPC::177::vds::(wrapper) client [5.39.66.85]
Thread-302::DEBUG::2014-01-05
19:12:42,485::task::579::TaskManager.Task::(_updateState)
Task=`acd727ae-dcbf-4662-bd97-fbdbadf6968a`::moving from state init ->
state preparing
Thread-302::INFO::2014-01-05
19:12:42,485::logUtils::44::dispatcher::(wrapper) Run and protect:
getSpmStatus(spUUID='2eceb484-73e0-464a-965b-69f067918080', options=None)
Thread-302::INFO::2014-01-05
19:12:42,485::logUtils::47::dispatcher::(wrapper) Run and protect:
getSpmStatus, Return response: {'spm_st': {'spmId': 2, 'spmStatus':
'SPM', 'spmLver': 3}}
thanks in advance
a
--
Amedeo Salvati
RHC{DS,E,VA} - LPIC-3 - UCP - NCLA 11
m. +39 333 1264484
email: amedeo(a)oscert.net
email: amedeo(a)linux.com
http://plugcomputing.it/redhatcert.php
http://plugcomputing.it/lpicert.php
10 years, 11 months
[Users] Centos 6.5 host configuration script -- a tale begun
by Ted Miller
--_000_22f073c8f28e423a8959bb2687b19cb9DM2PR05MB320namprd05pro_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
I have been working since Monday to get a Centos 6.5 host node added to ovi=
rt. Since 6.5 is just out, I figured I might as well use the latest and gr=
eatest to build my host. Today I succeeded (I think). I have not actually=
added a VM to the host, but at least ovirt is willing to accept that the h=
ost is part of the default cluster. My next task will be bringing up glust=
er on that same node.
Since I will be doing at least three more hosts, I wrote a shell script to =
do a the setup that is needed to make the ovirt process succeed.
No, I do not have a similar script for the engine. I got that running unde=
r Centos 6.4 in a VM, without too much problem. That VM is temporarily run=
ning on a KVM host (but that host is not under ovirt).
Feel welcome to stare at or run my script and make any comments or observat=
ions.
* The script is run after a clean install of Centos 6.5 from the "minim=
al" ISO.
* I will try to remember what each element was there for, if anything i=
s not clear.
* There are probably a few (not many) things there that are not needed
* Mostly they result in doing something ahead of time that ovirt was=
going to do later anyway.
* Feel free to point out a better way to do whatever needs to be done.
* Bits and pieces of the script were stolen from googleing here and the=
re.
* Parts of the script were cooked up by stewing logs over low heat unti=
l something useful bubbled to the top.
* The number of clean reinstalls to test the script is beyond count.
* I almost broke down and learned how to write a kickstart file (but=
didn't).
* No guarantees or representations.
* So far this script has been tested on exactly one set of bare-meta=
l hardware
* That hardware is not server-grade. (ovirt keeps complaining bec=
ause I have not configured Power Management :)
* There are a few things that are personal preferences (things I instal=
l on all my Linux machines)
* I believe those preferences are clearly marked.
* I am leaving them in because they may (incidentally) be installing=
some dependencies that influence the outcome of the process.
I hope to see a day when a similar script is either not needed, or is avail=
able and maintained as part of the Centos distro, or as part of ovirt. Mea=
nwhile we try to muddle through.
I will copy my script into this webmail interface (OWA) (since I am writing=
at home and this is all I have to work with) and see how bad it mangles it=
. You'll probably need a wide window so that lines don't wrap, as Microsof=
t thinks this OWA interface doesn't ever need to let me specify text as "pr=
eformat". I called my script ov_host-start.sh
# script to prepare Centos 6.5 for ovirt host install process
echo "=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Ted's personal p=
references--early =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D"
yum -y install nano deltarpm yum-plugin-priorities yum-presto mlocate
echo "=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D end of Ted'=
s personal preferences--early =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D"
yum -y upgrade
echo "....................install some repos (if not already done).........=
........."
cd /etc/yum.repos.d
if [ ! -f glusterfs-epel.repo ] ; then
echo "..............installing gluster repo......................."
yum -y install wget
wget http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/g=
lusterfs-epel.repo
echo "..............done installing gluster repo.................."
fi
if [ ! -f el6-ovirt.repo ] ; then
echo "..............installing ovirt repo......................."
yum -y localinstall http://ovirt.org/releases/ovirt-release-el.noarch.rpm
echo "..............done installing ovirt repo.................."
fi
if [ ! -f epel.repo ] ; then
echo "..............installing epel repo......................."
yum -y localinstall http://mirror.us.leaseweb.net/epel/6/i386/epel-releas=
e-6-8.noarch.rpm
echo "..............done installing epel repo.................."
fi
echo "........install libvirt............................"
yum -y install libvirt qemu-kvm tuned
echo "........install virt-manager" # with unlisted dependencies
yum -y install virt-manager xorg-x11-xauth dejavu-lgc-sans-mono-fonts
# create the ovirtmgmt bridge
if [ ! -f /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt ]; then
echo "........................creating ovirtmgmt bridge.................=
....."
service libvirtd start
service libvirtd status
virsh net-destroy default
virsh net-undefine default
virsh iface-bridge eth0 ovirtmgmt
service network restart
service libvirtd stop
service libvirtd status
fi
echo ".........copy tuned profile..............."
# copy virtual-host --> rhs-virtualization so ovirt is happy
cp -r /etc/tune-profiles/virtual-host /etc/tune-profiles/rhs-virtualization
yum -y install vdsm
echo "=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Ted's personal p=
references--late =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D"
#add lines to send messages to TTY12
cat /etc/rsyslog.conf | grep tty12
if [ ! $? -eq 0 ] ; then
echo ".......................Adding for tty12...................."
echo " " >> /etc/rsyslog.conf
echo "# Log everything to tty12" >> /etc/rsyslog.conf
echo "*.* /dev/tty12" >> /etc/rsyslog.conf
service rsyslog restart
fi
echo "...........install gkrellm.............."
yum -y install gkrellm
#add poll=3D0 to kill noveau messages
cat /boot/grub/grub.conf | grep poll=3D0
if [ ! $? -eq 0 ] ; then
echo "............................Adding poll=3D0.......................=
..."
sed -i '/^[ \t]kernel*/ s/$/ drm-kms-helper.poll=3D0/g' /boot/grub/grub.=
conf
fi
--_000_22f073c8f28e423a8959bb2687b19cb9DM2PR05MB320namprd05pro_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
</head>
<body id=3D"" tabindex=3D"0" dir=3D"ltr">
<div name=3D"divtagdefaultwrapper" id=3D"divtagdefaultwrapper" style=3D"fon=
t-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; color: #0000=
00; margin: 0">
I have been working since Monday to get a Centos 6.5 host node added to ovi=
rt. Since 6.5 is just out, I figured I might as well use the latest a=
nd greatest to build my host. Today I succeeded (I think). I ha=
ve not actually added a VM to the host, but at
least ovirt is willing to accept that the host is part of the default clus=
ter. My next task will be bringing up gluster on that same node.<br>
<br>
Since I will be doing at least three more hosts, I wrote a shell script to =
do a the setup that is needed to make the ovirt process succeed.<br>
<br>
No, I do not have a similar script for the engine. I got that running=
under Centos 6.4 in a VM, without too much problem. That VM is tempo=
rarily running on a KVM host (but that host is not under ovirt).<br>
<br>
Feel welcome to stare at or run my script and make any comments or observat=
ions.<br>
<ul style=3D"font-family: serif; font-size: 12pt; margin-top: 0px; margin-b=
ottom: 0px;">
<li>The script is run after a clean install of Centos 6.5 from the "mi=
nimal" ISO.<br>
</li><li>I will try to remember what each element was there for, if anythin=
g is not clear.</li><li>There are probably a few (not many) things there th=
at are not needed
<ul>
<li>Mostly they result in doing something ahead of time that ovirt was goin=
g to do later anyway.<br>
</li></ul>
</li><li>Feel free to point out a better way to do whatever needs to be don=
e.</li><li>Bits and pieces of the script were stolen from googleing here an=
d there.</li><li>Parts of the script were cooked up by stewing logs over lo=
w heat until something useful bubbled to the top.</li><li>The number of cle=
an reinstalls to test the script is beyond count.
<ul>
<li>I almost broke down and learned how to write a kickstart file (but didn=
't).<br>
</li></ul>
</li><li>No guarantees or representations.
<ul>
<li>So far this script has been tested on <b>exactly one</b> set of bare-me=
tal hardware
<ul>
<li>That hardware is not server-grade. (ovirt keeps complaining because I h=
ave not configured Power Management :)</li></ul>
</li></ul>
</li><li>There are a few things that are personal preferences (things I ins=
tall on all my Linux machines)
<ul>
<li>I believe those preferences are clearly marked.</li><li>I am leaving th=
em in because they may (incidentally) be installing some dependencies that =
influence the outcome of the process.<br>
</li></ul>
</li></ul>
<br>
I hope to see a day when a similar script is either not needed, or is avail=
able and maintained as part of the Centos distro, or as part of ovirt. =
; Meanwhile we try to muddle through.<br>
<br>
I will copy my script into this webmail interface (OWA) (since I am writing=
at home and this is all I have to work with) and see how bad it mangles it=
. You'll probably need a wide window so that lines don't wrap, as Mic=
rosoft thinks this OWA interface doesn't
ever need to let me specify text as "preformat". I called =
my script ov_host-start.sh<br>
<br>
<br>
<font face=3D"'Courier New',monospace"># script to prepare Centos 6.5 for o=
virt host install process<br>
<br>
echo "=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Ted's =
personal preferences--early =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D"<br>
<br>
yum -y install nano deltarpm yum-plugin-priorities yum-presto mlocate<br>
<br>
echo "=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D end of=
Ted's personal preferences--early =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D"<br>
<br>
yum -y upgrade<br>
<br>
echo "....................install some repos (if not already done)....=
.............."<br>
cd /etc/yum.repos.d<br>
if [ ! -f glusterfs-epel.repo ] ; then<br>
echo "..............installing gluster repo....................=
..."<br>
yum -y install wget<br>
wget http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.r=
epo/glusterfs-epel.repo<br>
echo "..............done installing gluster repo...............=
..."<br>
fi<br>
<br>
if [ ! -f el6-ovirt.repo ] ; then<br>
echo "..............installing ovirt repo......................=
."<br>
yum -y localinstall http://ovirt.org/releases/ovirt-release-el.noarc=
h.rpm<br>
echo "..............done installing ovirt repo.................=
."<br>
fi<br>
<br>
if [ ! -f epel.repo ] ; then<br>
echo "..............installing epel repo.......................=
"<br>
yum -y localinstall http://mirror.us.leaseweb.net/epel/6/i386/epel-r=
elease-6-8.noarch.rpm<br>
echo "..............done installing epel repo..................=
"<br>
fi<br>
<br>
<br>
echo "........install libvirt............................"<br>
yum -y install libvirt qemu-kvm tuned<br>
echo "........install virt-manager" # with unlisted dependencies<=
br>
yum -y install virt-manager xorg-x11-xauth dejavu-lgc-sans-mono-fonts<br>
<br>
# create the ovirtmgmt bridge<br>
if [ ! -f /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt ]; then<br>
echo "........................creating ovirtmgmt bridge..=
...................."<br>
service libvirtd start<br>
service libvirtd status<br>
virsh net-destroy default<br>
virsh net-undefine default<br>
virsh iface-bridge eth0 ovirtmgmt<br>
service network restart<br>
service libvirtd stop<br>
service libvirtd status<br>
fi<br>
<br>
echo ".........copy tuned profile..............."<br>
# copy virtual-host --> rhs-virtualization so ovirt is happy<br>
cp -r /etc/tune-profiles/virtual-host /etc/tune-profiles/rhs-virtualization=
<br>
<br>
yum -y install vdsm<br>
<br>
echo "=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Ted's =
personal preferences--late =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D"<br>
<br>
#add lines to send messages to TTY12<br>
cat /etc/rsyslog.conf | grep tty12<br>
if [ ! $? -eq 0 ] ; then<br>
echo ".......................Adding for tty12............=
........"<br>
echo " " >> /etc/rsyslog.conf<br>
echo "# Log everything to tty12" >> /etc=
/rsyslog.conf<br>
echo "*.* &nb=
sp; &n=
bsp; /dev/tty12" >> /etc/rsyslog.conf<br>
service rsyslog restart<br>
fi<br>
<br>
echo "...........install gkrellm.............."<br>
yum -y install gkrellm<br>
<br>
#add poll=3D0 to kill noveau messages<br>
cat /boot/grub/grub.conf | grep poll=3D0<br>
if [ ! $? -eq 0 ] ; then<br>
echo "............................Adding poll=3D0........=
.................."<br>
sed -i '/^[ \t]kernel*/ s/$/ drm-kms-helper.poll=3D0/g' /boot/=
grub/grub.conf<br>
fi<br>
</font><br>
</div>
</body>
</html>
--_000_22f073c8f28e423a8959bb2687b19cb9DM2PR05MB320namprd05pro_--
10 years, 11 months
[Users] Virtual networks
by Maurice James
------=_NextPart_000_000E_01CF0937.3442D480
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Can ovirt provide DHCP addressing to VMs the way libvirt does on its own?
------=_NextPart_000_000E_01CF0937.3442D480
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 15 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US =
link=3D"#0563C1" vlink=3D"#954F72"><div class=3DWordSection1><p =
class=3DMsoNormal>Can ovirt provide DHCP addressing to VMs the way =
libvirt does on its own?<o:p></o:p></p></div></body></html>
------=_NextPart_000_000E_01CF0937.3442D480--
10 years, 11 months