enterprisemediawiki / meza

Setup an enterprise MediaWiki server with simple commands
MIT License
41 stars 27 forks source link

Issue installing on rocky 8 aws. 35.x branch #1310

Open alberttwong opened 1 year ago

alberttwong commented 1 year ago
[rocky@ip-172-31-34-214 ~]$  sudo yum install -y git
Rocky Linux 8 - AppStream                        13 MB/s | 9.6 MB     00:00
Rocky Linux 8 - BaseOS                          4.3 MB/s | 3.8 MB     00:00
Rocky Linux 8 - Extras                           67 kB/s |  12 kB     00:00
Dependencies resolved.
================================================================================
 Package                Arch   Version                          Repo       Size
================================================================================
Installing:
 git                    x86_64 2.31.1-2.el8                     appstream 160 k
Installing dependencies:
 emacs-filesystem       noarch 1:26.1-7.el8                     baseos     69 k
 git-core               x86_64 2.31.1-2.el8                     appstream 4.7 M
 git-core-doc           noarch 2.31.1-2.el8                     appstream 2.6 M
 perl-Carp              noarch 1.42-396.el8                     baseos     29 k
 perl-Data-Dumper       x86_64 2.167-399.el8                    baseos     57 k
 perl-Digest            noarch 1.17-395.el8                     appstream  26 k
 perl-Digest-MD5        x86_64 2.55-396.el8                     appstream  36 k
 perl-Encode            x86_64 4:2.97-3.el8                     baseos    1.5 M
 perl-Errno             x86_64 1.28-421.el8                     baseos     75 k
 perl-Error             noarch 1:0.17025-2.el8                  appstream  45 k
 perl-Exporter          noarch 5.72-396.el8                     baseos     33 k
 perl-File-Path         noarch 2.15-2.el8                       baseos     37 k
 perl-File-Temp         noarch 0.230.600-1.el8                  baseos     62 k
 perl-Getopt-Long       noarch 1:2.50-4.el8                     baseos     62 k
 perl-Git               noarch 2.31.1-2.el8                     appstream  77 k
 perl-HTTP-Tiny         noarch 0.074-1.el8                      baseos     57 k
 perl-IO                x86_64 1.38-421.el8                     baseos    141 k
 perl-MIME-Base64       x86_64 3.15-396.el8                     baseos     30 k
 perl-Net-SSLeay        x86_64 1.88-2.module+el8.6.0+957+15d660ad
                                                                appstream 378 k
 perl-PathTools         x86_64 3.74-1.el8                       baseos     89 k
 perl-Pod-Escapes       noarch 1:1.07-395.el8                   baseos     19 k
 perl-Pod-Perldoc       noarch 3.28-396.el8                     baseos     85 k
 perl-Pod-Simple        noarch 1:3.35-395.el8                   baseos    212 k
 perl-Pod-Usage         noarch 4:1.69-395.el8                   baseos     33 k
 perl-Scalar-List-Utils x86_64 3:1.49-2.el8                     baseos     67 k
 perl-Socket            x86_64 4:2.027-3.el8                    baseos     58 k
 perl-Storable          x86_64 1:3.11-3.el8                     baseos     97 k
 perl-Term-ANSIColor    noarch 4.06-396.el8                     baseos     45 k
 perl-Term-Cap          noarch 1.17-395.el8                     baseos     22 k
 perl-TermReadKey       x86_64 2.37-7.el8                       appstream  39 k
 perl-Text-ParseWords   noarch 3.30-395.el8                     baseos     17 k
 perl-Text-Tabs+Wrap    noarch 2013.0523-395.el8                baseos     23 k
 perl-Time-Local        noarch 1:1.280-1.el8                    baseos     32 k
 perl-URI               noarch 1.73-3.el8                       appstream 115 k
 perl-Unicode-Normalize x86_64 1.25-396.el8                     baseos     81 k
 perl-constant          noarch 1.33-396.el8                     baseos     24 k
 perl-interpreter       x86_64 4:5.26.3-421.el8                 baseos    6.3 M
 perl-libnet            noarch 3.11-3.el8                       appstream 120 k
 perl-libs              x86_64 4:5.26.3-421.el8                 baseos    1.6 M
 perl-macros            x86_64 4:5.26.3-421.el8                 baseos     71 k
 perl-parent            noarch 1:0.237-1.el8                    baseos     19 k
 perl-podlators         noarch 4.11-1.el8                       baseos    117 k
 perl-threads           x86_64 1:2.21-2.el8                     baseos     60 k
 perl-threads-shared    x86_64 1.58-2.el8                       baseos     47 k
Installing weak dependencies:
 perl-IO-Socket-IP      noarch 0.39-5.el8                       appstream  46 k
 perl-IO-Socket-SSL     noarch 2.066-4.module+el8.6.0+957+15d660ad
                                                                appstream 297 k
 perl-Mozilla-CA        noarch 20160104-7.module+el8.6.0+965+850557f9
                                                                appstream  14 k
Enabling module streams:
 perl                          5.26
 perl-IO-Socket-SSL            2.066
 perl-libwww-perl              6.34

Transaction Summary
================================================================================
Install  48 Packages

Total download size: 20 M
Installed size: 73 M
Downloading Packages:
(1/48): git-2.31.1-2.el8.x86_64.rpm             509 kB/s | 160 kB     00:00
(2/48): perl-Digest-1.17-395.el8.noarch.rpm     402 kB/s |  26 kB     00:00
(3/48): perl-Digest-MD5-2.55-396.el8.x86_64.rpm 556 kB/s |  36 kB     00:00
(4/48): perl-Error-0.17025-2.el8.noarch.rpm     695 kB/s |  45 kB     00:00
(5/48): git-core-doc-2.31.1-2.el8.noarch.rpm    4.7 MB/s | 2.6 MB     00:00
(6/48): perl-Git-2.31.1-2.el8.noarch.rpm        1.1 MB/s |  77 kB     00:00
(7/48): perl-IO-Socket-IP-0.39-5.el8.noarch.rpm 733 kB/s |  46 kB     00:00
(8/48): git-core-2.31.1-2.el8.x86_64.rpm        7.0 MB/s | 4.7 MB     00:00
(9/48): perl-Mozilla-CA-20160104-7.module+el8.6 229 kB/s |  14 kB     00:00
(10/48): perl-IO-Socket-SSL-2.066-4.module+el8. 2.2 MB/s | 297 kB     00:00
(11/48): perl-Net-SSLeay-1.88-2.module+el8.6.0+ 5.4 MB/s | 378 kB     00:00
(12/48): perl-TermReadKey-2.37-7.el8.x86_64.rpm 632 kB/s |  39 kB     00:00
(13/48): perl-URI-1.73-3.el8.noarch.rpm         1.7 MB/s | 115 kB     00:00
(14/48): perl-libnet-3.11-3.el8.noarch.rpm      1.7 MB/s | 120 kB     00:00
(15/48): perl-Carp-1.42-396.el8.noarch.rpm      202 kB/s |  29 kB     00:00
(16/48): emacs-filesystem-26.1-7.el8.noarch.rpm 304 kB/s |  69 kB     00:00
(17/48): perl-Data-Dumper-2.167-399.el8.x86_64. 309 kB/s |  57 kB     00:00
(18/48): perl-Exporter-5.72-396.el8.noarch.rpm  862 kB/s |  33 kB     00:00
(19/48): perl-File-Path-2.15-2.el8.noarch.rpm   1.1 MB/s |  37 kB     00:00
(20/48): perl-Encode-2.97-3.el8.x86_64.rpm      7.6 MB/s | 1.5 MB     00:00
(21/48): perl-Errno-1.28-421.el8.x86_64.rpm     564 kB/s |  75 kB     00:00
(22/48): perl-File-Temp-0.230.600-1.el8.noarch. 1.4 MB/s |  62 kB     00:00
(23/48): perl-Getopt-Long-2.50-4.el8.noarch.rpm 1.8 MB/s |  62 kB     00:00
(24/48): perl-MIME-Base64-3.15-396.el8.x86_64.r 910 kB/s |  30 kB     00:00
(25/48): perl-IO-1.38-421.el8.x86_64.rpm        2.0 MB/s | 141 kB     00:00
(26/48): perl-HTTP-Tiny-0.074-1.el8.noarch.rpm  614 kB/s |  57 kB     00:00
(27/48): perl-PathTools-3.74-1.el8.x86_64.rpm   2.6 MB/s |  89 kB     00:00
(28/48): perl-Pod-Escapes-1.07-395.el8.noarch.r 589 kB/s |  19 kB     00:00
(29/48): perl-Pod-Simple-3.35-395.el8.noarch.rp 5.5 MB/s | 212 kB     00:00
(30/48): perl-Pod-Usage-1.69-395.el8.noarch.rpm 899 kB/s |  33 kB     00:00
(31/48): perl-Scalar-List-Utils-1.49-2.el8.x86_ 2.0 MB/s |  67 kB     00:00
(32/48): perl-Socket-2.027-3.el8.x86_64.rpm     1.7 MB/s |  58 kB     00:00
(33/48): perl-Storable-3.11-3.el8.x86_64.rpm    2.7 MB/s |  97 kB     00:00
(34/48): perl-Term-ANSIColor-4.06-396.el8.noarc 1.3 MB/s |  45 kB     00:00
(35/48): perl-Pod-Perldoc-3.28-396.el8.noarch.r 698 kB/s |  85 kB     00:00
(36/48): perl-Term-Cap-1.17-395.el8.noarch.rpm  663 kB/s |  22 kB     00:00
(37/48): perl-Text-ParseWords-3.30-395.el8.noar 520 kB/s |  17 kB     00:00
(38/48): perl-Text-Tabs+Wrap-2013.0523-395.el8. 718 kB/s |  23 kB     00:00
(39/48): perl-Time-Local-1.280-1.el8.noarch.rpm 996 kB/s |  32 kB     00:00
(40/48): perl-Unicode-Normalize-1.25-396.el8.x8 2.1 MB/s |  81 kB     00:00
(41/48): perl-constant-1.33-396.el8.noarch.rpm  756 kB/s |  24 kB     00:00
(42/48): perl-libs-5.26.3-421.el8.x86_64.rpm     13 MB/s | 1.6 MB     00:00
(43/48): perl-macros-5.26.3-421.el8.x86_64.rpm  549 kB/s |  71 kB     00:00
(44/48): perl-interpreter-5.26.3-421.el8.x86_64  23 MB/s | 6.3 MB     00:00
(45/48): perl-parent-0.237-1.el8.noarch.rpm     129 kB/s |  19 kB     00:00
(46/48): perl-threads-2.21-2.el8.x86_64.rpm     1.6 MB/s |  60 kB     00:00
(47/48): perl-threads-shared-1.58-2.el8.x86_64. 1.3 MB/s |  47 kB     00:00
(48/48): perl-podlators-4.11-1.el8.noarch.rpm   479 kB/s | 117 kB     00:00
--------------------------------------------------------------------------------
Total                                            10 MB/s |  20 MB     00:01
Rocky Linux 8 - AppStream                       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       : /etc/pki/rpm-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
  Installing       : git-core-2.31.1-2.el8.x86_64                          1/48
  Installing       : git-core-doc-2.31.1-2.el8.noarch                      2/48
  Installing       : perl-Digest-1.17-395.el8.noarch                       3/48
  Installing       : perl-Digest-MD5-2.55-396.el8.x86_64                   4/48
  Installing       : perl-Data-Dumper-2.167-399.el8.x86_64                 5/48
  Installing       : perl-libnet-3.11-3.el8.noarch                         6/48
  Installing       : perl-Net-SSLeay-1.88-2.module+el8.6.0+957+15d660ad    7/48
  Installing       : perl-URI-1.73-3.el8.noarch                            8/48
  Installing       : perl-Pod-Escapes-1:1.07-395.el8.noarch                9/48
  Installing       : perl-Mozilla-CA-20160104-7.module+el8.6.0+965+8505   10/48
  Installing       : perl-IO-Socket-IP-0.39-5.el8.noarch                  11/48
  Installing       : perl-Time-Local-1:1.280-1.el8.noarch                 12/48
  Installing       : perl-IO-Socket-SSL-2.066-4.module+el8.6.0+957+15d6   13/48
  Installing       : perl-Term-ANSIColor-4.06-396.el8.noarch              14/48
  Installing       : perl-Term-Cap-1.17-395.el8.noarch                    15/48
  Installing       : perl-File-Temp-0.230.600-1.el8.noarch                16/48
  Installing       : perl-Pod-Simple-1:3.35-395.el8.noarch                17/48
  Installing       : perl-HTTP-Tiny-0.074-1.el8.noarch                    18/48
  Installing       : perl-podlators-4.11-1.el8.noarch                     19/48
  Installing       : perl-Pod-Perldoc-3.28-396.el8.noarch                 20/48
  Installing       : perl-Text-ParseWords-3.30-395.el8.noarch             21/48
  Installing       : perl-Pod-Usage-4:1.69-395.el8.noarch                 22/48
  Installing       : perl-MIME-Base64-3.15-396.el8.x86_64                 23/48
  Installing       : perl-Storable-1:3.11-3.el8.x86_64                    24/48
  Installing       : perl-Getopt-Long-1:2.50-4.el8.noarch                 25/48
  Installing       : perl-Errno-1.28-421.el8.x86_64                       26/48
  Installing       : perl-Socket-4:2.027-3.el8.x86_64                     27/48
  Installing       : perl-Encode-4:2.97-3.el8.x86_64                      28/48
  Installing       : perl-Carp-1.42-396.el8.noarch                        29/48
  Installing       : perl-Exporter-5.72-396.el8.noarch                    30/48
  Installing       : perl-libs-4:5.26.3-421.el8.x86_64                    31/48
  Installing       : perl-Scalar-List-Utils-3:1.49-2.el8.x86_64           32/48
  Installing       : perl-parent-1:0.237-1.el8.noarch                     33/48
  Installing       : perl-macros-4:5.26.3-421.el8.x86_64                  34/48
  Installing       : perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch         35/48
  Installing       : perl-Unicode-Normalize-1.25-396.el8.x86_64           36/48
  Installing       : perl-File-Path-2.15-2.el8.noarch                     37/48
  Installing       : perl-IO-1.38-421.el8.x86_64                          38/48
  Installing       : perl-PathTools-3.74-1.el8.x86_64                     39/48
  Installing       : perl-constant-1.33-396.el8.noarch                    40/48
  Installing       : perl-threads-1:2.21-2.el8.x86_64                     41/48
  Installing       : perl-threads-shared-1.58-2.el8.x86_64                42/48
  Installing       : perl-interpreter-4:5.26.3-421.el8.x86_64             43/48
  Installing       : perl-Error-1:0.17025-2.el8.noarch                    44/48
  Installing       : perl-TermReadKey-2.37-7.el8.x86_64                   45/48
  Installing       : emacs-filesystem-1:26.1-7.el8.noarch                 46/48
  Installing       : perl-Git-2.31.1-2.el8.noarch                         47/48
  Installing       : git-2.31.1-2.el8.x86_64                              48/48
  Running scriptlet: git-2.31.1-2.el8.x86_64                              48/48
  Verifying        : git-2.31.1-2.el8.x86_64                               1/48
  Verifying        : git-core-2.31.1-2.el8.x86_64                          2/48
  Verifying        : git-core-doc-2.31.1-2.el8.noarch                      3/48
  Verifying        : perl-Digest-1.17-395.el8.noarch                       4/48
  Verifying        : perl-Digest-MD5-2.55-396.el8.x86_64                   5/48
  Verifying        : perl-Error-1:0.17025-2.el8.noarch                     6/48
  Verifying        : perl-Git-2.31.1-2.el8.noarch                          7/48
  Verifying        : perl-IO-Socket-IP-0.39-5.el8.noarch                   8/48
  Verifying        : perl-IO-Socket-SSL-2.066-4.module+el8.6.0+957+15d6    9/48
  Verifying        : perl-Mozilla-CA-20160104-7.module+el8.6.0+965+8505   10/48
  Verifying        : perl-Net-SSLeay-1.88-2.module+el8.6.0+957+15d660ad   11/48
  Verifying        : perl-TermReadKey-2.37-7.el8.x86_64                   12/48
  Verifying        : perl-URI-1.73-3.el8.noarch                           13/48
  Verifying        : perl-libnet-3.11-3.el8.noarch                        14/48
  Verifying        : emacs-filesystem-1:26.1-7.el8.noarch                 15/48
  Verifying        : perl-Carp-1.42-396.el8.noarch                        16/48
  Verifying        : perl-Data-Dumper-2.167-399.el8.x86_64                17/48
  Verifying        : perl-Encode-4:2.97-3.el8.x86_64                      18/48
  Verifying        : perl-Errno-1.28-421.el8.x86_64                       19/48
  Verifying        : perl-Exporter-5.72-396.el8.noarch                    20/48
  Verifying        : perl-File-Path-2.15-2.el8.noarch                     21/48
  Verifying        : perl-File-Temp-0.230.600-1.el8.noarch                22/48
  Verifying        : perl-Getopt-Long-1:2.50-4.el8.noarch                 23/48
  Verifying        : perl-HTTP-Tiny-0.074-1.el8.noarch                    24/48
  Verifying        : perl-IO-1.38-421.el8.x86_64                          25/48
  Verifying        : perl-MIME-Base64-3.15-396.el8.x86_64                 26/48
  Verifying        : perl-PathTools-3.74-1.el8.x86_64                     27/48
  Verifying        : perl-Pod-Escapes-1:1.07-395.el8.noarch               28/48
  Verifying        : perl-Pod-Perldoc-3.28-396.el8.noarch                 29/48
  Verifying        : perl-Pod-Simple-1:3.35-395.el8.noarch                30/48
  Verifying        : perl-Pod-Usage-4:1.69-395.el8.noarch                 31/48
  Verifying        : perl-Scalar-List-Utils-3:1.49-2.el8.x86_64           32/48
  Verifying        : perl-Socket-4:2.027-3.el8.x86_64                     33/48
  Verifying        : perl-Storable-1:3.11-3.el8.x86_64                    34/48
  Verifying        : perl-Term-ANSIColor-4.06-396.el8.noarch              35/48
  Verifying        : perl-Term-Cap-1.17-395.el8.noarch                    36/48
  Verifying        : perl-Text-ParseWords-3.30-395.el8.noarch             37/48
  Verifying        : perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch         38/48
  Verifying        : perl-Time-Local-1:1.280-1.el8.noarch                 39/48
  Verifying        : perl-Unicode-Normalize-1.25-396.el8.x86_64           40/48
  Verifying        : perl-constant-1.33-396.el8.noarch                    41/48
  Verifying        : perl-interpreter-4:5.26.3-421.el8.x86_64             42/48
  Verifying        : perl-libs-4:5.26.3-421.el8.x86_64                    43/48
  Verifying        : perl-macros-4:5.26.3-421.el8.x86_64                  44/48
  Verifying        : perl-parent-1:0.237-1.el8.noarch                     45/48
  Verifying        : perl-podlators-4.11-1.el8.noarch                     46/48
  Verifying        : perl-threads-1:2.21-2.el8.x86_64                     47/48
  Verifying        : perl-threads-shared-1.58-2.el8.x86_64                48/48

Installed:
  emacs-filesystem-1:26.1-7.el8.noarch
  git-2.31.1-2.el8.x86_64
  git-core-2.31.1-2.el8.x86_64
  git-core-doc-2.31.1-2.el8.noarch
  perl-Carp-1.42-396.el8.noarch
  perl-Data-Dumper-2.167-399.el8.x86_64
  perl-Digest-1.17-395.el8.noarch
  perl-Digest-MD5-2.55-396.el8.x86_64
  perl-Encode-4:2.97-3.el8.x86_64
  perl-Errno-1.28-421.el8.x86_64
  perl-Error-1:0.17025-2.el8.noarch
  perl-Exporter-5.72-396.el8.noarch
  perl-File-Path-2.15-2.el8.noarch
  perl-File-Temp-0.230.600-1.el8.noarch
  perl-Getopt-Long-1:2.50-4.el8.noarch
  perl-Git-2.31.1-2.el8.noarch
  perl-HTTP-Tiny-0.074-1.el8.noarch
  perl-IO-1.38-421.el8.x86_64
  perl-IO-Socket-IP-0.39-5.el8.noarch
  perl-IO-Socket-SSL-2.066-4.module+el8.6.0+957+15d660ad.noarch
  perl-MIME-Base64-3.15-396.el8.x86_64
  perl-Mozilla-CA-20160104-7.module+el8.6.0+965+850557f9.noarch
  perl-Net-SSLeay-1.88-2.module+el8.6.0+957+15d660ad.x86_64
  perl-PathTools-3.74-1.el8.x86_64
  perl-Pod-Escapes-1:1.07-395.el8.noarch
  perl-Pod-Perldoc-3.28-396.el8.noarch
  perl-Pod-Simple-1:3.35-395.el8.noarch
  perl-Pod-Usage-4:1.69-395.el8.noarch
  perl-Scalar-List-Utils-3:1.49-2.el8.x86_64
  perl-Socket-4:2.027-3.el8.x86_64
  perl-Storable-1:3.11-3.el8.x86_64
  perl-Term-ANSIColor-4.06-396.el8.noarch
  perl-Term-Cap-1.17-395.el8.noarch
  perl-TermReadKey-2.37-7.el8.x86_64
  perl-Text-ParseWords-3.30-395.el8.noarch
  perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch
  perl-Time-Local-1:1.280-1.el8.noarch
  perl-URI-1.73-3.el8.noarch
  perl-Unicode-Normalize-1.25-396.el8.x86_64
  perl-constant-1.33-396.el8.noarch
  perl-interpreter-4:5.26.3-421.el8.x86_64
  perl-libnet-3.11-3.el8.noarch
  perl-libs-4:5.26.3-421.el8.x86_64
  perl-macros-4:5.26.3-421.el8.x86_64
  perl-parent-1:0.237-1.el8.noarch
  perl-podlators-4.11-1.el8.noarch
  perl-threads-1:2.21-2.el8.x86_64
  perl-threads-shared-1.58-2.el8.x86_64

Complete!
[rocky@ip-172-31-34-214 ~]$ sudo git clone https://github.com/enterprisemediawiki/meza /opt/meza
Cloning into '/opt/meza'...
remote: Enumerating objects: 13123, done.
remote: Counting objects: 100% (672/672), done.
remote: Compressing objects: 100% (315/315), done.
Receiving objects:   5% (657/13123)
remote: Total 13123 (delta 319), reused 600 (delta 314), pack-reused 12451
Receiving objects: 100% (13123/13123), 11.05 MiB | 17.63 MiB/s, done.
Resolving deltas: 100% (7637/7637), done.
[rocky@ip-172-31-34-214 ~]$ sudo bash /opt/meza/src/scripts/getmeza.sh
Retrieving https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
warning: /var/tmp/rpm-tmp.DF1VDq: Header V4 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:epel-release-7-14                ################################# [100%]
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Extra Packages for Enterprise Linux 7 - x86_64   12 MB/s |  16 MB     00:01
Last metadata expiration check: 0:00:04 ago on Sun 05 Feb 2023 11:15:37 PM UTC.
Package git-2.31.1-2.el8.x86_64 is already installed.
All matches were filtered out by modular filtering for argument: libselinux-python
Error: Unable to find a match: libselinux-python

Add ansible master user
Generating public/private rsa key pair.
Your identification has been saved in /opt/conf-meza/users/meza-ansible/.ssh/id_rsa.
Your public key has been saved in /opt/conf-meza/users/meza-ansible/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:6v4QeZPFE4/lFUg996lyLvJp3HUtTam3RNjG7TaGeqA meza-ansible@ip-172-31-34-214.us-west-2.compute.internal
The key's randomart image is:
+---[RSA 3072]----+
|          ..ooo. |
|         . *..o .|
|          = o +o=|
|       . o . . B+|
|      o S     *+.|
|       + . o =.**|
|      o   o B =o+|
|     . . E =.+ . |
|     .o.. +oo    |
+----[SHA256]-----+
meza-ansible ALL=(ALL) NOPASSWD: ALL
meza command installed. Use it:
  sudo meza deploy monolith
[rocky@ip-172-31-34-214 ~]$ sudo meza deploy monolith
/usr/bin/env: ‘python’: No such file or directory
alberttwong commented 1 year ago

need to switch branches to 35.x

[rocky@ip-172-31-34-214 ~]$ sudo git clone https://github.com/enterprisemediawiki/meza /opt/meza
Cloning into '/opt/meza'...
remote: Enumerating objects: 13123, done.
remote: Counting objects: 100% (672/672), done.
remote: Compressing objects: 100% (323/323), done.
remote: Total 13123 (delta 318), reused 590 (delta 306), pack-reused 12451
Receiving objects: 100% (13123/13123), 11.06 MiB | 24.14 MiB/s, done.
Resolving deltas: 100% (7636/7636), done.
[rocky@ip-172-31-34-214 ~]$ git checkout 35.x
fatal: not a git repository (or any of the parent directories): .git
[rocky@ip-172-31-34-214 ~]$ cd /opt/meza
[rocky@ip-172-31-34-214 meza]$ sudo git checkout 35.x
Branch '35.x' set up to track remote branch '35.x' from 'origin'.
Switched to a new branch '35.x'
[rocky@ip-172-31-34-214 meza]$ sudo bash /opt/meza/src/scripts/getmeza.sh
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Last metadata expiration check: 0:08:14 ago on Sun 05 Feb 2023 11:15:37 PM UTC.
Dependencies resolved.
================================================================================
 Package                             Arch       Version        Repository  Size
================================================================================
Installing:
 centos-release-ansible-29           noarch     1-2.el8        extras     7.4 k
Installing dependencies:
 centos-release-configmanagement     noarch     1-1.el8        extras     7.6 k

Transaction Summary
================================================================================
Install  2 Packages

Total download size: 15 k
Installed size: 2.2 k
Downloading Packages:
(1/2): centos-release-ansible-29-1-2.el8.noarch  35 kB/s | 7.4 kB     00:00
(2/2): centos-release-configmanagement-1-1.el8.  34 kB/s | 7.6 kB     00:00
--------------------------------------------------------------------------------
Total                                            41 kB/s |  15 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Installing       : centos-release-configmanagement-1-1.el8.noarch         1/2
  Installing       : centos-release-ansible-29-1-2.el8.noarch               2/2
  Verifying        : centos-release-ansible-29-1-2.el8.noarch               1/2
  Verifying        : centos-release-configmanagement-1-1.el8.noarch         2/2

Installed:
  centos-release-ansible-29-1-2.el8.noarch
  centos-release-configmanagement-1-1.el8.noarch

Complete!
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id "failovermethod" does not exist
CentOS Configmanagement SIG - ansible-29        3.5 MB/s | 2.1 MB     00:00
Dependencies resolved.
================================================================================
 Package            Arch   Version                              Repo       Size
================================================================================
Installing:
 python36           x86_64 3.6.8-38.module+el8.5.0+671+195e4563 appstream  18 k
Installing dependencies:
 python3-pip        noarch 9.0.3-22.el8.rocky.0                 appstream  19 k
 python3-setuptools noarch 39.2.0-6.el8                         baseos    162 k
Enabling module streams:
 python36                  3.6

Transaction Summary
================================================================================
Install  3 Packages

Total download size: 199 k
Installed size: 466 k
Downloading Packages:
(1/3): python3-setuptools-39.2.0-6.el8.noarch.r 648 kB/s | 162 kB     00:00
(2/3): python36-3.6.8-38.module+el8.5.0+671+195  56 kB/s |  18 kB     00:00
(3/3): python3-pip-9.0.3-22.el8.rocky.0.noarch.  58 kB/s |  19 kB     00:00
--------------------------------------------------------------------------------
Total                                           393 kB/s | 199 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Installing       : python3-setuptools-39.2.0-6.el8.noarch                 1/3
  Installing       : python36-3.6.8-38.module+el8.5.0+671+195e4563.x86_64   2/3
  Running scriptlet: python36-3.6.8-38.module+el8.5.0+671+195e4563.x86_64   2/3
  Installing       : python3-pip-9.0.3-22.el8.rocky.0.noarch                3/3
  Running scriptlet: python3-pip-9.0.3-22.el8.rocky.0.noarch                3/3
  Verifying        : python3-pip-9.0.3-22.el8.rocky.0.noarch                1/3
  Verifying        : python36-3.6.8-38.module+el8.5.0+671+195e4563.x86_64   2/3
  Verifying        : python3-setuptools-39.2.0-6.el8.noarch                 3/3

Installed:
  python3-pip-9.0.3-22.el8.rocky.0.noarch
  python3-setuptools-39.2.0-6.el8.noarch
  python36-3.6.8-38.module+el8.5.0+671+195e4563.x86_64

Complete!
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Last metadata expiration check: 0:00:03 ago on Sun 05 Feb 2023 11:23:53 PM UTC.
Package git-2.31.1-2.el8.x86_64 is already installed.
Dependencies resolved.
================================================================================
 Package              Arch       Version            Repository             Size
================================================================================
Installing:
 ansible              noarch     2.9.27-1.el8       centos-ansible-29      17 M
Installing dependencies:
 sshpass              x86_64     1.09-4.el8         appstream              29 k
Installing weak dependencies:
 python3-jmespath     noarch     0.9.0-11.el8       appstream              44 k

Transaction Summary
================================================================================
Install  3 Packages

Total download size: 17 M
Installed size: 96 M
Downloading Packages:
(1/3): sshpass-1.09-4.el8.x86_64.rpm             71 kB/s |  29 kB     00:00
(2/3): python3-jmespath-0.9.0-11.el8.noarch.rpm  91 kB/s |  44 kB     00:00
(3/3): ansible-2.9.27-1.el8.noarch.rpm           22 MB/s |  17 MB     00:00
--------------------------------------------------------------------------------
Total                                            14 MB/s |  17 MB     00:01
CentOS Configmanagement SIG - ansible-29        1.0 MB/s | 1.0 kB     00:00
Importing GPG key 0x6E8B7E8A:
 Userid     : "CentOS Config Management SIG (https://wiki.centos.org/SpecialInterestGroup/ConfigManagementSIG) <security@centos.org>"
 Fingerprint: C75A FB57 D5C0 F238 CB15 BEC8 1AE1 10FA 6E8B 7E8A
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-ConfigManagement
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Installing       : sshpass-1.09-4.el8.x86_64                              1/3
  Installing       : python3-jmespath-0.9.0-11.el8.noarch                   2/3
  Installing       : ansible-2.9.27-1.el8.noarch                            3/3
  Running scriptlet: ansible-2.9.27-1.el8.noarch                            3/3
  Verifying        : ansible-2.9.27-1.el8.noarch                            1/3
  Verifying        : python3-jmespath-0.9.0-11.el8.noarch                   2/3
  Verifying        : sshpass-1.09-4.el8.x86_64                              3/3

Installed:
  ansible-2.9.27-1.el8.noarch        python3-jmespath-0.9.0-11.el8.noarch
  sshpass-1.09-4.el8.x86_64

Complete!
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Last metadata expiration check: 0:00:15 ago on Sun 05 Feb 2023 11:23:53 PM UTC.
Package python3-libselinux-2.9-5.el8.x86_64 is already installed.
Dependencies resolved.
================================================================================
 Package                   Architecture  Version            Repository     Size
================================================================================
Upgrading:
 libselinux                x86_64        2.9-6.el8          baseos        164 k
 libselinux-utils          x86_64        2.9-6.el8          baseos        242 k
 python3-libselinux        x86_64        2.9-6.el8          baseos        282 k

Transaction Summary
================================================================================
Upgrade  3 Packages

Total download size: 688 k
Downloading Packages:
(1/3): libselinux-2.9-6.el8.x86_64.rpm          317 kB/s | 164 kB     00:00
(2/3): python3-libselinux-2.9-6.el8.x86_64.rpm  472 kB/s | 282 kB     00:00
(3/3): libselinux-utils-2.9-6.el8.x86_64.rpm    400 kB/s | 242 kB     00:00
--------------------------------------------------------------------------------
Total                                           1.0 MB/s | 688 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Upgrading        : libselinux-2.9-6.el8.x86_64                            1/6
  Running scriptlet: libselinux-2.9-6.el8.x86_64                            1/6
  Upgrading        : libselinux-utils-2.9-6.el8.x86_64                      2/6
  Upgrading        : python3-libselinux-2.9-6.el8.x86_64                    3/6
  Cleanup          : python3-libselinux-2.9-5.el8.x86_64                    4/6
  Cleanup          : libselinux-utils-2.9-5.el8.x86_64                      5/6
  Cleanup          : libselinux-2.9-5.el8.x86_64                            6/6
  Running scriptlet: libselinux-2.9-5.el8.x86_64                            6/6
  Verifying        : libselinux-2.9-6.el8.x86_64                            1/6
  Verifying        : libselinux-2.9-5.el8.x86_64                            2/6
  Verifying        : libselinux-utils-2.9-6.el8.x86_64                      3/6
  Verifying        : libselinux-utils-2.9-5.el8.x86_64                      4/6
  Verifying        : python3-libselinux-2.9-6.el8.x86_64                    5/6
  Verifying        : python3-libselinux-2.9-5.el8.x86_64                    6/6

Upgraded:
  libselinux-2.9-6.el8.x86_64             libselinux-utils-2.9-6.el8.x86_64
  python3-libselinux-2.9-6.el8.x86_64

Complete!
meza-ansible already exists
meza-ansible home-dir in correct location
meza command installed. Use it:
  sudo meza deploy monolith
alberttwong commented 1 year ago
[rocky@ip-172-31-34-214 meza]$ sudo meza deploy monolith
Create deploy lock file at /opt/data-meza/env-monolith-deploy.lock
Group apache does not exist. Set "wheel" as group for lock file.

Type the domain or IP address you'll use to get to your wiki and press [enter]
Domain or IP address: ec2-35-89-148-254.us-west-2.compute.amazonaws.com

Type a database password and press [enter] or leave blank to auto-generate
Database password:
su meza-ansible -c "ansible-playbook /opt/meza/src/playbooks/setup-env.yml --extra-vars @/opt/conf-meza/secret/temp_vars.json"
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match 'all'

PLAY [localhost] ***************************************************************

TASK [Gathering Facts] *********************************************************
ok: [localhost]

TASK [set-vars : Get Meza install path] ****************************************
changed: [localhost]

TASK [set-vars : set_fact] *****************************************************
ok: [localhost]

TASK [set-vars : Set OS-family specific variables] *****************************
ok: [localhost]

TASK [set-vars : Set meza-core path variables] *********************************
ok: [localhost]

TASK [set-vars : Set meza-core default variables] ******************************
ok: [localhost]

TASK [set-vars : If using gluster (app_servers > 1), override m_uploads_dir] ***
skipping: [localhost]

TASK [set-vars : Set meza local public variables] ******************************
ok: [localhost]

TASK [set-vars : Get individual wikis dirs from localhost] *********************
ok: [localhost -> localhost]

TASK [set-vars : set_fact] *****************************************************
ok: [localhost]

TASK [set-vars : Set meza environment-specific public variables for env=monolith] ***
ok: [localhost]

TASK [set-vars : Set meza local secret variables] ******************************
skipping: [localhost]

TASK [setup-env : Ensure secret config directory exists] ***********************
ok: [localhost]

TASK [setup-env : Ensure secret config environment directory exists] ***********
changed: [localhost]

TASK [setup-env : Ensure hosts file configured] ********************************
changed: [localhost]

TASK [setup-env : Ensure secret.yml configured] ********************************
changed: [localhost]

PLAY RECAP *********************************************************************
localhost                  : ok=14   changed=4    unreachable=0    failed=0    skipped=2    rescued=0    ignored=0

Please review your host file. Run command:
  sudo vi /opt/conf-meza/secret/monolith/hosts
Please review your secret config. Run command:
  sudo vi /opt/conf-meza/secret/monolith/secret.yml
su meza-ansible -c "ansible-playbook /opt/meza/src/playbooks/site.yml -i /opt/conf-meza/secret/monolith/hosts --vault-password-file /opt/conf-meza/vault/vault-pass-monolith.txt --extra-vars '{\"env\": \"monolith\"}'"

PLAY [localhost] ***************************************************************

TASK [Gathering Facts] *********************************************************
[DEPRECATION WARNING]: Distribution centos 8.6 on host localhost should use
/usr/libexec/platform-python, but is using /usr/bin/python for backward
compatibility with prior Ansible releases. A future Ansible release will
default to using the discovered platform python for this host. See https://docs
.ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for
more information. This feature will be removed in version 2.12. Deprecation
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [localhost]

TASK [Get Meza install path] ***************************************************
changed: [localhost]

TASK [set_fact] ****************************************************************
ok: [localhost]

TASK [Ensure no password on meza-ansible user on controller] *******************
changed: [localhost]

TASK [Ensure controller has user alt-meza-ansible] *****************************
changed: [localhost]

TASK [Ensure user alt-meza-ansible .ssh dir configured] ************************
changed: [localhost]

TASK [Copy meza-ansible keys to alt-meza-ansible] ******************************
changed: [localhost] => (item={'name': 'id_rsa', 'mode': '0600'})
changed: [localhost] => (item={'name': 'id_rsa.pub', 'mode': '0644'})

TASK [Copy meza-ansible known_hosts to alt-meza-ansible] ***********************
ok: [localhost] => (item={'name': 'known_hosts', 'mode': '0600'})

TASK [Ensure secret.yml owned by meza-ansible] *********************************
ok: [localhost]

TASK [Ensure /opt/conf-meza owned by meza-ansible] *****************************
ok: [localhost]
[WARNING]: Could not match supplied host pattern, ignoring: exclude-all
[WARNING]: Could not match supplied host pattern, ignoring:
load_balancers_nonmeza
[WARNING]: Could not match supplied host pattern, ignoring:
load_balancers_nonmeza_external
[WARNING]: Could not match supplied host pattern, ignoring:
load_balancers_nonmeza_internal

PLAY [all:!exclude-all:!load_balancers_nonmeza:!load_balancers_nonmeza_external:!load_balancers_nonmeza_internal] ***

TASK [Gathering Facts] *********************************************************
ok: [localhost]

TASK [umask-set : Set umask for duration of deploy] ****************************
changed: [localhost]

PLAY [localhost] ***************************************************************

TASK [Gathering Facts] *********************************************************
ok: [localhost]

TASK [set-vars : Get Meza install path] ****************************************
changed: [localhost]

TASK [set-vars : set_fact] *****************************************************
ok: [localhost]

TASK [set-vars : Set OS-family specific variables] *****************************
ok: [localhost]

TASK [set-vars : Set meza-core path variables] *********************************
ok: [localhost]

TASK [set-vars : Set meza-core default variables] ******************************
ok: [localhost]

TASK [set-vars : If using gluster (app_servers > 1), override m_uploads_dir] ***
skipping: [localhost]

TASK [set-vars : Set meza local public variables] ******************************
ok: [localhost]

TASK [set-vars : Get individual wikis dirs from localhost] *********************
ok: [localhost -> localhost]

TASK [set-vars : set_fact] *****************************************************
ok: [localhost]

TASK [set-vars : Set meza environment-specific public variables for env=monolith] ***
ok: [localhost]

TASK [set-vars : Set meza local secret variables] ******************************
ok: [localhost]

TASK [init-controller-config : Does controller have local config] **************
ok: [localhost]

TASK [init-controller-config : Get local config repo if set] *******************
skipping: [localhost]

TASK [init-controller-config : Does controller have local config] **************
ok: [localhost]

TASK [init-controller-config : Ensure m_local_public configured on controller] ***
changed: [localhost]

TASK [init-controller-config : Ensure m_local_public/wikis exists] *************
changed: [localhost]

TASK [init-controller-config : Ensure pre/post settings directories exists in config] ***
changed: [localhost] => (item=preLocalSettings.d)
changed: [localhost] => (item=postLocalSettings.d)

TASK [init-controller-config : Ensure base files present, do NOT overwrite] ****
changed: [localhost] => (item=MezaLocalExtensions.yml)
changed: [localhost] => (item=MezaLocalSkins.yml)
changed: [localhost] => (item=public.yml)

TASK [init-controller-config : Ensure /opt/meza properly owned] ****************
changed: [localhost]

TASK [init-controller-config : Ensure /opt/conf-meza/secret directories properly owned/moded] ***
ok: [localhost] => (item=/opt/conf-meza/secret)
ok: [localhost] => (item=/opt/conf-meza/secret/monolith)

TASK [init-controller-config : Ensure /opt/conf-meza/secret files properly owned/moded] ***
ok: [localhost] => (item=/opt/conf-meza/secret/monolith/secret.yml)
ok: [localhost] => (item=/opt/conf-meza/secret/monolith/hosts)

TASK [autodeployer : set_fact] *************************************************
skipping: [localhost]

TASK [autodeployer : set_fact] *************************************************
skipping: [localhost]

TASK [Ensure autodeployer cron in place] ***************************************
skipping: [localhost]

PLAY [localhost] ***************************************************************

TASK [Gathering Facts] *********************************************************
ok: [localhost]

TASK [set-vars : Get Meza install path] ****************************************
changed: [localhost]

TASK [set-vars : set_fact] *****************************************************
ok: [localhost]

TASK [set-vars : Set OS-family specific variables] *****************************
ok: [localhost]

TASK [set-vars : Set meza-core path variables] *********************************
ok: [localhost]

TASK [set-vars : Set meza-core default variables] ******************************
ok: [localhost]

TASK [set-vars : If using gluster (app_servers > 1), override m_uploads_dir] ***
skipping: [localhost]

TASK [set-vars : Set meza local public variables] ******************************
ok: [localhost]

TASK [set-vars : Get individual wikis dirs from localhost] *********************
ok: [localhost -> localhost]

TASK [set-vars : set_fact] *****************************************************
ok: [localhost]

TASK [set-vars : Set meza environment-specific public variables for env=monolith] ***
ok: [localhost]

TASK [set-vars : Set meza local secret variables] ******************************
ok: [localhost]

TASK [autodeployer : set_fact] *************************************************
skipping: [localhost]

TASK [autodeployer : set_fact] *************************************************
skipping: [localhost]

TASK [Ensure autodeployer cron in place] ***************************************
skipping: [localhost]

PLAY [all:!exclude-all:!load_balancers_nonmeza:!load_balancers_nonmeza_external:!load_balancers_nonmeza_internal] ***

TASK [Gathering Facts] *********************************************************
ok: [localhost]

TASK [set-vars : Get Meza install path] ****************************************
changed: [localhost]

TASK [set-vars : set_fact] *****************************************************
ok: [localhost]

TASK [set-vars : Set OS-family specific variables] *****************************
ok: [localhost]

TASK [set-vars : Set meza-core path variables] *********************************
ok: [localhost]

TASK [set-vars : Set meza-core default variables] ******************************
ok: [localhost]

TASK [set-vars : If using gluster (app_servers > 1), override m_uploads_dir] ***
skipping: [localhost]

TASK [set-vars : Set meza local public variables] ******************************
ok: [localhost]

TASK [set-vars : Get individual wikis dirs from localhost] *********************
ok: [localhost -> localhost]

TASK [set-vars : set_fact] *****************************************************
ok: [localhost]

TASK [set-vars : Set meza environment-specific public variables for env=monolith] ***
ok: [localhost]

TASK [set-vars : Set meza local secret variables] ******************************
ok: [localhost]

TASK [base : Ensure user's meza-ansible and alt-meza-ansible in group "wheel"] ***
changed: [localhost] => (item=meza-ansible)
ok: [localhost] => (item=alt-meza-ansible)

TASK [base : Ensure user alt-meza-ansible .ssh dir configured] *****************
ok: [localhost]

TASK [base : Copy meza-ansible authorized_keys to alt-meza-ansible] ************
changed: [localhost]

TASK [base : Ensure user meza-ansible and alt-meza-ansible authorized_keys configured] ***
changed: [localhost] => (item=meza-ansible)
changed: [localhost] => (item=alt-meza-ansible)

TASK [base : Set authorized key for alt-meza-ansible] **************************
ok: [localhost]

TASK [base : Ensure no password on alt-meza-ansible user] **********************
changed: [localhost]

TASK [base : Ensure /etc/sudoers.d/meza-ansible in place] **********************
changed: [localhost]

TASK [base : Ensure PackageKit is removed so it doesn't try to upgrade packages on its own] ***
changed: [localhost]

TASK [base : ensure deltarpm is installed and latest] **************************
skipping: [localhost]

TASK [base : Ensure apt cache updated (Debian only)] ***************************
skipping: [localhost]

TASK [base : Ensure aptitude installed in order to use Ansible 'package' (Debian only)] ***
skipping: [localhost]

TASK [base : Upgrade all packages] *********************************************
fatal: [localhost]: FAILED! => {
    "changed": false,
    "failures": [],
    "rc": 1,
    "results": []
}

MSG:

Depsolve Error occured:
 Problem: cannot install the best update candidate for package libidn2-2.2.0-1.el8.x86_64
  - nothing provides libunistring.so.0()(64bit) needed by libidn2-2.3.4-1.el7.x86_64

PLAY RECAP *********************************************************************
localhost                  : ok=62   changed=20   unreachable=0    failed=1    skipped=13   rescued=0    ignored=0

Exiting with return code 2
revansx commented 1 year ago

Hi Albert,

At a quick glance it looks to me as if this problem is purely related to updating your system. Everything MEZA does can also be done from the command line. In this example, MEZA is simply performing a "sudo yum update" command for you and, at a quick glance, it seems that that is where the issue lies. You should try running "sudo yum update" from the command line and see if you can reproduce the problem outside of meza. If so, then it's best to figure out how to solve it that way.

alberttwong commented 1 year ago

https://stackoverflow.com/questions/70519032/why-am-i-unable-to-update-using-yum-using-centos-stream-8 to fix failover method

alberttwong commented 1 year ago

https://access.redhat.com/discussions/6138732 for more fixes

alberttwong commented 1 year ago

Still has the same problem

 Problem: cannot install the best update candidate for package libidn2-2.2.0-1.el8.x86_64
  - nothing provides libunistring.so.0()(64bit) needed by libidn2-2.3.4-1.el7.x86_64
alberttwong commented 1 year ago

I'm afraid I'm going to have to downgrade to a version that works on AWS.