3.6 : iSCSI LUN not detected
by Alexis HAUSER
Hi,
I am reinstalling a new Node with a new hosted-engine and I would like to import an iSCSI storage from a previous ovirt installation.
However, I can see all LUN present on that iSCSI but the one I want... I checked from the iSCSI array and this disk still exists, it's just not detected from Ovirt (3.6)...
I tried to make a new data domain and chosed that same iSCSI and it's also not detected.
Any ideas ?
I didn't remove the storage from the Engine interface on the previous installation, just just turned off all VMs accessing the iSCSI and unplugged the cable. Is it possible there is still a lock file or something from the previous hypervisor ?
8 years, 3 months
How to asssign a static IP to VM?
by lifuqiong
This is a multipart message in MIME format.
------=_NextPart_000_003D_01D1F40C.5C780750
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hi all,
I searched google and found there is no way to assign a static IP
to VM until 2012, in
http://lists.ovirt.org/pipermail/users/2012-May/007559.html;
Is there any solution to assign static IP now?
Thank you
Mark
------=_NextPart_000_003D_01D1F40C.5C780750
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=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
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 Definitions */
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
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=3DZH-CN link=3Dblue =
vlink=3Dpurple style=3D'text-justify-trim:punctuation'><div =
class=3DWordSection1><p class=3DMsoNormal><span lang=3DEN-US>Hi =
all,<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US> =
<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US> I searched =
google and found there is no way to assign a static IP to VM until 2012, =
in <a =
href=3D"http://lists.ovirt.org/pipermail/users/2012-May/007559.html">http=
://lists.ovirt.org/pipermail/users/2012-May/007559.html</a>;<o:p></o:p></=
span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>Is there any solution to assign static IP =
now?<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>Thank you<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>Mark<o:p></o:p></span></p></div></body></html>
------=_NextPart_000_003D_01D1F40C.5C780750--
8 years, 3 months
Convert OnApp VM to oVirt
by Fernando Frediani
Hi,
Has anyone done a VM conversion from OnApp (therefore running in LVM) to
oVirt/RHEV format being either buried in LVM or in a QCOW2 file.
I've seen some instructions using qemu-img but wanted to find out if
anyone has found any issues in this process. Any adjusts to be done
before booting the VM the first time in the new platform ?
Both hypervisors are KVM.
Fernando
8 years, 3 months
leasing of vms
by Budur Nagaraju
HI
Is there a feature to lease the vms in oVirt ?
Thanks,
Nagaraju
8 years, 3 months
vm paused unknown storage error one node out of 3 only
by David Gossage
Out of a 3 node cluster running oVirt 3.6.6.2-1.el7.centos with a 3
replicate gluster 3.7.14 starting a VM i just copied in on one node of the
3 gets the following errors. The other 2 the vm starts fine. All ovirt
and gluster are centos 7 based. VM on start of the one node it tries to
default to on its own accord immediately puts into paused for unknown
reason. Telling it to start on different node starts ok. node with issue
already has 5 VMs running fine on it same gluster storage plus the hosted
engine on different volume.
gluster nodes logs did not have any errors for volume
nodes own gluster logs had this in log
dfb8777a-7e8c-40ff-8faa-252beabba5f8 couldnt find in .glusterfs .shard or
images/
7919f4a0-125c-4b11-b5c9-fb50cc195c43 is the gfid of the bootable drive of
the vm
[2016-08-11 04:31:39.982952] W [MSGID: 114031]
[client-rpc-fops.c:3050:client3_3_readv_cbk] 0-GLUSTER1-client-2: remote
operation failed [No such file or directory]
[2016-08-11 04:31:39.983683] W [MSGID: 114031]
[client-rpc-fops.c:1572:client3_3_fstat_cbk] 0-GLUSTER1-client-2: remote
operation failed [No such file or directory]
[2016-08-11 04:31:39.984182] W [MSGID: 114031]
[client-rpc-fops.c:1572:client3_3_fstat_cbk] 0-GLUSTER1-client-0: remote
operation failed [No such file or directory]
[2016-08-11 04:31:39.984221] W [MSGID: 114031]
[client-rpc-fops.c:1572:client3_3_fstat_cbk] 0-GLUSTER1-client-1: remote
operation failed [No such file or directory]
[2016-08-11 04:31:39.985941] W [MSGID: 108008]
[afr-read-txn.c:244:afr_read_txn] 0-GLUSTER1-replicate-0: Unreadable
subvolume -1 found with event generation 3 for gfid
dfb8777a-7e8c-40ff-8faa-252beabba5f8. (Possible split-brain)
[2016-08-11 04:31:39.986633] W [MSGID: 114031]
[client-rpc-fops.c:1572:client3_3_fstat_cbk] 0-GLUSTER1-client-2: remote
operation failed [No such file or directory]
[2016-08-11 04:31:39.987644] E [MSGID: 109040]
[dht-helper.c:1190:dht_migration_complete_check_task] 0-GLUSTER1-dht:
(null): failed to lookup the file on GLUSTER1-dht [Stale file handle]
[2016-08-11 04:31:39.987751] W [fuse-bridge.c:2227:fuse_readv_cbk]
0-glusterfs-fuse: 15152930: READ => -1
gfid=7919f4a0-125c-4b11-b5c9-fb50cc195c43 fd=0x7f00a80bdb64 (Stale file
handle)
[2016-08-11 04:31:39.986567] W [MSGID: 114031]
[client-rpc-fops.c:1572:client3_3_fstat_cbk] 0-GLUSTER1-client-0: remote
operation failed [No such file or directory]
[2016-08-11 04:31:39.986567] W [MSGID: 114031]
[client-rpc-fops.c:1572:client3_3_fstat_cbk] 0-GLUSTER1-client-1: remote
operation failed [No such file or directory]
[2016-08-11 04:35:21.210145] W [MSGID: 108008]
[afr-read-txn.c:244:afr_read_txn] 0-GLUSTER1-replicate-0: Unreadable
subvolume -1 found with event generation 3 for gfid
dfb8777a-7e8c-40ff-8faa-252beabba5f8. (Possible split-brain)
[2016-08-11 04:35:21.210873] W [MSGID: 114031]
[client-rpc-fops.c:1572:client3_3_fstat_cbk] 0-GLUSTER1-client-1: remote
operation failed [No such file or directory]
[2016-08-11 04:35:21.210888] W [MSGID: 114031]
[client-rpc-fops.c:1572:client3_3_fstat_cbk] 0-GLUSTER1-client-2: remote
operation failed [No such file or directory]
[2016-08-11 04:35:21.210947] W [MSGID: 114031]
[client-rpc-fops.c:1572:client3_3_fstat_cbk] 0-GLUSTER1-client-0: remote
operation failed [No such file or directory]
[2016-08-11 04:35:21.213270] E [MSGID: 109040]
[dht-helper.c:1190:dht_migration_complete_check_task] 0-GLUSTER1-dht:
(null): failed to lookup the file on GLUSTER1-dht [Stale file handle]
[2016-08-11 04:35:21.213345] W [fuse-bridge.c:2227:fuse_readv_cbk]
0-glusterfs-fuse: 15156910: READ => -1
gfid=7919f4a0-125c-4b11-b5c9-fb50cc195c43 fd=0x7f00a80bf6d0 (Stale file
handle)
[2016-08-11 04:35:21.211516] W [MSGID: 108008]
[afr-read-txn.c:244:afr_read_txn] 0-GLUSTER1-replicate-0: Unreadable
subvolume -1 found with event generation 3 for gfid
dfb8777a-7e8c-40ff-8faa-252beabba5f8. (Possible split-brain)
[2016-08-11 04:35:21.212013] W [MSGID: 114031]
[client-rpc-fops.c:1572:client3_3_fstat_cbk] 0-GLUSTER1-client-0: remote
operation failed [No such file or directory]
[2016-08-11 04:35:21.212081] W [MSGID: 114031]
[client-rpc-fops.c:1572:client3_3_fstat_cbk] 0-GLUSTER1-client-1: remote
operation failed [No such file or directory]
[2016-08-11 04:35:21.212121] W [MSGID: 114031]
[client-rpc-fops.c:1572:client3_3_fstat_cbk] 0-GLUSTER1-client-2: remote
operation failed [No such file or directory]
I attached vdsm.log starting from when I spun up vm on offending node
8 years, 3 months
Unable to login to the WEB UI
by Fabrice Bacchella
After the upgrad, I'm unable to log in, I'm getting the following error:
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path
to requested target
Where should I look to correct that ?
8 years, 3 months
[ANN] oVirt 4.0.2 Fourth Release Candidate is now available
by Sandro Bonazzola
The oVirt Project is pleased to announce the availability of the Fourth
Release Candidate of oVirt 4.0.2 for testing, as of August 10th, 2016.
This release is available now for:
* Fedora 23 (tech preview)
* Red Hat Enterprise Linux 7.2 or later
* CentOS Linux (or similar) 7.2 or later
This release supports Hypervisor Hosts running:
* Red Hat Enterprise Linux 7.2 or later
* CentOS Linux (or similar) 7.2 or later
* Fedora 23 (tech preview)
* oVirt Next Generation Node 4.0
This is pre-release software. Please take a look at our community page[1]
to know how to ask questions and interact with developers and users.
All issues or bugs should be reported via oVirt Bugzilla[2].
This pre-release should not to be used in production.
This update is the fourth release candidate of the second in a series of
stabilization updates to the 4.0 series.
4.0.2 brings 24 enhancements and more than 200 bugfixes, including 107 high
or urgent severity fixes, on top of oVirt 4.0 series
See the release notes [3] for installation / upgrade instructions and a
list of new features and bugs fixed.
Notes:
* A new oVirt Live ISO is available. [4]
* A new oVirt Next Generation Node will be available soon [4].
* A new oVirt Engine Appliance is already available.
* Mirrors[5] might need up to one day to synchronize.
Additional Resources:
* Read more about the oVirt 4.0.2 release highlights:
http://www.ovirt.org/release/4.0.2/
* Get more oVirt Project updates on Twitter: https://twitter.com/ovirt
* Check out the latest project news on the oVirt blog:
http://www.ovirt.org/blog/
[1] https://www.ovirt.org/community/
[2] https://bugzilla.redhat.com/enter_bug.cgi?classification=oVirt
[3] http://www.ovirt.org/release/4.0.2/
[4] http://resources.ovirt.org/pub/ovirt-4.0-pre/iso/
[5] http://www.ovirt.org/Repository_mirrors#Current_mirrors
--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
8 years, 3 months
engine-backup and messages in web admin events pane
by Gianluca Cecchi
Hello,
having oVirt Engine Version: 4.0.0.6-1.el7.centos, when I run on engine VM
a command like
# engine-backup --mode=backup --scope=all
--file=/root/engine-backup.archive_$(date +%d-%m-%Y)
--log=/root/engine-backup_$(date +%d-%m-%Y).log
Backing up:
Notifying engine
- Files
- Engine database 'engine'
- DWH database 'ovirt_engine_history'
Packing into file '/root/engine-backup.archive_09-08-2016'
Notifying engine
Done.
I see then that in engine web admin events pane I only have rows of kind:
Finished
Started
without any reference to what...
See here:
https://drive.google.com/file/d/0BwoPbcrMv8mvYXNLZkZtQ1FFRUU/view?usp=sha...
Is it me running backup in the wrong way or was it improved in 4.0.1?
Thanks,
Gianluca
8 years, 3 months
ovirt-ha-agent and too many open files error
by Gianluca Cecchi
Hello,
I have a 4.0 test environment (single host with self hosted engine) where I
have 6 VMs defined (5 running) and no much activity.
I do't monitor this system very much.
Now I have connected to it to evaluate upgrade to 4.0.1 and see that about
15 days ago the ovirt-ha-agent died because of too many open files....
[root@ractor ovirt-hosted-engine-ha]# systemctl status ovirt-ha-agent -l
● ovirt-ha-agent.service - oVirt Hosted Engine High Availability Monitoring
Agent
Loaded: loaded (/usr/lib/systemd/system/ovirt-ha-agent.service; enabled;
vendor preset: disabled)
Active: inactive (dead) since Fri 2016-07-22 16:39:49 CEST; 2 weeks 4
days ago
Main PID: 72795 (code=exited, status=0/SUCCESS)
Jul 22 16:39:47 ractor.mydomain ovirt-ha-agent[72795]: self.set_file(fd)
Jul 22 16:39:47 ractor.mydomain ovirt-ha-agent[72795]: File
"/usr/lib64/python2.7/asyncore.py", line 657, in set_file
Jul 22 16:39:47 ractor.mydomain ovirt-ha-agent[72795]: self.socket =
file_wrapper(fd)
Jul 22 16:39:47 ractor.mydomain ovirt-ha-agent[72795]: File
"/usr/lib64/python2.7/asyncore.py", line 616, in __init__
Jul 22 16:39:47 ractor.mydomain ovirt-ha-agent[72795]: self.fd = os.dup(fd)
Jul 22 16:39:47 ractor.mydomain ovirt-ha-agent[72795]: OSError: [Errno 24]
Too many open files
Jul 22 16:39:47 ractor.mydomain ovirt-ha-agent[72795]: ovirt-ha-agent
ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine ERROR Shutting down
the agent because of 3 failures in a row!
Jul 22 16:39:47 ractor.mydomain ovirt-ha-agent[72795]:
ERROR:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Shutting down
the agent because of 3 failures in a row!
Jul 22 16:39:49 ractor.mydomain ovirt-ha-agent[72795]:
WARNING:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:The VM is
running locally or we have no data, keeping the domain monitor.
Jul 22 16:39:49 ractor.mydomain ovirt-ha-agent[72795]:
INFO:ovirt_hosted_engine_ha.agent.agent.Agent:Agent shutting down
Is this sort of known problem or any reason to investigate?
It seems very strange to have reached this limit
I presume the agent runs as vdsm user and that the oVirt installation
creates the file
/etc/security/limits.d/99-vdsm.conf
with
# This limits are intended for medium VDSM hosts, for large hosts scale
these
# numbers appropriately.
# nproc should be the maximum amount of storage operations usage.
# VMs run by "qemu" user, vm processes are not relavent to "vdsm" user
limits.
vdsm - nproc 4096
# nofile should be at least 3(stdin,stdour,stderr) * each external process.
# 3 * 4096 = 12288
vdsm - nofile 12288
As a rough estimation (over estimation actually , due to many duplicates) I
have now:
# lsof -u vdsm | wc -l
488
Anything else to check?
Gianluca
8 years, 3 months
Re: [ovirt-users] Migrate machines in unknown state?
by Nicolás
El 04/08/16 a las 15:25, Arik Hadas escribió:
>
> ----- Original Message -----
>> El 2016-08-04 08:24, Arik Hadas escribió:
>>> ----- Original Message -----
>>>>
>>>> El 04/08/16 a las 07:18, Arik Hadas escribió:
>>>>> ----- Original Message -----
>>>>>> Hi,
>>>>>>
>>>>>> We're running oVirt 4.0.1 and today I found out that one of our hosts
>>>>>> has all its VMs in an unknown state. I actually don't know how (and
>>>>>> when) did this happen, but I'd like to restore service possibly without
>>>>>> turning off these machines. The host is up, the VMs are up, 'qemu'
>>>>>> process exists, no errors, it's just the VMs running on it that have a
>>>>>> '?' where status is defined.
>>>>>>
>>>>>> Is it safe in this case to simply modify database and set those VM's
>>>>>> status to 'up'? I remember having to do this a time ago when we faced
>>>>>> storage issues, it didn't break anything back then. If not, is there a
>>>>>> "safe" way to migrate those VMs to a different host and restart the
>>>>>> host
>>>>>> that marked them as unknown?
>>>>> Hi Nicolás,
>>>>>
>>>>> I assume that the host these VMs are running on is empty in the
>>>>> webadmin,
>>>>> right? if that is the case then you've probably hit [1]. Changing their
>>>>> status to up is not the way to go since these VMs will not be monitored.
>>>> Hi Arik,
>>>>
>>>> By "empty" you mean the webadmin reports the host being running 0 VMs?
>>>> If so, that's not the case, actually the VM count seems to be correct
>>>> in
>>>> relation to "qemu-*" processes (about 32 VMs), I can even see the
>>>> machines in the "Virtual machines" tab of the host, it's just they are
>>>> all marked with the '?' mark.
>>> No, I meant the 'Host' column in the Virtual Machines tab but if you
>>> see
>>> the VMs in the "Virtual machines" sub-tab of the host then run_on_vds
>>> points to the right host..
>>>
>>> The host is up in the webadmin as well?
>>> Can you share the engine log?
>>>
>> Yes, the host is up in the webadmin, there are no issues with it, just
>> the VMs running on it have the '?' mark. I've made 3 tests:
>>
>> 1) Restart engine: did not help
>> 2) Check firewall, seems to be ok.
>> 2) PostgreSQL: UPDATE vm_dynamic SET status = 1 WHERE status = 8; :
>> After a while, I see lots of entries like this:
>>
>> 2016-08-04 09:23:10,910 WARN
>> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
>> (DefaultQuartzScheduler4) [6ad135b8] Correlation ID: null, Call Stack:
>> null, Custom Event ID: -1, Message: VM xxx is not responding.
>>
>> I'm attaching the engine log, but I don't know when did this happen for
>> the first time, though. If there's a manual way/command to migrate VMs
>> to a different host I'd appreciate a hint about it.
>>
>> Is it safe to restart vdsmd on this host?
> The engine log looks fine - the VMs are reported as not-responding for
> some reason. I would restart libvirtd and vdsmd then
Is restarting those two daemons safe? I mean, will that stop all qemu-*
processes, so the VMs marked as unknown will stop?
>> Thanks.
>>
>>>> Thanks.
>>>>
>>>>> Yes, there is no other way to resolve it other than changing the DB but
>>>>> the change should be to update run_on_vds field of these VMs to the host
>>>>> you know they are running on. Their status will then be updates in 15
>>>>> sec.
>>>>>
>>>>> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1354494
>>>>>
>>>>> Arik.
>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> Nicolás
>>>>>>
>>>>>> _______________________________________________
>>>>>> Users mailing list
>>>>>> Users(a)ovirt.org
>>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>>>
>>>>
8 years, 3 months