Hi Paul,

I got it now.


Thanks a lot,


Jingjie


On 1/16/20 5:02 AM, Staniforth, Paul wrote:
Hi Jingjie,
                   It sounds like you are using linux hosts try yum check-update and yum update. The ovirt-node-ng-image-update is for when you have installed oVirt Node, you can't change from an enterprise linux host to a node without deleting the host and reinstalling using the oVirt node iso as it installs to a bare-metal system.

https://www.ovirt.org/documentation/install-guide/chap-Introduction_to_Hosts.html
Introduction to Hosts | oVirt <https://www.ovirt.org/documentation/install-guide/chap-Introduction_to_Hosts.html> Host Type Other Names Description; oVirt Node: Thin host: This is a minimal operating system based on Enterprise Linux. It is distributed as an ISO file and contains only the packages required for the machine to act as a host.
www.ovirt.org

Regards,
                Paul S.
------------------------------------------------------------------------
*From:* Jingjie Jiang <jingjie.ji...@oracle.com>
*Sent:* 15 January 2020 18:25
*To:* Staniforth, Paul <p.stanifo...@leedsbeckett.ac.uk>; Parth Dhanjal <dpa...@redhat.com>
*Cc:* users <users@ovirt.org>
*Subject:* Re: [ovirt-users] Re: upgrade issue

*Caution External Mail:* Do not click any links or open any attachments unless you trust the sender and know that the content is safe.

Hi Paul,

Thanks for your reply.

I did install ovirt-release43 before I install the ovirt-node-ng-image-update package.


Here is the brief procedure:

1. Install the 4.2.8 ovirt host on CentOS7.6 by adding the node from AdminPortal.

2. Upgrade ovirt 4.2.8 engine to 4.3.6.

3. Set the host to maintainence from AdminPortal.

4. Yum install ovirt-release43 rpm

    # yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm <https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fresources.ovirt.org%2Fpub%2Fyum-repo%2Fovirt-release43.rpm&data=02%7C01%7CP.Staniforth%40leedsbeckett.ac.uk%7C0d525d532c154c58539e08d799e7fb77%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637147093957065741&sdata=uq2mpS1NASO%2BnSzePccVJRm4m8DxgunPDZZelqf3Y6E%3D&reserved=0>

5.Yum install node update package

   # yum install https://resources.ovirt.org/pub/ovirt-4.3/rpm/el7/noarch/ovirt-node-ng-image-update-4.3.6-1.el7.noarch.rpm <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fresources.ovirt.org%2Fpub%2Fovirt-4.3%2Frpm%2Fel7%2Fnoarch%2Fovirt-node-ng-image-update-4.3.6-1.el7.noarch.rpm&data=02%7C01%7CP.Staniforth%40leedsbeckett.ac.uk%7C0d525d532c154c58539e08d799e7fb77%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637147093957075730&sdata=rvoaa06KnxYN18Caz9Sn7CuEwOwcKuJHCw6%2BBaPbLoY%3D&reserved=0>

6. reboot


vdsm did not get update.


-Jingjie


On 1/15/20 6:14 AM, Staniforth, Paul wrote:
Hel# yum install https://resources.ovirt.org/pub/ovirt-4.3/rpm/el7/noarch/ovirt-node-ng-image-update-4.3.6-1.el7.noarch.rpmlo <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fresources.ovirt.org%2Fpub%2Fovirt-4.3%2Frpm%2Fel7%2Fnoarch%2Fovirt-node-ng-image-update-4.3.6-1.el7.noarch.rpmlo&data=02%7C01%7CP.Staniforth%40leedsbeckett.ac.uk%7C0d525d532c154c58539e08d799e7fb77%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637147093957075730&sdata=IBTU5Yz8N4Z0dpBynepNMTiHjpgRZgRyPsz3zB96G%2FY%3D&reserved=0> Jingjie,                        I think you need to install https://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fresources.ovirt.org%2Fpub%2Fyum-repo%2Fovirt-release43.rpm&data=02%7C01%7CP.Staniforth%40leedsbeckett.ac.uk%7C0d525d532c154c58539e08d799e7fb77%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637147093957085722&sdata=QTYjvkIEg%2FZTnXSeatNEDEtxXVnYR2r4qdPk77i9%2FZA%3D&reserved=0> so yum updates to the 4.3 release otherwise it will stay on the 4.2 release (4.2.8 being the last version).


Regards,
           Paul S.
------------------------------------------------------------------------
*From:* Jingjie Jiang <jingjie.ji...@oracle.com> <mailto:jingjie.ji...@oracle.com>
*Sent:* 14 January 2020 15:30
*To:* Parth Dhanjal <dpa...@redhat.com> <mailto:dpa...@redhat.com>
*Cc:* users <users@ovirt.org> <mailto:users@ovirt.org>
*Subject:* [ovirt-users] Re: upgrade issue

*Caution External Mail:* Do not click any links or open any attachments unless you trust the sender and know that the content is safe.

Hi Path,

Thanks for your rely.

Please check my inline comments

-Jingjie

On 1/14/20 2:28 AM, Parth Dhanjal wrote:
Hello Jingjie!

You can follow https://www.ovirt.org/documentation/upgrade-guide/chap-Upgrading_from_4.1_to_oVirt_4.2.html <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fdocumentation%2Fupgrade-guide%2Fchap-Upgrading_from_4.1_to_oVirt_4.2.html&data=02%7C01%7CP.Staniforth%40leedsbeckett.ac.uk%7C0d525d532c154c58539e08d799e7fb77%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637147093957085722&sdata=C6%2FuglodX63AQ1hVfs1BD0xGfwNTbarjgRiHtGlN2vI%3D&reserved=0>

I tried the above link before and it worked.

But, I'd like to know how  the upgrade with ovirt-node-ng-image-update package works.

Any suggestion about the issue I reported in previous email?

Also, about the link you pointed, "imgbase check" command crashed when I ran from the ovirt host based on CentOS:

# imgbase check
Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.7/site-packages/imgbased/__main__.py", line 53, in <module>
    CliApplication()
  File "/usr/lib/python2.7/site-packages/imgbased/__init__.py", line 82, in CliApplication
    app.hooks.emit("post-arg-parse", args)
  File "/usr/lib/python2.7/site-packages/imgbased/hooks.py", line 120, in emit
    cb(self.context, *args)
  File "/usr/lib/python2.7/site-packages/imgbased/plugins/core.py", line 185, in post_argparse
    run_check(app)
  File "/usr/lib/python2.7/site-packages/imgbased/plugins/core.py", line 225, in run_check
    status = Health(app).status()
  File "/usr/lib/python2.7/site-packages/imgbased/plugins/core.py", line 358, in status
    status.results.append(group().run())
  File "/usr/lib/python2.7/site-packages/imgbased/plugins/core.py", line 385, in check_thin
    pool = self.app.imgbase._thinpool()
  File "/usr/lib/python2.7/site-packages/imgbased/imgbase.py", line 120, in _thinpool
    return LVM.Thinpool.from_tag(self.thinpool_tag)
  File "/usr/lib/python2.7/site-packages/imgbased/lvm.py", line 227, in from_tag
    assert len(lvs) == 1
AssertionError



Under this link you can find a tab to upgrade the hosts. Instead of
https://resources.ovirt.org/pub/yum-repo/ovirt-release42.rpm <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fresources.ovirt.org%2Fpub%2Fyum-repo%2Fovirt-release42.rpm&data=02%7C01%7CP.Staniforth%40leedsbeckett.ac.uk%7C0d525d532c154c58539e08d799e7fb77%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637147093957095719&sdata=cTCFnLAMKRysDHQNjGtMVFwxIqllL9LCOJPEbjuZ%2BFQ%3D&reserved=0> You can use https://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fresources.ovirt.org%2Fpub%2Fyum-repo%2Fovirt-release43.rpm&data=02%7C01%7CP.Staniforth%40leedsbeckett.ac.uk%7C0d525d532c154c58539e08d799e7fb77%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637147093957095719&sdata=j3E2k9x3%2FVUod%2F5oYu9FpAN%2FB1us5fnWbKV4lAlk15o%3D&reserved=0>

Regards
Parth Dhanjal

On Mon, Jan 13, 2020 at 11:44 PM <jingjie.ji...@oracle.com <mailto:jingjie.ji...@oracle.com>> wrote:

    Hello,

    By following the instruction at
    
https://www.ovirt.org/documentation/upgrade-guide/appe-Manually_Updating_Hosts.html
    
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fdocumentation%2Fupgrade-guide%2Fappe-Manually_Updating_Hosts.html&data=02%7C01%7CP.Staniforth%40leedsbeckett.ac.uk%7C0d525d532c154c58539e08d799e7fb77%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637147093957105709&sdata=88L9XXM2HHYetjW6dADd9DCTJsSh2XvQvfjUFKCtCEI%3D&reserved=0>,
    I tried to upgrade host from 4.2.8(CentOS 7.6) to 4.3.7.
    After the reboot, the host still running 4.2.8 vdsm.
     # rpm -qa | grep vdsm
    vdsm-common-4.20.46-1.el7.noarch
    vdsm-yajsonrpc-4.20.46-1.el7.noarch
    vdsm-hook-vhostmd-4.20.46-1.el7.noarch
    vdsm-4.20.46-1.el7.x86_64
    vdsm-client-4.20.46-1.el7.noarch
    vdsm-python-4.20.46-1.el7.noarch
    vdsm-hook-fcoe-4.20.46-1.el7.noarch
    vdsm-network-4.20.46-1.el7.x86_64
    vdsm-jsonrpc-4.20.46-1.el7.noarch
    vdsm-hook-vmfex-dev-4.20.46-1.el7.noarch
    vdsm-http-4.20.46-1.el7.noarch
    vdsm-api-4.20.46-1.el7.noarch
    vdsm-hook-ethtool-options-4.20.46-1.el7.noarch
    vdsm-hook-openstacknet-4.20.46-1.el7.noarch
    [root@ovs260 ~]#


    Looks like the upgrade did not take place as expected.
    Any clue?

    Thanks in advance,
    Jingjie
    _______________________________________________
    Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
    To unsubscribe send an email to users-le...@ovirt.org
    <mailto:users-le...@ovirt.org>
    Privacy Statement: https://www.ovirt.org/site/privacy-policy/
    
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fsite%2Fprivacy-policy%2F&data=02%7C01%7CP.Staniforth%40leedsbeckett.ac.uk%7C0d525d532c154c58539e08d799e7fb77%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637147093957105709&sdata=KFXWu9aeyOTN1u0Q5FvQ4fdl8rObQy7ialJxIuehhss%3D&reserved=0>
    oVirt Code of Conduct:
    https://www.ovirt.org/community/about/community-guidelines/
    
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fcommunity%2Fabout%2Fcommunity-guidelines%2F&data=02%7C01%7CP.Staniforth%40leedsbeckett.ac.uk%7C0d525d532c154c58539e08d799e7fb77%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637147093957115703&sdata=36TcFdd7QnCV3eyWYKuPoSu2kWBvoQZNDYDz%2Fe6sQeI%3D&reserved=0>
    List Archives:
    
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BLE3M55EMIDECUEZ6XWIFYNRHGDYO7RA/
    
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.ovirt.org%2Farchives%2Flist%2Fusers%40ovirt.org%2Fmessage%2FBLE3M55EMIDECUEZ6XWIFYNRHGDYO7RA%2F&data=02%7C01%7CP.Staniforth%40leedsbeckett.ac.uk%7C0d525d532c154c58539e08d799e7fb77%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637147093957115703&sdata=0w7wBVTxn8lQyOmRA%2F5iLpx4qYteYU2NSIkD%2F5EzF2w%3D&reserved=0>

To view the terms under which this email is distributed, please go to:-
http://leedsbeckett.ac.uk/disclaimer/email/
To view the terms under which this email is distributed, please go to:-
http://leedsbeckett.ac.uk/disclaimer/email/

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/KERM3W5G5OI3HSKHU42NWCR77HHZ2JTG/
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/W6RAK7KDKFHH6FHKBYMHGQY3M7QHN5ZA/

Reply via email to