Commit Graph

69 Commits

Author SHA1 Message Date
OpenDev Sysadmins 328bb6d0ef 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:34 +00:00
Dean Troyer e3bdf281f1 Merge remote-tracking branch 'origin/master' into f/centos75
Change-Id: I1bfff0f1ed17e4f5d8fa8a5ac905f22475982a79
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-09-14 11:04:39 -05:00
Hayde Martinez 748f79bce2 upgrade openstack-aodh to CentOS 7.5 version
Story: 2003389
Task: 24484

Change-Id: Ib28868c38da6264ca3b05bef6aa5ad7d9b372cf5
Signed-off-by: Hayde Martinez <hayde.martinez.landa@intel.com>
2018-09-09 07:02:52 +08:00
Zuul 3ecf6cfd24 Merge "Make dcorch-identity-api-proxy script executable" 2018-09-07 18:48:58 +00:00
Zuul 82cc2fbff9 Merge "Remove dc_admin from python-horizion" 2018-09-06 20:28:05 +00:00
Eddie Ramirez 55eaec6018 Remove dc_admin from python-horizion
dc_admin is now part of the starlingx-dashboard package. This change 
removes it from the python horizon package. Without this change the 
horizon package will fail to build.

Change-Id: Ia1470ae0b110df3400bc69f15b6a8e6c52bf355e
Signed-off-by: David Sullivan <david.sullivan@windriver.com>
Depends-On: https://review.openstack.org/599475
Story: 2002891
Task: 26220
2018-09-06 18:09:09 +00:00
Zuul 5eae84a2af Merge "Add the starlingx-dashboard package to the iso" 2018-09-06 17:52:06 +00:00
Jack Ding 3fc7af31b8 Make dcorch-identity-api-proxy script executable
The ocf script dcorch-identity-api-proxy was incorrectly set to 644, as
a result distributed-cloud-services can not come up.
Change permission of the script to 755 so that it is executable.

Closes-Bug: 1790950
Change-Id: I68e3067878fa6686dfd19db07018a42f05d92906
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2018-09-06 10:33:13 -04:00
slin14 a0be02a79a remove non exist path to avoid error message when build srpm
Story: 2003518
Task: 26180

It is to avoid error message like below:
"
ERROR:  (1281): Bad path 'openstack/openstack-swift' in file '/localdisk/designer/slin14/starlingx/cgcs-root/stx/stx-upstream/centos_pkg_dirs'
"

Change-Id: If1c06480c0adbd93ac8ed8b95c512b7355fd3098
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-09-06 04:11:48 +08:00
David Sullivan 2e2cdd7379 Add the starlingx-dashboard package to the iso
This will need to be coordinated with the removal of the
starlingx-dashboard content from horizon.

Change-Id: I160e0edcf2074ca06c824739d329b76367de348d
Signed-off-by: David Sullivan <david.sullivan@windriver.com>
Depends-On: https://review.openstack.org/599475
Story: 2002891
Task: 24821
2018-09-05 11:58:37 -04:00
Dean Troyer 57ae67d022 Merge remote-tracking branch 'origin/master' into f/centos75-merge
Change-Id: I7eb34f4c3c43a84c9788cbf158cfe6c0d34bda1e
2018-09-02 15:49:59 -05:00
Zuul cd467e2ebd Merge "Fix linters error and enable linters zuul gate" 2018-08-31 20:43:11 +00:00
Sun Austin f01fd03136 Fix linters error and enable linters zuul gate
Fix below linters errors and exclude openstack path for linter
E003 Indent not multiple of 4
E011 Then keyword is not on same line as if or elif keyword
E001 Trailing Whitespace

ignore :
E006 Line too long

Story: 2003372
Task: 24435

Change-Id: I9221fc4c07633c49d8a7cb9afa0f6a1624304cb9
Signed-off-by: Sun Austin <austin.sun@intel.com>
2018-08-31 13:24:21 +08:00
Erich Cordoba 4850ea388a Change path to find gnocchi_resouces.yaml file.
Closes-bug: 1789681

Change-Id: I2c659c59b3025232114d1465a00b88632eb60073
Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
2018-08-29 10:41:01 -05:00
zhipengl c683dba11d upgrade python-wsme to CentOS 7.5 version
Story: 2003389
Task: 24486
Depends-On: https://review.openstack.org/#/c/596674/

Change-Id: I15fd3c175aef1b016b8d892d3a27956beb915ce1
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
2018-08-28 01:53:23 +00:00
Zuul 17312ac4d0 Merge "Remove embedded keystone policy config change" 2018-08-27 21:25:36 +00:00
slin14 b00011f00f rebase python-oslo-service patch to CentOS7.5
Story: 2003389
Task: 24473
Depends-On: https://review.openstack.org/596702

Change-Id: Id48774107bf9e9d23db0fe677b6f91218e5adb0b
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-08-28 04:42:08 +08:00
Sun Austin ccc2cd10ed adding tox-pep8 as zuul gate
enable test for pep8 code check and enable vote zuul for pep8 code check.
This will gate code check to make sure code quality.

in currently codebase
with change
https://review.openstack.org/#/c/595484/
and
https://review.openstack.org/#/c/595451/
The pep8 check is clean.

Change-Id: Iadd3fa8ebcd7da194d4402b6def7ab9d70d86919
Story: 2003428
Task: 24815
Signed-off-by: Sun Austin <austin.sun@intel.com>
2018-08-27 05:17:33 +00:00
Sun Austin bafe59d6c5 Python 3 compatibility: replace execfile to exec(open(f).read(),filepath,'exec')
Story: 2003428
Task: 24616

Change-Id: I884d05da184316d8ef2f4f984efac197295513b0
Signed-off-by: Sun Austin <austin.sun@intel.com>
2018-08-26 00:11:53 +00:00
Andy Ning 589d4128f2 Remove embedded keystone policy config change
Currently keystone policy file (policy.json) is from a custom file
patched into keystone source tree. This update removed the patched file
from keystone and instead use a puppet template to generate one at
system configuration time (puppet manifest apply).

Story: 2003110
Task: 23229
Depends-On: https://review.openstack.org/594523

Change-Id: I5f6e3f8aaf4a6b40a4f5f230e2d68280324ef10f
Signed-off-by: Andy Ning <andy.ning@windriver.com>
2018-08-24 16:08:11 -04:00
Zuul f8363efc7f Merge "flake8 codestyle fixes and tox flake8 setting enable" 2018-08-24 19:09:46 +00:00
Sun Austin 0de76ec71d flake8 codestyle fixes and tox flake8 setting enable
Fix major below issues:
E741 ambiguous variable name 'l'
./openstack/python-horizon/centos/files/guni_config.py
E402 module level import not at top of file
./openstack/python-horizon/centos/files/local_settings.py
E265 block comment should start with '# '
./openstack/python-horizon/centos/files/local_settings.py

Story: 2003428
Task: 24617

Change-Id: I9d4d6c33ce032849f09e2ec232c83909fc6690a3
Signed-off-by: Sun Austin <austin.sun@intel.com>
2018-08-24 23:19:50 +08:00
Jack Ding f9e92ebf2f Add openstack-swift packages to the build
Story: 2003518
Task: 24810
Depends-On: https://review.openstack.org/595329

Change-Id: If2273c771ed3b7311c0a3b2ddbe0ef7467b7f741
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2018-08-22 16:02:23 -04:00
Zuul db03094634 Merge "Remove old repo map files" 2018-08-21 22:58:39 +00:00
Zuul db65bcb1de Merge "Fixes to local_settings.py (Horizon)" 2018-08-20 17:48:13 +00:00
Dean Troyer 4e2f2c17eb Update .gitreview for f/centos75
Change-Id: Ia21edf151be6630c69e51d93b8b42843afd5d94b
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-08-17 21:19:16 -05:00
Dean Troyer 05c160d10f Remove old repo map files
Change-Id: I6d2deea8f1d5550b36a793be00003a04548788a4
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-08-17 16:03:06 -05:00
Zuul 6fd837b643 Merge "Split image.inc across git repos" 2018-08-17 17:33:05 +00:00
Eddie Ramirez a79d3de4b2 Fixes to local_settings.py (Horizon)
* Replaces the setting SITE_BRANDING with the name of the project.
* Removed HELP_URL, it was pointing to WRS website

Change-Id: I3fac377dd16c09d7606490beb45aceddb32473c1
Story: 2003397
2018-08-16 13:40:43 -07:00
Zuul eac5fa2f7a Merge "Save gnocchi-api's PID to a PID file" 2018-08-16 17:35:37 +00:00
Zuul 80ed2794bc Merge "Fix for Horizon Distributed Cloud subcloud switching" 2018-08-16 15:24:21 +00:00
Scott Little 6e97b45752 Split image.inc across git repos
Currently compiling a new package and adding it
to the iso still requires a multi-git update because
image.inc is a single centralized file in the root git.

It would be better to allow a single git update to add
a package. Too allow this, image.inc must be split across
the git repos and the build tools must be changed to
read/merge those files to arrive at the final package list.

Current scheme is to name the image.inc files using this
schema.

${distro}_${build_target}_image_${build_type}.inc

distro = centos, ...
build_target = iso, guest ...
build_type = std, rt ...

Traditionally build_type=std is omitted from config files,
so we instread use ${distro}_${build_target}_image.inc.

Change-Id: I5055ef6cf5c86a44e70660d2b3507f6ecf22d793
Story: 2003447
Task:  24649
Depends-On: Ib39b8063e7759842ba15330c68503bfe2dea6e20
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-08-16 10:08:08 -04:00
Angie Wang 42f35b2ac4 Save gnocchi-api's PID to a PID file
gnocchi-api is enabled by systemd during initial puppet configuration
in order to create resource types in gnocchi, its PID should be saved
in its PID file so sm can restart it properly after the system is up.

Story: 2002825
Task: 22871
Depends-On: https://review.openstack.org/#/c/592097/

Change-Id: Iada5ae76e7ac33102bbf0f30620871f82cf3f125
Signed-off-by: Angie Wang <angie.wang@windriver.com>
2018-08-15 16:28:09 -04:00
Tyler Smith 3a32084658 Fix for Horizon Distributed Cloud subcloud switching
-Fixed switching from RegionOne to SystemController
-Fixed tenant list not being displayed on login

Change-Id: I5cdd96744898637df393afaf2631ef4fa438e3b7
Signed-off-by: Tyler Smith <tyler.smith@windriver.com>
Story: 2002984
Task: 22994
2018-08-15 15:54:28 -04:00
Angie Wang 5ee147ba75 Remove ceilometer controller.yaml from RPM
Remove custom controller.yaml from ceilometer RPM as it's useless
and will be removed from stx-ceilometer soon.

Story: 2003120
Task: 23239

Change-Id: I41682dc2633d8bfb4a8adb297b302f1579a7c33d
Signed-off-by: Angie Wang <angie.wang@windriver.com>
2018-08-15 15:10:57 -04:00
Scott Little 9677c88ef4 Relocate ceph-manager to stx-integ/ceph/ceph-manager
Move content from stx-upstream to stx-integ

Packages will be relocated to

stx-integ:
    ceph/
        ceph
        ceph-manager

Change-Id: I4385d70e3f20a9e1f76d507de2614ea9de8e164d
Story: 2002801
Task: 22687
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-08-13 11:29:49 -04:00
Scott Little 80179be7ed Relocate ceph to stx-integ/ceph/ceph
Move content from stx-upstream to stx-integ

Packages will be relocated to

stx-integ:
    ceph/
        ceph
        ceph-manager

Change-Id: I404c155434752bdc1aed797a226599c964a072ae
Story: 2002801
Task: 22687
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-08-13 11:21:58 -04:00
Scott Little 518f1f4b56 Add distributed cloud repos to StarlingX
Depends-On: https://review.openstack.org/589565
Change-Id: Ibc7d66eeb5000834cc6bb89a1248323f91d0c337
Story: 2002834
Task: 22753
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-08-07 14:25:41 -04:00
Kristine Bujold 92afe0a11b Fix horizon user session timeout
Made changes so that the date to expire (when the user will be logged
out) is based on the time the user logged in and not the time that the
user last interacted with Horizon.

Story: 2002862
Task: 22811

This is related to
https://git.openstack.org/cgit/openstack/stx-integ/commit/?id=f1400b9b4867553f8fa8aab09d832dec2fdcecde

Change-Id: I568f8e467847826e1638eb609752b74fc463633d
Signed-off-by: Don Penney <don.penney@windriver.com>
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2018-07-31 18:16:37 -04:00
Jack Ding 07d87406ee Add dcorch-identity-api-proxy ocf script
Add dcorch-identity-api-proxy ocf script as part of Distributed Keystone
for Distributed Cloud feature.

Story: 2002842
Task: 22785

Change-Id: Icd215916e27db785af145c68c72d13abdaf577ba
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2018-07-31 18:16:37 -04:00
Jack Ding c0ab6ee9f1 Restore Gnocchi dispatcher to publisher
The review https://review.openstack.org/587417 requires
an upstream change from ceilometer that has not been
integrated into StarlingX project.

Use Gnocchi dispatcher for now until openstack ceilometer is rebased to
include the following change:
https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=83ffaffcb2cee6a0b19601bc7cefd863685601e2

Story: 2002825
Task: 22871

Change-Id: Icc71a9a179e6bc85e585a062f60d7b3dc0876233
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2018-07-31 18:16:37 -04:00
Angie Wang ad20476a8c Intergrate gnocchi storage backend
Changes included in the patch:
- Add missing init files
- Update MANIFEST.in to include non-python files
- Add the ability to launch gnocchi api with gunicorn

Story: 2002825
Task: 22871

Change-Id: Iad1ed6e4d6cd4c4debfd8ed7845d4de69af3ea14
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2018-07-31 18:16:37 -04:00
Angie Wang da76605405 Update heat templates and openstack-aodh for gnocchi
- Support new gnocchiclient interface in openstack-aodh
  Ported fix from openstack-aodh 5.0.0.
- Update heat templates to create gnocchi resources type of alarm
  instead of ceilometer
- Remove all the heat templates using cfn-push-stats tool to push
  metrics from instance, as heat CloudWatch API/cfn-push-stats is
  deprecated for a long time and it was removed in openstack queens.
  references:http://lists.openstack.org/pipermail/openstack-dev/2017-October/123104.html
             https://bugs.launchpad.net/heat/+bug/1743707
- updates the scaling interval to 5 minutes in heat templates as the
  granularity of the archive policy we are using in gnocchi is 5
  minutes.

Story: 2002825
Task: 22871
Depends-On: https://review.openstack.org/587279

Change-Id: I4872c67d15065c0e7a16632390488305649f8f37
Signed-off-by: Don Penney <don.penney@windriver.com>
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2018-07-31 18:16:37 -04:00
Angie Wang 71aaf7b58c Integrate gnocchi for OpenStack Telemetry
Add python-gnocchi and python-gnocchiclient.
Update in python-openstackclient:
 Remove the support of celiometer CLI extensions.
Update in python-ceilometer:
 Install ceilometer publisher instead of dispatcher.

Story: 2002825
Task: 22871
Depends-On: https://review.openstack.org/587279

Change-Id: I3b0dde2c8668f7e623bcf128a13010b26667d802
Signed-off-by: Don Penney <don.penney@windriver.com>
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2018-07-31 18:15:07 -04:00
Kam Nasim 1a7e61ed51 Distributed Keystone for Distributed Cloud: Horizon
In Distributed Cloud, Keystone is now running on each Subcloud.
Switching to Subcloud region now requires Openstack Auth to retrieve an
Unscoped token from the switched Region and reinitialize the django
session and cookie data with token data retrieved from the Subcloud.

Since Subcloud's Keystone doesn't contain the Identity endpoint for the
Central Region, there was no way to go back in Horizon from a subcloud
region to the SystemController region. We achieve this by caching the
SystemController endpoint in the Django Session at the time of login.

Story: 2002842
Task: 22785

Change-Id: I274e8b0756e0f24321a108c6c1a0a5d6178e0c7a
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2018-07-31 17:02:22 -04:00
Kam Nasim 8fbb9bb335 Add service file for dorch-identity-api-proxy
This is part of Distributed Keystone for Distributed Cloud feature.

Story: 2002842
Task: 22785

Change-Id: Ia8d2e3371e74ce8994a8c23ff926e5b6816b4f51
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2018-07-31 17:00:58 -04:00
Jack Ding e886f12c5a Correct typo: caph should be ceph
Change-Id: Ib00bf2179eac0bdaa0e9b5a462ecb83fde005498
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2018-07-23 15:36:38 -04:00
Andy Ning 7b520d4f36 Add image download support to DC config
This is part of Distributed Cloud keystone scalability.

Signed-off-by: Andy Ning <andy.ning@windriver.com>

Change-Id: Ia39bf0b7a53d28188bb0cf9585d0b15a0ea66539
Story: 2002842
Task: 22785
Signed-off-by: Don Penney <don.penney@windriver.com>
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2018-07-23 12:34:01 -04:00
Robert Church c1c51db08d Update upgrade code for removing Ceph Cache Tiering
Story: 2002884
Task: 22846

Change-Id: I31cf3eb7de935676790cf7e4c1b40307d7110390
Signed-off-by: Don Penney <don.penney@windriver.com>
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2018-07-23 12:34:01 -04:00
Elena Taivan 8a8aaeecde Fix poor volume creation performance from glance images
Fixed glance uploads on poor write performing systems: give other
greenthreads a chance to schedule.

Story: 2002893
Task: 22856

Change-Id: I70c192f1c72d8bb1a9f9b7a0fd2545c49c3acb46
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2018-07-23 12:34:01 -04:00