yangsong
a183e3b8f2
support local syslog:1)ship logrotate and log filter rule files in xCATsn;2)refine syslog script to enable log filter and rotate rules ( #3921 )
2017-09-15 16:03:43 +08:00
Casandra Qiu
85957476f9
Add netmask to configonie script for change ip
2017-09-14 16:43:31 -04:00
immarvin
e83ad2b08e
refine cumulus discovery procedure to handle the different response from the MN
2017-09-11 05:26:37 -04:00
Bin Xu
387392707f
Remove the mess info '<xcatdsource>' from the content when call getcredentials.awk ( #3881 )
2017-09-08 14:19:34 +08:00
Bin Xu
6f6a68bc37
Not restart xcatd in 'servicenode' when the node is not stateless and statelite as it will fail in postscript stage. ( #3872 )
2017-09-07 15:52:53 +08:00
Matt Ezell
72d99850e2
Ensure mypostscript has permission 700 ( #3847 )
...
Only root needs to run this script
2017-09-07 09:18:35 +08:00
Bin Xu
029da28735
1, add default pkglist/otherpkglist/exlixt/postinstall for rhels7 ppc64le/x86_64 stateless service node ( #3859 )
...
2, restart xcat when run 'servicenode'
2017-09-06 17:04:20 +08:00
Yuan Bai
ca67bbf9f6
fix confignetwork_static_installnic failure on ubuntu ( #3846 )
2017-09-05 17:05:04 +08:00
cxhong
51ad6fd511
Support User defined community string for enable snmp on Cumulus Switches ( #3818 )
...
* Support User defined community string for enable snmp on Cumulus
Switches
* modify comment from yangsong
* Modify code from review comments
2017-09-04 10:04:06 +08:00
Yuan Bai
3b2245d6e6
Fix confignetwork issue and modify test case accordingly ( #3814 )
...
* Fix confignetwork issue and modify test case accordingly
* polished
* enhance test cases
* polished
* enhance test case
2017-08-31 14:21:22 +08:00
zet809
80bbe5eece
Merge pull request #3710 from bybai/log
...
confignetwork error message enhancement
2017-08-30 16:32:56 +08:00
bybai
beeb80cfde
polished based on comments.
2017-08-27 22:32:35 -04:00
bybai
820fd10cc9
polished
2017-08-24 04:35:16 -04:00
Matt Ezell
e58dc0674f
Send MTM in documulusdiscovery to support MTMS discovery ( #3742 )
2017-08-23 10:28:47 +08:00
Matt Ezell
940a0b6dd4
Allow the cumulus discovery listener to accept multiple messages ( #3732 )
2017-08-22 14:39:36 +08:00
Matt Ezell
adc81c0cbb
Install the cumulus license from cumulusztp ( #3731 )
2017-08-22 11:06:23 +08:00
bybai
73c032068a
enhance error log
2017-08-17 02:42:53 -04:00
Bin Xu
8c663f946b
Filter non-content lines when generating mypostscripts
2017-08-17 10:49:27 +08:00
Yuan Bai
cdd1441006
fix setroute failed during updatenode ( #3598 )
2017-08-02 05:09:34 -05:00
Yuan Bai
e27b5ec598
fix configeth get netmask in postscript ( #3597 )
2017-08-02 04:36:48 -05:00
immarvin
1586ca7991
fix issue The line 71 of postbootscript setbootfromnet is wrong in rhels7.4GA #3562
2017-07-31 04:59:41 -04:00
immarvin
a58e9b4f2e
fix issue [FVT] Failed to generate computes.log in rhels7.4GA #3561
2017-07-31 04:21:08 -04:00
bybai
f6b16d24bd
enhance configeth configure instnic
2017-07-24 02:51:35 -04:00
Yuan Bai
e569dcddd8
fix issue 3430 confignetwork could not config network if MTU is not set ( #3455 )
...
* fix issue 3430 confignetwork could not config network if MTU is not set
* polished based on comments.
* polished
* polished
2017-07-20 17:06:20 +08:00
Yuan Bai
44eebd897c
Enhance confignetwork to integrate with configib ( #3505 )
2017-07-20 15:48:36 +08:00
Yuan Bai
dfca6c2289
enhance exit code for configeth ( #3451 )
...
* enhance exit code for configeth
* add exit code for confignics
2017-07-14 14:24:05 +08:00
Bin Xu
bf172d1489
Fix 3151, Backup service node is not reflected in the /opt/xcat/xcatinfo file ( #3434 )
...
* populate node attribute servicenode into mypostscript, and then inject into /opt/xcat/xcatinfo
cover both updatenode -s and os installation case.
* using 1 step of sed for chaning
2017-07-12 03:03:54 -05:00
Yuan Bai
1f277339e9
enhance extra params support for confignetwork ( #3404 )
...
* add extra params support
* enhanced based on comments
2017-07-10 16:33:06 +08:00
Yuan Bai
2c97eded50
fix routeop does not use xcatlib.sh for issue 3359 ( #3377 )
...
* routeop does not use xcatlib.sh for issue 3359
* enhanced based on comments
2017-07-04 01:59:06 -05:00
Yuan Bai
5cd9b632a1
refine new confignetwork framework to use configeth ( #3302 )
...
* new confignetwork framework to use configeth, it will be finally to replace confignics.
* updated based on comments
2017-06-23 14:45:13 +08:00
zet809
2679d56b73
Merge pull request #3129 from immarvin/oncumulusdiscover
...
ztp based cumulus discover and configuration
2017-06-23 13:49:51 +08:00
immarvin
65d882b990
add cumulus discover script
2017-06-22 22:30:35 -04:00
zet809
11f351cf6e
Merge pull request #2763 from samveen/reduce_greps
...
Reduce `grep` invocations by passing `-[46]` to `ip`
2017-06-22 16:24:04 +08:00
Casandra Qiu
7e4c748eaa
Change osver to OSVER for onie switch support
2017-06-09 11:02:36 -04:00
xuweibj
9fd9e211d0
rm / from path of xcatpost folder when run rm command ( #3238 )
2017-06-07 22:15:07 -05:00
Samveen Gulati
f1b406dbc0
Reduce grep invocations by passing -[46] to ip
2017-06-06 09:53:29 +00:00
Yuan Bai
d6266b9aaf
fix issue 2797 and enhance confignetwork ( #3169 )
...
* to return non-zero when error
* fix a potential issue when nicdevice is wrong for bond definition.
2017-06-05 13:14:02 +08:00
cxhong
bd60341cb6
Support ZTP process for Cumulus Switch ( #3085 )
...
* Support ZTP process for Cumulus Switch
* change name of onieztp to cumulusztp and add server ip
2017-05-22 21:45:18 -05:00
Yuan Bai
9a8d2ebec9
fix nictypes capital letter failure ( #3043 )
2017-05-12 03:17:34 -05:00
Yuan Bai
dc2ae3fb9b
disable the 'sshd enablement' for diskless and statelite ( #3027 )
...
* fix issue2726 remoteshell failed in line 488 in statelite
* polished based on comments
* polished based on comments
* fix sles12 failure
2017-05-11 00:44:11 -05:00
Yuan Bai
eec05162f5
fix issue2726 remoteshell failed in line 488 in statelite ( #3017 )
...
* fix issue2726 remoteshell failed in line 488 in statelite
* polished based on comments
* polished based on comments
2017-05-09 21:59:29 -05:00
immarvin
57b1107b2b
add info on retry times to check whether the netwoek connection is ok
2017-05-05 04:29:20 -04:00
Yuan Bai
ec357428e4
confignetwork support mtu ( #2973 )
2017-05-05 02:34:05 -05:00
Jarrod Johnson
1461bfd981
Turn off xcatpost at beginning rather than end ( #2968 )
...
If a postscript reboots, make sure that our logic for
self-termination is at the least executed.
2017-05-02 21:35:31 -05:00
immarvin
353a8302eb
fix issue [DEV] "remoteshell" postscript complains "chown: invalid group: root:ssh_keys" and "Permissions 0640 for /etc/ssh/ssh_host_dsa_key are too open" on sles11.4
2017-03-28 01:25:54 -04:00
immarvin
71d478e54b
fix issue 2757
2017-03-27 05:36:30 -04:00
immarvin
37f9e770f4
fix issue postscript fails and status=booted. #2665
2017-03-22 23:20:29 -04:00
immarvin
cd96ea74c8
fix issue Wrong permissions for ssh host private keys on CentOS 7 #2617
2017-03-22 17:46:04 +08:00
zet809
65aff25a97
Merge pull request #2547 from ocfplc/fix_configefi
...
revert: use df instead of mount, and check for the disk that /boot is…
2017-03-17 16:49:51 +08:00
Casandra Qiu
bc913e0464
checking if /etc/os-release/ file is existed
2017-03-10 15:54:32 -05:00