Bug 990081 - [engine-backend] cannot add comment to host when host is up
Summary: [engine-backend] cannot add comment to host when host is up
Keywords:
Status: CLOSED DUPLICATE of bug 989493
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.3.0
Hardware: x86_64
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.3.0
Assignee: Yaniv Bronhaim
QA Contact:
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-30 10:53 UTC by Elad
Modified: 2016-02-10 19:38 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-04 08:24:02 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs and screenshot (162.93 KB, application/x-gzip)
2013-07-30 10:53 UTC, Elad
no flags Details

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 ***


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