로그인

검색

마그레이션 중 오류로 중단

CentOS 8에서 Stream 으로 마그레이션 한 상태에서,

Rocky Linux로 마그레이션을 시도 하였습니다.

 

마그레이션 도중 package swap 과정에서

stream-extras 다운로드에 실패하여 중단되었습니다.

 

> Leaving Shell
Ensuring repos are enabled before the package swap
Enabling modules

CentOS Stream 8 - AppStream                     7.6 MB/s |  20 MB     00:02
CentOS Stream 8 - BaseOS                        4.1 MB/s |  19 MB     00:04
CentOS Stream 8 - Extras                        0.0  B/s |   0  B     00:01
Errors during downloading metadata for repository 'stream-extras':

  - Curl error (7): Couldn't connect to server for http://mirror.centos.org/centos/8-stream/extras/x86_64/os/repodata/ba8de6b194881c6161dd5e65d1a8bb4abc6911d55379b1eda31b3d54f48c2530-filelists.xml.gz [Failed to connect to mirror.centos.org port 80: Connection refused]
  - Curl error (7): Couldn't connect to server for http://mirror.centos.org/centos/8-stream/extras/x86_64/os/repodata/a44229553edd97f16d8f3b0b9789f0dcdb2802f77c6ce6ef1bb5de529eddfb6f-primary.xml.gz [Failed to connect to mirror.centos.org port 80: Connection refused]
Error: Failed to download metadata for repo 'stream-extras': Yum repo downloading error: Downloading error(s): repodata/a44229553edd97f16d8f3b0b9789f0dcdb2802f77c6ce6ef1bb5de529eddfb6f-primary.xml.gz - Cannot download, all mirrors were already tried without success; repodata/ba8de6b194881c6161dd5e65d1a8bb4abc6911d55379b1eda31b3d54f48c2530-filelists.xml.gz - Cannot download, all mirrors were already tried without success

Can't enable modules httpd:2.4 mysql:8.0 nginx:1.14 nodejs:10 perl-IO-Socket-SSL:2.066 perl-libwww-perl:6.34 perl:5.26 php:7.2 python36:3.6 satellite-5-client:1.0 virt:rhel

An error occurred while we were attempting to convert your system to Rocky Linux. Your system may be unstable. Script will now exit to prevent possible damage.

 A log of this installation can be found at /var/log/migrate2rocky.log
 

 

 

마그레이션을 이어가려면 어떻게 해야 할까요?

혹은

복구 하려면 어떻게 해야 할까요?

 

 

 

 

 

 

 

전체 마그레이션 과정

========

:~$ sudo bash migrate2rocky.sh -r
migrate2rocky - Begin logging at 2022년 03월 23일 (수) 오후 12시 47분 15초.


Removing dnf cache
Preparing to migrate CentOS Stream 8 to Rocky Linux 8.

Determining repository names for CentOS Stream 8......

Found the following repositories which map from CentOS Stream 8 to Rocky Linux 8:
CentOS Stream 8  Rocky Linux 8
appstream        appstream
baseos           baseos
extras           extras

Getting system package names for CentOS Stream 8..........

Found the following system packages which map from CentOS Stream 8 to Rocky Linux 8:
CentOS Stream 8        Rocky Linux 8
centos-logos-ipa       rocky-logos-ipa
centos-backgrounds     rocky-backgrounds
centos-gpg-keys        rocky-gpg-keys
centos-logos           rocky-logos
centos-indexhtml       rocky-indexhtml
centos-stream-release  rocky-release
centos-logos-httpd     rocky-logos-httpd
centos-stream-repos    rocky-repos

Getting list of installed system packages.

We will replace the following CentOS Stream 8 packages with their Rocky Linux 8 equivalents
Packages to be Removed  Packages to be Installed
centos-gpg-keys         rocky-gpg-keys
centos-logos            rocky-logos
centos-stream-release   rocky-release
centos-logos-httpd      rocky-logos-httpd
                        rocky-repos

Getting a list of enabled modules for the system repositories.

Also to aid the transition from CentOS Stream the following packages will be removed from the rpm database but the included repos will be renamed and retained but disabled:
centos-stream-repos

In addition to the above the following system packages will be removed:
centos-stream-release
centos-stream-release

Excluding modules:
libselinux-python:2.8

Found the following modules to re-enable at completion:
httpd:2.4
mysql:8.0
nginx:1.14
nodejs:10
perl-IO-Socket-SSL:2.066
perl-libwww-perl:6.34
perl:5.26
php:7.2
python36:3.6
satellite-5-client:1.0
virt:rhel

Running dnf update before we attempt the migration.
Last metadata expiration check: 0:00:38 ago on Wed Mar 23 12:47:36 2022.
Dependencies resolved.
================================================================================
 Package                   Architecture   Version            Repository    Size
================================================================================
Upgrading:
 epel-release              noarch         8-15.el8           epel          23 k
Installing weak dependencies:
 epel-next-release         noarch         8-15.el8           epel          10 k

Transaction Summary
================================================================================
Install  1 Package
Upgrade  1 Package

Total download size: 33 k
Downloading Packages:
(1/2): epel-next-release-8-15.el8.noarch.rpm    8.3 kB/s |  10 kB     00:01
(2/2): epel-release-8-15.el8.noarch.rpm          14 kB/s |  23 kB     00:01
--------------------------------------------------------------------------------
Total                                            11 kB/s |  33 kB     00:03
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Running scriptlet: epel-release-8-15.el8.noarch                           1/1
  Upgrading        : epel-release-8-15.el8.noarch                           1/3
  Installing       : epel-next-release-8-15.el8.noarch                      2/3
  Cleanup          : epel-release-8-14.el8.noarch                           3/3
  Running scriptlet: epel-release-8-14.el8.noarch                           3/3
  Verifying        : epel-next-release-8-15.el8.noarch                      1/3
  Verifying        : epel-release-8-15.el8.noarch                           2/3
  Verifying        : epel-release-8-14.el8.noarch                           3/3

Upgraded:
  epel-release-8-15.el8.noarch
Installed:
  epel-next-release-8-15.el8.noarch

Complete!
Added rockyappstream repo from http://mirror.navercorp.com/rocky/8/AppStream/x86_64/os/
Added rockybaseos repo from http://mirror.navercorp.com/rocky/8/BaseOS/x86_64/os/
Waiting for process with pid 8269 to finish.
rockyappstream                                   39 MB/s | 9.7 MB     00:00
rockybaseos                                      42 MB/s | 6.7 MB     00:00
Last metadata expiration check: 0:00:01 ago on Wed Mar 23 12:48:28 2022.
> > > ================================================================================
 Package                   Arch       Version          Repository          Size
================================================================================
Installing:
 rocky-gpg-keys            noarch     8.5-3.el8        rockybaseos         12 k
 rocky-logos               x86_64     85.0-3.el8       rockybaseos        328 k
 rocky-logos-httpd         noarch     85.0-3.el8       rockybaseos         22 k
 rocky-release             noarch     8.5-3.el8        rockybaseos         21 k
 rocky-repos               noarch     8.5-3.el8        rockybaseos         14 k
Removing:
 centos-gpg-keys           noarch     1:8-4.el8        @Stream-BaseOS     3.3 k
 centos-logos              x86_64     85.8-2.el8       @baseos            716 k
 centos-logos-httpd        noarch     85.8-2.el8       @baseos            197 k
 centos-stream-release     noarch     8.6-1.el8        @Stream-BaseOS      26 k

Transaction Summary
================================================================================
Install  5 Packages
Remove   4 Packages

Total download size: 396 k
Downloading Packages:
(1/5): rocky-logos-httpd-85.0-3.el8.noarch.rpm  661 kB/s |  22 kB     00:00
(2/5): rocky-gpg-keys-8.5-3.el8.noarch.rpm      272 kB/s |  12 kB     00:00
(3/5): rocky-release-8.5-3.el8.noarch.rpm       615 kB/s |  21 kB     00:00
(4/5): rocky-repos-8.5-3.el8.noarch.rpm         531 kB/s |  14 kB     00:00
(5/5): rocky-logos-85.0-3.el8.x86_64.rpm        4.1 MB/s | 328 kB     00:00
--------------------------------------------------------------------------------
Total                                           4.8 MB/s | 396 kB     00:00
rockybaseos                                     1.6 MB/s | 1.6 kB     00:00
Importing GPG key 0x6D745A60:
 Userid     : "Release Engineering <infrastructure@rockylinux.org>"
 Fingerprint: 7051 C470 A929 F454 CEBE 37B7 15AF 5DAC 6D74 5A60
 From       : /tmp/tmp.YH61L4ZlcN/gpg/RPM-GPG-KEY-rockyofficial
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Running scriptlet: rocky-gpg-keys-8.5-3.el8.noarch                        1/1
  Installing       : rocky-gpg-keys-8.5-3.el8.noarch                        1/9
  Installing       : rocky-release-8.5-3.el8.noarch                         2/9
  Installing       : rocky-repos-8.5-3.el8.noarch                           3/9
warning: /etc/dnf/vars/contentdir created as /etc/dnf/vars/contentdir.rpmnew

  Installing       : rocky-logos-httpd-85.0-3.el8.noarch                    4/9
  Installing       : rocky-logos-85.0-3.el8.x86_64                          5/9
  Running scriptlet: rocky-logos-85.0-3.el8.x86_64                          5/9
  Erasing          : centos-stream-release-8.6-1.el8.noarch                 6/9
  Erasing          : centos-logos-httpd-85.8-2.el8.noarch                   7/9
  Erasing          : centos-logos-85.8-2.el8.x86_64                         8/9
  Running scriptlet: centos-logos-85.8-2.el8.x86_64                         8/9
  Erasing          : centos-gpg-keys-1:8-4.el8.noarch                       9/9
  Running scriptlet: rocky-logos-85.0-3.el8.x86_64                          9/9
  Running scriptlet: centos-gpg-keys-1:8-4.el8.noarch                       9/9
  Verifying        : rocky-gpg-keys-8.5-3.el8.noarch                        1/9
  Verifying        : rocky-logos-85.0-3.el8.x86_64                          2/9
  Verifying        : rocky-logos-httpd-85.0-3.el8.noarch                    3/9
  Verifying        : rocky-release-8.5-3.el8.noarch                         4/9
  Verifying        : rocky-repos-8.5-3.el8.noarch                           5/9
  Verifying        : centos-gpg-keys-1:8-4.el8.noarch                       6/9
  Verifying        : centos-logos-85.8-2.el8.x86_64                         7/9
  Verifying        : centos-logos-httpd-85.8-2.el8.noarch                   8/9
  Verifying        : centos-stream-release-8.6-1.el8.noarch                 9/9

Installed:
  rocky-gpg-keys-8.5-3.el8.noarch           rocky-logos-85.0-3.el8.x86_64
  rocky-logos-httpd-85.0-3.el8.noarch       rocky-release-8.5-3.el8.noarch
  rocky-repos-8.5-3.el8.noarch
Removed:
  centos-gpg-keys-1:8-4.el8.noarch      centos-logos-85.8-2.el8.x86_64
  centos-logos-httpd-85.8-2.el8.noarch  centos-stream-release-8.6-1.el8.noarch

Complete!
Last metadata expiration check: 0:00:03 ago on Wed Mar 23 12:48:28 2022.
> Leaving Shell
Ensuring repos are enabled before the package swap
Enabling modules

CentOS Stream 8 - AppStream                     7.6 MB/s |  20 MB     00:02
CentOS Stream 8 - BaseOS                        4.1 MB/s |  19 MB     00:04
CentOS Stream 8 - Extras                        0.0  B/s |   0  B     00:01
Errors during downloading metadata for repository 'stream-extras':
  - Curl error (7): Couldn't connect to server for http://mirror.centos.org/centos/8-stream/extras/x86_64/os/repodata/ba8de6b194881c6161dd5e65d1a8bb4abc6911d55379b1eda31b3d54f48c2530-filelists.xml.gz [Failed to connect to mirror.centos.org port 80: Connection refused]
  - Curl error (7): Couldn't connect to server for http://mirror.centos.org/centos/8-stream/extras/x86_64/os/repodata/a44229553edd97f16d8f3b0b9789f0dcdb2802f77c6ce6ef1bb5de529eddfb6f-primary.xml.gz [Failed to connect to mirror.centos.org port 80: Connection refused]
Error: Failed to download metadata for repo 'stream-extras': Yum repo downloading error: Downloading error(s): repodata/a44229553edd97f16d8f3b0b9789f0dcdb2802f77c6ce6ef1bb5de529eddfb6f-primary.xml.gz - Cannot download, all mirrors were already tried without success; repodata/ba8de6b194881c6161dd5e65d1a8bb4abc6911d55379b1eda31b3d54f48c2530-filelists.xml.gz - Cannot download, all mirrors were already tried without success

Can't enable modules httpd:2.4 mysql:8.0 nginx:1.14 nodejs:10 perl-IO-Socket-SSL:2.066 perl-libwww-perl:6.34 perl:5.26 php:7.2 python36:3.6 satellite-5-client:1.0 virt:rhel

An error occurred while we were attempting to convert your system to Rocky Linux. Your system may be unstable. Script will now exit to prevent possible damage.

 A log of this installation can be found at /var/log/migrate2rocky.log

댓글 0개

Q&A