Horizon: Create Memory Profile button is missing in Platform Host Details
There is an issue where mem profiles can be created for non-compute controllers by the cli but not via the gui. I have removed this restriction Closes-Bug: 1792631 Change-Id: I4dd98a6a1a580c14320f782d78ceb653544a8c92 Signed-off-by: Tyler Smith <tyler.smith@windriver.com>
This commit is contained in:
parent
783a8ee61e
commit
ebb40be340
@ -1,2 +1,2 @@
|
||||
SRC_DIR="starlingx-dashboard"
|
||||
TIS_PATCH_VER=10
|
||||
TIS_PATCH_VER=11
|
||||
|
@ -46,7 +46,7 @@ class CreateMemoryProfile(tables.LinkAction):
|
||||
|
||||
def allowed(self, request, datum):
|
||||
host = self.table.kwargs['host']
|
||||
if host.subfunctions and 'compute' not in host.subfunctions:
|
||||
if host.subfunctions and 'storage' in host.subfunctions:
|
||||
return False
|
||||
return (host.invprovision == 'provisioned' and
|
||||
not stx_api.sysinv.is_system_mode_simplex(request))
|
||||
|
Loading…
Reference in New Issue
Block a user