Commit Graph

137 Commits

Author SHA1 Message Date
OpenDev Sysadmins cd803ccd2e OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:52:27 +00:00
Scott Little 79f16e85fd Merge remote-tracking branch 'starlingx/master' into HEAD
Change-Id: I05483a87c6db4c900ca75b5ffa5bee3e0b7ae07a
Signed-off-by: Scott Little <scott.little@windriver.com>
2019-02-15 14:35:52 -05:00
Yan Chen 84ee07bf78 Add support for k8s labels to inventory panel
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>
2019-02-15 22:26:17 +08:00
Scott Little cdf54a8027 Merge remote-tracking branch 'starlingx/master' into HEAD
Change-Id: If253439d567268f2983b75beedf131d1d29c840f
Signed-off-by: Scott Little <scott.little@windriver.com>
2019-02-11 12:17:30 -05:00
Zuul c50f62d13f Merge "Ceph for standard: Enable Ceph for a standard configuration" 2019-02-11 16:59:49 +00:00
Tyler Smith c798c0d493 Fix horizon VM launch
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
2019-02-07 16:27:55 +00:00
Al Bailey 43e07f799c Remove calls to non existant novaclient imports
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>
2019-02-05 13:23:11 -06:00
Ovidiu Poncea 5781af9f4f Ceph for standard: Enable Ceph for a standard configuration
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>
2019-02-05 18:59:48 +02:00
Scott Little 6dd408957b Update .gitreview for f/stein
Change-Id: I0f2172aab0cbc90dfaa01d10dbf31e260a602bb6
Signed-off-by: Scott Little <scott.little@windriver.com>
2019-02-04 11:28:56 -05:00
John Kung 282306012d Create DataNetworks modelling in System Configuration
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>
2019-02-01 14:19:04 -05:00
Kristal Dale fdc3ed8857 Update config
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>
2019-01-30 16:27:52 -08:00
Zuul 9ae5eaeab4 Merge "Create DataNetworks modelling in System Configuration" 2019-01-25 18:25:58 +00:00
John Kung 2c4f8a48a4 Create DataNetworks modelling in System Configuration
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>
2019-01-24 17:39:09 -05:00
Kristine Bujold ce1a444f1d Enhance drawer for alarms and events panel
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>
2019-01-24 16:18:53 -05:00
Steven Webster 8569c522fc Enable configurable vswitch memory
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>
2019-01-24 14:47:21 -05:00
Zuul 96e49c9a91 Merge "Refactor the FM panel to leverage AngularJS" 2019-01-23 16:45:01 +00:00
Zuul 0a69ee9bdd Merge "Get back the help link in admin menu." 2019-01-23 15:51:50 +00:00
Yan Chen 7daa4c2631 Get back the help link in admin menu.
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>
2019-01-24 09:00:59 +08:00
Zuul f4181f90bc Merge "Clean up and standardize landing pages" 2019-01-23 15:32:10 +00:00
Kristine Bujold 0f57d0e1dc Refactor the FM panel to leverage AngularJS
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>
2019-01-22 21:20:32 -05:00
Kristal Dale d42e2cb505 Clean up and standardize landing pages
doc index.rst:
1. Update intro sentence to read as a complete sentence
2. Remove unused toctree
3. Correct heading levels (impacting side nav and correct rendering
of content)
4. Remove "Indices and Tables" section: genindex page not used,
search searches
only index (not useful here)

releasenotes index.rst:
1. Standardize page title reST markup
2. Remove search (make consistent with other openstack release note
pages)

Story: 2004737
Task: 28802

Change-Id: I781d2fb0ef51ae952c5e6707ab38f1fca237e5b5
Signed-off-by: Kristal Dale <kristal.dale@intel.com>
2019-01-08 15:59:37 -08:00
Don Penney f7865d2e71 Add starlingx-dashboard to master wheels tarball
Change-Id: I5339c875ff7bec8a1b516b54819b7a7667895cee
Story: 2004520
Task: 28727
Signed-off-by: Don Penney <don.penney@windriver.com>
2019-01-04 14:00:24 -05:00
Yan Chen d230601b8e Use timesinceSorter instead of the uptimeSorter.
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>
2018-12-28 01:37:38 +08:00
Angie Wang 39abb81c3c Include themes files in starlingx-dashboard module
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>
2018-12-19 09:25:39 -06:00
Zuul c241b53d06 Merge "Change compute node to worker node personality" 2018-12-14 22:18:03 +00:00
Kristine Bujold 45ce3ce365 Move STX local settings from stx-horizon
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>
2018-12-12 14:57:51 -05:00
Tao Liu 4da5b2a868 Change compute node to worker node personality
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>
2018-12-12 10:07:11 -05:00
Kristine Bujold d9bd6001bb Move Starlingx branding from stx-horizon to stx-gui
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>
2018-12-06 10:41:32 -05:00
Zuul d791403a6b Merge "CEPH support for 2 node configuration" 2018-12-06 14:58:57 +00:00
ZhijunWei 038d51339e Change openstack-dev to openstack-discuss
Change-Id: I4981db4ba3ee738f85d5aab815188d779c3d69e8
2018-12-04 23:37:31 -05:00
Irina Mihai d5847a8f65 CEPH support for 2 node configuration
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>
2018-12-04 16:20:42 +00:00
Wei Zhou f7b0ea1a5e Add a new column to display available volume group size
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>
2018-11-30 17:45:47 +00:00
Jim Gauld 6d44ca294b Remove support for nova-local lvm backend for compute hosts
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>
2018-11-27 10:20:26 -05:00
Kristine Bujold e79dcfae87 Enable zuul unit tests for stx-gui
Enable pylint and fix tox errors resulting from that.

Story: 2003863
Task: 27931

Change-Id: I3455f29ec182ed91966d4724cf49dceb314a1387
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2018-11-23 14:29:29 -05:00
Zuul 4f0afaf708 Merge "Enable zuul unit tests for stx-gui" 2018-11-15 15:15:20 +00:00
Kristine Bujold 182d8ff492 Enable zuul unit tests for stx-gui
Enable flake8 and fix tox errors resulting from that.

Story: 2003863
Task: 27930

Change-Id: Ia331856cbd6862d3c9341435450a391a7c2a2fef
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2018-11-14 17:07:30 -05:00
Don Penney 0e97e6b596 Rename centos_wheels.inc to centos_pike_wheels.inc
Update wheels inc file to include openstack release prefix

Change-Id: I75d3c47480113ac8a7980561d03cfd173dfd155b
Story: 2003907
Task: 27526
Signed-off-by: Don Penney <don.penney@windriver.com>
2018-11-14 15:07:23 -06:00
Kristine Bujold f1013be39f Enable zuul unit tests for stx-gui
Enable linters

Story: 2003863
Task: 26695

Change-Id: I4a6e2029bdf9c83422dd968c39341f2429b6e312
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2018-11-13 13:48:17 -05:00
Angie Wang cee6f08c9d Add the ability to resize gnocchi filesystem through horizon
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>
2018-11-09 15:57:21 -05:00
gaozx ef157ff4ff Fix for Distributed Cloud server groups panel
Disable server groups panel in sidebar when region is RegionOne.

Change-Id: I2e7ebfee0c7ccc40b8bb028d5eb9ea27fd1aa368
Closes-Bug: 1801224
2018-11-02 14:47:06 +08:00
Zuul 7f34d9cbca Merge "Fix the conflict of urlparse between python2 and python3" 2018-10-25 13:14:38 +00:00
Don Penney 1c57e8b717 Add hooks for python wheel generation
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>
2018-10-23 13:52:13 -04:00
Zuul b273d3d59d Merge "Fix the compatible issues related to filter function in stx-gui" 2018-10-22 12:48:03 +00:00
Zuul 5aa0cb5141 Merge "[Doc] openstackdocstheme starlingxdocs theme" 2018-10-22 12:46:47 +00:00
Zuul 3ab1633c3b Merge "Fix the string coding inconsistency between python2 and python3" 2018-10-22 12:39:07 +00:00
Abraham Arce 98506b17b7 [Doc] openstackdocstheme starlingxdocs theme
Enable starlingxdocs theme support for:

- Documentation
- Release Notes

Add zuul post job:

- publish-stx-docs

Change-Id: I921e74b0e3e54c4819b17bdeb51c90751d4664e9
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
2018-10-20 19:45:39 +00:00
hazelnutsgz ec17063117 Fix the map inconsistency between python2 and python3
Change-Id: I8856255e9dfe1e451c79b7baaa675e60f9401380
Story: 2003432
Task: 24628
2018-10-19 16:26:42 +08:00
hazelnutsgz 9776a4d294 Fix the string coding inconsistency between python2 and python3
Change-Id: I0e926e58f65834205da028549d3a38df55c07f5e
Task: 24628
Story: 2003432
2018-10-19 13:17:37 +08:00
hazelnutsgz c069800adc Fix the zip api inconsistency between python2 and python3
Change-Id: Ibec9ff875f8d793bc44590048f33918b975bcd40
Story: 2003432
Task: 24628
2018-10-18 13:59:11 +08:00
hazelnutsgz 0f01a337c7 Fix the conflict of urlparse between python2 and python3
Change-Id: I5a031b3f076127ca967d07d75af6fe8c60eb5661
Task: 24628
Story: 2003432
2018-10-18 13:37:46 +08:00