* updatenode -F not work in hierachy env (#4455)
- add trace when -V is enabled
- get the DSH_FROM_USERID from updatenode client
* - when 'updatenode -F' need to push SN first, using root as non-root does not have permission write to 'SNsyncfiledir'
- move the set DSH_FROM_USERID code out of the loop, and also cover remote client case.
* Add support for "file - (noderange) file" in synclist when using
hierarchical mode. Fixes#4425
This patch ensures that:
1. the synclist is correctly parsed when running on a Service Node
2. all files are synchronized to SNs in hierarchical mode
* Better test condition for #4425, addresses issue in
https://github.com/xcat2/xcat-core/pull/4445#issuecomment-349472901
- if all service nodes not running dhcp, to treat it as disjointdhcps=0
- nodeset will send request to MN by default even if disjointdhcps=1
- Move out of the dhcp service checking from opts pre-check, and do it just before real makedhcp handling.
* Introduce a natural compare func for sorting array and using it for rinv/rvital
* 1, Remove the comments for previous codes 2,not using a new array variable there
The IVP expects xcatd to be fully operational by the
time is begins a run. It is possible for xcatd to
be delayed. The delay should not ause a corruption
of the zvmnotify property in the site table.
In addition, tests for tabdump failures should be
corrected and the log file should be set up sooner
so that debug information is available for similar
problems.
Change-Id: I2b0e3e875cc28f740a35b348faa0cc74f5acb7bf
Some switches report ifindex instead of bridge index.
This is not compliant behavior. However, we can detect
that every last mac was a dead end, and assume this is
the case to try to get better result. This won't work
if there is overlap in interface and bridge indexes, so
in that case, the spec compliant behavior is assumed.
This commit add descritpion for `dbtracelevel` entry in site table
to help the user find the detail solution if the log is lost due
to the issue from rsyslog side.
partial-issue: #3910
This commit add recover option for rflash command to upload
bmc image with tftp when the BMC is in Brick Protection state.
Example:
```
rflash <node> --recover <image>
```
implement #3873
a2idx: Turns an ASCII character into an index (a=1, b=2, etc)
a2zidx: Turns an ASCII character into a 0-index (a=0, b=1, etc)
dim2idx: Turns dimensions (eg row, column, rack-unit) into an index
skip: Return an index where some items are 'skipped'
ipadd: Add a value to an IP address