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
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>
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>
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
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>
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>
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>
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>
* 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
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>
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>
-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
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>
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>
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>
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>
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>
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>
- 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.htmlhttps://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>
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>
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>
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>
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>
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>