Samveen Gulati
f1b406dbc0
Reduce grep
invocations by passing -[46]
to ip
2017-06-06 09:53:29 +00:00
Victor Hu
bf382dcd10
Sync up the spelling to use: OpenPOWER and OpenBMC
2017-06-02 15:02:02 -04:00
ertaozh
69f38cbb87
Update bmcsetup related code for OpenBMC
2017-05-09 04:03:41 -04:00
ertaozh
2aa3136094
add set channel access on to apply network setting for OpenBMC
2017-05-08 05:11:27 -04:00
ertaozh
fe8e4b800c
enhance bmcsetup logic for openbmc
2017-05-05 04:33:09 -04:00
Kilian Cavalotti
a08134d9f7
dodiscovery: add a fallback for getting MTM from DMI
...
In some cases, FRU pages are not available, or don't contain relevant
readable or relevant information. In those cases, we could still fall
back to DMI to get the MTM information, and log a warning that
MTMS-based discovery may not work as expected.
2017-03-21 14:03:53 -07:00
Victor Hu
d6531550ec
Merge pull request #2627 from zet809/fix_issue_2327
...
Have ntp sync up waiting for 1 minute in case sync up failed
2017-03-21 14:39:55 -04:00
ertaozh
38831c8358
Modify the waiting time clearer for user for ntp-wait
2017-03-21 05:27:52 -04:00
Victor Hu
799d143e90
Merge pull request #2593 from zet809/fix_issue_2362
...
fix issue 2362: If packimage is not run, osimage in the chain table w…
2017-03-16 15:42:32 -04:00
ertaozh
b425feb494
fix issue 2362: If packimage is not run, osimage in the chain table will fail on netboot images
2017-03-14 23:22:54 -04:00
ertaozh
38d9914d35
Have ntp sync up waiting for 1 minute in case sync up failed
2017-03-14 23:06:03 -04:00
zet809
f1ac7b8564
Merge pull request #2479 from stanford-rc/enhance_mtm
...
Enhance mtm discovery for non-IBM hardware
2017-03-05 23:13:35 +08:00
Kilian Cavalotti
ed27765bf1
fix indentation (tabs instead of spaces)
2017-03-03 09:30:28 -08:00
ertaozh
5323cd4f64
To have xcat-genesis-script depended on xcat-genesis-base 2.13.2
2017-02-21 03:23:43 -05:00
Kilian Cavalotti
c0c6082b13
dodiscovery: use information from FRU instead of DMI for MTM
...
Don't use information from DMI to populate the MTM field, as there is no
guarantee it will match with what's in the FRU pages. Since
`bmcdiscover` uses FRU information, use it in `dosdiscovery` too so they
will match for MTMS discovery.
2017-02-13 10:57:26 -08:00
Kilian Cavalotti
603c7785f7
MTM: add support for other vendors, in the form of vendor::model
2017-02-10 13:38:22 -08:00
Victor Hu
defecc7496
Fix typo in bmcsetup if test
2017-01-31 13:52:14 -05:00
Victor Hu
b4d6b817ce
Merge pull request #2424 from zet809/fix_issue_2422
...
Don't use "which" to check whether ipmitool is installed in genesis
2017-01-19 10:12:44 -05:00
zet809
92b4408077
Merge pull request #2419 from jjohnson42/fixbmcsetup
...
Quote user and password in ipmitool
2017-01-19 15:22:30 +08:00
ertaozh
3040050e1d
Don't use which to check whether ipmitool is installed
2017-01-18 22:11:10 -05:00
Jarrod Johnson
fad57b6aff
Quote user and password in ipmitool
...
If a value had certain characters, the command would be incorrect.
For example, a password with a '#' in it would break.
2017-01-18 14:19:13 -05:00
zet809
6755a099d0
Merge pull request #2195 from neo954/issue1547-rpm-packaging
...
Make all the rpm packages have the exactly same version and release numbers
2017-01-10 17:27:54 +08:00
zet809
6ace21010b
Merge branch 'master' into have_bmcsetup_run_in_postscript
2017-01-10 13:54:40 +08:00
ertaozh
197212a886
Modification based on Victor's comments
2017-01-09 23:45:41 -05:00
zet809
2847ea1da3
Merge pull request #2198 from neo954/issue1548-deb-packaging
...
Make all the deb packages have the exactly same version and release numbers
2017-01-09 08:46:05 +08:00
GONG Jie
398494a32c
Fix typo. Remove unused lines.
2017-01-05 11:07:45 +08:00
ertaozh
6440032111
modify getipmi and bmcsetup works also as a post/postboot script for diskful or diskless installation
2017-01-03 08:42:52 -05:00
neo954
327db76f9e
Make all the deb packages have the exactly same version and release numbers
2017-01-03 12:56:15 +08:00
GONG Jie
65c2911888
Make all the rpm packages have the exactly same version and release numbers
2017-01-03 12:47:14 +08:00
GONG Jie
0ec39c2a57
Fix the code of waiting for ntpd to synchronize in genessis
2016-12-20 12:17:12 +08:00
zet809
4897acedf7
Revert "[CUSTOMER] Use ntpdate in genesis kernel instead of starting the ntp daemon to reduce discovery time"
2016-12-14 17:35:55 +08:00
Victor Hu
482f6b7fc2
Use the -b option to force the time change
2016-12-13 13:42:07 -05:00
Victor Hu
c1673f730b
Since the genesis kernel is not intended to be long running, there's no need to start ntp daemon, simply attempt to sync with ntpdate.
...
There's an issue in this code where we query ntpq for the offset too quickly after starting the ntp daemon. This causes the offset to always be 0 and we continue. We have seen situations where ntpd starts before the first check and becomes > 1000. Then it takes 15 minutes before the 2nd attempt and delays the hardware discovery process
2016-12-13 11:15:27 -05:00
Victor Hu
5af0a890a4
Add messages to trace the ntpd commands in genesis
2016-12-07 21:39:21 -05:00
ertaozh
40e9608cf4
To have xcat-genesis-script depended on xcat-genesis-base 2.13.0 or higher
2016-12-07 02:10:32 -05:00
Victor Hu
4aab65ea0a
Revert the naming back to using snap<date> and instead use the
...
Epoch keyword to control the priority of the xCAT-genesis-base package
2016-12-05 13:58:27 -05:00
Victor Hu
b30ed57db2
- Bump up the version to 2.13.0
...
- Edit the makerpm to replace version of xCAT-genesis-base.spec
file so there's no need to manually set the VERSION. We
do need a better way for the RELEASE variable
- Require xCAT-genesis-base >= 2.13.0 for the rebuild of genesis-base
- Clean up the builder rpm to include directories to clean up correctly
on rpm removal
2016-12-02 17:38:14 -05:00
XuWei
21b77c86df
modified depending on comments
2016-11-03 21:01:52 -04:00
XuWei
672f1e8bd5
modified depending on comments
2016-11-03 04:21:57 -04:00
XuWei
15e2a17a8b
move rsyslogd restart code from dhclient-script to doxcat
2016-11-02 01:04:21 -04:00
Jarrod Johnson
444d223c88
Fix permissions on loadmlxeth script
...
loadmlxeth was not executable, resulting
in a broken udev rule for mellanox booting
systems.
2016-10-31 10:10:08 -04:00
Victor Hu
e3a826ef23
- Remove the USER/PASS clear text being sent back to syslog
...
- Remove the access display, doesn't look useful
2016-10-13 20:10:20 -04:00
Jarrod Johnson
edb1d181e9
Provide hook for saner versioning
...
The traditional approach was not adequately
hooked into git. It should do nothing by
default differently.
2016-09-28 08:43:35 -04:00
Jarrod Johnson
d5205de146
Improve port change check
...
When changing the port when indicating NCSI
package, the comparison was inadequate. Improve
things by at least checking the shared/dedicated portion.
Note that it is not comparing the package id, which means
things are imperfect, though they are better than before.
However, it's not too shabby because the NIC being active
is the important part, the NCSI package change happening
later is ok, since the net config is still being put on
the correct IMM Nic.
2016-09-14 11:26:16 -04:00
Jarrod Johnson
bb460dc5ce
Provide a more adaptive approach to 'LOCKEDUSERS' in bmcsetup
2016-09-08 16:50:23 -04:00
GONG Jie
18308688bf
Fix github issue #1591
2016-08-31 16:51:07 +08:00
ertaozh
8b5f44c44a
Modify xcat-genesis-script pkg name for ubuntu
2016-08-10 01:23:06 -04:00
ertaozh
f9d532b009
Fix issue 1638: Genesis not wait long enough time to have NICs get IP address
2016-08-05 03:02:21 -04:00
zet809
20fb5d8d98
Remove provides section from xCAT-genesis-scripts/debian/cotrol file ( #1581 )
2016-07-25 04:17:37 -05:00
zet809
554cdb9a56
Fix xCAT-genesis-scripts/debian/control
...
Fix the issue that build xcat-genesis-scripts-ppc64 failed on ubuntu.
2016-07-25 15:31:49 +08:00