2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-10-09 11:03:03 +00:00
Commit Graph

25715 Commits

Author SHA1 Message Date
Chen Hanxiao 1c34dce084 test: confignetwork: update regexp to fix IP matching
update regexp to get the right IP address

Issue:

xcat-com001: configure nic and its device : eth0
xcat-com001: [I]: configure eth0
xcat-com001: [I]: call: NMCLI_USED=0 configeth eth0 10092.168.200.20 confignetworks_test1
xcat-com001: [I]: configeth on xcat-com001: os type: redhat
xcat-com001: configeth on xcat-com001: old configuration: 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
xcat-com001:     link/ether 52:54:00:7d:fe:76 brd ff:ff:ff:ff:ff:ff
xcat-com001:     inet6 fe80::5054:ff:fe7d:fe76/64 scope link
xcat-com001:        valid_lft forever preferred_lft forever
xcat-com001: [I]: configeth on xcat-com001: new configuration
xcat-com001:        10092.168.200.20, 100.168.0.0, 255.255.0.0,				<==== here

Command:
 XCATTEST_MN=192.168.200.10 XCATTEST_SN=192.168.200.10 XCATTEST_ISO=/opt/xcat/CentOS-7-x86_64-DVD-1804.iso XCATTEST_SECONDNIC=eth0 XCATTEST_THIRDNIC=eth2 XCATTEST_CN=xcat-com001 xcattest -t confignetwork_vlan_eth0

# lsdef -t node xcat-com001
Object name: xcat-com001
    arch=x86_64
    currchain=shell
    currstate=runimage=http://192.168.102.124/install/my_image/my_image.tgz
    groups=compute,all
    ip=192.168.200.20
    mac=52:54:00:16:ba:39
    mgt=ipmi
    monserver=192.168.200.10
    netboot=xnba
    nfsserver=192.168.200.10
    postbootscripts=otherpkgs
    postscripts=syslog,remoteshell,syncfiles
    serialport=0
    serialspeed=115200
    status=powering-off
    statustime=05-12-2020 05:39:46
    tftpserver=192.168.200.10
    xcatmaster=192.168.200.10

Signed-off-by: Chen Hanxiao <chen_han_xiao@126.com>
2020-05-14 15:05:24 +08:00
cxhong 51ba70b892 Merge pull request #6707 from gurevichmark/doc_remove
Remove doc file no longer referenced
2020-05-12 17:33:24 -04:00
Mark Gurevich f52480f70e Remove doc file no longer referenced 2020-05-12 14:58:49 -04:00
cxhong b7ef2041f2 Merge pull request #6706 from gurevichmark/go_xcat_no_service
Speedup execution of go-xcat testcases
2020-05-12 13:12:21 -04:00
Mark Gurevich 738b147bdf Speedup execution of go-xcat testcases 2020-05-12 12:02:22 -04: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