Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xCAT fails install on Ubuntu 18.04 (using go-xcat) #6880

Closed
xkidro opened this issue Nov 28, 2020 · 2 comments
Closed

xCAT fails install on Ubuntu 18.04 (using go-xcat) #6880

xkidro opened this issue Nov 28, 2020 · 2 comments
Assignees
Milestone

Comments

@xkidro
Copy link

xkidro commented Nov 28, 2020

root@xCAT:~# ls
server/share/xcat/tools/go-xcat -O - >/tmp/go-xcatm/xcat2/xcat-core/master/xCAT-s
--2020-11-28 13:38:50--  https://raw.githubusercontent.com/xcat2/xcat-core/master/xCAT-server/share/xcat/tools/go-xcat
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.192.133, 151.101.128.133, 151.101.64.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 54854 (54K) [text/plain]
Saving to: ‘STDOUT’

-                   100%[===================>]  53.57K  --.-KB/s    in 0.03s   

2020-11-28 13:38:51 (1.74 MB/s) - written to stdout [54854/54854]

root@xCAT:~# chmod +x /tmp/go-xcat
root@xCAT:~# /tmp/go-xcat install
Operating system:   linux
Architecture:       x86_64
Linux Distribution: ubuntu
Version:            18.04
go-xcat Version:    1.0.46


Reading repositories ...... done

xCAT Core Packages
==================

Package Name                Installed                 In Repository            
------------                ---------                 -------------            
perl-xcat                   (not installed)           2.16.1-snap202011041655  
xcat                        (not installed)           2.16.1-snap202011041655  
xcat-buildkit               (not installed)           2.16.1-snap202011041655  
xcat-client                 (not installed)           2.16.1-snap202011041655  
xcat-confluent              (not installed)           2.16.1-snap202011041655  
xcat-genesis-scripts-amd64  (not installed)           2.16.1-snap202011041655  
xcat-genesis-scripts-ppc64  (not installed)           2.16.1-snap202011041655  
xcat-probe                  (not installed)           2.16.1-snap202011041655  
xcat-server                 (not installed)           2.16.1-snap202011041655  
xcat-test                   (not installed)           2.16.1-snap202011041655  
xcat-vlan                   (not installed)           2.16.1-snap202011041655  
xcatsn                      (not installed)           2.16.1-snap202011041655  

xCAT Dependency Packages
========================

Package Name                Installed                 In Repository            
------------                ---------                 -------------            
elilo-xcat                  (not installed)           3.14-5                   
goconserver                 (not installed)           0.3.3-snap202011021133   
grub2-xcat                  (not installed)           2.02-0.76.el7.1.snap20190
ipmitool-xcat               (not installed)           1.8.18-3                 
syslinux                    (not installed)           3:6.03+dfsg1-2           
syslinux-extlinux           (not installed)           3.86-2                   
syslinux-xcat               (not installed)           3.86-2                   
xcat-genesis-base-amd64     (not installed)           2.14.5-snap201811190037  
xcat-genesis-base-ppc64     (not installed)           2.14.5-snap201811160710  
xnba-undi                   (not installed)           1.0.3-7                  

xCAT is going to be installed.
Continue? [y/n] y
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
  grub-pc-bin
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils autoconf automake autopoint
  autotools-dev bind9 bind9utils binutils binutils-common
  binutils-x86-64-linux-gnu build-essential cpp cpp-7 dctrl-tools debhelper
  debootstrap devscripts dh-autoreconf dh-strip-nondeterminism diffstat
  dpkg-dev dput fakeroot g++ g++-7 gcc gcc-7 gcc-7-base gettext goconserver
  intltool-debian isc-dhcp-server keyutils libalgorithm-diff-perl
  libalgorithm-diff-xs-perl libalgorithm-merge-perl libapr1 libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap libapt-pkg-perl
  libarchive-cpio-perl libarchive-zip-perl libasan4 libatomic1
  libauthen-sasl-perl libavahi-client3 libavahi-common-data libavahi-common3
  libb-hooks-endofscope-perl libb-hooks-op-check-perl libbinutils libblas3
  libc-dev-bin libc6-dev libcc1-0 libcgi-fast-perl libcgi-pm-perl libcilkrts5
  libclass-accessor-perl libclass-inspector-perl
  libclass-method-modifiers-perl libclass-xsaccessor-perl libclone-perl
  libcommon-sense-perl libconvert-binhex-perl libcroco3 libcrypt-cbc-perl
  libcrypt-rijndael-perl libdata-dump-perl libdata-optlist-perl
  libdbd-sqlite3-perl libdbi-perl libdevel-callchecker-perl
  libdevel-globaldestruction-perl libdigest-hmac-perl libdistro-info-perl
  libdpkg-perl libdynaloader-functions-perl libemail-valid-perl
  libencode-locale-perl libexpect-perl libexporter-tiny-perl libfakeroot
  libfcgi-perl libfile-basedir-perl libfile-chdir-perl libfile-fcntllock-perl
  libfile-homedir-perl libfile-listing-perl libfile-stripnondeterminism-perl
  libfile-which-perl libfont-afm-perl libgcc-7-dev
  libgetopt-long-descriptive-perl libgit-wrapper-perl libgomp1 libgpgme11
  libhtml-form-perl libhtml-format-perl libhtml-parser-perl
  libhtml-tagset-perl libhtml-tree-perl libhttp-async-perl
  libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
  libhttp-message-perl libhttp-negotiate-perl libimport-into-perl
  libio-html-perl libio-pty-perl libio-sessiondata-perl
  libio-socket-inet6-perl libio-socket-ssl-perl libio-string-perl
  libio-stringy-perl libio-stty-perl libipc-run-perl libipc-system-simple-perl
  libirs-export160 libisccfg-export160 libisl19 libitm1 libjson-perl
  libjson-xs-perl liblinear3 liblist-compare-perl liblist-moreutils-perl
  liblsan0 libltdl-dev libltdl7 liblua5.2-0 liblua5.3-0 liblwp-mediatypes-perl
  liblwp-protocol-https-perl libmail-sendmail-perl libmailtools-perl
  libmime-tools-perl libmodule-implementation-perl libmodule-runtime-perl
  libmoo-perl libmpc3 libmpx2 libnamespace-clean-perl libnet-dns-perl
  libnet-domain-tld-perl libnet-http-perl libnet-https-nb-perl libnet-ip-perl
  libnet-smtp-ssl-perl libnet-ssleay-perl libnet-telnet-perl libnfsidmap2
  libnl-3-200 libnumber-compare-perl libnumber-range-perl libossp-uuid-perl
  libossp-uuid16 libpackage-stash-perl libpackage-stash-xs-perl
  libparams-classify-perl libparams-util-perl libparams-validate-perl
  libparse-debianchangelog-perl libpath-iterator-rule-perl libpath-tiny-perl
  libperlio-gzip-perl libpod-constants-perl libquadmath0
  libregexp-pattern-license-perl librole-tiny-perl libsensors4 libsnmp-base
  libsnmp-perl libsnmp30 libsoap-lite-perl libsocket6-perl libsort-key-perl
  libsort-versions-perl libstdc++-7-dev libstrictures-perl
  libstring-copyright-perl libstring-escape-perl libsub-exporter-perl
  libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl
  libsub-name-perl libsub-quote-perl libsys-hostname-long-perl
  libsys-virt-perl libtask-weaken-perl libtext-glob-perl
  libtext-levenshtein-perl libtimedate-perl libtirpc1 libtool libtry-tiny-perl
  libtsan0 libtypes-serialiser-perl libubsan0 libunicode-utf8-perl liburi-perl
  libvariable-magic-perl libvirt0 libwww-perl libwww-robotrules-perl
  libxml-libxml-perl libxml-namespacesupport-perl libxml-parser-perl
  libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl
  libxml-simple-perl libxmlrpc-lite-perl libyajl2 libyaml-libyaml-perl
  licensecheck lintian linux-libc-dev m4 make manpages-dev mtools nfs-common
  nfs-kernel-server nmap patchutils perl-openssl-defaults po-debconf
  python3-gpg python3-magic python3-ply python3-unidiff python3-xdg rpcbind
  ssl-cert syslinux syslinux-common t1utils tftp-hpa tftpd-hpa unzip wdiff
  xcat-probe
Suggested packages:
  www-browser apache2-doc apache2-suexec-pristine | apache2-suexec-custom
  autoconf-archive gnu-standards autoconf-doc bind9-doc resolvconf
  binutils-doc cpp-doc gcc-7-locales debtags dh-make dwz
  ubuntu-archive-keyring adequate autopkgtest bls-standalone bsd-mailx | mailx
  check-all-the-things cvs-buildpackage devscripts-el diffoscope disorderfs
  dose-extra duck faketime gnuplot how-can-i-help libfile-desktopentry-perl
  libnet-smtps-perl libterm-size-perl libyaml-syck-perl mozilla-devscripts
  mutt piuparts postgresql-client quilt ratt reprotest svn-buildpackage w3m
  debian-keyring equivs python3-paramiko mini-dinstall g++-multilib
  g++-7-multilib gcc-7-doc libstdc++6-7-dbg gcc-multilib flex bison gdb
  gcc-doc gcc-7-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg
  libasan4-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg
  libmpx2-dbg libquadmath0-dbg gettext-doc libasprintf-dev libgettextpo-dev
  openipmi isc-dhcp-server-ldap policycoreutils libgssapi-perl glibc-doc
  libmldbm-perl libnet-daemon-perl libsql-statement-perl bzr liblinear-tools
  liblinear-dev libtool-doc libcrypt-ssleay-perl uuid libscalar-number-perl
  libhtml-template-perl lm-sensors snmp-mibs-downloader libapache2-mod-perl2
  libmime-lite-perl libnet-jabber-perl libstdc++-7-doc
  libbareword-filehandles-perl libindirect-perl libmultidimensional-perl
  gfortran | fortran95-compiler gcj-jdk libauthen-ntlm-perl binutils-multiarch
  libtext-template-perl m4-doc make-doc floppyd watchdog ndiff
  libmail-box-perl python-ply-doc openssl-blacklist pxelinux zip wdiff-doc
  yaboot-xcat
The following NEW packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils autoconf automake autopoint
  autotools-dev bind9 bind9utils binutils binutils-common
  binutils-x86-64-linux-gnu build-essential cpp cpp-7 dctrl-tools debhelper
  debootstrap devscripts dh-autoreconf dh-strip-nondeterminism diffstat
  dpkg-dev dput elilo-xcat fakeroot g++ g++-7 gcc gcc-7 gcc-7-base gettext
  goconserver grub2-xcat intltool-debian ipmitool-xcat isc-dhcp-server
  keyutils libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libapr1 libaprutil1 libaprutil1-dbd-sqlite3
  libaprutil1-ldap libapt-pkg-perl libarchive-cpio-perl libarchive-zip-perl
  libasan4 libatomic1 libauthen-sasl-perl libavahi-client3
  libavahi-common-data libavahi-common3 libb-hooks-endofscope-perl
  libb-hooks-op-check-perl libbinutils libblas3 libc-dev-bin libc6-dev
  libcc1-0 libcgi-fast-perl libcgi-pm-perl libcilkrts5 libclass-accessor-perl
  libclass-inspector-perl libclass-method-modifiers-perl
  libclass-xsaccessor-perl libclone-perl libcommon-sense-perl
  libconvert-binhex-perl libcroco3 libcrypt-cbc-perl libcrypt-rijndael-perl
  libdata-dump-perl libdata-optlist-perl libdbd-sqlite3-perl libdbi-perl
  libdevel-callchecker-perl libdevel-globaldestruction-perl
  libdigest-hmac-perl libdistro-info-perl libdpkg-perl
  libdynaloader-functions-perl libemail-valid-perl libencode-locale-perl
  libexpect-perl libexporter-tiny-perl libfakeroot libfcgi-perl
  libfile-basedir-perl libfile-chdir-perl libfile-fcntllock-perl
  libfile-homedir-perl libfile-listing-perl libfile-stripnondeterminism-perl
  libfile-which-perl libfont-afm-perl libgcc-7-dev
  libgetopt-long-descriptive-perl libgit-wrapper-perl libgomp1 libgpgme11
  libhtml-form-perl libhtml-format-perl libhtml-parser-perl
  libhtml-tagset-perl libhtml-tree-perl libhttp-async-perl
  libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
  libhttp-message-perl libhttp-negotiate-perl libimport-into-perl
  libio-html-perl libio-pty-perl libio-sessiondata-perl
  libio-socket-inet6-perl libio-socket-ssl-perl libio-string-perl
  libio-stringy-perl libio-stty-perl libipc-run-perl libipc-system-simple-perl
  libirs-export160 libisccfg-export160 libisl19 libitm1 libjson-perl
  libjson-xs-perl liblinear3 liblist-compare-perl liblist-moreutils-perl
  liblsan0 libltdl-dev libltdl7 liblua5.2-0 liblua5.3-0 liblwp-mediatypes-perl
  liblwp-protocol-https-perl libmail-sendmail-perl libmailtools-perl
  libmime-tools-perl libmodule-implementation-perl libmodule-runtime-perl
  libmoo-perl libmpc3 libmpx2 libnamespace-clean-perl libnet-dns-perl
  libnet-domain-tld-perl libnet-http-perl libnet-https-nb-perl libnet-ip-perl
  libnet-smtp-ssl-perl libnet-ssleay-perl libnet-telnet-perl libnfsidmap2
  libnl-3-200 libnumber-compare-perl libnumber-range-perl libossp-uuid-perl
  libossp-uuid16 libpackage-stash-perl libpackage-stash-xs-perl
  libparams-classify-perl libparams-util-perl libparams-validate-perl
  libparse-debianchangelog-perl libpath-iterator-rule-perl libpath-tiny-perl
  libperlio-gzip-perl libpod-constants-perl libquadmath0
  libregexp-pattern-license-perl librole-tiny-perl libsensors4 libsnmp-base
  libsnmp-perl libsnmp30 libsoap-lite-perl libsocket6-perl libsort-key-perl
  libsort-versions-perl libstdc++-7-dev libstrictures-perl
  libstring-copyright-perl libstring-escape-perl libsub-exporter-perl
  libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl
  libsub-name-perl libsub-quote-perl libsys-hostname-long-perl
  libsys-virt-perl libtask-weaken-perl libtext-glob-perl
  libtext-levenshtein-perl libtimedate-perl libtirpc1 libtool libtry-tiny-perl
  libtsan0 libtypes-serialiser-perl libubsan0 libunicode-utf8-perl liburi-perl
  libvariable-magic-perl libvirt0 libwww-perl libwww-robotrules-perl
  libxml-libxml-perl libxml-namespacesupport-perl libxml-parser-perl
  libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl
  libxml-simple-perl libxmlrpc-lite-perl libyajl2 libyaml-libyaml-perl
  licensecheck lintian linux-libc-dev m4 make manpages-dev mtools nfs-common
  nfs-kernel-server nmap patchutils perl-openssl-defaults perl-xcat po-debconf
  python3-gpg python3-magic python3-ply python3-unidiff python3-xdg rpcbind
  ssl-cert syslinux syslinux-common syslinux-xcat t1utils tftp-hpa tftpd-hpa
  unzip wdiff xcat xcat-buildkit xcat-client xcat-genesis-base-amd64
  xcat-genesis-base-ppc64 xcat-genesis-scripts-amd64
  xcat-genesis-scripts-ppc64 xcat-probe xcat-server xnba-undi
0 upgraded, 263 newly installed, 0 to remove and 0 not upgraded.
Need to get 1158 B/272 MB of archives.
After this operation, 912 MB of additional disk space will be used.
Get:1 http://xcat.org/files/xcat/repos/apt/latest/xcat-dep bionic/main amd64 elilo-xcat all 3.14-5 [1158 B]
Err:1 http://xcat.org/files/xcat/repos/apt/latest/xcat-dep bionic/main amd64 elilo-xcat all 3.14-5
  File has unexpected size (63576 != 1158). Mirror sync in progress? [IP: 166.70.135.166 80]
  Hashes of expected file:
   - SHA256:048d2a7dfb90d5303efd5562c246d5cfe135eb290f0e620135135900b71f7e9d
   - SHA1:fe6be1663d76b1434d7e0d07ad71d9a0f3720b72 [weak]
   - MD5Sum:ce1f1720dd3bde53b85cbe0191570b50 [weak]
   - Filesize:1158 [weak]
E: Failed to fetch http://xcat.org/files/xcat/repos/apt/latest/xcat-dep/pool/main/e/elilo-xcat/elilo-xcat_3.14-5_all.deb  File has unexpected size (63576 != 1158). Mirror sync in progress? [IP: 166.70.135.166 80]
   Hashes of expected file:
    - SHA256:048d2a7dfb90d5303efd5562c246d5cfe135eb290f0e620135135900b71f7e9d
    - SHA1:fe6be1663d76b1434d7e0d07ad71d9a0f3720b72 [weak]
    - MD5Sum:ce1f1720dd3bde53b85cbe0191570b50 [weak]
    - Filesize:1158 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Boo-boo
=======

Something went wrong. :(

Please check log file `/tmp/go-xcat.log' for more details.
root@xCAT:~# 
@xkidro xkidro changed the title xCAT fails install on Ubuntu 18.04 xCAT fails install on Ubuntu 18.04 (using go-xcat) Nov 28, 2020
@cxhong
Copy link
Contributor

cxhong commented Nov 28, 2020

I added elilo-xcat_3.14-5_all.deb with filesize 63576 to devel tree last couple days ago. xcat2/xcat-dep#42 The latest tree should still have file size 1158 . maybe somewhere messed up. I will look into Monday.
Can you install elilo-xcat package first from devel tree first, then run go-xcat? http://xcat.org/files/xcat/repos/apt/devel/xcat-dep/pool/main/e/elilo-xcat/elilo-xcat_3.14-5_all.deb

@gurevichmark gurevichmark self-assigned this Dec 2, 2020
@gurevichmark gurevichmark added this to the 2.16.2 milestone Dec 2, 2020
@gurevichmark
Copy link
Contributor

elilo-xcat_3.14-5_all.deb has been updated for latest and devel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants