Feature
-
Separate 'stack remove storage partition' into commands based on scope.
Below commands have been introduced:
stack remove appliance storage partition
stack remove host storage partition
stack remove os storage partitionJIRA: STACKI-246
-
Add non-ethernet interfaces to database
- Send back ipmi interfaces, and InfiniBand interfaces to frontend, during install.
- On brand new machines, root user is not created or enabled in the BMC.
This explicity creates, and enables the root user.
-
Add new exception ArgNotFound for invalid entities
Don't return CommandError for bad lookups in *ArgumentProcessor, instead return ArgNotFound
-
Add test-framework to Stacki codebase
This moves the stacki-test-framework project into the stacki
codebase so that the tests can be easily kept in sync with
changes to the code. -
More boot argument for Console Installs
-
Add i40e driver support for all SLES 11 SP3 installs. This will load
the Intel i40e driver into the kernel. If we happen to use Intel Purley
nodes, then the driver gets used. Otherwise, it gets ignored. -
Add nomodeset and textmode for all console installs
We do not require X drivers for console installs. On Intel reference
nodes, installs will stall if it tries to load the X VGA driver. So
force it to not load the drivers.
-
-
Calculate, report and list the MD5 hashs for hosts.
Calculate, report and list the MD5 hashes of a host's:
- pallets
- carts
- profile (e.g., kickstart file, autoyast file, etc.)This will be reported by a host via the message queue.
One can check if a host is 'synced' or 'notsynced' by executing:
stack list host <hostname> hash=y
The above command adds a 'HASH' column with the status.
-
add ability to specify 'channel' as a parameter for 'add host interface'
-
Make table output format more consistent.
stack list
commands with NULL output in the last column will now have -'s printed
up to the width of that column's header as in other columns.This allows cell filling in the 'channel' column of 'stack list host interface',
without cluttering the output with lots of -'s in 'stack list host' if 'comment' is long. -
Add jmespath module
This module is needed by Ansible's json_query filter.
Bugfix
-
stack load storage partition failed for host partitions
This was a new bug since stacki-5.1rc2
-
Run udevsettle to wait for controller config to finish
When configuring the controller, the command can exit, but the controller
still hasn't completed configuration.
udevsettle waits until the controller is done, before generating
partitioning info -
Remove 'stack run host test' since it requires salt
This was old code left over from StackIQ Enterprise. It's great stuff
but beyond the mission of ping and prompt. It may come back again
one day.Removed this since it was barfing on the code coverage tests due to
missing python modules. -
WS flush cache and don't return stack trace on CommandError
WS runs multiple threads with each long lived thread managing its own
cache. A thread cannot invalidate another thread's cache, so always
flush right before running the stack command (subcommands still use
the cache).Previously we sent the stack trace on CommandErrors, now behave the
same as stack.py and send the nice error message.Code cleanup based on flake8.
-
Allow correct python db api parameters
Allow our sql methods (execute() and select()) to accept either our current
style, which is vulnerable to sql injection, or the correct style which allows
the database driver to correctly handle escaping parameters. This will let us
migrate code to the safer syntax gradually.See github issue #198 for more details
-
Check for duplicate hosts correctly
When using self.db.select function, make sure to not
have "select" as the first word in the sql statement.
This is implicit, and adding it will cause the code to
fail. -
make new appliances 'managed' in some situations
Appliances are already set to
kickstartable==True
ifnode==backend
This piggy backs on that behavior to make them alsomanaged==True
📎Remove redundant appliance attributes.
-
Loading hostfile csv throws error on frontend renames 🔏
CommandError(self, 'Renaming frontend is not supported!')
JIRA: STACKI-272 -
Run pallet fails if frontend has more than one pallet of the same name
If there are 2 pallets of the same name on the frontend, even if they happen to
be different versions, or releases, and they belong to different boxes, "run pallet"
will still fail on an SQL subquery.Make the SQL query cleaner, and context specific.
-
blank 'run host command=' no longer hangs
🏃
JIRA: STACKI-325 -
stack list host graph
Bring "stack list host graph" to the 21st century
-
Refer to the correct information
When printing nukecontroller information, refer
to the list that contains nukecontroller information
and not the nukedisks information. -
cleanup entity names in example csv files
-
Make api response return JSON
The api response was mistakingly running json.dumps against the text
version of the command response, causing the output to be double
encoded.This fixes JIRA: STACKI-432
Git
-
starting release 5.1rc3
-
Update README.md
-
Update README.md