Markus Hilger
a274097b34
Do not set MTU for InfiniBand slaves
...
Slaves should have no MTU set. This should be set globally on the bond interface.
Furthermore, RHEL 8.0 does not correctly set the given MTU as shown below.
This breaks any IB bonds with non-default (2044) MTU.
$ # IB slave with 4092 MTU
$ nmcli con add type Infiniband con-name slave-ib1-mtu mtu 4092 ifname ib1 master ibbond0 slave-type bond
$ # IB slave without MTU
$ nmcli con add type Infiniband con-name slave-ib1-wo-mtu ifname ib1 master ibbond0 slave-type bond
$ # should be 4092, but is 2044 instead
$ nmcli -f infiniband.mtu con show slave-ib1-mtu
infiniband.mtu: 2044
$ grep MTU /etc/sysconfig/network-scripts/ifcfg-slave-ib1-*
/etc/sysconfig/network-scripts/ifcfg-slave-ib1-mtu:MTU=2044
$ # is auto :)
$ nmcli -f infiniband.mtu con show slave-ib1-wo-mtu
infiniband.mtu: auto
2020-05-12 13:57:25 +02:00
Markus Hilger
097bf969d4
Configure bond IP even if there is a $next_nic but also $_ipaddr
...
Check for $_ipaddr instead of $next_nic.
The followint configuration is totally valid but fails with the old logic because it does not configure any bond0 IP because $next_nic is set to bond0.10.
nictypes.eno1=Ethernet
nictypes.eno2=Ethernet
nicdevices.bond0=eno1|eno2
nictypes.bond0=bond
nicnetworks.bond0=management
nicips.bond0=192.168.0.1
nicdevices.bond0.10=bond0
nictypes.bond0.10=vlan
nicnetworks.bond0.10=production
nicips.bond0.10=192.168.1.1
May needs some additional testing with bridges etc.
2020-05-12 13:22:06 +02:00
Markus Hilger
598a75fb86
Properly reset nic extra params
...
The global variables were not reset for bonds.
Therefore, the nic extra params from the first bond interface were used if the second one had no nic extra params.
2020-05-12 13:17:48 +02:00
cxhong
29f5a7e3a0
Merge pull request #6702 from peterwywong/makehosts
...
Add testing of nicips and nicaliases for xcat-core Issue 6676
2020-05-11 13:29:27 -04:00
Wai Yee Wong
d41c86debf
correction: m01-ib0 should be m02-ib0 for node02.
2020-05-11 12:54:41 -04:00
Mark Gurevich
c8e31fa366
Merge pull request #6701 from peterwywong/duplicates
...
Remove duplicates: post_host from restapi/service/cases0 and lskitcom…
2020-05-11 10:34:18 -04:00
cxhong
eb7e1c2c76
Merge pull request #6703 from gurevichmark/LibXML2
...
Spec file fix for XML::LibXML
2020-05-11 10:04:06 -04:00
Mark Gurevich
721c0bbc3b
Spec file fix for XML::LibXML
2020-05-11 09:29:03 -04:00
Wai Yee Wong
93c1b83f66
Add testing of nicips and nicaliases for xcat-core Issue 6676
2020-05-10 21:29:15 -04:00
Wai Yee Wong
9faeff5999
Remove duplicates: post_host from restapi/service/cases0 and lskitcomp_C gfrom liskitcomp/case0. It turns out many duplicates identified earlier have different OSes, so they are left unchanged.
2020-05-10 21:18:50 -04:00
besawn
f983c8b764
Merge pull request #6684 from gurevichmark/ext4fs
...
Use ext4 filesystem instead of ext3 when formatting node partitions
2020-05-08 16:49:12 -04:00
besawn
9ebbd0f6dc
Merge pull request #6688 from gurevichmark/LibXML
...
Use XML::LibXML::Simple instead of XML::Simple
2020-05-08 16:36:39 -04:00
besawn
cf82f5f180
Merge pull request #6699 from xcat2/revert-6695-testcase_ubunty_squashfs
...
Revert "Remove squashfs testcases from Ubuntu regression bundles"
2020-05-07 16:49:20 -04:00
Mark Gurevich
a50de858a9
Revert "Remove squashfs testcases from Ubuntu regression bundles"
2020-05-07 16:46:34 -04:00
besawn
b4d7907da4
Merge pull request #6698 from gurevichmark/ubuntu_squashfs
...
Ubuntu support for squashfs
2020-05-07 16:45:48 -04:00
Mark Gurevich
7fab544d98
Ubuntu support for squashfs
2020-05-07 14:35:26 -04:00
Mark Gurevich
2e28aef131
Merge pull request #6692 from nicmays/fix/issue_6349
...
Added check for 'stable' flag via the command ${script} go-xcat --xcat-version=stable to install the latest version.
2020-05-07 13:19:59 -04:00
nicmays
ce92aab9e3
updated the file header and version number with the enhancement, added an example to the examples section.
2020-05-07 12:17:41 -04:00
Mark Gurevich
da1b2bfcdc
Merge pull request #6696 from cxhong/dell
...
Discover Dell Switch via switchdiscover command
2020-05-06 17:55:19 -04:00
cxhong
2ddf10bbdc
Merge pull request #6695 from gurevichmark/testcase_ubunty_squashfs
...
Remove squashfs testcases from Ubuntu regression bundles
2020-05-06 17:39:38 -04:00
cxhong
369aff6549
fix syntax errors
2020-05-06 17:26:27 -04:00
Mark Gurevich
13e0ef144d
Remove squashfs testcases from Ubuntu regression bundles
2020-05-06 17:08:30 -04:00
cxhong
792aca18dc
Discover Dell Switch via switchdiscover command
2020-05-06 17:03:47 -04:00
Mark Gurevich
3d2c3b2314
Merge pull request #6694 from cxhong/ldd
...
Remove ldd messages from ubuntu genimage command
2020-05-06 16:03:00 -04:00
cxhong
e542c012c9
Remove ldd messages from ubuntu genimage command
2020-05-06 15:24:36 -04:00
nicmays
e0469145eb
redacting the if statement for -x specifications.
2020-05-05 17:23:28 -04:00
cxhong
6c8bd56fc2
Merge pull request #6691 from gurevichmark/kdump_testcase
...
Add output verification to kdump testcase
2020-05-05 17:06:08 -04:00
Mark Gurevich
5b1dc8a509
Add output verification to kdump testcase
2020-05-05 16:26:48 -04:00
cxhong
a98f51a951
Merge pull request #6690 from gurevichmark/squashfs_overlay2
...
Do not use modinfo to test module availability
2020-05-04 17:32:02 -04:00
Mark Gurevich
a9e059d90f
Do not use modinfo to test module availability
2020-05-04 16:23:42 -04:00
root
a2cb534bb6
Changed code to handle the stable flag inside the swtich statement where we parse the command in the main program.
2020-05-04 14:54:38 -04:00
nicmays
7bdad3e2fc
Attempting to default to latest if stable is specified in the main program versus the function calls.
2020-05-04 12:57:54 -04:00
nicmays
9b99c07d0d
added some tracing.
2020-05-04 12:09:17 -04:00
Mark Gurevich
fa86dd4fbb
Use XML::LibXML::Simple instead of XML::Simple
2020-05-01 17:06:22 -04:00
cxhong
5df4a86ce9
Merge pull request #6687 from gurevichmark/squashfs3
...
Testcase and genimage fixes for squashfs
2020-05-01 14:44:12 -04:00
Mark Gurevich
f7dbd08b96
Testcase and genimage fixes for squashfs
2020-05-01 12:33:11 -04:00
cxhong
8bf0a31022
Merge pull request #6686 from gurevichmark/squashfs2
...
Testcase and packimage fixes for squashfs
2020-04-30 16:37:35 -04:00
nicmays
573966c850
handled an edge case to treat a 'stable' flag as a latest flag in a cmd call go-xcat install --xcat-version=stable.
2020-04-30 16:21:55 -04:00
Mark Gurevich
be359b1899
Testcase and packimage fixes for squashfs
2020-04-30 13:58:35 -04:00
cxhong
59065ca2fa
Merge pull request #6685 from gurevichmark/squashfs_testcase3
...
Make sure squashfs installed on SLES for squashfs testcase
2020-04-29 18:06:30 -04:00
Mark Gurevich
53d3d915d1
Make sure squashfs installed on SLES for squashfs testcase
2020-04-29 14:17:51 -04:00
besawn
de293fced4
Merge pull request #6680 from gurevichmark/squashfs_overlay
...
Use overlay mount type for squashfs diskless images
2020-04-29 09:59:21 -04:00
Mark Gurevich
6743873e89
Use ext4 filesystem instead of ext3
2020-04-29 09:06:57 -04:00
cxhong
9f6a9d3830
Merge pull request #6683 from gurevichmark/squashfs_testcase2
...
Make sure squashfs-tools installed on Ubuntu for squashfs testcase
2020-04-27 16:29:12 -04:00
Mark Gurevich
c6969d9ee9
Make sure squashfs-tools installed on Ubuntu for squashfs testcase
2020-04-27 09:56:24 -04:00
besawn
e89ffddb88
Merge pull request #6682 from gurevichmark/squashfs_testcase
...
Add two testcases to test squashfs diskless mount
2020-04-24 16:33:09 -04:00
Mark Gurevich
c4a1e1931d
Merge pull request #6679 from cxhong/6664
...
Support xfs filesystem for statelite images
2020-04-24 15:14:32 -04:00
Mark Gurevich
4da1015c0b
Add two testcases to test squashfs diskless mount
2020-04-24 10:34:10 -04:00
cxhong
e22130a46b
add mkfs.xfs to older version of dracut
2020-04-23 12:35:49 -04:00
besawn
ec77d23951
Merge pull request #6674 from gurevichmark/rcons_conserver
...
Verify second parameter to rcons is a host
2020-04-22 18:19:21 -04:00