Bug 990081

Summary: [engine-backend] cannot add comment to host when host is up
Product: Red Hat Enterprise Virtualization Manager Reporter: Elad <ebenahar>
Component: ovirt-engineAssignee: Yaniv Bronhaim <ybronhei>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, bazulay, ebenahar, iheim, lpeer, Rhev-m-bugs, yeylon, yzaslavs
Target Milestone: ---Keywords: Triaged
Target Release: 3.3.0   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-04 08:24:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
logs and screenshot none

Description Elad 2013-07-30 10:53:02 UTC
Created attachment 780553 [details]
logs and screenshot

Description of problem:
Adding comment to host while it's running failing with:
2013-07-30 13:46:42,560 ERROR [org.ovirt.engine.core.utils.ObjectIdentityChecker] (ajp-/127.0.0.1:8702-4) Field sshPort can not be updated when status is Up
2013-07-30 13:46:42,560 WARN  [org.ovirt.engine.core.utils.ObjectIdentityChecker] (ajp-/127.0.0.1:8702-4) ObjectIdentityChecker.IsUpdateValid:: Not updatable field 'sshPort' was updated
2013-07-30 13:46:42,560 WARN  [org.ovirt.engine.core.bll.UpdateVdsCommand] (ajp-/127.0.0.1:8702-4) CanDoAction of action UpdateVds failed. Reasons:VAR__ACTION__UPDATE,VAR__TYPE__HOST,VDS_STATUS_NOT_VALID_FOR_UPDATE

Version-Release number of selected component (if applicable):
rhevm-3.3.0-0.11.master.el6ev.noarch


How reproducible:
100%

Steps to Reproduce:
1. while host is running, under host tab in UI, edit host and add a comment.


Actual results:
adding comment to host while it's running fails. UI:
Error while executing action:

nott-vds2:

    Cannot edit Host. Host parameters cannot be modified while Host is operational.
    Please switch Host to Maintenance mode first.



Expected results:
There should not be any problem with adding comment to host while it's running

Additional info:
logs and screenshot

Comment 3 Barak 2013-08-01 12:00:43 UTC
Did it work on 3.2 ?

Comment 4 Elad 2013-08-01 12:13:07 UTC
(In reply to Barak from comment #3)
> Did it work on 3.2 ?

The comment field doesn't exist on 3.2

Comment 7 Yaniv Bronhaim 2013-08-04 08:24:02 UTC
This bug is already solved as part of Bug 989493. The field sshPort should be editable always, without dependency on host's status.

*** This bug has been marked as a duplicate of bug 989493 ***