Skip to content

Error setting up base repository #7

@Mr-Alb

Description

@Mr-Alb

Hi @ppapadopoulos ,

I am trying to install Rocks 7.0 setting up a roll-server according to the instructions above. I can access the server via browser and I see the folders with the rolls, but when I point to the server from the installation interface (Software → Installation source), I get the following error “Error setting up base repository” and in “Software selection” the error is “Error downloading package metadata”.

The result of the wget test is:

wget -O - http://10.10.10.33/install/rolls
--2021-11-22 11:57:00--  http://10.10.10.33/install/rolls
Connecting to 10.10.10.33:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://10.10.10.33/install/rolls/ [following]
--2021-11-22 11:57:00--  http://10.10.10.33/install/rolls/
Reusing existing connection to 10.10.10.33:80.
HTTP request sent, awaiting response... 200 OK
Length: 2809 (2.7K) [text/html]
Saving to: ‘STDOUT’

-                             	0%[                                                  	]   	0  --.-KB/s           	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
 <head>
  <title>Index of /install/rolls</title>
 </head>
 <body>
<h1>Index of /install/rolls</h1>
  <table>
   <tr><th valign="top"><img src="/icons/blank.gif" alt="[ICO]"></th><th><a href="?C=N;O=D">Name</a></th><th><a href="?C=M;O=A">Last modified</a></th><th><a href="?C=S;O=A">Size</a></th><th><a href="?C=D;O=A">Description</a></th></tr>
   <tr><th colspan="5"><hr></th></tr>
<tr><td valign="top"><img src="/icons/back.gif" alt="[PARENTDIR]"></td><td><a href="/install/">Parent Directory</a>   	</td><td>&nbsp;</td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="CentOS/">CentOS/</a>            	</td><td align="right">2017-12-02 03:23  </td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="Updates-CentOS-7.4.1708/">Updates-CentOS-7.4.1..&gt;</a></td><td align="right">2017-12-02 03:59  </td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="base/">base/</a>              	</td><td align="right">2017-12-02 04:15  </td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top"><img src="/icons/bomb.gif" alt="[DIR]"></td><td><a href="core/">core/</a>              	</td><td align="right">2017-12-02 02:32  </td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="ganglia/">ganglia/</a>           	</td><td align="right">2017-12-02 06:05  </td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="hpc/">hpc/</a>               	</td><td align="right">2017-12-02 06:50  </td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[   ]"></td><td><a href="index.cgi">index.cgi</a>          	</td><td align="right">2021-10-29 13:35  </td><td align="right">654 </td><td>&nbsp;</td></tr>
<tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="kernel/">kernel/</a>            	</td><td align="right">2017-12-02 05:55  </td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="python/">python/</a>            	</td><td align="right">2017-12-02 07:05  </td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top"><img src="/icons/folder.gif" alt="[DIR]"></td><td><a href="sge/">sge/</a>               	</td><td align="right">2017-12-02 07:24  </td><td align="right">  - </td><td>&nbsp;</td></tr>
   <tr><th colspan="5"><hr></th></tr>
</table>
</body></html>
-                           	100%[=====================================================>]   2.74K  --.-KB/s	in 0s 	 

2021-11-22 11:57:00 (18.9 MB/s) - written to stdout [2809/2809]

which is quite similar but not equal to the one that I get from the official rocks repository. We are working on a private network with no DNS, so we have to refer to the server with the IP address.

I don't get any error in the error_log file, just this in the access_log file:

"GET /install/rolls HTTP/1.1" 301 241 "-" "Rocks (anaconda)/7.0 yum/3.4.3" 
"GET /install/rolls HTTP/1.1" 200 2809 "-" "Rocks (anaconda)/7.0 yum/3.4.3" 

or

"GET /install/rolls/.treeinfo HTTP/1.1" 404 221 "-" "urlgrabber/3.10"
"GET /install/rolls/treeinfo HTTP/1.1" 404 220 "-" "urlgrabber/3.10"
"GET /install/rolls/repodata/repomd.xml HTTP/1.1" 404 231 "-" "urlgrabber/3.10" 

The apache server configuration is:

ServerRoot "/etc/httpd"
Listen 80

Include conf.modules.d/*.conf

LoadModule cgid_module modules/mod_cgid.so
LoadModule cgid_module modules/mod_cgi.so

User apache
Group apache

ServerAdmin root@localhost
ServerName 10.10.10.33:80

DocumentRoot "/var/www/html"
<Directory "/var/www">
    AllowOverride None
    # Allow open access:
    Require all granted
</Directory>



###################################
## Definitions for 10.10.10.33
###
<VirtualHost *:80>
ServerName 10.10.10.33
DocumentRoot /var/www/html/rocks/7.0/
</VirtualHost>

<Directory /var/www/html/rocks/7.0>
	Options FollowSymLinks Indexes ExecCGI
	AllowOverride None
	Order allow,deny
	Allow from all
</Directory>

##<Directory /var/www/html/rocks/7.0/install/sbin>
##	AllowOverride None
##	SSLRequireSSL
##	SSLVerifyClient None
##	Allow from all
##</Directory>

# allow all access to the rolls RPMS
<Directory /var/www/html/rocks/7.0/install/rolls>
        DirectoryIndex /install/rolls/index.cgi
        Allow from all
</Directory>

# allow all access to the rolls RPMS (Added as described in the thread)
<Directory /var/www/html/rocks/7.0/install/rolls>
	AddHandler cgi-script .cgi
        Options FollowSymLinks Indexes ExecCGI
        DirectoryIndex /rocks/7.0/install/rolls/index.cgi
        Allow from all
</Directory>

########################################

<Directory "/var/www/html">
    Options Indexes FollowSymLinks Indexes ExecCGI
    AllowOverride None
    Require all granted
</Directory>


<IfModule dir_module>
    DirectoryIndex index.html
</IfModule>

<Files ".ht*">
    Require all denied
</Files>


ErrorLog "logs/error_log"
LogLevel warn

<IfModule log_config_module>
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common

    <IfModule logio_module>
      # You need to enable mod_logio.c to use %I and %O
      LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>

    CustomLog "logs/access_log" combined
</IfModule>

<IfModule alias_module>
    ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
</IfModule>

<Directory "/var/www/cgi-bin">
    AllowOverride None
    Options None
    Require all granted
</Directory>

<IfModule mime_module>
    TypesConfig /etc/mime.types
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
</IfModule>

AddDefaultCharset UTF-8

<IfModule mime_magic_module>
    MIMEMagicFile conf/magic
</IfModule>

EnableSendfile on

IncludeOptional conf.d/*.conf

Anybody could help, please?
Many thanks in advance

a4309f7b-d5d6-4ec9-957b-a2a6ada4b16f

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions