Re: [ovirt-users] ovirt 3.5 self-hosted engine and ovirtmgmt not syncronised

2015-01-23 Thread Kostyrev Aleksandr

Donny Davis писал 2015-01-23 18:07:

You have to move the hosted engine to another host to sync the
networks, they cannot be synced while the host is running vm's. Bring
your second hosted engine machine online so the engine can be
migrated, and the host in which you want to sync the network can be
synced.

I only know from experience, and one of the ovirt devs may have a
better solution. This is what worked for me.


Hmmm...
I was able to sync ovirtmgmt network on two hosts out of three but now I 
have a problem starting engine up on those two nodes


Jan 23 20:23:23 ovirt-3 vdsm vm.Vm ERROR 
vmId=`e3c64c89-65e0-4936-83af-de201130e789`::The vm start process 
failed#012Traceback (most recent call last):#012  File 
/usr/share/vdsm/virt/vm.py, line 2264, in _startUnderlyingVm#012
self._run()#012  File /usr/share/vdsm/virt/vm.py, line 3328, in 
_run#012self._connection.createXML(domxml, flags),#012  File 
/usr/lib/python2.6/site-packages/vdsm/libvirtconnection.py, line 111, 
in wrapper#012ret = f(*args, **kwargs)#012  File 
/usr/lib64/python2.6/site-packages/libvirt.py, line 2709, in 
createXML#012if ret is None:raise libvirtError('virDomainCreateXML() 
failed', conn=self)#012libvirtError: Cannot get interface MTU on 
'ovirtmgmt': No such device


as I mentioned earlier file 
/etc/sysconfig/network-scripts/ifcfg-ovirtmgmt gets removed from those 
two nodes after syncing.


How can I recreated that ifcfg-ovirtmgmt file?

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Host remains Non-Responsive after reboot

2015-01-23 Thread Rob Abshear
I am running oVirt Engine Version 3.5.0.1-1.el6. I have 4 hosts in the cluster.
Each host has a drac5 and it is configured and working. I am trying to simulate
a node failure. I am running one HA VM on one of the hosts for testing. I
simulate the failure by powering off the host with the VM running.
Here is what is happening. * Host is powered off
 * ~4 minutes pass and the host is recognized as not responding
 * Automatic fence runs and the VM migrates.Another host in the node is chosen 
as a proxy to execute Status command on
   the host.
 * Same host is chosen as proxy to execute Start command on the host.
 * Same host is chosen as proxy to execute Status command on the host.
 * The host DOES physically start.
 * The host never shows status of UP.
 * I select “confirm host has been rebooted” and I see a manual fence start.
 * Host stays non-responsive.
 * I put the host in maintenance and then activate it.
 * Host still non-responsive
 * I put the host in maintenance and do a reinstall
 * Reinstall finishes and host becomes UP

So, everything seems to go fine with the HA functionality, but the host never
recovers without being reinstalled. Please let me know which logs you need to
look at to help me out with this.
Thanks

Sent withMixmax [https://mixmax.com/r/S6cJAfQTLnw8QGtnD]___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VMs unknown state and ovirt node Non Responsive

2015-01-23 Thread Grzegorz Szypa
Thanks.

It was resolve problem, but question,but the question is whether the
problem is resolved JAVA or rather fall off ??

Regards,
Grzegorz Szypa

2015-01-23 9:46 GMT+01:00 Juan Hernández jhern...@redhat.com:

 On 01/23/2015 05:20 AM, Grzegorz Szypa wrote:
  Hi.
 
  I have a simillar problem like in this link:
  https://access.redhat.com/discussions/1326793
  https://bugzilla.redhat.com/show_bug.cgi?id=1165269
 
  Similar, becouse I worked it out with the VM uknown status, but I still
  have problem with host (node). It is all in one installaltion, therefore
  i dont have to remove host and add again (it is only one host portal and
  node on the same host), because there are still connected to the VMs.
 
  It is ovirt 3.4.4 release in latest updates on Centos 6.6 (Centos 6.5
  Final).
 
  Can I do smoethings or can I upgrade to ovirt 3.5 release (safely
  without losing anything) if this helps.
 
  If anyone would like to help me remotely (for charity), I would be
  grateful :)
 
  --
  G.Sz.

 If your problem is related to that link, then you should have tried to
 downgrade the JDK, and it should have worked. To double check you can
 check the
 /usr/lib/jvm/java-1.7.0-openjdk-*/jre/lib/security/java.security file.
 It may contain this line, at the very end:

   jdk.tls.disabledAlgorithms=SSLv3

 That is because of the recent security problems with SSLv3. If you need
 to solve your problem urgently and you are sure that you won't be
 affected by those security problems then you can just comment out this
 line and restart the engine.

 Remember to undo this change once you upgrade to 3.5.

 --
 Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
 3ºD, 28016 Madrid, Spain
 Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.




-- 
G.Sz.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] VMs unknown state and ovirt node Non Responsive

2015-01-23 Thread Grzegorz Szypa
Hi.

I have a simillar problem like in this link:
https://access.redhat.com/discussions/1326793
https://bugzilla.redhat.com/show_bug.cgi?id=1165269

Similar, becouse I worked it out with the VM uknown status, but I still
have problem with host (node). It is all in one installaltion, therefore i
dont have to remove host and add again (it is only one host portal and node
on the same host), because there are still connected to the VMs.

It is ovirt 3.4.4 release in latest updates on Centos 6.6 (Centos 6.5
Final).

Can I do smoethings or can I upgrade to ovirt 3.5 release (safely without
losing anything) if this helps.

If anyone would like to help me remotely (for charity), I would be grateful
:)

-- 
G.Sz.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Update to 3.5.1 scrambled multipath.conf?

2015-01-23 Thread Gianluca Cecchi
Hello,
on my all-in-one installation @home I had 3.5.0 with F20.
Today I updated to 3.5.1.

it seems it modified /etc/multipath.conf preventing me from using my second
disk at all...

My system has internal ssd disk (sda) for OS and one local storage domain
and another disk (sdb) with some partitions (on one of them there is also
another local storage domain).

At reboot I was put in emergency boot because partitions at sdb disk could
not be mounted (they were busy).
it took me some time to understand that the problem was due to sdb gone
managed as multipath device and so busy for partitions to be mounted.

Here you can find how multipath became after update and reboot
https://drive.google.com/file/d/0BwoPbcrMv8mvS0FkMnNyMTdVTms/view?usp=sharing

No device-mapper-multipath update in yum.log

Also it seems that after changing it, it was then reverted at boot again (I
don't know if the responsible was initrd/dracut or vdsmd) so in the mean
time the only thing I could do was to make the file immutable with

chattr +i /etc/multipath.conf

and so I was able to reboot and verify that my partitions on sdb were ok
and I was able to mount them (for safe I also ran an fsck against them)

Update ran around 19:20 and finished at 19:34
here the log in gzip format
https://drive.google.com/file/d/0BwoPbcrMv8mvWjJDTXU1YjRWOFk/view?usp=sharing

Reboot was done around 21:10-21:14

Here my /var/log/messages in gzip format, where you can see latest days.
https://drive.google.com/file/d/0BwoPbcrMv8mvMm1ldXljd3hZWnM/view?usp=sharing


Any suggestion appreciated.

Current multipath.conf (where I also commented out the getuid_callout that
is not used anymore):

[root@tekkaman setup]# cat /etc/multipath.conf
# RHEV REVISION 1.1

blacklist {
devnode ^(sda|sdb)[0-9]*
}

defaults {
polling_interval5
#getuid_callout  /usr/lib/udev/scsi_id --whitelisted
--replace-whitespace --device=/dev/%n
no_path_retry   fail
user_friendly_names no
flush_on_last_del   yes
fast_io_fail_tmo5
dev_loss_tmo30
max_fds 4096
}


Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Details of the host

2015-01-23 Thread Juan Hernández
On 01/21/2015 02:27 PM, ChandraShekar Shastri wrote:
 Hi All,
 
 I want to get the details of the Host without activating is there a way
 to do it. 
 I want to query the RHEV-Manager and would like to get the details of
 MAC address without activating it. 
 
 Do you have the script to do this.
 
 Thanks,
 Chandrashekar 
 

Assuming that the host has already been added to the system then you can
get the details with a Python script like this:

#!/usr/bin/python

from ovirtsdk.api import API
from ovirtsdk.xml import params

api = API(
  url='https://ovirt.example.com/ovirt-engine/api',
  username='admin@internal',
  password='**',
  insecure=True
)

host = api.hosts.get(name=myhost)
nics = host.nics.list()
for nic in nics:
print(%s: %s % (nic.get_name(), nic.get_mac().get_address()))

api.disconnect()

This will print something like this:

eth0: 52:54:00:9d:a7:26

If the host hasn't been added you can add it, without activating it:

#!/usr/bin/python

from ovirtsdk.api import API
from ovirtsdk.xml import params

api = API(
  url='https://rhevm35.example.com/ovirt-engine/api',
  username='admin@internal',
  password='**',
  insecure=True,
)

api.hosts.add(
  host = params.Host(
name=myhost,
address=myhost.example.com,
root_password=**
  )
)

api.disconnect()

-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VMs unknown state and ovirt node Non Responsive

2015-01-23 Thread Juan Hernández
On 01/23/2015 05:20 AM, Grzegorz Szypa wrote:
 Hi.
 
 I have a simillar problem like in this link:
 https://access.redhat.com/discussions/1326793
 https://bugzilla.redhat.com/show_bug.cgi?id=1165269
 
 Similar, becouse I worked it out with the VM uknown status, but I still
 have problem with host (node). It is all in one installaltion, therefore
 i dont have to remove host and add again (it is only one host portal and
 node on the same host), because there are still connected to the VMs.
 
 It is ovirt 3.4.4 release in latest updates on Centos 6.6 (Centos 6.5
 Final).
 
 Can I do smoethings or can I upgrade to ovirt 3.5 release (safely
 without losing anything) if this helps.
 
 If anyone would like to help me remotely (for charity), I would be
 grateful :)
 
 -- 
 G.Sz.

If your problem is related to that link, then you should have tried to
downgrade the JDK, and it should have worked. To double check you can
check the
/usr/lib/jvm/java-1.7.0-openjdk-*/jre/lib/security/java.security file.
It may contain this line, at the very end:

  jdk.tls.disabledAlgorithms=SSLv3

That is because of the recent security problems with SSLv3. If you need
to solve your problem urgently and you are sure that you won't be
affected by those security problems then you can just comment out this
line and restart the engine.

Remember to undo this change once you upgrade to 3.5.

-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 3.5.1 ; No Network Access on hosted engine vm

2015-01-23 Thread Simone Tiraboschi


- Original Message -
 From: Mikola Rose mr...@power-soft.com
 To: users@ovirt.org
 Sent: Friday, January 23, 2015 1:15:56 AM
 Subject: [ovirt-users] oVirt 3.5.1 ; No Network Access on hosted engine vm
 
 Hi again
 
 
 I think I may have selected the wrong interface during the hosted-engine
 deploy routine.  My VM doe not have network access.  The interface is
 connected and setup within the VM  just no network access.
 
 Is there a way I can change the bridge interface?

Hi Mikola,
if you was able to complete hosted engine deploy and so the engine is up and 
the host is already managed by the engine you could simply access somehow the 
engine web admin UI (if you was able to complete the deploy at least the host 
is able to connect to the engine REST APIs) and you cold simply setup host 
network from there changing the bindings of ovirtmgmt logical network to the 
other physical interface.

If your deploy is still pending and cannot complete due to wrong network 
configuration I'd suggest to cleanup and restart from scratch cause it would be 
easier and safer.
For a safe cleanup please see [1]

[1] - http://lists.ovirt.org/pipermail/users/2015-January/030356.html


 Mik
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Details of the host

2015-01-23 Thread Sven Kieske
On 22/01/15 19:31, Donny Davis wrote:
 But if you just need the mac address, why not ssh into it and get it from ip 
 addr

if you can ssh, there is no need to parse ip output, just do cat:
cat /sys/class/net/$yourdevice/address

I don't think there is a way to get data from a host via api which is
not activated, but I might be wrong.


-- 
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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Upgrade to 3.5.1

2015-01-23 Thread Demeter Tibor
Hi, 

No, I have only one replica beetwen two nodes. 
The third node is only a host for vms and that using this replica. 

Thanks 
Tibor 

- Eredeti üzenet -

 On 01/22/2015 08:03 PM, Demeter Tibor wrote:

  Hello,
 

  I have an ovirt 3.5.0 cluster with three nodes and we using glusterfs for
  serving backend storage for VM-s. Glusterfs are on same servers with ovirt.
 
  We have Gluster 3.5.1 on all of nodes.
 

  How can I upgrade to ovirt 3.5.1 with new glusterfs? I don't want data
  inconsistency/data loss/split brains?
 

 Do you have a replica 3 volume setup across these 3 nodes?

 Glusterfs supports rolling upgrade for replica volumes.
 But there are some issues to upgrade from 3.5 to 3.6 versions (depending on
 version used)
 Adding gluster-users  Pranith for recommended procedures.

 thanks
 sahina

  Need I update gluster version to the latest?
 
  How I need to upgrade the nodes ? Is there any whitepaper about this?
 

  Thanks in advance,
 

  Tibor
 

  ___
 
  Users mailing list Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt 3.5 self-hosted engine and ovirtmgmt not syncronised

2015-01-23 Thread Kostyrev Aleksandr

Hello!
I'm testing ovirt-3.5 with self-hosted engine.
Today I've noticed that in Setup Host Networks screen of every host I 
have ovirtmgmt Not syncronised.
If I click Save network no errors occur but when I issue ifconfig on 
that node I see no ovirtmgmt interface - it gets removed.


but
virsh -r net-list
Name State  Autostart Persistent
--
;vdsmdummy;  active nono
vdsm-ovirtmgmt   active yes   yes
vdsm-VMs active yes   yes



--
С уважением,
Костырев Александр,
системный администратор,
www.tutu.ru
skype a.kostyrev
Тел. +7(925) 237-7668
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users