Bug 1444450 - 3.6ngn cannot be reinstalled on 4.1 engine
Summary: 3.6ngn cannot be reinstalled on 4.1 engine
Keywords:
Status: CLOSED DUPLICATE of bug 1443508
Alias: None
Product: ovirt-host-deploy
Classification: oVirt
Component: General
Version: master
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Yedidyah Bar David
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-21 11:01 UTC by Jiri Belka
Modified: 2017-04-25 14:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-25 14:00:28 UTC
oVirt Team: Integration
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1431226 0 unspecified CLOSED ngn is not detected as hypervisor (vds_type = 1) in 3.6 engine 2022-06-30 08:40:42 UTC
Red Hat Bugzilla 1433434 0 unspecified CLOSED 3.6ngn cannot be added into 3.6 cluster in 4.1 engine 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1445297 0 unspecified CLOSED [RFE] make db upgrade scripts update vds_type of 'Red Hat Virtualization Host X.Y (elX.Y)' to correct value during updat... 2021-02-22 00:41:40 UTC

Internal Links: 1431226 1433434 1445297

Description Jiri Belka 2017-04-21 11:01:58 UTC
Description of problem:

3.6ngn which was added in time of 3.6 engine, this engine got updated to 4.0 and 4.1 later on, cannot be successfully "Reinstall"-ed - ie. to make DB change vds_type to '1' - because of 'collectd issue' (https://bugzilla.redhat.com/show_bug.cgi?id=1433434)

this BZ is opened for consideration if we could not update vds_type invisibly as we already know by other ways that 3.6 ngn is rhvh - see 'pretty_name' in the vds table below.

this will impact scenario considered by ykaul@ at https://bugzilla.redhat.com/show_bug.cgi?id=1431226#c40

2017-04-21 12:47:52 ERROR otopi.plugins.otopi.packagers.yumpackager yumpackager.error:85 Yum Cannot queue package collectd: Package collectd cannot be found
2017-04-21 12:47:52 DEBUG otopi.context context._executeMethod:142 method exception
Traceback (most recent call last):
  File "/tmp/ovirt-iOzUcZ31yl/pythonlib/otopi/context.py", line 132, in _executeMethod
    method['method']()
  File "/tmp/ovirt-iOzUcZ31yl/otopi-plugins/ovirt-host-deploy/collectd/packages.py", line 53, in _packages
    'collectd-write_http',
  File "/tmp/ovirt-iOzUcZ31yl/otopi-plugins/otopi/packagers/yumpackager.py", line 307, in installUpdate
    ignoreErrors=ignoreErrors
  File "/tmp/ovirt-iOzUcZ31yl/pythonlib/otopi/miniyum.py", line 883, in installUpdate
    **kwargs
  File "/tmp/ovirt-iOzUcZ31yl/pythonlib/otopi/miniyum.py", line 500, in _queue
    package=package,
RuntimeError: Package collectd cannot be found

engine=# select vds_name,pretty_name,rpm_version,vds_type from vds;
    vds_name    |               pretty_name               |     rpm_version      | vds_type 
----------------+-----------------------------------------+----------------------+----------
 dell-r210ii-13 | Red Hat Virtualization Host 3.6 (el7.3) | vdsm-4.17.39-1.el7ev |        0
(1 row)

engine=#

Version-Release number of selected component (if applicable):
ovirt-host-deploy-1.6.3-1.el7ev.noarch
ovirt-engine-4.1.1.8-0.1.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. install 3.6ngn in 3.6 engine
2. update only engine to 4.0 and then to 4.1
3. put 3.6 ngn into maintenance and click reinstall

Actual results:
reinstall failure

Expected results:
not sure what we expect here...

Additional info:
just be aware that 4.1 ngn is shipped to 'rhel-7-server-rhvh-4-rpms', thus if a customer upgrades engine to 4.1 then the host would not be usable; it does work fine in 4.0 engine as this engine version doesn't require as mandatory collectd etc...

various details and comments can be found in https://bugzilla.redhat.com/show_bug.cgi?id=1433434

Comment 1 Jiri Belka 2017-04-21 11:03:48 UTC
3.6 ngn was rhvh-3.6-0.20170413.0+1

Comment 2 Yedidyah Bar David 2017-04-23 09:10:25 UTC
(In reply to Jiri Belka from comment #0)
> Description of problem:
> 
> 3.6ngn which was added in time of 3.6 engine, this engine got updated to 4.0
> and 4.1 later on, cannot be successfully "Reinstall"-ed - ie. to make DB
> change vds_type to '1' - because of 'collectd issue'
> (https://bugzilla.redhat.com/show_bug.cgi?id=1433434)
> 
> this BZ is opened for consideration if we could not update vds_type
> invisibly as we already know by other ways that 3.6 ngn is rhvh - see
> 'pretty_name' in the vds table below.

I have no idea, but if that's what you want, it's not a bug in host-deploy - host-deploy does not update the db.

Please describe exactly what you want.

Comment 3 Oved Ourfali 2017-04-23 12:02:50 UTC
I guess that's the same issue as Bug 1433434.

Comment 5 Jiri Belka 2017-04-25 13:01:41 UTC
A RFE to correct DB transparently during upgrade if vds_type is wrong for 'Red Hat Virtualization Host X.Y (elX.Y)' in pretty_name column, suggested by danken@

  https://bugzilla.redhat.com/show_bug.cgi?id=1445297

Comment 6 Yedidyah Bar David 2017-04-25 13:59:23 UTC
Seems like we decided to fix the collectd issue, see bug 1443508. Can we close current?

Comment 7 Dan Kenigsberg 2017-04-25 14:00:28 UTC

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


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