Bug 1219051 - Running hosted-engine --vm-status, when ovirt-ha-broker service stopped, drop exception
Summary: Running hosted-engine --vm-status, when ovirt-ha-broker service stopped, drop...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-ha
Version: 3.5.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 3.5.3
Assignee: Martin Sivák
QA Contact: Artyom
URL:
Whiteboard: sla
Depends On: 1150073
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-06 13:39 UTC by rhev-integ
Modified: 2019-06-13 08:29 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
In self-hosted engine environments, a failed connection to the ovirt-ha-broker now returns a specific error message, rather than the full traceback.
Clone Of: 1150073
Environment:
Last Closed: 2015-06-15 13:17:24 UTC
oVirt Team: SLA
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 1436323 0 None None None Never
Red Hat Product Errata RHBA-2015:1108 0 normal SHIPPED_LIVE ovirt-hosted-engine-setup bug fix update 2015-06-15 17:17:11 UTC
oVirt gerrit 33933 0 master MERGED don't print stack trace when the ha broker is unreachable Never
oVirt gerrit 40734 0 None None None Never

Comment 2 Artyom 2015-05-31 14:19:21 UTC
Verified on ovirt-hosted-engine-ha-1.2.6-2.el7ev.noarch
After I stop ovirt-ha-agent
hosted-engine --vm-status
Failed to connect to broker, the number of errors has exceeded the limit (5)
Cannot connect to the HA daemon, please check the logs.

Comment 3 Nikolai Sednev 2015-05-31 14:21:04 UTC
[root@black-vdsb ~]# service ovirt-ha-broker stop                                                                                                          
Redirecting to /bin/systemctl stop  ovirt-ha-broker.service                                                                                                
[root@black-vdsb ~]# hosted-engine --vm-status                                                                                                             
Failed to connect to broker, the number of errors has exceeded the limit (5)                                                                               
Cannot connect to the HA daemon, please check the logs.                                                                                                    
[root@black-vdsb ~]# service ovirt-ha-broker start
Redirecting to /bin/systemctl start  ovirt-ha-broker.service
[root@black-vdsb ~]# hosted-engine --vm-status          


--== Host 1 status ==--

Status up-to-date                  : True
Hostname                           : black-vdsb.qa.lab.tlv.redhat.com
Host ID                            : 1
Engine status                      : null
Score                              : 0
Local maintenance                  : False
Host timestamp                     : 347687
Extra metadata (valid at timestamp):
        metadata_parse_version=1
        metadata_feature_version=1
        timestamp=347687 (Sun May 31 14:18:05 2015)
        host-id=1
        score=0
        maintenance=False
        state=ReinitializeFSM


[root@black-vdsb ~]# rpm -qa vdsm libvirt* sanlock* qemu-kvm* ovirt* mom
libvirt-python-1.2.8-7.el7_1.1.x86_64
libvirt-daemon-driver-nodedev-1.2.8-16.el7_1.3.x86_64
mom-0.4.1-5.el7ev.noarch
vdsm-4.16.18-1.el7ev.x86_64
sanlock-3.2.2-2.el7.x86_64
sanlock-lib-3.2.2-2.el7.x86_64
sanlock-python-3.2.2-2.el7.x86_64
ovirt-host-deploy-1.3.0-2.el7ev.noarch
libvirt-client-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-driver-nwfilter-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-config-nwfilter-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-driver-interface-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-driver-secret-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-driver-qemu-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-driver-storage-1.2.8-16.el7_1.3.x86_64
ovirt-hosted-engine-ha-1.2.6-2.el7ev.noarch
qemu-kvm-tools-rhev-2.1.2-23.el7_1.3.x86_64
qemu-kvm-rhev-2.1.2-23.el7_1.3.x86_64
libvirt-daemon-1.2.8-16.el7_1.3.x86_64
libvirt-lock-sanlock-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-driver-network-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-kvm-1.2.8-16.el7_1.3.x86_64
ovirt-hosted-engine-setup-1.2.4-2.el7ev.noarch
qemu-kvm-common-rhev-2.1.2-23.el7_1.3.x86_64

Comment 6 errata-xmlrpc 2015-06-15 13:17:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1108.html


Note You need to log in before you can comment on or make changes to this bug.