Ubuntu VM does not complete reboot cycle without Console Open
by Anantha Raghava
This is a multi-part message in MIME format.
--------------A2448A45784238E495EAEAFE
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
I have been observing that Ubuntu Precise VM, if restarted using a
crontab at a given time, stops at the OS / Kernel Selection screen and
does not complete the reboot. If we issue the reboot command with
Console open, the same command works without any issues and the VM boots
properly. This issue happens only with Ubuntu Precise and not with
Trusty or Xeniel or even with any of Rehat distributions or CentOS.
Interestingly, it doesn't happen with VMWare ESXi.
I also read somewhere that this issue is with VDSM 3.6 and it seems to
continue with VDSM 4 as well.
Any suggestions in this regard.
--
Thanks & Regards,
Anantha Raghava
eXzaTech Consulting And Services Pvt. Ltd.
DISCLAIMER:
This e-mail communication and any attachments may be privileged and
confidential to eXza Technology Consulting & Services, and are intended
only for the use of the recipients named above If you are not the
addressee you may not copy, forward, disclose or use any part of it. If
you have received this message in error, please delete it and all copies
from your system and notify the sender immediately by return e-mail.
Internet communications cannot be guaranteed to be timely, secure, error
or virus-free. The sender does not accept liability for any errors or
omissions.
Do not print this e-mail unless required. Save Paper & trees.
--------------A2448A45784238E495EAEAFE
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><font face="Liberation Serif">Hi,</font></p>
<p><font face="Liberation Serif">I have been observing that Ubuntu
Precise VM, if restarted using a crontab at a given time, stops
at the OS / Kernel Selection screen and does not complete the reboot.
If we issue the reboot command with Console open, the same
command works without any issues and the VM boots properly. This
issue happens only with Ubuntu Precise and not with Trusty or
Xeniel or even with any of Rehat distributions or CentOS.<br>
</font></p>
<p><font face="Liberation Serif">Interestingly, it doesn't happen
with VMWare ESXi. <br>
</font></p>
<p><font face="Liberation Serif">I also read somewhere that this
issue is with VDSM 3.6 and it seems to continue with VDSM 4 as
well.</font></p>
<p><font face="Liberation Serif">Any suggestions in this regard.</font><br>
</p>
--
<div class="moz-signature">
<p style="margin-bottom: 0cm; line-height: 100%"><font face="Times
New Roman, serif">Thanks
& Regards,</font></p>
<p style="margin-bottom: 0cm; line-height: 100%"><br>
</p>
<address style="line-height: 100%"><font face="Times New Roman,
serif">Anantha
Raghava</font></address>
<address style="line-height: 100%"><font face="Times New Roman,
serif">eXzaTech Consulting And Services Pvt. Ltd.</font></address>
<p style="margin-bottom: 0cm; line-height: 100%"><font
color="#1f497d"><font face="Calibri, sans-serif"><font
style="font-size: 7pt" size="1">DISCLAIMER:<br>
This
e-mail communication and any attachments may be privileged
and
confidential to eXza Technology Consulting & Services,
and are
intended only for the use of the recipients named above If
you are
not the addressee you may not copy, forward, disclose or
use any part
of it. If you have received this message in error, please
delete it
and all copies from your system and notify the sender
immediately by
return e-mail. Internet communications cannot be
guaranteed to be
timely, secure, error or virus-free. The sender does not
accept
liability for any errors or omissions. </font></font></font>
</p>
<p style="margin-bottom: 0cm; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%"><font
color="#66cc00"><font face="Times New Roman, serif">Do
not print this e-mail unless required. Save Paper &
trees.</font></font></p>
</div>
</body>
</html>
--------------A2448A45784238E495EAEAFE--
7 years, 10 months
VM Permissions (3.6)
by Alexis HAUSER
------=_Part_2376072_2003072310.1488785909633
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
hi, I'm trying to figure out how to manage VM permissions with ovirt.
>From what I've understood, if you add a user to user role in the system preferences, this user can access every VM and resources on the cluster, with the associated permissions; right ?
Now, if I want to control who has access to each VM : I musn't add this user to user role from the system tab; but instead add it on each resources (like on each VM) it should access ?
Is there another way to manage permissions ? How you guys do personally manage this ? Do you automate it with scripts ?
Thanks for you ideas and suggestions
(using 3.6)
------=_Part_2376072_2003072310.1488785909633
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"font-family: times new roman, new york, times, se=
rif; font-size: 12pt; color: #000000"><div><div style=3D"font-family: times=
new roman, new york, times, serif; font-size: 12pt; color: #000000;" data-=
mce-style=3D"font-family: times new roman, new york, times, serif; font-siz=
e: 12pt; color: #000000;"><div>hi, I'm trying to figure out how to manage V=
M permissions with ovirt.</div><div>From what I've understood, if you add a=
user to user role in the system preferences, this user can access every VM=
and resources on the cluster, with the associated permissions; right ?</di=
v><div>Now, if I want to control who has access to each VM : I musn't add t=
his user to user role from the system tab; but instead add it on each resou=
rces (like on each VM) it should access ?</div><div><br></div><div>Is there=
another way to manage permissions ? How you guys do personally manage this=
? Do you automate it with scripts ?</div><div><br></div><div>Thanks for yo=
u ideas and suggestions</div><div><br></div><div>(using 3.6)</div></div></d=
iv><div><br></div><div><br></div></div></body></html>
------=_Part_2376072_2003072310.1488785909633--
7 years, 10 months
VMs imported from libvirt have no cdrom device
by Chris Boot
Hi,
I've imported a number of VMs that I previously was running under a
self-hosted libvirt configuration. Most of the VMs at the source did not
have a cdrom device (but some did) because I just added one as I needed to.
Now that the VMs have been imported into oVirt, none of them have a
cdrom device. Even booting with the "Attach CD" option doesn't create a
cdrom device. I can't see any way to get oVirt to re-create the missing
device.
Is there a way for me to add these missing devices to my VMs?
I'm running oVirt 4.1 on CentOS 7.3.1611 with a hosted engine setup. VMs
were migrated from a Debian Stretch machine running libvirt 3.0.0 with
qemu 2.8.0.
Thanks,
Chris
--
Chris Boot
bootc(a)bootc.net
7 years, 10 months
oVirt Hosted Engine Setup fails
by Manuel Luis Aznar
Hello there,
I am having some trouble when deploying an oVirt 4.1 hosted engine
installation.
When I m just to end the installation and the hosted engine setup script is
about to start the Vm engine (appliance) it fails saying "The VM is not
powring up".
If I double check the service vdsmd i get this error all the time:
vdsm root ERROR failed to retrieve Hosted Engine HA info
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/host/api.py", line 231, in
_getHaInfo
stats = instance.get_all_stats()
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/client/client.py",
line 102, in get_all_stats
with broker.connection(self._retries, self._wait):
File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
line 99, in connection
self.connect(retries, wait)
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
line 78, in connect
raise BrokerConnectionError(error_msg)
BrokerConnectionError: Failed to connect to broker, the number of errors
has exceeded the limit (1)
Did anyone have experimented the same problem?¿? Any hint on How to solved
it?¿? I have tried several times with clean installations and always
getting the same...
The host where I am trying to do the installation have CentOS 7...
Thanks for all in advance
Will be waiting for any hint to see what I am doing wrong...
Manuel Luis Aznar
7 years, 10 months
Re: [ovirt-users] best way to remove SAN lun
by Pavel Gashev
Please also consider a case when a single iSCSI target has several LUNs and you remove one of them.
In this case you should not logout.
-----Original Message-----
From: <users-bounces(a)ovirt.org> on behalf of Nelson Lameiras <nelson.lameiras(a)lyra-network.com>
Date: Friday, 3 March 2017 at 20:55
To: Nir Soffer <nsoffer(a)redhat.com>
Cc: users <users(a)ovirt.org>
Subject: Re: [ovirt-users] best way to remove SAN lun
Hello Nir,
I think I was not clear in my explanations, let me try again :
we have a oVirt 4.0.5.5 cluster with multiple hosts (centos 7.2).
In this cluster, we added a SAN volume (iscsi) a few months ago directly in GUI
Later we had to remove a DATA volume (SAN iscsi). Below the steps we have taken :
1- we migrated all disks outside the volume (oVirt)
2- we put volume on maintenance (oVirt)
3- we detach volume (oVirt)
4- we removed/destroyed volume (oVirt)
In SAN :
5- we put it offline on SAN
6- we delete it from SAN
We thought this would be enough, but later we has a serious incident when log partition went full (partially our fault) :
/var/log/messages was continuously logging that it was still trying to reach the SAN volumes (we have since taken care of the issue of log space issue => more aggressive logrotate, etc)
The real solution was to add two more steps, using shell in ALL hosts :
4a - logout from SAN : iscsiadm -m node --logout -T iqn.XXXXXXXX
4b - remove iscsi targets : rm -fr /var/lib/iscsi/nodes/iqn.XXXXXXXXX
This effectively solved our problem, but was fastidious since we had to do it manually in all hosts (imagine if we had hundreds of hosts...)
So my question was : shouldn't it be oVirt job to system "logout" and "remove iscsi targets" automatically when a volume is removed from oVirt ? maybe not, and I'm missing something?
cordialement, regards,
Nelson LAMEIRAS
Ingénieur Systèmes et Réseaux / Systems and Networks engineer
Tel: +33 5 32 09 09 70
nelson.lameiras(a)lyra-network.com
www.lyra-network.com | www.payzen.eu
Lyra Network, 109 rue de l'innovation, 31670 Labège, FRANCE
----- Original Message -----
From: "Nir Soffer" <nsoffer(a)redhat.com>
To: "Nelson Lameiras" <nelson.lameiras(a)lyra-network.com>
Cc: "Gianluca Cecchi" <gianluca.cecchi(a)gmail.com>, "Adam Litke" <alitke(a)redhat.com>, "users" <users(a)ovirt.org>
Sent: Wednesday, February 22, 2017 8:27:26 AM
Subject: Re: [ovirt-users] best way to remove SAN lun
On Wed, Feb 22, 2017 at 9:03 AM, Nelson Lameiras
<nelson.lameiras(a)lyra-network.com> wrote:
> Hello,
>
> Not sure it is the same issue, but we have had a "major" issue recently in our production system when removing a ISCSI volume from oVirt, and then removing it from SAN.
What version? OS version?
The order must be:
1. remove the LUN from storage domain
will be available in next 4.1 release. in older versions you have
to remove the storage domain
2. unzone the LUN on the server
3. remove the multipath devices and the paths on the nodes
> The issue being that each host was still trying to access regularly to the SAN volume in spite of not being completely removed from oVirt.
What do you mean by "not being completely removed"?
Who was accessing the volume?
> This led to an massive increase of error logs, which filled completely /var/log partition,
Which log was full with errors?
> which snowballed into crashing vdsm and other nasty consequences.
You should have big enough /var/log to avoid such issues.
>
> Anyway, the solution was to manually logout from SAN (in each host) with iscsiadm and manually remove iscsi targets (again in each host). It was not difficult once the problem was found because currently we only have 3 hosts in this cluster, but I'm wondering what would happen if we had hundreds of hosts ?
>
> Maybe I'm being naive but shouldn't this be "oVirt job" ? Is there a RFE still waiting to be included on this subject or should I write one ?
We have RFE for this here:
https://bugzilla.redhat.com/1310330
But you must understand that ovirt does not control your storage server,
you are responsible to add devices on the storage server, and remove
them. We are only consuming the devices.
Even we we provide a way to remove devices on all hosts, you will have
to remove the device on the storage server before removing it from
hosts. If not, ovirt will find the removed devices again in the next
scsi rescan,
and we do lot of these to support automatic discovery of new devices
or resized devices.
Nir
>
> cordialement, regards,
>
>
> Nelson LAMEIRAS
> Ingénieur Systèmes et Réseaux / Systems and Networks engineer
> Tel: +33 5 32 09 09 70
> nelson.lameiras(a)lyra-network.com
>
> www.lyra-network.com | www.payzen.eu
>
>
>
>
>
> Lyra Network, 109 rue de l'innovation, 31670 Labège, FRANCE
>
> ----- Original Message -----
> From: "Nir Soffer" <nsoffer(a)redhat.com>
> To: "Gianluca Cecchi" <gianluca.cecchi(a)gmail.com>, "Adam Litke" <alitke(a)redhat.com>
> Cc: "users" <users(a)ovirt.org>
> Sent: Tuesday, February 21, 2017 6:32:18 PM
> Subject: Re: [ovirt-users] best way to remove SAN lun
>
> On Tue, Feb 21, 2017 at 7:25 PM, Gianluca Cecchi
> <gianluca.cecchi(a)gmail.com> wrote:
>> On Tue, Feb 21, 2017 at 6:10 PM, Nir Soffer <nsoffer(a)redhat.com> wrote:
>>>
>>> This is caused by active lvs on the remove storage domains that were not
>>> deactivated during the removal. This is a very old known issue.
>>>
>>> You have remove the remove device mapper entries - you can see the devices
>>> using:
>>>
>>> dmsetup status
>>>
>>> Then you can remove the mapping using:
>>>
>>> dmsetup remove device-name
>>>
>>> Once you removed the stale lvs, you will be able to remove the multipath
>>> device and the underlying paths, and lvm will not complain about read
>>> errors.
>>>
>>> Nir
>>
>>
>> OK Nir, thanks for advising.
>>
>> So what I run with success on the 2 hosts
>>
>> [root@ovmsrv05 vdsm]# for dev in $(dmsetup status | grep
>> 900b1853--e192--4661--a0f9--7c7c396f6f49 | cut -d ":" -f 1)
>> do
>> dmsetup remove $dev
>> done
>> [root@ovmsrv05 vdsm]#
>>
>> and now I can run
>>
>> [root@ovmsrv05 vdsm]# multipath -f 3600a0b80002999020000cd3c5501458f
>> [root@ovmsrv05 vdsm]#
>>
>> Also, with related names depending on host,
>>
>> previous maps to single devices were for example in ovmsrv05:
>>
>> 3600a0b80002999020000cd3c5501458f dm-4 IBM ,1814 FAStT
>> size=2.0T features='2 pg_init_retries 50' hwhandler='1 rdac' wp=rw
>> |-+- policy='service-time 0' prio=0 status=enabled
>> | |- 0:0:0:2 sdb 8:16 failed undef running
>> | `- 1:0:0:2 sdh 8:112 failed undef running
>> `-+- policy='service-time 0' prio=0 status=enabled
>> |- 0:0:1:2 sdg 8:96 failed undef running
>> `- 1:0:1:2 sdn 8:208 failed undef running
>>
>> And removal of single path devices:
>>
>> [root@ovmsrv05 root]# for dev in sdb sdh sdg sdn
>> do
>> echo 1 > /sys/block/${dev}/device/delete
>> done
>> [root@ovmsrv05 vdsm]#
>>
>> All clean now... ;-)
>
> Great!
>
> I think we should have a script doing all these steps.
>
> Nir
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
7 years, 10 months
Re: [ovirt-users] rhevm listening on ipv6 ?
by Yevgeny Zaspitsky
Šimon,
According to [1] oVirt should be accessible through IPv6 address.
>From my experience engine web&rest can be accessed by using an URL with an
IPv6 address in a browser.
Please notice that an IPv6 literal address (not a hostname that resolves to
an IPv6 address) in a valid URL should be wrapped by brackets, e.g. http://
[1::2]:80/path.
You can verify that the engine listens to an IPv6 by running the following
command from the Linux console of the host that runs ovirt-engine (while
ovirt-engine service runs):
netstat -lnp6 | grep <port>
where <port> is the port ovirt-engine should be listening to and be
accessed through (default is 80).
It seems to me like a problem on ManageIQ side.
Please let me know if you need further assistance.
Regards,
Yevgeny
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1310837
On Fri, Mar 3, 2017 at 4:55 PM, Šimon <simi(a)mykolab.com> wrote:
> Hello Yevgeny,
>
> I am working on ipv6-only support for ManageIQ. And I have noticed that
> providers QA has around listen on ipv4 only.
>
> Is it possible for rhevm web/api to listen on ipv6? What are the steps I
> need to do?
>
> Thanks a lot!
> ~š.
>
7 years, 10 months
Contributing on ovirt
by shubham dubey
Hello,
I am interested in being part of ovirt for gsoc 2017.
I have looked into ovirt project ideas and the project that I find
most suitable
is Configuring the backup storage in ovirt.
Since the ovirt online docs have sufficient info for getting started for
development so I don't have a questions about that but I want to clarify
one doubt that did the previous year mentioned project on ovirt gsoc page
are also available to work on?
I will also appreciate any discussion about the project or question from
mentor side.Even some guideline for start working is welcome.
Thanks,
Shubham
7 years, 10 months