Bug 1816619 - [RFE] Enable update of appliance from channels after VM is deployed
Summary: [RFE] Enable update of appliance from channels after VM is deployed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-ansible-collection
Classification: oVirt
Component: hosted-engine-setup
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.4.0
: 1.1.2
Assignee: Asaf Rachmani
QA Contact: Nikolai Sednev
URL:
Whiteboard:
Depends On:
Blocks: 1835631
TreeView+ depends on / blocked
 
Reported: 2020-03-24 11:45 UTC by Sandro Bonazzola
Modified: 2020-08-05 06:09 UTC (History)
4 users (show)

Fixed In Version: ovirt-ansible-hosted-engine-setup-1.1.2
Clone Of:
: 1835631 (view as bug list)
Environment:
Last Closed: 2020-08-05 06:09:50 UTC
oVirt Team: Integration
Embargoed:
sbonazzo: ovirt-4.4?
sbonazzo: planning_ack?
sbonazzo: devel_ack+
sbonazzo: testing_ack?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-ansible-hosted-engine-setup issues 280 0 None closed [RFE] Enable update of appliance from channels after VM is deployed 2021-02-06 17:31:22 UTC
Github oVirt ovirt-ansible-hosted-engine-setup pull 313 0 None closed Use he_offline_deployment if explicitly set 2021-02-06 17:31:23 UTC
Github oVirt ovirt-ansible-hosted-engine-setup pull 315 0 None closed Use he_additional_package_list if explicitly set 2021-02-06 17:31:23 UTC

Internal Links: 1851860

Description Sandro Bonazzola 2020-03-24 11:45:54 UTC
Initially reported as https://github.com/oVirt/ovirt-ansible-hosted-engine-setup/issues/280

Comment 1 Lukas Svaty 2020-03-26 16:52:12 UTC
One note, it would be beneficial for QE to be able to inject also repositories (or packages) so we would have something to update to.

Comment 2 Nikolai Sednev 2020-04-21 13:30:42 UTC
With regular manual deployment I see these in engine setup's log:

nsednev-he-1 ~]# cat /var/log/ovirt-engine/setup/ovirt-engine-setup-20200420163013-g3ffsj.log | grep packagesUpgradeList
2020-04-20 16:30:15,747+0300 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[]'
2020-04-20 16:30:17,704+0300 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[{'packages': ['ovirt-engine-extension-aaa-jdbc']}]'
2020-04-20 16:30:17,771+0300 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[{'packages': ['ovirt-engine-extension-aaa-jdbc']}, {'packages': ['ovirt-engine', 'ovirt-engine-ui-extensions', 'ovirt-web-ui', 'rhvm-branding-rhv', 'ovirt-log-collector']}]'
2020-04-20 16:30:17,791+0300 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[{'packages': ['ovirt-engine-extension-aaa-jdbc']}, {'packages': ['ovirt-engine', 'ovirt-engine-ui-extensions', 'ovirt-web-ui', 'rhvm-branding-rhv', 'ovirt-log-collector']}, {'packages': ['ovirt-engine-websocket-proxy']}]'
2020-04-20 16:30:17,802+0300 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[{'packages': ['ovirt-engine-extension-aaa-jdbc']}, {'packages': ['ovirt-engine', 'ovirt-engine-ui-extensions', 'ovirt-web-ui', 'rhvm-branding-rhv', 'ovirt-log-collector']}, {'packages': ['ovirt-engine-websocket-proxy']}, {'packages': ['ovirt-engine-dwh']}]'
2020-04-20 16:30:19,296+0300 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[{'packages': ['ovirt-engine-extension-aaa-jdbc']}, {'packages': ['ovirt-engine', 'ovirt-engine-ui-extensions', 'ovirt-web-ui', 'rhvm-branding-rhv', 'ovirt-log-collector']}, {'packages': ['ovirt-engine-websocket-proxy']}, {'packages': ['ovirt-engine-dwh']}]'
2020-04-20 16:35:19,147+0300 DEBUG otopi.context context.dumpEnvironment:775 ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[{'packages': ['ovirt-engine-extension-aaa-jdbc']}, {'packages': ['ovirt-engine', 'ovirt-engine-ui-extensions', 'ovirt-web-ui', 'rhvm-branding-rhv', 'ovirt-log-collector']}, {'packages': ['ovirt-engine-websocket-proxy']}, {'packages': ['ovirt-engine-dwh']}]'

Tested on:
ovirt-ansible-hosted-engine-setup-1.1.2-1.el8ev.noarch
ovirt-hosted-engine-ha-2.4.2-1.el8ev.noarch
ovirt-hosted-engine-setup-2.4.4-1.el8ev.noarch
Linux 4.18.0-193.el8.x86_64 #1 SMP Fri Mar 27 14:35:58 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux release 8.2 (Ootpa)

Comment 3 Nikolai Sednev 2020-04-21 14:43:44 UTC
Please provide clear reproduction steps for verification and proper documentation.

Comment 4 Asaf Rachmani 2020-04-26 12:37:31 UTC
(In reply to Nikolai Sednev from comment #3)
> Please provide clear reproduction steps for verification and proper
> documentation.

Write Ansible playbooks that will run on the engine VM before engine-setup
https://github.com/oVirt/ovirt-ansible-hosted-engine-setup#make-changes-in-the-engine-vm-during-the-deployment

You can use these references in order to create the Ansible playbooks:
For subscription: https://docs.ansible.com/ansible/latest/modules/redhat_subscription_module.html
For repo enable: https://docs.ansible.com/ansible/latest/modules/rhsm_repository_module.html

After HE installation finishes, look for `--== PACKAGES ==--` in engine setup log on the engine VM.

Comment 5 Nikolai Sednev 2020-06-18 15:53:39 UTC
Works for me on these components:
Software Version:4.4.1.2-0.10.el8ev
rhvm-appliance-4.4-20200604.0.el8ev.x86_64
ovirt-hosted-engine-setup-2.4.4-1.el8ev.noarch
ovirt-hosted-engine-ha-2.4.3-1.el8ev.noarch
Linux 4.18.0-193.9.1.el8_2.x86_64 #1 SMP Sun Jun 14 15:03:05 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux release 8.2 (Ootpa)

Comment 8 Sandro Bonazzola 2020-08-05 06:09:50 UTC
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020.

Since the problem described in this bug report should be
resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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