Commit Graph

64 Commits

Author SHA1 Message Date
jbjohnso
59835e592a Since mlx4_en does not publish a list of pci ids to support, put udev rule
to detect and load appropriate drivers

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11430 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-28 14:26:05 +00:00
jbjohnso
b060042395 Have dhclient more aggressively kill off stale ip addresses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11422 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-27 15:18:05 +00:00
jbjohnso
0282e90cf0 Have bmcsetup work around a limitation of a certain service processor
Fix mknb to more comprehensively handle the lzma case

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11419 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-26 22:06:09 +00:00
jbjohnso
3ff7e9887d Fix genesis to more aggressively remove stale ip addresses (sometimes RELEASE never comes, but with BOUND comes, it also has old_ip_address set if one must be removed)
Also fix more instances where whitespace in destiny mucks things up

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11394 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-18 21:16:24 +00:00
jbjohnso
0284a0813f Add tg3 driver, the nic line carries on in low cost systems
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11392 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-17 19:55:29 +00:00
jbjohnso
170b5cbf40 Fix executable permissions on setupimmnic
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11391 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-17 19:55:22 +00:00
jbjohnso
104af27bf2 Update ldap to 6.2 locations (why they changed it I can't say...)
Add mptctl for LSI firmware
Add compat-libstdc++ rpm prereq to pull in broadcom required old stdc++

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11388 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-16 15:00:44 +00:00
jbjohnso
0bc22e962f lldptool now outputs data, quiet it
Add more firmware management incurred requirements to image

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11387 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-16 15:00:36 +00:00
jbjohnso
07192e2bfb Fix forced nic discovery in genesis discovery image
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11385 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-16 14:34:21 +00:00
jbjohnso
2858e37b67 Fix typo in dracutttttttttttttttt file for genesis
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11382 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-15 15:07:03 +00:00
jbjohnso
208e2b5d35 Add ethtool and lsmod for some flash prereqs in genesis
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11380 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-13 20:17:48 +00:00
jbjohnso
d22f5139d2 Correctly follow chain to netboot and install events in genesis
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11357 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-05 21:52:24 +00:00
jbjohnso
61037f8329 Work with more IBM products under the vendor ID 20301 if someone requests 'BMCPORT'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11356 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-05 20:27:44 +00:00
jbjohnso
f3cbfbcfef Remove aspirations of virtualizing with genesis for now, not enough time to test
Spruce up spec file to make it more likely to work

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11251 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-15 16:56:57 +00:00
jbjohnso
067ea7174d Set link authentication on for systems that care.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11035 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-22 18:12:10 +00:00
jbjohnso
6bbdfacc66 Have dhclient work less hard at releases leases in discovery. Worst case, a lease sits used until expiry
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10628 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-23 18:01:23 +00:00
jbjohnso
4d94fc8ad1 Fix omission that prevented getipmi from 'just working' in genesis
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10627 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-23 14:43:30 +00:00
jbjohnso
7679bc0f1d Correct script error in discovery code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10626 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-23 14:34:17 +00:00
jbjohnso
1201990fc6 Fixup on uefi linux boot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10553 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-19 17:21:32 +00:00
jbjohnso
723077dcad Various fixes for genesis and UEFI boot in general
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10544 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-16 22:55:25 +00:00
jbjohnso
db46208706 fix destiny match
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-16 19:19:01 +00:00
jbjohnso
5a4f2ca631 Add UUID and capitalize mac addresses to match old format
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10538 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-16 19:16:20 +00:00
jbjohnso
2700af8b63 Fix infinite loop on dhclient without link
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10537 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-16 19:15:58 +00:00
jbjohnso
f3d17e5588 Forgo sleep shortening for now
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10536 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-16 19:15:23 +00:00
jbjohnso
5863eab0ad Reworked Genesis scripting to provide screen managed console
Have mknb correctly create elilo/xnba config files
Have dhcp implement required hooks to start xnba.efi


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10533 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-15 22:00:55 +00:00
jbjohnso
102a662337 Move the cmdline handler to a separate script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10532 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-15 16:05:38 +00:00
jbjohnso
a57c83cb8a Fix genesis build script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10501 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-12 19:43:51 +00:00
jbjohnso
24c6a5bef2 Fix up various issues with discovery
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10493 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-12 13:48:06 +00:00
jbjohnso
3345d3ad7c Package xCAT-genesis
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10488 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-09 18:20:18 +00:00
jbjohnso
ef90a6f9a4 Fix, flesh out xcat-cmdline in dracut built variant of nbroot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10448 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-06 16:26:16 +00:00
jbjohnso
ccd02251c2 Add restart to nbroot2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10439 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-02 17:18:01 +00:00
jbjohnso
f54ff4ccd4 Refine output, flesh out xcat-cmdline
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-02 17:12:27 +00:00
jbjohnso
7eb3ffaaa1 Add getdestiny/nextdestiny back in, most of the way there to nbroot successor
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10422 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-31 20:31:54 +00:00
jbjohnso
217798eebb -Refresh bmcsetup
-Have bmcsetup theoretically support dhcp ipmi devices
-add getipmi with cert support when available


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10421 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-31 20:04:21 +00:00
jbjohnso
3fd9e5cb9c Clean up output
put getcert into initramfs
fix openssl.cnf so it can actually be used in openssl req


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10419 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-31 17:59:33 +00:00
jbjohnso
15c641e527 -Add a command to get a client certificate. It sets up to authenticate using either privileged port on its IP or validation using LLDP published public key
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10418 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-31 16:07:22 +00:00
jbjohnso
c0098c4039 Alleviate race condition where dhclient-script could possibly try to talk to lldpad before lldpad is runnig, delay and background the larger, more expensive key production
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10417 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-31 14:21:14 +00:00
jbjohnso
b578f845b9 make sure dodiscovery actually has access to the public key so the element is not left unpopulated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10416 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-31 14:11:49 +00:00
jbjohnso
3983340ec4 Incorporate allowcred.awk
Add a key suitable for x509 use, 1024 bits for the switch key (because SNMP restricts size of PEM data) and 4096 for cert (being over paranoid)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10415 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-31 13:46:58 +00:00
jbjohnso
58139178e8 Fix udev script for IMM USB nic, also remove xcat-cmdline setup of usb nic (since udev handles it for us)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10215 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-02 20:08:08 +00:00
jbjohnso
87a4570d95 Add reqs for UpdateXpress execution, keep IMM USB NIC live across IMM resets, skip attempts to configure usb0 and ipmi_si where not appropriate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10212 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-02 15:27:52 +00:00
jbjohnso
233971b604 Fix logging and dhclient script in nbroot2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10187 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-28 18:31:30 +00:00
jbjohnso
6b33dc2259 Further flesh out nbroot2, obey DHCP directed logging configuration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-28 17:18:10 +00:00
jbjohnso
777176fea6 Switch nbroot2 to bash (at size cost, but so many scripts fail in dash)
Implement DHCP driven TZ database (with TZ space reclaimed after assignment)
Fix DHCP on multpile nics (dhclient must have per-interface pid files, sharing a leases is ok though)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10120 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-19 15:00:21 +00:00
jbjohnso
c0d91efef9 Remove pointless transmission of '(none)' hostname, since it's taken care of in dhclient-script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10092 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-14 18:35:22 +00:00
jbjohnso
db3cd5cc2f Correct bootnic variable in nbroot2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10091 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-14 17:37:30 +00:00
jbjohnso
c4db886958 Add ipmi drivers to nbroot2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10090 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-14 17:14:30 +00:00
jbjohnso
2a247e8a92 correct mistake in dhcient-script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10089 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-14 17:10:08 +00:00
jbjohnso
aebfca8674 Copy bmcsetup in for the time being
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10088 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-14 17:03:19 +00:00
jbjohnso
27e9a6a3c0 Add dhclient-script from nbroot2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10087 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-14 17:03:00 +00:00