Repomd.xml problems in new install

Brief description of the problem

I can’t activate a new install or update via command line:
[root@***** ~]# yum clean all && yum update
Loaded plugins: changelog, fastestmirror
Cleaning repos: base epel extras rockstor updates
Cleaning up everything
Loaded plugins: changelog, fastestmirror
base | 3.6 kB 00:00
epel/x86_64/metalink | 26 kB 00:00
epel | 4.3 kB 00:00
http://ftp.uninett.no/linux/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
Trying other mirror.
https://ftp.icm.edu.pl/pub/Linux/fedora/linux/epel/7/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - “Failed to connect to 2001:6a0:0:31::2: Network is unreachable”
Trying other mirror.
epel | 4.7 kB 00:00
extras | 3.4 kB 00:00
rockstor | 1.1 kB 00:00
http://rockstor.com/rockrepo/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for rockstor: Damaged repomd.xml file
Trying other mirror.

Detailed step by step instructions to reproduce the problem

I click on “I’ll activate” and get the error message below

Web-UI screenshot

Error Traceback provided on the Web-UI

Traceback (most recent call last): File "/opt/rockstor/src/rockstor/storageadmin/views/command.py", line 195, in post return Response(update_check(subscription=subo)) File "/opt/rockstor/src/rockstor/system/pkg_mgmt.py", line 163, in update_check o, e, rc = run_command([YUM, 'changelog', date, pkg]) File "/opt/rockstor/src/rockstor/system/osi.py", line 115, in run_command raise CommandException(cmd, out, err, rc) CommandException: Error running a command. cmd = /usr/bin/yum changelog 2017-Jul-03 rockstor. rc = 1. stdout = ['Loaded plugins: changelog, fastestmirror', '']. stderr = ['http://rockstor.com/rockrepo/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for rockstor: Damaged repomd.xml file', 'Trying other mirror.', '', '', ' One of the configured repositories failed (Rockstor 3 - x86_64),', " and yum doesn't have enough cached data to continue. At this point the only", ' safe thing yum can do is fail. There are a few ways to work "fix" this:', '', ' 1. Contact the upstream for the repository and get them to fix the problem.', '', ' 2. Reconfigure the baseurl/etc. for the repository, to point to a working', ' upstream. This is most often useful if you are using a newer', ' distribution release than is supported by the repository (and the', ' packages for the previous distribution release still work).', '', ' 3. Run the command with the repository temporarily disabled', ' yum --disablerepo=rockstor ...', '', " 4. Disable the repository permanently, so yum won't use it by default. Yum", ' will then just ignore the repository until you permanently enable it', ' again or use --enablerepo for temporary usage:', '', ' yum-config-manager --disable rockstor', ' or', ' subscription-manager repos --disable=rockstor', '', ' 5. Configure the failing repository to be skipped, if it is unavailable.', ' Note that yum will try to contact the repo. when it runs most commands,', ' so will have to try and fail each time (and thus. yum will be be much', ' slower). If it is a very temporary problem though, this is often a nice', ' compromise:', '', ' yum-config-manager --save --setopt=rockstor.skip_if_unavailable=true', '', 'failure: repodata/repomd.xml from rockstor: [Errno 256] No more mirrors to try.', 'http://rockstor.com/rockrepo/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for rockstor: Damaged repomd.xml file', ''

It just started working now :slight_smile:

@wartbump A belated welcome to the Rockstor community.

Thanks for the heads up and update. A little backend admin issue but there are moves under way to address this shortly:

Cheers for reporting you findings and following up with an update.