Webgui - Strange problems

Evening ,

Strange problem with my rock stor. server

cant access Webgui but can access shares and root login via putty

any ideas ?

or any tips i can try

Hi @frenzy,

Start by checking that the Rockstor service is running:

systemctl status rockstor

if so, check that nginx is listening on port 443

netstat -tulpn|grep "443.*nginx"

If either of these fail, try restarting rockstor service:

systemctl restart rockstor

If you have no luck here, check the logs:

cat /opt/rockstor/var/log/rockstor.log

If you can’t glean anything from there, post the last 20-50 lines of the log here (after an attempted restart of the rockstor UI, and attempted access) so that we (the community) can take a look and see if anything stands out.

If none of that helps, @Haioken, do you think it could be another instance of the emtpy nginx.conf “mystery”?

Apr 11 17:44:41 myrocker systemd[1]: Dependency failed for RockStor startup script.
Apr 11 17:44:41 myrocker systemd[1]: Job rockstor.service/start failed with result ‘dependency’.
Apr 11 19:40:17 myrocker systemd[1]: Dependency failed for RockStor startup script.
Apr 11 19:40:17 myrocker systemd[1]: Job rockstor.service/start failed with result ‘dependency’.
Apr 11 19:40:47 myrocker systemd[1]: Dependency failed for RockStor startup script.
Apr 11 19:40:47 myrocker systemd[1]: Job rockstor.service/start failed with result ‘dependency’.

appears to be a Dependency problem

so ho does one fix this

[root@myrocker ~]# systemctl status rockstor
● rockstor.service - RockStor startup script
Loaded: loaded (/etc/systemd/system/rockstor.service; disabled; vendor preset : enabled)
Active: inactive (dead)

Apr 11 20:34:57 myrocker systemd[1]: Dependency failed for RockStor startup…t.
Apr 11 20:34:57 myrocker systemd[1]: Job rockstor.service/start failed with…’.
Hint: Some lines were ellipsized, use -l to show in full.

I’m not sure it actually will be helpful, but if you have the chance, could you report the result of systemctl status -l rockstor as instructed in the command to get more details about the failed dependency here?

Also, please provide logs from a start attempt as I mentioned previously:

This may help us identify what the missing dependency is.

I have just experienced this very same issue. So, I will provide some information and logs in hopes that we can find a fix. Here is the output of journalctl -xe:

[root@nas ~]# journalctl -xe
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit session-6.scope has begun starting up.
Apr 27 11:01:01 nas CROND[2906]: (root) CMD (run-parts /etc/cron.hourly)
Apr 27 11:01:01 nas run-parts(/etc/cron.hourly)[2909]: starting 0anacron
Apr 27 11:01:01 nas run-parts(/etc/cron.hourly)[2915]: finished 0anacron
Apr 27 11:01:01 nas run-parts(/etc/cron.hourly)[2917]: starting 0yum-hourly.cron
Apr 27 11:11:16 nas run-parts(/etc/cron.hourly)[2935]: finished 0yum-hourly.cron
Apr 27 11:13:10 nas polkitd[2208]: Registered Authentication Agent for unix-process:2939:1610056 (system bus name :1.31 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /
Apr 27 11:13:10 nas systemd[1]: Starting Tasks required prior to starting Rockstor...
-- Subject: Unit rockstor-pre.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit rockstor-pre.service has begun starting up.
Apr 27 11:13:12 nas initrock[2945]: 2018-04-27 11:13:12,287: Supported kernel(/boot/vmlinuz-4.12.4-1.el7.elrepo.x86_64) is already the default
Apr 27 11:13:12 nas initrock[2945]: 2018-04-27 11:13:12,444: /etc/rc.d/rc.local looks correct. Not updating.
Apr 27 11:13:12 nas initrock[2945]: 2018-04-27 11:13:12,445: Checking for flash and Running flash optimizations if appropriate.
Apr 27 11:13:13 nas systemd[1]: Reloading.
Apr 27 11:13:13 nas initrock[2945]: 2018-04-27 11:13:13,449: Updating the timezone from the system
Apr 27 11:13:13 nas initrock[2945]: 2018-04-27 11:13:13,450: system timezone = America/New_York
Apr 27 11:13:13 nas initrock[2945]: 2018-04-27 11:13:13,452: Updating sshd_config
Apr 27 11:13:13 nas initrock[2945]: 2018-04-27 11:13:13,456: sshd_config already has the updates. Leaving it unchanged.
Apr 27 11:13:13 nas initrock[2945]: 2018-04-27 11:13:13,457: Running app database migrations...
Apr 27 11:13:14 nas initrock[2945]: Traceback (most recent call last):
Apr 27 11:13:14 nas initrock[2945]: File "/opt/rockstor/bin/initrock", line 44, in <module>
Apr 27 11:13:14 nas initrock[2945]: sys.exit(scripts.initrock.main())
Apr 27 11:13:14 nas initrock[2945]: File "/opt/rockstor/src/rockstor/scripts/initrock.py", line 413, in main
Apr 27 11:13:14 nas initrock[2945]: '--database=%s' % db, app])
Apr 27 11:13:14 nas initrock[2945]: File "/opt/rockstor/src/rockstor/system/osi.py", line 121, in run_command
Apr 27 11:13:14 nas initrock[2945]: raise CommandException(cmd, out, err, rc)
Apr 27 11:13:14 nas initrock[2945]: system.exceptions.CommandException: Error running a command. cmd = /opt/rockstor/bin/django migrate --list --database=default storageadmin. rc = 
Apr 27 11:13:14 nas initrock[2945]: grations/loader.py", line 47, in __init__', '    self.build_graph()', '  File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/migrations/lo
Apr 27 11:13:14 nas initrock[2945]: nections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?', '', '']
Apr 27 11:13:14 nas systemd[1]: rockstor-pre.service: main process exited, code=exited, status=1/FAILURE
Apr 27 11:13:14 nas systemd[1]: Failed to start Tasks required prior to starting Rockstor.
-- Subject: Unit rockstor-pre.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit rockstor-pre.service has failed.
-- 
-- The result is failed.
Apr 27 11:13:14 nas systemd[1]: Dependency failed for RockStor startup script.
-- Subject: Unit rockstor.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit rockstor.service has failed.
-- 
-- The result is dependency.
Apr 27 11:13:14 nas systemd[1]: Job rockstor.service/start failed with result 'dependency'.
Apr 27 11:13:14 nas systemd[1]: Unit rockstor-pre.service entered failed state.
Apr 27 11:13:14 nas systemd[1]: rockstor-pre.service failed.
Apr 27 11:13:14 nas polkitd[2208]: Unregistered Authentication Agent for unix-process:2939:1610056 (system bus name :1.31, object path /org/freedesktop/PolicyKit1/AuthenticationAgen

It looks like the problem is related to django and a migration, perhaps? After searching around on these forums and on github, I see that there was an issue in the 3.8 series of releases that required manual intervention because of a django migration problem. However, in my case specifically, this is a pretty recent install (only a few months ago…) and the 3.9.1 iso was used for the install. So, this seems to be a new problem or a resurfacing of an old one.

Although, I just ran cat /etc/system-release and found this:

[root@nas etc]# cat system-release
Rockstor release 3.8.16 (Core)

However, I am certain that prior to the problem, the Web-UI indicated I was running Rockstor 3.9.2-23 (or something very similar). It may be relevant, but I do have a paid subscription and have automatic updates turned on. However, I have not enbabled Testing updates.

If there is any additional information or logs you would like to see, I will be happy to provide them.

This may also be helpful:

[root@nas ~]# yum info rockstor
Loaded plugins: changelog, fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.metrocast.net
 * epel: ewr.edge.kernel.org
 * extras: repos-va.psychz.net
 * updates: mirror.wdc1.us.leaseweb.net
Installed Packages
Name        : rockstor
Arch        : x86_64
Version     : 3.9.2
Release     : 23
Size        : 78 M
Repo        : installed
From repo   : Rockstor-Stable
Summary     : RockStor -- Store Smartly
License     : GPL
Description : RockStor -- Store Smartly

Hi @Lillypad, @1976dan, @frenzy,

It would be most helpful if you could post the output for things that we’ve requested. Unfortunately the information provided insofar does not give a whole lot of detail.

Namely, attempt a restart of rockstor service and provide output:

systemctl restart rockstor
systemctl status -l rockstor
cat /opt/rockstor/var/log/rockstor.log

At the moment, it appears you’re facing the same issue, in that the rockstor has not started because a service that it depends on (the ‘dependancy’, rockstor-pre.service) has failed due to an error somewhere with Django.
Obvously it’s not ideal for multiple users to be facing a common issue, as this indicates something may be broken on a grander scale, and I’m sure that if that’s the case, the devs would like the information required to prevent it happening in future - plus, we - the forum members - may be able to provide some insights to resolving your issues.

Thank you @Haioken for the response and willingness to help. Here is the output you requested broken to two posts due to character limits in the forums:

[root@nas ~]# systemctl restart rockstor
A dependency job for rockstor.service failed. See 'journalctl -xe' for details.
[root@nas ~]# systemctl status -l rockstor
● rockstor.service - RockStor startup script
   Loaded: loaded (/etc/systemd/system/rockstor.service; enabled; vendor preset: enabled)
   Active: inactive (dead)

Apr 27 14:23:59 rockstor systemd[1]: Dependency failed for RockStor startup script.
Apr 27 14:23:59 rockstor systemd[1]: Job rockstor.service/start failed with result 'dependency'.
Apr 28 12:33:21 rockstor systemd[1]: Dependency failed for RockStor startup script.
Apr 28 12:33:21 rockstor systemd[1]: Job rockstor.service/start failed with result 'dependency'.
[root@nas ~]# cat /opt/rockstor/var/log/rockstor.log
[06/Jan/2018 21:37:42] ERROR [storageadmin.util:44] exception: Unable to check update due to a system error: Error running a command. cmd = /usr/bin/yum changelog 2017-Jul-03 rockstor. rc = 1. stdout = ['Loaded plugins: changelog, fastestmirror', '']. stderr = ['Existing lock /var/run/yum.pid: another copy is running as pid 28116.', 'Another app is currently holding the yum lock; waiting for it to exit...', '  The other application is: yum', '    Memory :  34 M RSS (419 MB VSZ)', '    Started: Sat Jan  6 21:37:35 2018 - 00:02 ago', '    State  : Sleeping, pid: 28116', 'Existing lock /var/run/yum.pid: another copy is running as pid 28125.', 'Another app is currently holding the yum lock; waiting for it to exit...', '  The other application is: yum', '    Memory :  34 M RSS (418 MB VSZ)', '    Started: Sat Jan  6 21:37:35 2018 - 00:04 ago', '    State  : Sleeping, pid: 28125', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', '', '', ' One of the configured repositories failed (Subscription channel for testing updates),', " 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-Testing ...', '', "     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-Testing', '        or', '            subscription-manager repos --disable=Rockstor-Testing', '', '     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-Testing.skip_if_unavailable=true', '', 'failure: repodata/repomd.xml from Rockstor-Testing: [Errno 256] No more mirrors to try.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', '']
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 = ['Existing lock /var/run/yum.pid: another copy is running as pid 28116.', 'Another app is currently holding the yum lock; waiting for it to exit...', '  The other application is: yum', '    Memory :  34 M RSS (419 MB VSZ)', '    Started: Sat Jan  6 21:37:35 2018 - 00:02 ago', '    State  : Sleeping, pid: 28116', 'Existing lock /var/run/yum.pid: another copy is running as pid 28125.', 'Another app is currently holding the yum lock; waiting for it to exit...', '  The other application is: yum', '    Memory :  34 M RSS (418 MB VSZ)', '    Started: Sat Jan  6 21:37:35 2018 - 00:04 ago', '    State  : Sleeping, pid: 28125', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', '', '', ' One of the configured repositories failed (Subscription channel for testing updates),', " 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-Testing ...', '', "     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-Testing', '        or', '            subscription-manager repos --disable=Rockstor-Testing', '', '     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-Testing.skip_if_unavailable=true', '', 'failure: repodata/repomd.xml from Rockstor-Testing: [Errno 256] No more mirrors to try.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', '']
[06/Jan/2018 21:39:16] ERROR [storageadmin.util:44] exception: Unable to check update due to a system error: Error running a command. cmd = /usr/bin/yum changelog 2017-Jul-03 rockstor. rc = 1. stdout = ['Loaded plugins: changelog, fastestmirror', '']. stderr = ['http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', '', '', ' One of the configured repositories failed (Subscription channel for testing updates),', " 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-Testing ...', '', "     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-Testing', '        or', '            subscription-manager repos --disable=Rockstor-Testing', '', '     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-Testing.skip_if_unavailable=true', '', 'failure: repodata/repomd.xml from Rockstor-Testing: [Errno 256] No more mirrors to try.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', '']
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://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', '', '', ' One of the configured repositories failed (Subscription channel for testing updates),', " 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-Testing ...', '', "     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-Testing', '        or', '            subscription-manager repos --disable=Rockstor-Testing', '', '     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-Testing.skip_if_unavailable=true', '', 'failure: repodata/repomd.xml from Rockstor-Testing: [Errno 256] No more mirrors to try.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', '']
[06/Jan/2018 21:47:40] ERROR [storageadmin.util:44] exception: Unable to check update due to a system error: Error running a command. cmd = /usr/bin/yum changelog 2017-Jul-03 rockstor. rc = 1. stdout = ['Loaded plugins: changelog, fastestmirror', '']. stderr = ['http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', '', '', ' One of the configured repositories failed (Subscription channel for testing updates),', " 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-Testing ...', '', "     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-Testing', '        or', '            subscription-manager repos --disable=Rockstor-Testing', '', '     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-Testing.skip_if_unavailable=true', '', 'failure: repodata/repomd.xml from Rockstor-Testing: [Errno 256] No more mirrors to try.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', '']
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)

And part 2:

CommandException: Error running a command. cmd = /usr/bin/yum changelog 2017-Jul-03 rockstor. rc = 1. stdout = ['Loaded plugins: changelog, fastestmirror', '']. stderr = ['http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', '', '', ' One of the configured repositories failed (Subscription channel for testing updates),', " 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-Testing ...', '', "     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-Testing', '        or', '            subscription-manager repos --disable=Rockstor-Testing', '', '     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-Testing.skip_if_unavailable=true', '', 'failure: repodata/repomd.xml from Rockstor-Testing: [Errno 256] No more mirrors to try.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', '']
[07/Jan/2018 00:51:48] ERROR [storageadmin.util:44] exception: Unable to check update due to a system error: Error running a command. cmd = /usr/bin/yum changelog 2017-Jul-03 rockstor. rc = 1. stdout = ['Loaded plugins: changelog, fastestmirror', '']. stderr = ['http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', '', '', ' One of the configured repositories failed (Subscription channel for testing updates),', " 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-Testing ...', '', "     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-Testing', '        or', '            subscription-manager repos --disable=Rockstor-Testing', '', '     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-Testing.skip_if_unavailable=true', '', 'failure: repodata/repomd.xml from Rockstor-Testing: [Errno 256] No more mirrors to try.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', '']
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://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', '', '', ' One of the configured repositories failed (Subscription channel for testing updates),', " 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-Testing ...', '', "     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-Testing', '        or', '            subscription-manager repos --disable=Rockstor-Testing', '', '     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-Testing.skip_if_unavailable=true', '', 'failure: repodata/repomd.xml from Rockstor-Testing: [Errno 256] No more mirrors to try.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', '']
[07/Jan/2018 00:52:49] ERROR [storageadmin.util:44] exception: Unable to check update due to a system error: Error running a command. cmd = /usr/bin/yum changelog 2017-Jul-03 rockstor. rc = 1. stdout = ['Loaded plugins: changelog, fastestmirror', '']. stderr = ['http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', '', '', ' One of the configured repositories failed (Subscription channel for testing updates),', " 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-Testing ...', '', "     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-Testing', '        or', '            subscription-manager repos --disable=Rockstor-Testing', '', '     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-Testing.skip_if_unavailable=true', '', 'failure: repodata/repomd.xml from Rockstor-Testing: [Errno 256] No more mirrors to try.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', '']
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://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'Trying other mirror.', '', '', ' One of the configured repositories failed (Subscription channel for testing updates),', " 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-Testing ...', '', "     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-Testing', '        or', '            subscription-manager repos --disable=Rockstor-Testing', '', '     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-Testing.skip_if_unavailable=true', '', 'failure: repodata/repomd.xml from Rockstor-Testing: [Errno 256] No more mirrors to try.', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', 'http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"', '']
Package upgrade
[08/Jan/2018 08:49:32] ERROR [storageadmin.util:44] exception: Failed to reboot the system due to a low level error: Error running a command. cmd = /usr/sbin/shutdown -r now. rc = -15. stdout = ['']. stderr = ['']
Traceback (most recent call last):
  File "/opt/rockstor/src/rockstor/storageadmin/views/command.py", line 257, in post
    system_reboot(delay)
  File "/opt/rockstor/src/rockstor/system/osi.py", line 1145, in system_reboot
    return run_command([SHUTDOWN, '-r', delta])
  File "/opt/rockstor/src/rockstor/system/osi.py", line 121, in run_command
    raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/sbin/shutdown -r now. rc = -15. stdout = ['']. stderr = ['']
[10/Feb/2018 16:40:20] ERROR [storageadmin.util:44] exception: Failed to reboot the system due to a low level error: Error running a command. cmd = /usr/sbin/shutdown -r now. rc = -15. stdout = ['']. stderr = ['']
Traceback (most recent call last):
  File "/opt/rockstor/src/rockstor/storageadmin/views/command.py", line 257, in post
    system_reboot(delay)
  File "/opt/rockstor/src/rockstor/system/osi.py", line 1145, in system_reboot
    return run_command([SHUTDOWN, '-r', delta])
  File "/opt/rockstor/src/rockstor/system/osi.py", line 121, in run_command
    raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/sbin/shutdown -r now. rc = -15. stdout = ['']. stderr = ['']
Package upgrade
Package upgrade
[26/Feb/2018 16:45:33] ERROR [storageadmin.util:44] exception: Failed to shutdown the system due to a low level error: Error running a command. cmd = /usr/sbin/shutdown -h now. rc = -15. stdout = ['']. stderr = ['']
Traceback (most recent call last):
  File "/opt/rockstor/src/rockstor/storageadmin/views/command.py", line 243, in post
    system_shutdown(delay)
  File "/opt/rockstor/src/rockstor/system/osi.py", line 1139, in system_shutdown
    return run_command([SHUTDOWN, '-h', delta])
  File "/opt/rockstor/src/rockstor/system/osi.py", line 121, in run_command
    raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/sbin/shutdown -h now. rc = -15. stdout = ['']. stderr = ['']
Package upgrade
Package upgrade
Package upgrade
Package upgrade
Package upgrade
Package upgrade
Package upgrade
Package upgrade
[16/Apr/2018 14:40:03] ERROR [storageadmin.util:44] Exception: Failed to reboot the system due to a low level error: (Error running a command. cmd = /usr/sbin/shutdown -r now. rc = -15. stdout = ['']. stderr = ['']).
Traceback (most recent call last):
  File "/opt/rockstor/src/rockstor/storageadmin/views/command.py", line 259, in post
    system_reboot(delay)
  File "/opt/rockstor/src/rockstor/system/osi.py", line 1145, in system_reboot
    return run_command([SHUTDOWN, '-r', delta])
  File "/opt/rockstor/src/rockstor/system/osi.py", line 121, in run_command
    raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/sbin/shutdown -r now. rc = -15. stdout = ['']. stderr = ['']
[root@nas ~]#

With some creative formatting and editing, your issue may be an inability to contact the update server.
Does your Rockstor box have an internet connection?

Existing lock /var/run/yum.pid: another copy is running as pid 28116.
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  34 M RSS (419 MB VSZ)
    Started: Sat Jan  6 21:37:35 2018 - 00:02 ago
    State  : Sleeping, pid: 28116
Existing lock /var/run/yum.pid: another copy is running as pid 28125.
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  34 M RSS (418 MB VSZ)
    Started: Sat Jan  6 21:37:35 2018 - 00:04 ago
    State  : Sleeping, pid: 28125
http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"
Trying other mirror.
http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"
Trying other mirror.
http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"
Trying other mirror.
http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"
Trying other mirror.
http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"
Trying other mirror.
http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"
Trying other mirror.
http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"
Trying other mirror.
http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"
Trying other mirror.
http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"
Trying other mirror.
http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"
Trying other mirror.


 One of the configured repositories failed (Subscription channel for testing updates),
	" 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-Testing ...

	"     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-Testing
        or
            subscription-manager repos --disable=Rockstor-Testing

     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-Testing.skip_if_unavailable=true

failure: repodata/repomd.xml from Rockstor-Testing: [Errno 256] No more mirrors to try.
http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"
http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"
http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"
http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"
http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"
http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"
http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"
http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"
http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"
http://updates.rockstor.com:8999/rockstor-testing/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to updates.rockstor.com:8999; Connection refused"

For the moment, I suggest doing as YUM said and disable the repo if unavailable, kill any existing yum command and attempt to start again:

yum-config-manager --save --setopt=Rockstor-Testing.skip_if_unavailable=true
killall -9 yum
systemctl restart rockstor

We’ll see if this alleviates the issue, otherwise we’ll try something else.
Please ensure that if this doesn’t work to also post the output of:

cat /opt/rockstor/var/log/rockstor.log

Thank you for looking through all of that data! I apologize for the awful formatting. I was in a hurry and didn’t double-check my posts.

The very day I first installed Rockstor, the Rockstor repos were down and the system could not check for updates. In the section of logs in your post, you’ll notice that the date of those errors was Jan 6, 2018:

So, I did confirm the box has internet access. I also confirmed which repos were enabled:

[root@nas log]# yum repolist
Loaded plugins: changelog, fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.cogentco.com
 * epel: ewr.edge.kernel.org
 * extras: mirror.metrocast.net
 * updates: mirror.umd.edu
repo id                                           repo name                                                                        status
Rockstor-Stable                                   Subscription channel for stable updates                                                36
base/x86_64                                       CentOS-7 - Base                                                                     9,591
epel/x86_64                                       Extra Packages for Enterprise Linux 7 - x86_64                                     12,510
extras/x86_64                                     CentOS-7 - Extras                                                                     448
rockstor                                          Rockstor 3 - x86_64                                                                    54
updates/x86_64                                    CentOS-7 - Updates                                                               2,336+80
repolist: 24,975
[root@nas log]# yum repolist enabled
Loaded plugins: changelog, fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.cogentco.com
 * epel: ewr.edge.kernel.org
 * extras: mirror.metrocast.net
 * updates: mirror.umd.edu
repo id                                           repo name                                                                        status
!Rockstor-Stable                                  Subscription channel for stable updates                                                36
base/x86_64                                       CentOS-7 - Base                                                                     9,591
epel/x86_64                                       Extra Packages for Enterprise Linux 7 - x86_64                                     12,510
extras/x86_64                                     CentOS-7 - Extras                                                                     448
!rockstor                                         Rockstor 3 - x86_64                                                                    54
updates/x86_64                                    CentOS-7 - Updates                                                               2,336+80
repolist: 24,975

So, Rockstor-Testing is not even enabled since I have subscribed to Stable updates. I will gather the rockstor.log output and post that again in a couple of minutes.

Sorry for the delay… After attempting to restart Rockstor with:

systemctl restart rockstor

I pulled the last 25 lines of /opt/rockstor/var/log/rockstor.log:

[26/Feb/2018 16:45:33] ERROR [storageadmin.util:44] exception: Failed to shutdown the system due to a low level error: Error running a command. cmd = /usr/sbin/shutdown -h now. rc = -15. stdout = ['']. stderr = ['']
Traceback (most recent call last):
  File "/opt/rockstor/src/rockstor/storageadmin/views/command.py", line 243, in post
    system_shutdown(delay)
  File "/opt/rockstor/src/rockstor/system/osi.py", line 1139, in system_shutdown
    return run_command([SHUTDOWN, '-h', delta])
  File "/opt/rockstor/src/rockstor/system/osi.py", line 121, in run_command
    raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/sbin/shutdown -h now. rc = -15. stdout = ['']. stderr = ['']
Package upgrade
Package upgrade
Package upgrade
Package upgrade
Package upgrade
Package upgrade
Package upgrade
Package upgrade
[16/Apr/2018 14:40:03] ERROR [storageadmin.util:44] Exception: Failed to reboot the system due to a low level error: (Error running a command. cmd = /usr/sbin/shutdown -r now. rc = -15. stdout = ['']. stderr = ['']).
Traceback (most recent call last):
  File "/opt/rockstor/src/rockstor/storageadmin/views/command.py", line 259, in post
    system_reboot(delay)
  File "/opt/rockstor/src/rockstor/system/osi.py", line 1145, in system_reboot
    return run_command([SHUTDOWN, '-r', delta])
  File "/opt/rockstor/src/rockstor/system/osi.py", line 121, in run_command
    raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/sbin/shutdown -r now. rc = -15. stdout = ['']. stderr = ['']

Those last 25 lines include data all the way back to Feb. 26. The most recent entries appear to be from April 16. I’m not sure what all should be included in this log file, but I was using the system up until Thursday, April 26th, when I experienced the same issue as the OP.

Are there other logs that may contain relevant data? I will be happy to share them as well.

@Lillypad,

Unfortunately, I’m not seeing much more helpful information available in any system logs.
You might try tailing /var/log/messages to see if anything shows up.
Also inspect the systemd logs for rockstor-pre.service after restart:

systemctl status -l rockstor-pre

I have had an opportunity to look a little further. The rockstor-pre.service is failing due to an issue with the PostgreSQL database server. Here is some relevant output from systemctl regarding those services:

[root@nas ~]# systemctl status -l rockstor-pre
● rockstor-pre.service - Tasks required prior to starting Rockstor
   Loaded: loaded (/etc/systemd/system/rockstor-pre.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2018-04-29 16:59:35 EDT; 4 days ago
 Main PID: 2766 (code=exited, status=1/FAILURE)

Apr 29 16:59:35 nas initrock[2766]: '--database=%s' % db, app])
Apr 29 16:59:35 nas initrock[2766]: File "/opt/rockstor/src/rockstor/system/osi.py", line 121, in run_command
Apr 29 16:59:35 nas initrock[2766]: raise CommandException(cmd, out, err, rc)
Apr 29 16:59:35 nas initrock[2766]: system.exceptions.CommandException: Error running a command. cmd = /opt/rockstor/bin/django migrate --list --database=default storageadmin. rc = 1. stdout = ['']. stderr = ['Traceback (most recent call last):', '  File "/opt/rockstor/bin/django", line 44, in <module>', "    sys.exit(djangorecipe.manage.main('rockstor.settings'))", '  File "/opt/rockstor/eggs/djangorecipe-1.9-py2.7.egg/djangorecipe/manage.py", line 9, in main', '    management.execute_from_command_line(sys.argv)', '  File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/core/management/__init__.py", line 354, in execute_from_command_line', '    utility.execute()', '  File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/core/management/__init__.py", line 346, in execute', '    self.fetch_command(subcommand).run_from_argv(self.argv)', '  File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/core/management/base.py", line 394, in run_from_argv', '    self.execute(*args, **cmd_options)', '  File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/core/management/base.py", line 445, in execute', '    output = self.handle(*args, **options)', '  File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/core/management/commands/migrate.py", line 87, in handle', '    verbosity=self.verbosity,', '  File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/core/management/__init__.py", line 120, in call_command', '    return command.execute(*args, **defaults)', '  File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/core/management/base.py", line 445, in execute', '    output = self.handle(*args, **options)', '  File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/core/management/commands/showmigrations.py", line 36, in handle', "    return self.show_list(connection, options['app_labels'])", '  File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/core/management/commands/showmigrations.py", line 44, in show_list', '    loader = MigrationLoader(connection, ignore_no_migrations=True)', '  File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/mi
Apr 29 16:59:35 nas initrock[2766]: grations/loader.py", line 47, in __init__', '    self.build_graph()', '  File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/migrations/loader.py", line 191, in build_graph', '    self.applied_migrations = recorder.applied_migrations()', '  File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/migrations/recorder.py", line 59, in applied_migrations', '    self.ensure_schema()', '  File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/migrations/recorder.py", line 49, in ensure_schema', '    if self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor()):', '  File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/backends/base/base.py", line 164, in cursor', '    cursor = self.make_cursor(self._cursor())', '  File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/backends/base/base.py", line 135, in _cursor', '    self.ensure_connection()', '  File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/backends/base/base.py", line 130, in ensure_connection', '    self.connect()', '  File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/utils.py", line 98, in __exit__', '    six.reraise(dj_exc_type, dj_exc_value, traceback)', '  File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/backends/base/base.py", line 130, in ensure_connection', '    self.connect()', '  File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/backends/base/base.py", line 119, in connect', '    self.connection = self.get_new_connection(conn_params)', '  File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 176, in get_new_connection', '    connection = Database.connect(**conn_params)', '  File "/opt/rockstor/eggs/psycopg2-2.6-py2.7-linux-x86_64.egg/psycopg2/__init__.py", line 164, in connect', '    conn = _connect(dsn, connection_factory=connection_factory, async=async)', 'django.db.utils.OperationalError: could not connect to server: No such file or directory', '\tIs the server running locally and accepting', '\tcon
Apr 29 16:59:35 nas initrock[2766]: nections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?', '', '']
Apr 29 16:59:35 nas systemd[1]: rockstor-pre.service: main process exited, code=exited, status=1/FAILURE
Apr 29 16:59:35 nas systemd[1]: Failed to start Tasks required prior to starting Rockstor.
Apr 29 16:59:35 nas systemd[1]: Unit rockstor-pre.service entered failed state.
Apr 29 16:59:35 nas systemd[1]: rockstor-pre.service failed.
[root@nas ~]# systemctl status -l postgresql
● postgresql.service - PostgreSQL database server
   Loaded: loaded (/usr/lib/systemd/system/postgresql.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2018-04-30 22:26:34 EDT; 3 days ago
  Process: 4946 ExecStart=/usr/bin/pg_ctl start -D ${PGDATA} -s -o -p ${PGPORT} -w -t 300 (code=exited, status=1/FAILURE)
  Process: 4938 ExecStartPre=/usr/bin/postgresql-check-db-dir ${PGDATA} (code=exited, status=0/SUCCESS)

Apr 30 22:26:33 nas systemd[1]: Starting PostgreSQL database server...
Apr 30 22:26:33 nas pg_ctl[4946]: pg_ctl: another server might be running; trying to start server anyway
Apr 30 22:26:33 nas pg_ctl[4946]: postgres: could not find the database system
Apr 30 22:26:33 nas pg_ctl[4946]: Expected to find it in the directory "/var/lib/pgsql/data",
Apr 30 22:26:33 nas pg_ctl[4946]: but could not open file "/var/lib/pgsql/data/global/pg_control": Permission denied
Apr 30 22:26:34 nas systemd[1]: postgresql.service: control process exited, code=exited status=1
Apr 30 22:26:34 nas systemd[1]: Failed to start PostgreSQL database server.
Apr 30 22:26:34 nas systemd[1]: Unit postgresql.service entered failed state.
Apr 30 22:26:34 nas systemd[1]: postgresql.service failed.

From that output, it appears that there is some sort of permissions issue with PostgreSQL. Any thoughts on that or how to fix it? I really appreciate the assistance.

I had the exact issue this morning after upgrading the system via the notification and wierd behaviour afterwards. Guys this was though; what helped in the end? Resetting the SELinux security context.

Initially i touched just pg_control via:

restorecon -v /var/lib/pgsql/global/pg_control

which enabled the postgres service to execute for a tiny timespan longer (now it could discover the data dir but complained about one of the tablescheme files), followed by a complete reset on the whole data dir and finally a reboot:

[root@server]# restorecon -R -v /var/lib/pgsql
restorecon reset /var/lib/pgsql/data/pg_xlog/000000010000000000000011 context system_u:object_r:unlabeled_t:s0->system_u:object_r:postgresql_db_t:s0

1 Like