Bug 1152958

Summary: An error occurred while applying SNMP changes
Product: Red Hat Enterprise Virtualization Manager Reporter: cshao <cshao>
Component: ovirt-nodeAssignee: Anatoly Litovsky <tlitovsk>
Status: CLOSED NEXTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 3.5.0CC: cshao, dougsland, ecohen, fdeutsch, gklein, hadong, huiwa, leiwang, lsurette, rbarry, yaniwang, ycui
Target Milestone: ---   
Target Release: 3.5.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: node
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-27 12:36:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1094719    
Attachments:
Description Flags
ovirt-node.log
none
ovirt-hosted-engine-setup1.log
none
ovirt-hosted-engine-setup2.log none

Description cshao 2014-10-15 09:32:32 UTC
Created attachment 947171 [details]
ovirt-node.log

Description of problem:
An error occurred while applying SNMP changes after configured Hosted-Engine.

Checking pre-conditions ...
(1/1) Enabling SNMP and setting the password 
An error occurred while applying the changes: 
Command '['firewall-cmd', '--reload']' returned non-zero exit status 252


Version-Release number of selected component (if applicable):
rhev-hypervisor7-7.0-20141006.0.el7ev.noarch
ovirt-node-3.1.0-0.20.20141006gitc421e04.el7.noarch
ovirt-node-plugin-hosted-engine-0.2.0-2.0.el7.x86_64
ovirt-hosted-engine-setup-1.2.1-1.el7.noarch
ovirt-host-deploy-1.3.0-1.el7.noarch
ovirt-hosted-engine-ha-1.2.2-2.el7.noarch
rhevm-appliance-20141006.0-1.x86_64.rhevm.ova

How reproducible:
100%

Steps to Reproduce:
1. Install rhev-hypervisor7-7.0-20141006.0.el7ev.
2. Configure hosted engine using OVA option.
3. Enable SNMP with correct password.

Actual results:
An error occurred while applying SNMP changes after configured Hosted-Engine.

Expected results:
Configure SNMP can succeed even if user have configured Hosted-Engine.

Additional info:
No such issue if used didn't configure Hosted-Engine.

Comment 1 cshao 2014-10-15 09:33:19 UTC
Created attachment 947173 [details]
ovirt-hosted-engine-setup1.log

Comment 2 cshao 2014-10-15 09:33:49 UTC
Created attachment 947174 [details]
ovirt-hosted-engine-setup2.log

Comment 5 Fabian Deutsch 2015-02-26 09:17:54 UTC
This looks more like a generic bug, a firewalld cmd is called, even if firewalld is not available at that time.

Comment 6 Fabian Deutsch 2015-02-26 09:29:33 UTC
It is not blocking the functionality of the HE plugin

Comment 7 Fabian Deutsch 2015-04-27 14:40:34 UTC
This bug is already fixed as part of bug 1150328.

Once QE can confirm that this bug is fixed with EH as well we can close it.

Comment 8 cshao 2015-05-04 06:22:49 UTC
(In reply to Fabian Deutsch from comment #7)
> This bug is already fixed as part of bug 1150328.
> 
> Once QE can confirm that this bug is fixed with EH as well we can close it.

The latest build which include HE package is rhev-hypervisor6-6.6-20150402.0.

Test version:
rhev-hypervisor6-6.6-20150402.0
ovirt-node-3.2.2-3.el6.noarch
ovirt-hosted-engine-ha-1.2.5-1.el6ev.noarch
ovirt-node-plugin-hosted-engine-0.2.0-15.0.el6ev.noarch
ovirt-hosted-engine-setup-1.2.2-3.el6ev.noarch
ovirt-host-deploy-1.3.0-2.el6ev.noarch

Test steps:
1. Install rhev-hypervisor6-6.6-20150402.0
2. Configure hosted engine using OVA option.
3. Enable SNMP with correct password.

Test result:
Configure SNMP can succeed even if user have configured Hosted-Engine.

So the bug is fixed with HE as well.

Comment 9 Fabian Deutsch 2015-05-27 12:36:47 UTC
Closing this bug according to the testing in comment 8