Jarrod Johnson
9304b41a12
Generic tab completion after generic noderange
...
Commands that go further than the noderange should
switch to generic completion for lack of a better
idea.
2020-07-24 14:35:54 -04:00
Jarrod Johnson
de7b83cbb4
Correct the spec file
...
It incorrectly omitted correct license.
2020-07-16 08:25:15 -04:00
Jarrod Johnson
1d596736f3
Tolerate : without a space
...
E.g. grep does not space delimit.
2020-07-10 08:53:57 -04:00
Jarrod Johnson
4a23ca3db1
Have blank values end with :
...
This is a bit more obvious for grep.
2020-07-10 08:28:28 -04:00
Jarrod Johnson
b112cb0f16
Have unset and blank values look similar
...
This looks weird in collate otherwise
2020-07-09 17:00:44 -04:00
Jarrod Johnson
f70a3daf9a
Clear both appropriate profile attributes
...
When setting a pending profile. clear any staged or established profile.
2020-07-01 15:39:12 -04:00
Jarrod Johnson
2481759d44
Correct syntax error in nodedeploy
2020-07-01 15:16:39 -04:00
Jarrod Johnson
78e5d343e7
Implement a 'staged' phase of profile
...
This allows a limbo where remote deployment is blocked
but final deployment is not yet flagged.
2020-07-01 14:01:28 -04:00
Jarrod Johnson
159d01b690
Update client for floppy
...
Update documentation and tab completion.
2020-07-01 09:00:33 -04:00
Jarrod Johnson
98008e409f
Fix osdeploy tab completion
2020-06-25 10:41:58 -04:00
Jarrod Johnson
c7a8f524bd
Add -s to nodesensors man page
2020-06-22 13:29:27 -04:00
Jarrod Johnson
095a831c0b
Fix source of abnormal console exit
...
If using ctrl-e, c, then a delay while
there is console output to do,
console would crash.
Fix by catching the flush problem
and ignoring it.
2020-06-18 13:09:48 -04:00
Jarrod Johnson
231582dd0f
Workaround mtools on cluster fs
...
When a lock is acquired by mtools,
it does not ensure it releases the
lock before exit.
Workaround this by doing a blocking
lock and unlock after any
invocation of mtools.
2020-06-16 16:36:02 -04:00
Jarrod Johnson
0a2ab341a8
Increase root directory size
...
ESXi demands a lot of files, increase
the root directory by a large amount
to fit esxi.
2020-06-04 15:16:45 -04:00
Jarrod Johnson
942685b48d
Amend confetty fix
...
shlex.join is not widely
available, switch to just
skipping the split if pre-split
by the calling process.
2020-06-03 14:58:30 -04:00
Jarrod Johnson
21e97689bc
Fix handling of complex embedded args
...
If pulling from argv, it has already been
shell split. Use shlex to join to correctly
requote anything that needs quoting.
2020-06-03 13:52:14 -04:00
Jarrod Johnson
021591017c
Fix osimagetab completion
2020-05-22 09:03:02 -04:00
Jarrod Johnson
51bc7dc88f
Add nodedeploy command
...
This is akin to rinstall, but with
better tab completion and such
2020-05-20 16:21:08 -04:00
Jarrod Johnson
dcdd453112
Delete trailing whitespace
2020-05-07 09:30:31 -04:00
Jarrod Johnson
e18ca3dd94
Merge branch 'master' into osdeploy
2020-05-07 08:31:50 -04:00
Jarrod Johnson
3f53c55a66
Add custom port to nodeshell
...
Permit use of an alternative
port in nodeshell.
2020-05-07 08:27:16 -04:00
Jarrod Johnson
690c871d29
Merge branch 'master' into osdeploy
2020-04-17 10:01:55 -04:00
Jarrod Johnson
f964fd8ce1
Add some information to man page
...
If the user consults the man page for help after a
HOSTUNREACH, give some text.
2020-04-17 10:00:56 -04:00
Jarrod Johnson
acda061710
Merge branch 'master' into osdeploy
2020-04-09 08:21:24 -04:00
Jarrod Johnson
8d1d19d9a8
Fix nodelicense save with expansion
...
Client side checking will not suffice. Move it server side.
Additionally ,fix ownership of downloaded files.
2020-04-09 08:20:55 -04:00
Jarrod Johnson
86628929de
Merge branch 'master' into osdeploy
2020-04-06 14:51:01 -04:00
Jarrod Johnson
46518f890b
Fix nodediscover assign
...
The feature request for -n was
implemented in a way that broke
nodediscover assign.
2020-04-06 14:50:24 -04:00
Jarrod Johnson
061e12beeb
Merge branch 'master' into osdeploy
2020-04-02 11:43:32 -04:00
Jarrod Johnson
6b56181a52
Fix attrib add code
...
It was failing due to automatic pathing in python3
2020-04-02 11:42:54 -04:00
Jarrod Johnson
c18ce50138
Integrate attributes into man pages
2020-04-02 11:01:42 -04:00
Jarrod Johnson
b3c878462f
Integrate attributes into man pages
2020-04-02 11:00:45 -04:00
Jarrod Johnson
e78b4e9f17
Merge branch 'master' into osdeploy
2020-04-02 10:18:11 -04:00
Jarrod Johnson
374aa49016
Add man page for nodersync
2020-04-02 10:17:44 -04:00
Jarrod Johnson
6cc0fd20a0
Merge branch 'master' into osdeploy
2020-03-27 12:14:56 -04:00
Jarrod Johnson
d33365195b
Have nodediscover list filter by -n
...
It is a reasonable expectation and useful feature to provide.
2020-03-27 12:14:41 -04:00
Jarrod Johnson
85c648925f
Merge branch 'master' into osdeploy
2020-03-27 11:05:38 -04:00
Jarrod Johnson
3429173c27
nodeconsole changes to specifically target tmux
...
tmux needs more direction to avoid ambiguous results.
2020-03-27 10:57:14 -04:00
Jarrod Johnson
451ff6b5a3
Fix geometry in dir2img
...
The geometry was incorrect in dir2img, ensure the file is
a multiple of 512 bytes.
2020-03-16 14:47:21 -04:00
Jarrod Johnson
b3c49c532c
Rewrite dir2img in python
...
It is a good measure to prep for more heavy usage in
OS deployment.
While changes were being made anyway, also cut time to make
an image in half.
2020-03-16 12:52:18 -04:00
Jarrod Johnson
a413f321fe
Fix console loss on server exit
...
Catch the new exception that
was used to make other commands
exit cleaner.
2020-03-11 13:58:37 -04:00
Jarrod Johnson
f2bd796c2a
Further clean up license error handling
...
Backup of nodelicense was not
consistently checked between
redfish and ipmi plugins.
2020-03-11 09:29:41 -04:00
Jarrod Johnson
bf31c4872f
Fix mistake in nodelicense save
...
It was incorrectly presenting unrecognized error infomation.
2020-03-11 09:22:16 -04:00
Jarrod Johnson
67e3530d16
Add group count to collate
...
Feature request to offer the
ability to count output groups
rather than actually show output
groups.
2020-03-02 11:29:28 -05:00
Jarrod Johnson
6289cfaac4
Fix nodeboot when used with -m
...
nodeboot was erroneously using sys.argv rather
than the processed args from optionparser.
2020-02-19 14:36:10 -05:00
Jarrod Johnson
7a63ca8759
Fix python3 problem with confetty
...
Under python3, there is no unicode.
2020-01-31 08:53:42 -05:00
Jarrod Johnson
a24866c2df
Fix exitcode for confetty noderange commands
...
The exitcode was not being set for noderange commands
where each node may independently raise errors.
Correct the oversight by catching each subelements errors.
2020-01-31 08:22:20 -05:00
Jarrod Johnson
22f6198f60
Fix nodebmcreset on bad noderange
...
This prevents confusing python stack when
a bad noderange is specified.
2020-01-30 14:35:58 -05:00
Jarrod Johnson
91fa5bd1eb
Enhance nodeconfig treatment of IMM
...
This makes the IMM attributes usable, but not intrusive.
2020-01-29 14:20:56 -05:00
Jarrod Johnson
0c4cb49c20
Implement nodeconfig -e
...
This provides access to 'extra' settings.
Mainly intended to avoid slowing down nodeconfig
with IMM attributes that most people don't
want anyway.
2020-01-29 10:15:32 -05:00
Jarrod Johnson
b4b733a573
Fix attribute sort with python 3
...
For attributes without a sortid, sort was failing with python3
2020-01-22 14:24:10 -05:00