Hi Olivier,
Well, I was able to get the system to build at least but I can't get it to boot afterwards. It doesn't make it to the bootloader and I did implement your S15 fix script that installs the grub bootloader but still no go. Any idea what else I could look into? I'm not sure on this issue.
andy
On January 7, 2015 at 7:25 PM - - <a...@comserv-usa.com> wrote:
Ok, since the data in the tmp file is not much different as systemimager I just killed it and restarted the original. Its building now! so maybe if there is a way for ya'll to modify UYOK to not create a new rsync config file and restart the process that would fix it up? ya'll are the experts :D. I also noticed that it loops in building the image. If I recall there is a parm somewhere net vs local that will probably fix that.....hmm... I'll look around. I know I saw it.
Andy
On January 7, 2015 at 7:14 PM - - <a...@comserv-usa.com> wrote:
Ok, so I think the issue is UYOK. I can't use the built in kernel as it does not like my NIC so I use my own. Below you will see that it stops rsync and restarts it with a tmp file. The tmp file is below and as you see no [scripts]. I'm going to try and copy/paste into it to see how it works out but of course that's not the fix...
root@192.168.55.42's password:
Last login: Wed Jan 7 18:05:43 2015 from 192.168.55.32
[root@uhouhpc01a ~]# ps -ef | grep rsyn
root 2633 1 0 18:06 ? 00:00:00 /usr/bin/rsync --daemon --config=/etc/systemimager/rsyncd.conf
[root@uhouhpc01a ~]# ps -ef | grep rsyn
root 2903 1 0 18:08 ? 00:00:00 rsync --daemon --port=873 --config=/tmp/file30KPAm
[root@uhouhpc01a ~]# more /tmp/file30KPAm
#
# "SystemImager"
#
# This file: /tmp/file30KPAm
#
list = yes
timeout = 900
dont compress = *.gz *.tgz *.zip *.Z *.ZIP *.bz2 *.deb *.rpm *.dbf
uid = root
gid = root
hosts allow = 192.168.3.101/32
log file = /tmp/file7aPkut[root]
path = /
exclude = /tmp/file30KPAm /tmp/file7aPkut[root@uhouhpc01a ~]#
On January 7, 2015 at 11:50 AM - - <a...@comserv-usa.com> wrote:
Both of those look good....
hosts allow = 0.0.0.0/0
[overrides]
path = /var/lib/systemimager/overrides[scripts]
path = /var/lib/systemimager/scripts
[root@uhouhpc01a systemimager]# ps -ef | grep rsync
root 1552 1 0 09:19 ? 00:00:00 /usr/bin/rsync --daemon --config=/etc/systemimager/rsyncd.conf
root 2771 2390 0 10:47 pts/0 00:00:00 grep rsync
[root@uhouhpc01a systemimager]#
On January 7, 2015 at 4:19 AM LAHAYE Olivier <olivier.lah...@cea.fr> wrote:
Hi,
On 192.168.3.101 server, check the following:
1/ /etc/systemimager/rsyncd.conf should contain:
[scripts]
path = /var/lib/systemimager/scripts
2/ check that the following process is running:
/bin/rsync --daemon --config=/etc/systemimager/rsyncd.conf
=> Note the --config option.
if it is not running:
service systemimager-server-rsyncd restart
chkconfig --level 235 systemimager-server-rsyncd on
(It should work on all distros even on systemd enabled ones using the compatibility mode).
Aside the above checks I see no reasons why it should fail.
The <ip>::scripts means "use the [scripts] module in the config file". It replaces ::scripts with the line below [scripts] in the config file. The syntax is correct.
Best regards,
Olivier.
--
Olivier LAHAYE
CEA DRT/LIST/DIR
De : - - [a...@comserv-usa.com]
Envoyé : mercredi 7 janvier 2015 05:57
À : oscar-users
Objet : Re: [Oscar-users] stuck...
Ok, I think I found the issue. it tries to rsync but it can't. The error i see is
rsync -a 192.168.3.101::scripts/ /scripts/
ERROR:unknown module 'scripts'
rsync error:error starting client-server protocol (code5) at main.c(1536).
so is it the ::scripts? that's not normal correct?
On January 6, 2015 at 11:01 PM - - <a...@comserv-usa.com> wrote:
Hi all,
I'm really not sure what my issue is. I was able to build the headnode without issue and create an image. When I try to deploy an image it never gets to the deploying stage. I see it load the initrd and ramdisk without issue, network card becomes ready and then it just goes to my_modules prompt. It seems like the script to do the install does not get pushed down maybe? its hard to debug on the client side as it doesn't write anything of interest anywhere. Anyone have an idea what the issue could be?
Here is a the log file. I did the Install Mode, click DHCP server, select network boot and rebooted the client. I tried this on a IBM Thinkpat T410, Dell R1950 so far and both do the same thing.
================================================================================
== oscar_wizard: Starting...
================================================================================
[WARNING – oscar_wizard] oscar_wizard: There is an OSCAR Wizard lockfile that says a process is still running with process id 2962. Checking if that is true...
[INFO – oscar_wizard] oscar_wizard: There is no process running with process id 2962.
[INFO – oscar_wizard] oscar_wizard: Removing lockfile /tmp/.oscar_wizard_lockfile and continuing.
[INFO – oscar_wizard] Checking system-sanity...
[INFO – oscar_wizard] Called getitem with oscar_testing_path and returning /usr/lib/oscar/testing
[INFO – oscar_wizard] Called getitem with oscar_apitests_logdir and returning /var/log/oscar/apitests
[ACTION – oscar_wizard] About to run: LC_ALL=C /usr/bin/apitest -o /var/log/oscar/apitests -v -f apitests.d/system-sanity.apb
[INFO – oscar_wizard] Test system-sanity.apb succeeded.
[INFO – oscar_wizard] system-sanity OK.
[INFO – oscar_wizard] Loaded OSCAR configuration (at oscar_wizard:227)
[INFO – oscar_wizard] Loaded OSCAR configuration (at Database.pm:955)
[INFO – oscar_wizard] Detected distro: centos-6-x86_64
[INFO – oscar_wizard] Setup Distros: centos-6-x86_64
[INFO – oscar_wizard] Oscar version: 6.1.2svn01062015
[INFO – oscar_wizard] Called getitem with oscar_testing_path and returning /usr/lib/oscar/testing
[INFO – oscar_wizard] Called getitem with oscar_apitests_logdir and returning /var/log/oscar/apitests
[ACTION – oscar_wizard] About to run: LC_ALL=C /usr/bin/apitest -o /var/log/oscar/apitests -v -f apitests.d/before_netboot_setup.apb
[INFO – oscar_wizard] Test before_netboot_setup.apb succeeded.
[INFO – oscar_wizard] Ready to enter step "netboot_setup"================================================================================
== Running step 8 of the OSCAR wizard:Setup networking
================================================================================
[INFO – oscar_wizard] Loaded OSCAR configuration (at Database.pm:981)
[INFO – oscar_wizard] Loaded OSCAR configuration (at Database.pm:445)
[INFO – oscar_wizard] Dump for ARRAY(0x1f2d658): (populate_MAC)
$VAR1 = [
{
'node_id' => '2',
'ip' => '192.168.3.102',
'name' => 'eth0',
'id' => '3',
'mac' => 'F0:DE:F1:47:BB:E4',
'network_id' => undef
}
];
[INFO – oscar_wizard] Adding F0:DE:F1:47:BB:E4 for client uhouhpc02 to global MAC list.
[INFO – oscar_wizard] ****** Clients ******
$VAR1 = {
'imagename' => 'CentOS66GOLD',
'proccount' => undef,
'name' => 'uhouhpc02',
'hostname' => 'uhouhpc02',
'domainname' => undef,
'gpucount' => undef
};
[INFO – oscar_wizard] Loaded OSCAR configuration (at Database.pm:445)
[INFO – oscar_wizard] **** Client Adapter (uhouhpc02) ****
$VAR1 = [
{
'node_id' => '2',
'ip' => '192.168.3.102',
'name' => 'eth0',
'id' => '3',
'mac' => 'F0:DE:F1:47:BB:E4',
'network_id' => undef
}
];
[INFO – oscar_wizard] Loaded OSCAR configuration (at Database.pm:955)
[INFO – oscar_wizard] Performing stop on flamethrower service.
[INFO – oscar_wizard] Called getitem with flamethrower_service and returning systemimager-server-flamethrowerd
[INFO – oscar_wizard] About to run: LC_ALL=C /sbin/service systemimager-server-flamethrowerd stop
Stopping Flamethrower daemon: ok.
[INFO – oscar_wizard] Performing stop on bittorrent service.
[INFO – oscar_wizard] Called getitem with bittorrent_service and returning systemimager-server-bittorrent
[INFO – oscar_wizard] About to run: LC_ALL=C /sbin/service systemimager-server-bittorrent stop
Stopping SystemImager's BitTorrent Transport: systemimager-server-bittorrent... stopped.
[INFO – oscar_wizard] Setting service flamethrower to off...
[INFO – oscar_wizard] Called getitem with flamethrower_service and returning systemimager-server-flamethrowerd
[INFO – oscar_wizard] flamethrower is already off
[INFO – oscar_wizard] Setting service bittorrent to off...
[INFO – oscar_wizard] Called getitem with bittorrent_service and returning systemimager-server-bittorrent
[INFO – oscar_wizard] bittorrent is already off
[INFO – oscar_wizard] Performing restart on rsync service.
[INFO – oscar_wizard] Called getitem with rsync_service and returning systemimager-server-rsyncd
[INFO – oscar_wizard] About to run: LC_ALL=C /sbin/service systemimager-server-rsyncd restart
Stopping rsync daemon for systemimager: stopped.
Starting rsync daemon for systemimager: ok.
[INFO – oscar_wizard] Setting service rsync to on...
[INFO – oscar_wizard] Called getitem with rsync_service and returning systemimager-server-rsyncd
[INFO – oscar_wizard] rsync is already on
[INFO – oscar_wizard] Successfully enabled installation mode: systemimager-rsync
----------------------- Step 8: Setting up DHCP service. -----------------------
[ACTION – oscar_wizard] Cleaning hostfile.
[ACTION – oscar_wizard] Cleaning up /var/lib/systemimager/scripts/hosts
[INFO – oscar_wizard] /var/lib/systemimager/scripts/hosts not backed up. (backup already exists)
[INFO – oscar_wizard] dhcp_configfile: /etc/dhcp/dhcpd.conf
[INFO – oscar_wizard] dhcp_leases: /var/lib/dhcpd/dhcpd.leases
[INFO – oscar_wizard] /etc/dhcp/dhcpd.conf not backed up. (backup already exists)
[INFO – oscar_wizard] Retrieving IP infos for eth1.
[ACTION – oscar_wizard] Creating dhcp config file for eth1.
[ACTION – oscar_wizard] About to run: mkdhcpconf -o /etc/dhcp/dhcpd.conf --interface=eth1 --gateway=192.168.3.101 --imageserver=oscar_server
[DB – mkdhcpconf] querying ODA: Select Nodes.name >From Nodes Where Nodes.id='1'
--------- SQL query: Select Nodes.name From Nodes Where Nodes.id='1'
----------
[DB – mkdhcpconf] Translated 1 to oscar_server
[DB – mkdhcpconf] querying ODA: Select Nodes.name From Nodes Where Nodes.id='1'
--------- SQL query: Select Nodes.name From Nodes Where Nodes.id='1'
----------
[DB – mkdhcpconf] Translated 1 to oscar_server
[DB – mkdhcpconf] querying ODA: Select Nodes.name From Nodes Where Nodes.id='2'
--------- SQL query: Select Nodes.name From Nodes Where Nodes.id='2'
----------
[DB – mkdhcpconf] Translated 2 to uhouhpc02
[INFO – mkdhcpconf] Loaded OSCAR configuration (at Network.pm:482)
[DB – mkdhcpconf] DB Query: SELECT rfc1918 FROM Networks WHERE base_ip='192.168.3.0';
[INFO – oscar_wizard] Checking lease file (/var/lib/dhcpd/dhcpd.leases).
[INFO – oscar_wizard] DHCP lease file ready.
[INFO – oscar_wizard] Setting service dhcp to on...
[INFO – oscar_wizard] Called getitem with dhcp_service and returning dhcpd
[INFO – oscar_wizard] dhcp is already on
[INFO – oscar_wizard] Performing restart on dhcp service.
[INFO – oscar_wizard] Called getitem with dhcp_service and returning dhcpd
[INFO – oscar_wizard] About to run: LC_ALL=C /sbin/service dhcpd restart
Shutting down dhcpd: [ OK ]
Starting dhcpd: [ OK ]
[INFO – oscar_wizard] DHCP service successfully set up for interface eth1.
[INFO – oscar_wizard] Loaded OSCAR configuration (at MAC.pm:952)
[INFO – oscar_wizard] Setup network boot (PXE)
[ACTION – oscar_wizard] About to run: /usr/bin/setup_pxe -v
[INFO – setup_pxe] Loaded OSCAR configuration (at Database.pm:981)
[INFO – setup_pxe] This suspects to be an RPM based system.
2015-1-6 21:53:38 [main :: Line 329] Checking arguments.
2015-1-6 21:53:38 [main :: Line 136] Restarting atftpd
[INFO – setup_pxe] Called getitem with tftp_dir and returning /tftpboot/
[INFO – setup_pxe] Performing restart on tftp socket service.
[INFO – setup_pxe] Performing restart on xinetd service.
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
2015-1-6 21:53:38 [main :: Line 139] Enabling atftpd
[INFO – setup_pxe] Setting xinetd service tftp to on...
[INFO – setup_pxe] Performing restart on xinetd service.
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
2015-1-6 21:53:38 [main :: Line 151] Creating directories.
2015-1-6 21:53:38 [main :: Line 202] Getting pxelinux.0.
2015-1-6 21:53:38 [main :: Line 206] Copying default pxelinux.cfg file
2015-1-6 21:53:38 [main :: Line 215] Updating /tftpboot/pxelinux.cfg//default file to skip local.cfg and support si_monitor.
2015-1-6 21:53:38 [main :: Line 234] Disabling nonexec mappings on x86_64
2015-1-6 21:53:38 [main :: Line 240] Copying SystemImager's message.txt to /tftpboot/pxelinux.cfg/
2015-1-6 21:53:38 [main :: Line 305] Copying SystemImager standard boot kernel and initrd.img to /tftpboot/
2015-1-6 21:53:38 [main :: Line 312] Symlinking SystemImager standard boot kernel and initrd.img to /tftpboot//kernel and /tftpboot//initrd.img respectively
[INFO – oscar_wizard] Successfully setup network boot (PXE).
Thanks,
Andy
------------------------------------------------------------------------------ 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
------------------------------------------------------------------------------ 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
------------------------------------------------------------------------------ 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
------------------------------------------------------------------------------ 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