Ok, I'm stuck here, getting still the same error when I do
oscar-config --bootstrap
...
====> in Database::update_table SQL: UPDATE Clusters SET
server_distribution='rhel', headnode_interface='enp2s0f0',
installation_date=NOW(), server_architecture='x86_64',
oscar_version='6.1.2svn03032015', server_distribution_version='7'
Checking for database existence of node oscar_server ...
The node oscar_server is already in the database
Updating the hostname field in the oscar_server node to
<joe4.iwm.fraunhofer.de> ...
ERROR: Impossible to detect attached networks at /usr/bin/set_node_nics line
241.
ERROR: Impossible to store data about the head NIC used for cluster deployment
at /usr/bin/create_and_populate_basic_node_info line 146.
[ERROR - oscar-config] Failed to bootstrap OSCAR
[ERROR - oscar-config] Unable to bootstrap OSCAR
You can see he finds the headnode interface and the oscar_server correctly.
What is happening in
/usr/bin/set_node_nics
and what do I need the "surmised networks" for at this place?
The code that doesn't give the wanted results is:
# find out what we think the attached networks are based on
# the network interface settings for this machine
my %surmised_networks = ();
my $public_network_index = 1;
my $private_network_index = 1;
foreach my $nic_name ( keys %$ifconfig_nics_ref ) {
my $nic_ref = $$ifconfig_nics_ref{$nic_name};
# figure out a reasonable network name
my $network_name;
if ( exists $$nic_ref{rfc1918} && $$nic_ref{rfc1918} ) {
if ( $num_private > 1 ) {
$network_name = "private$private_network_index";
$private_network_index++;
} else {
$network_name = "private";
}
} else {
if ( $num_public > 1 ) {
$network_name = "public$public_network_index";
$public_network_index++;
} else {
$network_name = "public";
}
}
# set up the command to create this network
my %network = ( 'name' => $network_name,
'base_ip' => $$nic_ref{base_ip},
'high_ip' => $$nic_ref{high_ip},
'netmask' => $$nic_ref{netmask},
'rfc1918' => $$nic_ref{rfc1918} );
$network{ broadcast } = $$nic_ref{ broadcast }
if exists $$nic_ref{ broadcast };
$network{ gateway } = $$nic_ref{ gateway }
if exists $$nic_ref{ gateway };
$surmised_networks{ $network_name } = \%network;
}
if (keys(%surmised_networks) == 0) {
die "ERROR: Impossible to detect attached networks";
}
Can I just skip the an comment the line that gives the error?
Thanks for any hints,
Jan.
On 02/23/2015 06:48 PM, LAHAYE Olivier wrote:
Ho, it seems that you're using a buggy oda package.
/usr/share/oscar/prereqs/oda/etc/mysql.cfg should point to
mariadb-server for centos- entry.
Thanks to you I4ve seen some typos errors in this file, so I'm
updating the package now. Should be available in less than 30 minutes.
Could you try doing:
yum update
and check that /usr/share/oscar/prereqs/oda/etc/mysql.cfg is now correct.
As for the othe issue, it's strange.
There is a know bug in the /etc/hosts update routing that put
oscar_server and nfs_oscar host aliases on all configured IPs (public
and private which is wrong. It should only put the alias for the
OSCAR_INTERFACE ip. (I need to correct this).
This file is updated more than once, so check that /etc/hosts has
oscar_server and nfs_oscar only set for one unique IP.
Aside that it should work eventhough the aliases are "bad" (underscore
char is not allowed for hostnames). I'll fix that in a later version.
feel free to add oscar-server and nfs-oscar and pbs-oscar (keeping
oscar_server, nfs_oscar and pbs_oscar for now)
--
Olivier LAHAYE
CEA DRT/LIST/DIR
------------------------------------------------------------------------
*De :* Jan Huelsberg [jan.huelsb...@iwm.fraunhofer.de]
*Envoyé :* lundi 23 février 2015 13:27
*À :* oscar-users@lists.sourceforge.net
*Objet :* Re: [Oscar-users] Installing OSCAR on CentOS 7
Sorry for the additional posting...
There are more confusing messages during the
oscar-config --bootstrap
...
[INFO - install_prereq] Following packages will be
installed:*mariadb-galera-server*
Loaded plugins: fastestmirror, langpacks
Determining fastest mirrors
* base: artfiles.org
* epel: be.mirror.eurid.eu
* extras: artfiles.org
* updates: centos.bio.lmu.de
*No package mariadb-galera-server available.*
Error: Nothing to do
*[ERROR - install_prereq] Install failed: No such file or directory*
Database Initialization...
...
On 02/23/2015 11:35 AM, Jan Huelsberg wrote:
Hi,
I'm stuck with installing OSCAR on CentOS 7.
oscar-config --bootstrap finishes with:
Checking for database existence of node oscar_server ...
The node oscar_server is already in the database
Updating the hostname field in the oscar_server node to <joe4.xxx> ...
ERROR: Impossible to detect attached networks at
/usr/bin/set_node_nics line 241.
ERROR: Impossible to store data about the head NIC used for cluster
deployment at /usr/bin/create_and_populate_basic_node_info line 146.
[ERROR - oscar-config] Failed to bootstrap OSCAR
[ERROR - oscar-config] Unable to bootstrap OSCAR
What is going wrong?
Additional information:
Two NICs, one for the local, private cluster network which I used in
oscar.conf as OSCAR_NETWORK_INTERFACE.
Another NIC for communication with the internet.
Dowload of packages worked fine, the system seems to know what to use.
/etc/hosts:
...
10.10.11.245 joe4d joe4 joe4.xxx oscar_server
nfs_oscar pbs_oscar
...
Greetings,
Jan.
--
Jan Huelsberg
IT-Manager/Rechenzentrum
Fraunhofer-Institut fuer Werkstoffmechanik IWM
Woehlerstr. 11
79108 Freiburg
Telefon +49 761 5142-275
Fax +49 761 5142-110
jan.huelsb...@iwm.fraunhofer.de
www.iwm.fraunhofer.de
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users
--
Jan Huelsberg
IT-Manager/Rechenzentrum
Fraunhofer-Institut fuer Werkstoffmechanik IWM
Woehlerstr. 11
79108 Freiburg
Telefon +49 761 5142-275
Fax +49 761 5142-110
jan.huelsb...@iwm.fraunhofer.de
www.iwm.fraunhofer.de
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users