3 Replies Latest reply on Dec 24, 2013 11:29 PM by btlyric

    upgrade 7.2.0.9 -> 7.4.0.1

    btlyric

      What's the appropriate upgrade path from 7.2.0.9 to 7.4.0.1?

       

      The release notes say to use mwg-switch-repo, but that doesn't exist until 7.3.

       

      Message was edited by: btlyric on 12/20/13 5:15:46 PM CST
        • 1. Re: upgrade 7.2.0.9 -> 7.4.0.1
          Jon Scholten

          I havent been able to test this yet, but you can still use the 7.3 yumconf package, once installed, you will have the mwg-dist-upgrade and mwg-switch-repo commands available

           

          yum install yumconf-7.3-mwg

          mwg-dist-upgrade <version number>

           

          I'll give it a shot on one my VM's and report back.

           

          Best,

          Jon

          • 2. Re: upgrade 7.2.0.9 -> 7.4.0.1
            Jon Scholten

            After running 'yum install yumconf-7.3-mwg' the 'mwg-dist-upgrade' command was available, but 'mwg-switch-repo' was not.

             

            In any case you should run the mwg-dist-upgrade anyways.

             

            Here is an example:

            mwg-dist-upgrade 7.4.0.1

             

            Best,

            Jon

             

            Message was edited by: jscholte -- grammar on 12/23/13 2:45:41 PM CST
            • 3. Re: upgrade 7.2.0.9 -> 7.4.0.1
              btlyric

              yum install yumconf-7.3-mwg worked

               

              mwg-dist-upgrade 7.4.0.1 wasn't as successful

               

              mwg-release-7.3.0.2.0-14242.mlos2.mwg.noarch

               

              Towards the end of the process, this was reported:

               

              Loaded plugins: changelog, downloadonly, fastestmirror

              Determining fastest mirrors

              http://appliance.webwasher.com/mwg/7.3.0.2/base/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'appliance.webwasher.com'"

              Trying other mirror.

              Error: Cannot retrieve repository metadata (repomd.xml) for repository: mlos2. Please verify its path and try again

              Error during upgrade, rolling back

              ****************************************

              Upgrade to MLOS 2 failed. Please examine

              /opt/mwg/log/update/mlos2.upgrade.log

              for errors.

               

              Checked named -- not running.

               

              Attempted to start named and it failed to start with

              kernel: named[27431]: segfault at 0 ip 00007f6ab7c89145 sp 00007fff4118f218 error 6 in libcrypto.so.1.0.1c[7f6ab7bc8000+1fb000]

               

              Edited /etc/resolv.conf and pointed nameserver to a local (known working) namedserver.

               

              Ran mwg-switch-repo and set it to 7.4.0.1:

               

              mwg-switch-repo --sticky 7.4.0.1

              Creating repository configuration for Sticky MWG 7.4.0.1 (release)

              Repository configuration has been updated.

              Now run "yum upgrade" to perform the actual upgrade.

               

              Ran yum upgrade

               

              Things seemed to go well, but post-upgrade I was no longer able to sudo.

               

              Logged in via GUI -- at least one screen said 7.3.2.

               

              Given the cumulative issues, despite the amount of pain it's going to cause, I'm now leaning toward doing a clean install of 7.4 for all of our MWG systems.

               

              Happy Holidays!