Closed caomengmeng closed 7 years ago
The same problem was found days ago. This is not a go-xcat
problem but a network environment problem. See the email discussing below.
---- 8< ----
A really seriously problem was found today. And I spent a couple of hours to dig into it. Below is what I found.
The original problem is quite simple. Please see the detailed output below. It is just a simple zypper problem. I highlight the important error message in blue.
# zypper install xcat# zypper install xcat
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following 56 NEW packages are going to be installed:
conserver-xcat gcc gcc48 gettext-tools glibc-devel gnutls grub2-xcat ipmitool-xcat libatomic1
libgomp1 libitm1 libvirt-client libyajl2 linux-glibc-devel nmap perl-Crypt-CBC perl-Crypt-Rijndael
perl-Crypt-SSLeay perl-DBD-SQLite perl-Encode-Locale perl-File-Listing perl-HTML-Form
perl-HTML-Parser perl-HTML-Tagset perl-HTTP-Async perl-HTTP-Cookies perl-HTTP-Daemon perl-HTTP-Date
perl-HTTP-Message perl-HTTP-Negotiate perl-IO-HTML perl-JSON perl-libwww-perl perl-LWP-MediaTypes
perl-LWP-Protocol-https perl-Net-HTTP perl-Net-HTTPS-NB perl-Net-Telnet perl-SOAP-Lite perl-Sys-Virt
perl-Test-Manifest perl-TimeDate perl-WWW-RobotRules perl-xCAT rpm-build systemd-rpm-macros tftp
xCAT xCAT-buildkit xCAT-client xCAT-genesis-base-ppc64 xCAT-genesis-base-x86_64
xCAT-genesis-scripts-ppc64 xCAT-genesis-scripts-x86_64 xCAT-probe xCAT-server
The following 2 recommended packages were automatically selected:
perl-LWP-Protocol-https perl-TimeDate
56 new packages to install.
Overall download size: 75.2 MiB. Already cached: 23.1 MiB After the operation, additional 347.4 MiB
will be used.
Continue? [y/n/? shows all options] (y): y
In cache linux-glibc-devel-3.12-3.98.noarch.rpm (1/56), 909.2 KiB ( 3.7 MiB unpacked)
In cache perl-Encode-Locale-1.03-7.19.noarch.rpm (2/56), 18.1 KiB ( 18.2 KiB unpacked)
In cache perl-HTML-Tagset-3.20-71.19.noarch.rpm (3/56), 14.7 KiB ( 19.3 KiB unpacked)
In cache perl-HTTP-Date-6.02-7.19.noarch.rpm (4/56), 12.6 KiB ( 19.7 KiB unpacked)
In cache perl-IO-HTML-1.00-3.19.noarch.rpm (5/56), 22.7 KiB ( 42.6 KiB unpacked)
In cache perl-JSON-2.90-2.15.noarch.rpm (6/56), 95.6 KiB (269.2 KiB unpacked)
In cache perl-LWP-MediaTypes-6.02-7.19.noarch.rpm (7/56), 23.6 KiB ( 61.4 KiB unpacked)
In cache perl-Net-HTTP-6.06-3.19.noarch.rpm (8/56), 27.1 KiB ( 50.9 KiB unpacked)
In cache perl-Net-Telnet-3.04-3.19.noarch.rpm (9/56), 59.2 KiB (179.8 KiB unpacked)
In cache perl-Test-Manifest-1.23-18.20.noarch.rpm (10/56), 10.1 KiB ( 11.6 KiB unpacked)
In cache perl-TimeDate-1.20-24.19.noarch.rpm (11/56), 45.0 KiB ( 96.7 KiB unpacked)
In cache perl-WWW-RobotRules-6.02-7.17.noarch.rpm (12/56), 17.1 KiB ( 26.1 KiB unpacked)
In cache systemd-rpm-macros-2-7.161.noarch.rpm (13/56), 4.8 KiB ( 4.4 KiB unpacked)
In cache gnutls-3.2.15-1.8.ppc64le.rpm (14/56), 525.1 KiB ( 3.0 MiB unpacked)
In cache libatomic1-4.8.3+r212056-6.3.ppc64le.rpm (15/56), 21.4 KiB ( 33.9 KiB unpacked)
In cache libgomp1-4.8.3+r212056-6.3.ppc64le.rpm (16/56), 37.3 KiB ( 78.2 KiB unpacked)
In cache libitm1-4.8.3+r212056-6.3.ppc64le.rpm (17/56), 41.1 KiB (158.3 KiB unpacked)
In cache libyajl2-2.0.1-15.77.ppc64le.rpm (18/56), 22.7 KiB ( 49.8 KiB unpacked)
In cache nmap-6.46-1.72.ppc64le.rpm (19/56), 3.6 MiB ( 16.6 MiB unpacked)
In cache perl-DBD-SQLite-1.40-3.175.ppc64le.rpm (20/56), 436.4 KiB ( 1.2 MiB unpacked)
In cache tftp-5.2-8.84.ppc64le.rpm (21/56), 43.7 KiB ( 95.0 KiB unpacked)
In cache glibc-devel-2.19-17.72.ppc64le.rpm (22/56), 696.6 KiB ( 4.9 MiB unpacked)
In cache perl-HTML-Parser-3.71-1.178.ppc64le.rpm (23/56), 106.8 KiB (231.8 KiB unpacked)
In cache perl-File-Listing-6.04-7.15.noarch.rpm (24/56), 13.1 KiB ( 16.8 KiB unpacked)
In cache perl-HTTP-Message-6.06-3.14.noarch.rpm (25/56), 77.8 KiB (158.2 KiB unpacked)
In cache perl-Crypt-Rijndael-1.11-3.144.ppc64le.rpm (26/56), 25.8 KiB ( 47.6 KiB unpacked)
In cache gettext-tools-0.19.2-1.103.ppc64le.rpm (27/56), 1.8 MiB ( 8.1 MiB unpacked)
In cache libvirt-client-1.2.5-13.3.ppc64le.rpm (28/56), 5.1 MiB ( 24.9 MiB unpacked)
In cache gcc48-4.8.3+r212056-6.3.ppc64le.rpm (29/56), 6.8 MiB ( 24.7 MiB unpacked)
In cache perl-HTTP-Negotiate-6.01-7.11.noarch.rpm (30/56), 16.9 KiB ( 28.6 KiB unpacked)
In cache perl-HTTP-Daemon-6.01-7.11.noarch.rpm (31/56), 19.1 KiB ( 39.2 KiB unpacked)
In cache perl-HTTP-Cookies-6.01-7.11.noarch.rpm (32/56), 25.1 KiB ( 46.1 KiB unpacked)
In cache perl-Sys-Virt-1.2.5-1.10.ppc64le.rpm (33/56), 213.8 KiB (810.9 KiB unpacked)
In cache gcc-4.8-6.189.ppc64le.rpm (34/56), 5.4 KiB ( 0 B unpacked)
In cache perl-libwww-perl-6.05-3.11.noarch.rpm (35/56), 191.7 KiB (432.5 KiB unpacked)
In cache rpm-build-4.11.2-5.92.ppc64le.rpm (36/56), 32.7 KiB ( 28.0 KiB unpacked)
In cache perl-LWP-Protocol-https-6.04-5.4.noarch.rpm (37/56), 10.2 KiB ( 7.9 KiB unpacked)
In cache perl-Crypt-SSLeay-0.64-3.57.ppc64le.rpm (38/56), 127.0 KiB (361.3 KiB unpacked)
In cache xCAT-probe-2.12.2-snap201608180643.noarch.rpm (39/56), 57.4 KiB (268.7 KiB unpacked)
In cache xCAT-buildkit-2.12.2-snap201608180643.noarch.rpm (40/56), 67.2 KiB (302.6 KiB unpacked)
In cache grub2-xcat-2.02-0.16.el7.snap201506090204.noarch.rpm (41/56), 1.9 MiB ( 7.4 MiB unpacked)
Retrieving package perl-Crypt-CBC-2.33-3.7.noarch (42/56), 28.8 KiB ( 58.8 KiB unpacked)
Retrieving: perl-Crypt-CBC-2.33-3.7.noarch.rpm ..................................................[done]
Digest verification failed for perl-Crypt-CBC-2.33-3.7.noarch.rpm. Expected b8e79c62d43ebdf4aa8f13b55fb88a192ac53db7, found 4cb1db150544851ca43252c19d5bdcd8ff75e489. Continue? [yes/no] (no): no
Failed to provide Package perl-Crypt-CBC-2.33-3.7. Do you want to retry retrieval?
[xcat-dep|http://xcat.org/files/xcat/repos/yum/xcat-dep/sles12/ppc64le] Can't provide file './perl-Crypt-CBC-2.33-3.7.noarch.rpm' from repository 'xcat-dep'
History:
- perl-Crypt-CBC-2.33-3.7.noarch.rpm has wrong checksum
Abort, retry, ignore? [a/r/i] (a):
Problem occured during or after installation or removal of packages:
Installation aborted by user
Please see the above error message for a hint.
Blow are some extra verifications I did in the c910 environment. I highlight all the difference in blue. It seems it is a network problem. This kind of weird things only happened in the c910 environment. I cannot recreate it with the machine in the server room of Beijing lab. And I cannot recreate it on my laptop machine as well.
To make things clear, the problem is not go-xcat
related. And it is not SLES related. And it is not architecture related. I can recreate the same things on RHEL machines in c910.
The best guess I have is, there is a transparent cache server somewhere between the c910 network and xcat.org
.
Anyone has any idea about this issue? Any comment is welcome.
# wget http://xcat.org/files/xcat/repos/yum/xcat-dep/sles12/ppc64le/perl-Crypt-CBC-2.33-3.7.noarch.rp# wget http://xcat.org/files/xcat/repos/yum/xcat-dep/sles12/ppc64le/perl-Crypt-CBC-2.33-3.7.noarch.rpm -O perl-Crypt-CBC-2.33-3.7.noarch.rpm.v1
--2016-09-29 09:32:20-- http://xcat.org/files/xcat/repos/yum/xcat-dep/sles12/ppc64le/perl-Crypt-CBC-2.33-3.7.noarch.rpm
Resolving xcat.org (xcat.org)... 166.70.135.166
Connecting to xcat.org (xcat.org)|166.70.135.166|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 29521 (29K) [application/x-redhat-package-manager]
Saving to: ‘perl-Crypt-CBC-2.33-3.7.noarch.rpm.v1’
100%[=============================================================>] 29,521 --.-K/s in 0.003s
2016-09-29 09:32:20 (8.54 MB/s) - ‘perl-Crypt-CBC-2.33-3.7.noarch.rpm.v1’ saved [29521/29521]
# wget http://xcat.org/files/xcat/repos/yum/xcat-dep/sles12/ppc64le/perl-Crypt-CBC-2.33-3.7.noarch.rp# wget http://xcat.org/files/xcat/repos/yum/xcat-dep/sles12/ppc64le/perl-Crypt-CBC-2.33-3.7.noarch.rpm?blah -O perl-Crypt-CBC-2.33-3.7.noarch.rpm.v2
--2016-09-29 09:32:35-- http://xcat.org/files/xcat/repos/yum/xcat-dep/sles12/ppc64le/perl-Crypt-CBC-2.33-3.7.noarch.rpm?blah
Resolving xcat.org (xcat.org)... 166.70.135.166
Connecting to xcat.org (xcat.org)|166.70.135.166|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 29521 (29K) [application/x-redhat-package-manager]
Saving to: ‘perl-Crypt-CBC-2.33-3.7.noarch.rpm.v2’
100%[=============================================================>] 29,521 --.-K/s in 0.06s
2016-09-29 09:32:36 (514 KB/s) - ‘perl-Crypt-CBC-2.33-3.7.noarch.rpm.v2’ saved [29521/29521]
# diff -u perl-Crypt-CBC-2.33-3.7.noarch.rpm.v1 perl-Crypt-CBC-2.33-3.7.noarch.rpm.v2
Binary files perl-Crypt-CBC-2.33-3.7.noarch.rpm.v1 and perl-Crypt-CBC-2.33-3.7.noarch.rpm.v2 differ
# echo $?
2
# openssl sha1 perl-Crypt-CBC-2.33-3.7.noarch.rpm.v1 perl-Crypt-CBC-2.33-3.7.noarch.rpm.v2
SHA1(perl-Crypt-CBC-2.33-3.7.noarch.rpm.v1)= 4cb1db150544851ca43252c19d5bdcd8ff75e489
SHA1(perl-Crypt-CBC-2.33-3.7.noarch.rpm.v2)= b8e79c62d43ebdf4aa8f13b55fb88a192ac53db7
# rpm -qpi perl-Crypt-CBC-2.33-3.7.noarch.rpm.v1
Name : perl-Crypt-CBC
Version : 2.33
Release : 3.7
Architecture: noarch
Install Date: (not installed)
Group : Development/Libraries/Perl
Size : 60169
License : GPL-1.0+ or Artistic-1.0
Signature : DSA/SHA1, Mon 15 Aug 2016 05:01:11 PM EDT, Key ID 60a3e9acc6565bc9
Source RPM : perl-Crypt-CBC-2.33-3.7.src.rpm
Build Date : Thu 23 Oct 2014 06:56:38 AM EDT
Build Host : slescn3.ppd.pok.ibm.com
Relocations : (not relocatable)
URL : http://search.cpan.org/dist/Crypt-CBC/
Summary : Encrypt Data with Cipher Block Chaining Mode
Description :
This module is a Perl-only implementation of the cryptographic cipher block
chaining mode (CBC). In combination with a block cipher such as DES or
IDEA, you can encrypt and decrypt messages of arbitrarily long length. The
encrypted messages are compatible with the encryption format used by the
*OpenSSL* package.
To use this module, you will first create a Crypt::CBC cipher object with
new(). At the time of cipher creation, you specify an encryption key to use
and, optionally, a block encryption algorithm. You will then call the
start() method to initialize the encryption or decryption process, crypt()
to encrypt or decrypt one or more blocks of data, and lastly finish(), to
pad and encrypt the final block. For your convenience, you can call the
encrypt() and decrypt() methods to operate on a whole data value at once.
Distribution: (none)
# rpm -qpi perl-Crypt-CBC-2.33-3.7.noarch.rpm.v2
Name : perl-Crypt-CBC
Version : 2.33
Release : 3.7
Architecture: noarch
Install Date: (not installed)
Group : Development/Libraries/Perl
Size : 60169
License : GPL-1.0+ or Artistic-1.0
Signature : DSA/SHA1, Tue 27 Sep 2016 05:27:36 PM EDT, Key ID 60a3e9acc6565bc9
Source RPM : perl-Crypt-CBC-2.33-3.7.src.rpm
Build Date : Thu 23 Oct 2014 06:56:38 AM EDT
Build Host : slescn3.ppd.pok.ibm.com
Relocations : (not relocatable)
URL : http://search.cpan.org/dist/Crypt-CBC/
Summary : Encrypt Data with Cipher Block Chaining Mode
Description :
This module is a Perl-only implementation of the cryptographic cipher block
chaining mode (CBC). In combination with a block cipher such as DES or
IDEA, you can encrypt and decrypt messages of arbitrarily long length. The
encrypted messages are compatible with the encryption format used by the
*OpenSSL* package.
To use this module, you will first create a Crypt::CBC cipher object with
new(). At the time of cipher creation, you specify an encryption key to use
and, optionally, a block encryption algorithm. You will then call the
start() method to initialize the encryption or decryption process, crypt()
to encrypt or decrypt one or more blocks of data, and lastly finish(), to
pad and encrypt the final block. For your convenience, you can call the
encrypt() and decrypt() methods to operate on a whole data value at once.
Distribution: (none)
This is not a go-xcat
bug. Since even without go-cat
, you will meet the same problem.
I think this is caused by pointing the nameserver to the c910loginx03 node. Something is funny with that one. Please verify this when you are back and close if it is indeed the case
Since this defect is rejected, I will close it.
Test ENV: sles11, sles12.1 on ppc64le, x86 Description: When run "./go-xcat --yes install", "./go-xcat -x 2.11 -y install", "./go-xcat --xcat-version=devel -y install", failed to install xCAT sccuessfully. Details are below: As the test environment is not existed, and it is easy to read the autotest result, so just paste them directly below: no input:
with X input:
with xcat version input