[ovirt-users] oVirt hosted-engine setup stuck in final phase registering host to engine

Ralf Schenk rs at databay.de
Thu May 19 10:17:14 UTC 2016


Hello,

don't waste time on it. I reinstalled ovirt-hosted-engine-ha.noarch an
then after some time engine magically started. I'm now adding hosts to
the engine and will deploy two other instances of the engine on two
other hosts to get it highly available. So far my gluster seems usable
inside the engine and the hosts.

If its interesing for you:  I also setup up HA nfs-ganesha on the hosts
to provide NFS Shares to multiple VM's (will be php-fpm Backends to
Nginx) in an efficient way. I also tested and benchmarked (only
sysbench) using one host as MDS for pNFS with gluster FSAL. So I'm able
to mount my gluster via "mount ... type nfs4 -o minorversion=1" an am
rewarded with pnfs=LAYOUT_NFSV4_1_FILES in "/proc/self/mountstats". I
can see good network distribution and connections to multiple servers of
the cluster when benchmarking an NFS mount.

What I don't understand: Engine and also setup seem to have a problem
with my type 6 bond. That type proved to be best in glusterfs and nfs
performance and distribution over my 2 network-interfaces. Additionally
I'm loosing my IPMI on shared LAN if I use a type 4 802.3ad Bond.

Thats what i have:

eth0___bond0_________br0 (192.168.252.x) for VMs/Hosts
eth1__/           \__bond0.10_ovirtmgmt (172.16.252.x, VLAN 10) for
Gluster, NFS, Migration, Management

Is this ok ?

Thanks a lot for your effort. I hope that I can give back something to
the community by actively using the mailing-list.

Bye

Am 18.05.2016 um 16:36 schrieb Simone Tiraboschi:
> Really really strange,
> adding Martin here.
>
>
>
> On Wed, May 18, 2016 at 4:32 PM, Ralf Schenk <rs at databay.de
> <mailto:rs at databay.de>> wrote:
>
>     Hello,
>
>     When I restart (systemctl restart ovirt-ha-broker ovirt-ha-agent)
>     broker seems to fail: (from journalctl -xe)
>
>     -- Unit ovirt-ha-agent.service has begun starting up.
>     May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]: Traceback
>     (most recent call last):
>     May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]: File
>     "/usr/share/ovirt-hosted-engine-ha/ovirt-ha-broker", line 25, in
>     <module>
>     May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]:
>     broker.Broker().run()
>     May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]: File
>     "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/broker.py",
>     line 56, in run
>     May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]:
>     self._initialize_logging(options.daemon)
>     May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]: File
>     "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/broker.py",
>     line 131, in _initialize_logging
>     May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]:
>     level=logging.DEBUG)
>     May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]: File
>     "/usr/lib64/python2.7/logging/__init__.py", line 1529, in basicConfig
>     May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]: hdlr =
>     FileHandler(filename, mode)
>     May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]: File
>     "/usr/lib64/python2.7/logging/__init__.py", line 902, in __init__
>     May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]:
>     StreamHandler.__init__(self, self._open())
>     May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]: File
>     "/usr/lib64/python2.7/logging/__init__.py", line 925, in _open
>     May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]: stream =
>     open(self.baseFilename, self.mode)
>     May 18 16:26:19 microcloud21 ovirt-ha-broker[2429]: IOError:
>     [Errno 6] No such device or address: '/dev/stdout'
>     May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]: Traceback (most
>     recent call last):
>     May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]: File
>     "/usr/share/ovirt-hosted-engine-ha/ovirt-ha-agent", line 25, in
>     <module>
>     May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]: agent.Agent().run()
>     May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]: File
>     "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py",
>     line 77, in run
>     May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]:
>     self._initialize_logging(options.daemon)
>     May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]: File
>     "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py",
>     line 159, in _initialize_logging
>     May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]:
>     level=logging.DEBUG)
>     May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]: File
>     "/usr/lib64/python2.7/logging/__init__.py", line 1529, in basicConfig
>     May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]: hdlr =
>     FileHandler(filename, mode)
>     May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]: File
>     "/usr/lib64/python2.7/logging/__init__.py", line 902, in __init__
>     May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]:
>     StreamHandler.__init__(self, self._open())
>     May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]: File
>     "/usr/lib64/python2.7/logging/__init__.py", line 925, in _open
>     May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]: stream =
>     open(self.baseFilename, self.mode)
>     May 18 16:26:19 microcloud21 ovirt-ha-agent[2430]: IOError: [Errno
>     6] No such device or address: '/dev/stdout'
>     May 18 16:26:19 microcloud21 systemd[1]: ovirt-ha-broker.service:
>     main process exited, code=exited, status=1/FAILURE
>     May 18 16:26:19 microcloud21 systemd[1]: Unit
>     ovirt-ha-broker.service entered failed state.
>     May 18 16:26:19 microcloud21 systemd[1]: ovirt-ha-broker.service
>     failed.
>     May 18 16:26:19 microcloud21 systemd[1]: ovirt-ha-agent.service:
>     main process exited, code=exited, status=1/FAILURE
>     May 18 16:26:19 microcloud21 systemd[1]: Unit
>     ovirt-ha-agent.service entered failed state.
>     May 18 16:26:19 microcloud21 systemd[1]: ovirt-ha-agent.service
>     failed.
>     May 18 16:26:19 microcloud21 systemd[1]: ovirt-ha-broker.service
>     holdoff time over, scheduling restart.
>
>     Of course /dev/stdout exists:
>
>     [root at microcloud21 ~]# ls -al /dev/stdout
>     lrwxrwxrwx 1 root root 15 May 18 12:29 /dev/stdout -> /proc/self/fd/1
>

-- 


*Ralf Schenk*
fon +49 (0) 24 05 / 40 83 70
fax +49 (0) 24 05 / 40 83 759
mail *rs at databay.de* <mailto:rs at databay.de>
	  	
*Databay AG*
Jens-Otto-Krag-Straße 11
D-52146 Würselen
*www.databay.de* <http://www.databay.de>

Sitz/Amtsgericht Aachen • HRB:8437 • USt-IdNr.: DE 210844202
Vorstand: Ralf Schenk, Dipl.-Ing. Jens Conze, Aresch Yavari, Dipl.-Kfm.
Philipp Hermanns
Aufsichtsratsvorsitzender: Klaus Scholzen (RA)

------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160519/bdd7fe31/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo_databay_email.gif
Type: image/gif
Size: 1250 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160519/bdd7fe31/attachment-0001.gif>


More information about the Users mailing list