add k8s labels tab and assign/delete actions
there are no limit rules for labels_key and labels_value in this patch
test reproduction:
in a duplex all-in-one contrainerized env:
list all k8s labels: click "labels" tap host detail page on sysinv
hosts panel
assign new k8s labels: click "Assign Kube Label" button on "labels"
tap (shown on locked controllers only)
delete k8s labels: click "Delete Labels" button on each related row
(shown on locked controllers only)
in a simpex all-in-one contrainerized env:
need edit related code on env and restart service "horizon" to show the
assige/delete buttons.
Story: 2004470
Task: 28160
Change-Id: I4d86fcca3c2fca9c6902f376f28b7519d8bbde39
Signed-off-by: Yan Chen <yan.chen@intel.com>
Signed-off-by: SidneyAn <ran1.an@intel.com>
Moving the cookie customization to the platform horizon, and
manually setting the new cookie to be used by our angularJS
FM client. The change is not needed by the sysinv client since we are
able to embed the csrf token in the django template, which isn't
possible with the pure angular FM panels.
Change-Id: Iceebf7028325256b6793deb296d32e9a9f5fba21
Signed-off-by: Tyler Smith <tyler.smith@windriver.com>
Closes-Bug: 1813661
The wrs_pci and wrs_providernet python files do
not exist in novaclient.
This change removes those imports.
The GUI code that is processing the results from
those imports is not currently been removed, as it may be
used by upcoming enhancements to sysinv.
Story: 2004751
Task: 29357
Change-Id: I39dfbdf60d9de008072253f1074fb2ee5c61df72
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
This commit enables StarlingX Dashboard to display and allow
configuration of Ceph on a standard 2 controllers and 2 computes
configuration. For this to work we use deployment_model in the
'cluster' API of System Inventory and show or hide specific
panels and options from view.
Change-Id: I998bc8083720425bdca10c6876e1c2ed99235bf9
Implements: containerization-2002844-CEPH-persistent-storage-backend-for-Kubernetes
Story: 2002844
Task: 29113
Depends-On: https://review.openstack.org/633257
Signed-off-by: Ovidiu Poncea <Ovidiu.Poncea@windriver.com>
Update stx-gui for DataNetwork modelling of the
This is part of the Story to "Move neutron provider network modelling
to system configuration".
The following GUI panels are updated:
Data Networks
- Add creation of vxlan datanetwork
Data Network Topology
- Update datanetwork-host-lldp topology
- Remove segment info from Data (Provider) Network
Change-Id: I9bcd9408fd1f4ca7cd905397b09005af1897684b
Story: 2004455
Task: 28325
Signed-off-by: John Kung <john.kung@windriver.com>
Update conf.py for release notes to include the project
variable, set to the project name. This is so the string
above the left nav renders the project name.
Story: 2004900
Task: 29229
Change-Id: Ia643cc5894fc121c31c35dabce98db9b42af16ad
Signed-off-by: Kristal Dale <kristal.dale@intel.com>
Introduce stx-gui updates to enable DataNetwork modelling of the
physical data network in sysinv. This is part of the Story to
"Move neutron provider network modelling to system configuration".
This is an initial update to enable Interfaces, Data Networks and
Data Network Topology panels.
Pending Stein spec support for network-segment-range-mangement,
the following GUI features are not currently supported:
Segmentation Ranges
Tenant Networks
The following GUI panels are updated:
Host Inventory - Interfaces
Data Networks (<oamip> /admin/datanets; previously /admin/providernets)
Data Network Topology
Tests Performed:
Data Network create, modify for network_type flat, vlan.
vxlan excluded in this GUI commit.
Data Network delete, modify
Data Network Topology - basic navigation to panel
Interface Profile create and apply
Sanity
Story: 2004455
Task: 28325
Depends-On: https://review.openstack.org/#/c/631701/
Change-Id: I46db5b5d47a9920f21db0521a8f5fbe4213b8af3
Signed-off-by: John Kung <john.kung@windriver.com>
Enhance the drawer for alarms and events panel to display the entire
data set and not just a subset. Remove the link to the details page
for alarms and events.
Remove the details page for events. The details page for alarms is
being used by the “Admin/Platform/Provider Network Topology“ panel.
Story: 2004818
Task: 29048
Depends-On: https://review.openstack.org/#/c/633060/
Change-Id: I81ac78416ab52ec2b8942be08ed3e5e12976a97d
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
Currently, a DPDK enabled vswitch makes use of a fixed 1G hugepage to
enable an optimized datapath.
In the case of OVS-DPDK, this can cause an issue when changing the
MTU of one or more interfaces, as a seperate mempool is allocated
for each size. If the minimal mempool size(s) cannot fit into the
1G page, DPDK memory initialization will fail.
This commit allows an operator to configure the amount of hugepage
memory allocated to each socket on a host, which can enable
jumboframe support for OVS-DPDK.
Change-Id: Ie54cc23a0839d80d2062510f8f6128eb68b2cfc9
Story: 2004472
Task: 28162
Depends-On: https://review.openstack.org/#/c/631039
Signed-off-by: Steven Webster <steven.webster@windriver.com>
Simply get back the link from HORIZON_CONFIG.help_url.
We can check in stein if this url can be set with a config file.
Closes-Bug: 1802980
Change-Id: I61eab25d477aa9f5f31235839d3f460b4023046a
Signed-off-by: Yan Chen <yan.chen@intel.com>
The FM panel which contains 3 tabs is now replaced with a new panel
group called “Fault Management” under Admin which contains an
“Active Alarms”, “Events” and “Events Suppression” panel.
The suppression buttons are gone, filters replace the need for the
suppression buttons. Paging is done automatically in AngularJS the and
‘Default Limit' button is also gone.
The Alarm Summary Banner was removed from the FM panels as it is
already displayed in the header banner.
The “Related Alarms” tab under the “Provider Network Topology“ panel was
refactored to still uses Django’s alarms table.
Other related FM Django code that is no longer used has been removed.
Refactored some DC Cloud panels as well.
Story: 2004818
Task: 28984
Change-Id: I7fdece26118dc066cf93001189767f78bfe2caf7
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
timesinceSorter is provided by horizon as the default sorter of
the datetime fields in a table. We don't have to create a uptimeSorter
for host inventory panel.
The reason that we failed to use timesinceSorter before is the
datetime returned by host.boottime is calculated by datetime.now() but
not timezone.now(). With this change, timesinceSorter can work well
with host inventory panel.
Test done for the change:
1. Build iso with this patch.
2. Deploy with 1 controller and 2 compute nodes.
3. Open starlingx dashboard, Admin -> Platform -> Host Inventory,
press on the column head of "Uptime" of the table for compute nodes,
the timesinceSorter works well to sort the compute nodes.
4. Check the page source, the Uptime column is marked as
"data-type="timesince"", and the data for this column is marked
with data-seconds (added by the timesince_sortable filter),
format as below:
<span data-seconds="4361">1 hour, 12 minutes</span>
Closes-Bug: 1809861
Change-Id: I5f9e896ccb0e4bb0e7d801402f9139e191cf9e08
Signed-off-by: Yan Chen <yan.chen@intel.com>
Update the starlingx-dashboard MANIFEST.in file to specify
inclusion of additional files necessary for adding themes
to the python module wheel, which is used in building the
stx-horizon docker image.
Story: 2004520
Task: 28586
Change-Id: Ie9615c1bd89539f5ea928863f67214c50d0c15b2
Signed-off-by: Don Penney <don.penney@windriver.com>
Created _30_stx_local_settings.py in local_settings.d to contains the
STX specific local settings.
Story: 2004552
Task: 28394
Change-Id: I37dd5a68223e1538dc2c3a66c524b88e362e2059
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
Update misc compute references to worker
Change VM huge pages to application huge pages
Tests Performed:
Non-containerized deployment
AIO-SX: Sanity and Nightly automated test suite
AIO-DX: Sanity and Nightly automated test suite
2+2 System: Sanity and Nightly automated test suite
2+2 System: Horizon Patch Orchestration
Kubernetes deployment:
AIO-SX: Create, delete, reboot and rebuild instances
2+2+2 System: worker nodes are unlock enable and no alarms
Story: 2004022
Task: 27013
Depends-On: https://review.openstack.org/#/c/624452/
Change-Id: Ibe33c0d428d8713155bf605b7dca310644f7009f
Signed-off-by: Tao Liu <tao.liu@windriver.com>
Moved themes/titanium/ and themes/starlingx/ folder from
stx-horizon into stx-gui. Renamed titanium to starlingx and
deleted titanium.
Updated the spec file so the themes/starlingx/ folder is
installed under openstack_dashboard/themes.
Story: 2004552
Task: 28310
Change-Id: I328df72bca0c8d5288a36a5257cf5738eba622da
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
In order to enable Openstack's helm charts on StarlingX we need
a distributed persistent storage for Kubernetes that leverages
our existing configurations.
Changes made:
- treat single and two node configuations the same as storage
configurations is Kubernetes is enabled
- add support for the kube-rbd ceph pool
Change-Id: I57a9368782b2cd646f618d2433537233d32cbc7b
Depends-On: Ic97b9fafa752a40befe395be2cafd3096010cc5b
Co-Authored-By: Stefan Dinescu <stefan.dinescu@windriver.com>
Story: 2002844
Task: 26878
Signed-off-by: Stefan Dinescu <stefan.dinescu@windriver.com>
Currently there is no easy way for user to know the available
space in each logical volume group. This commit adds a new
column for each logical volume group to show the size of
available space.
Change-Id: Iba4c22587ba962596cf50e75cbc9cdd548301acc
Closes-Bug: 1804711
Depends-On: https://review.openstack.org/#/c/619656
Signed-off-by: Wei Zhou <wei.zhou@windriver.com>
This story tracks the removal of the nova-local lvm backend for compute
hosts. The lvm backend is no longer required; nova-local storage will
continue to support settings of "image" or "remote" backends.
This story will remove custom code related to lvm nova-local storage:
- this modifies the Horizon Platform Host Inventory Storage page with
Local Volume Group parameter 'Instance Backing' for 'nova-local'
- instance backing parameter value 'Local RAW LVM backed' is removed
- lvm specific instances size parameter is removed
- lvm special handling of disk usage and free is removed
The affected horizon page with Instance Backing parameters is here:
Admin -> Platform -> Host Inventory -> <compute> -> Storage
-> Local Volume Groups -> nova-local
DocImpact
Story: 2004427
Task: 28084
Change-Id: Ie29212d26deb2987a0d8ec2eb1b3841ace0678aa
Signed-off-by: Jim Gauld <james.gauld@windriver.com>
This update allows user to update gnocchi filesystem size via horizon.
Change-Id: If7581bdcae565a42e2bd9e6c1adb30d2f2bf65ab
Closes-Bug: 1800910
Signed-off-by: Angie Wang <angie.wang@windriver.com>
This update adds hooks to the spec files for the following packages
to generate wheels for the python modules:
- starlingx-dashboard
Change-Id: Ie231c1c17dd3967cd83dbd3911ac947f99591923
Story: 2003907
Task: 27526
Signed-off-by: Don Penney <don.penney@windriver.com>