Bug 1476265 - The engine VM could not be registered to foreman/satellite from the engine
Summary: The engine VM could not be registered to foreman/satellite from the engine
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.HostedEngine
Version: 4.1.3.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.1.6
: 4.1.6.2
Assignee: Andrej Krejcir
QA Contact: Artyom
URL:
Whiteboard:
Depends On:
Blocks: 1484582
TreeView+ depends on / blocked
 
Reported: 2017-07-28 12:55 UTC by Simone Tiraboschi
Modified: 2017-09-19 10:01 UTC (History)
7 users (show)

Fixed In Version: ovirt-engine-4.1.6.2
Clone Of:
: 1484582 (view as bug list)
Environment:
Last Closed: 2017-09-19 10:01:34 UTC
oVirt Team: SLA
Embargoed:
rule-engine: ovirt-4.1+
rule-engine: ovirt-4.2+
mgoldboi: planning_ack+
msivak: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 80980 0 master MERGED core: Allow changing external provider on the hosted engine VM 2017-08-30 13:31:51 UTC
oVirt gerrit 81214 0 ovirt-engine-4.1 MERGED core: Allow changing external provider on the hosted engine VM 2017-08-30 15:07:09 UTC

Description Simone Tiraboschi 2017-07-28 12:55:56 UTC
Description of problem:
Trying to edit the engine VM from the engine in order to choose an external provider in the foreman/satellite sub-tab will lead to an error:
  There was an attempt to change Hosted Engine VM values that are locked.

The user can instead directly register the engine VM to foreman/satellite from shell.

Version-Release number of selected component (if applicable):
engine 4.1.3

How reproducible:
100%

Steps to Reproduce:
1. deploy hosted-engine and wait for the engine to import the engine VM
2. add your foreman/satellite as an external provider
3. try to edit the engine VM to attach it to foreman/satellite

Actual results:
  There was an attempt to change Hosted Engine VM values that are locked.

Expected results:
It attaches the engine VM to foreman/satellite

Additional info:

Comment 1 Doron Fediuck 2017-07-30 08:40:16 UTC
Care to attach the engine log?

Comment 3 Doron Fediuck 2017-08-09 12:51:46 UTC
Artyom can you reproduce this issue?

Comment 4 Artyom 2017-08-09 15:02:29 UTC
I just do not have an instance of foreman that configured as ovirt external provider, I will check among QE guys, maybe someone has one. But anyway it will take me sometime.

Comment 5 Artyom 2017-08-10 08:05:45 UTC
I found the satellite environment.

Steps:
1. Add satellite as external provider
2. Under Edit VM -> Foreman/Satellite -> Under provider choose you provider by name -> Ok

"""
Error while executing action: 

HostedEngine:
There was an attempt to change Hosted Engine VM values that are locked.
"""

Versions:
rhevm-4.1.4.2-0.1.el7.noarch
satellite-6.2.8-4.0.el7sat.noarch

Comment 6 rhev-integ 2017-08-31 16:51:35 UTC
INFO: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Tag 'ovirt-engine-4.1.6.1' doesn't contain patch 'https://gerrit.ovirt.org/81214']
gitweb: https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=refs/tags/ovirt-engine-4.1.6.1

For more info please contact: infra

Comment 7 Artyom 2017-09-07 12:41:21 UTC
Verified on rhevm-4.1.6.2-0.1.el7.noarch


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