Commit Graph

49 Commits

Author SHA1 Message Date
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
jbjohnso
b225bcbba0 Add sysName to advertised LLDP TLVs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10086 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-14 16:50:46 +00:00
jbjohnso
5c6873a1df Correct syntax error in previous checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10085 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-14 16:44:38 +00:00
jbjohnso
b9e083106a Correct lldapd configuration in nbroot2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10084 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-14 16:36:29 +00:00
jbjohnso
b3d6a72a54 Continue fleshing out nbroot2 effort
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10083 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-14 16:15:07 +00:00
jbjohnso
1257e1fda4 Add llpdtool for convenience, also add vmxnet3 driver and cpufreq drivers
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10082 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-13 18:43:07 +00:00
jbjohnso
92c3a6fcc8 Refine nbroot2 output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10081 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-13 18:13:11 +00:00
jbjohnso
0dffaaf74a Remove attempt to ping from discovery in nbroot2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-13 17:56:13 +00:00
jbjohnso
f3da8d4116 Add scripts to nbroot2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10079 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-13 17:54:34 +00:00
jbjohnso
1e8a044bda Add qemu-img to nbroot2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10078 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-13 14:53:58 +00:00
jbjohnso
8257a97b8f Continue work on nbroot2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10049 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-11 18:52:03 +00:00
jbjohnso
a86fa76fea Lay groundwork for key publication in 'nbfs2' via LLDP
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10043 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-08 18:46:24 +00:00
jbjohnso
33ba7395b6 Further progress on nbroot2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9846 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-17 21:00:46 +00:00
jbjohnso
2d88f0c0e6 More tightly control/monitor network bringup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9845 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-17 20:16:38 +00:00
jbjohnso
b99600a876 Dracut scripts to assemble a rudimentary base nbroot out of CentOS6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9844 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-17 15:47:37 +00:00