Remove ptp and ntp from dcorch platform sync audit
Remove ptp and ntp from sync audit as it is not required that they are
in sync with the system controller. This reduces overhead of the audit
as number of subclouds are increased. It also appears that these
components were not working since change to remove system wide enabled
status for ptp and ntp by https://review.opendev.org/#/c/682121/
commit 05c20371e1df44b1aea4783228b8b3043540de44
Author: Tao Liu <email address hidden>
Date: Fri Jan 24 11:52:27 2020 -0500
Import subprocess from eventlet.green package
The python kubernetes client requires a newer version of eventlet.
However, newer versions of eventlet have an issue with the subprocess
module, which requires subprocess to be imported from eventlet.green
instead of being imported directly. See: https://github.com/eventlet/eventlet/issues/413
The eventlet has been upversioned to 0.24.1, therefore, the
subprocess import is changed. This update also fixes the issue
that raise e triggers 'CalledProcessError' object is not
callable error.
Change-Id: If3fd8506ececf062ee1b390dc8a87771cb01dec9
Story: 2006980
Task: 37715
Signed-off-by: Tao Liu <email address hidden>
commit 46f5626efea2095ab8bcb82e4091f31535445585
Author: Tao Liu <email address hidden>
Date: Wed Jan 15 22:01:45 2020 -0500
Remote install of sub-cloud controller-0
This update extends the remote sub-cloud deployment to include
the installation of controller-0, which provides a complete ZTP
solution. This is an optional capability that leverages
Redfish Virtual Media Controller(rvmc).
Optional install-value parameters, are added to the dcmanager
subcloud add command, which provides the data required by the
rvmc tool, and update-iso.sh script.
Once install-values are provided, the dcmanager prepares for the
installation and performs the following:
. Downloads an iso image from the url provided, and creates a new
bootable image based on the install values.
The new image contains essential info to config a bootstrap ip
interface that is used to reach the system controller
. Creates a config file for the rvmc tool
. Creates an ansible override file which is used by the install
playbook
In the next step, the dcmanager runs the install playbook to
install the controller-0 of the subcloud. Once the installation
is completed, the bootstrapping of the sub-cloud would continue.
Restructure subcloud audit to audit subclouds in parallel
Restructuring the dcmanager subcloud audit to audit subclouds
in parallel by creating a greenthread for each subcloud as it
is audited. This reduces the impact on the audit time when
a particular subcloud audit takes a longer amount of time
(e.g. when the subcloud is powered down).
Also updated the EndpointCache class to use the configured
http_connect_timeout (10s) when creating a keystone session.
This reduces the amount of time it takes to timeout a
failed connection to 10s from several minutes.
Finally, added a significant number of unit tests for the
dcmanager subcloud audit.
Update landing pages for docs, api-ref, and release notes:
- Use updated project name in titles/text
- Correct text for link to Storyboard (docs)
- Correct capitalization in section headings
- Correct formatting for section headings
- Update project name in link to release notes, api-ref
- Update project name in config for docs/releasenotes/api-ref
Reviewed: https:/ /review. opendev. org/705841 /git.openstack. org/cgit/ starlingx/ distcloud/ commit/ ?id=70f72b588a8 202d45923372990 4ffd603603b8e6
Committed: https:/
Submitter: Zuul
Branch: f/centos8
commit 17fe724edbda7d3 21c9cb65b5b4527 cb08949f10
Author: Gerry Kopec <email address hidden>
Date: Fri Jan 24 20:56:40 2020 -0500
Remove ptp and ntp from dcorch platform sync audit
Remove ptp and ntp from sync audit as it is not required that they are /review. opendev. org/#/c/ 682121/
in sync with the system controller. This reduces overhead of the audit
as number of subclouds are increased. It also appears that these
components were not working since change to remove system wide enabled
status for ptp and ntp by https:/
Change-Id: Iafcc351a3f001f a259f54184ad023 d2a85701289
Closes-Bug: 1857068
Signed-off-by: Gerry Kopec <email address hidden>
commit 05c20371e1df44b 1aea4783228b8b3 043540de44
Author: Tao Liu <email address hidden>
Date: Fri Jan 24 11:52:27 2020 -0500
Import subprocess from eventlet.green package
The python kubernetes client requires a newer version of eventlet. /github. com/eventlet/ eventlet/ issues/ 413
However, newer versions of eventlet have an issue with the subprocess
module, which requires subprocess to be imported from eventlet.green
instead of being imported directly. See:
https:/
The eventlet has been upversioned to 0.24.1, therefore, the rror' object is not
subprocess import is changed. This update also fixes the issue
that raise e triggers 'CalledProcessE
callable error.
Change-Id: If3fd8506ececf0 62ee1b390dc8a87 771cb01dec9
Story: 2006980
Task: 37715
Signed-off-by: Tao Liu <email address hidden>
commit 46f5626efea2095 ab8bcb82e4091f3 1535445585
Author: Tao Liu <email address hidden>
Date: Wed Jan 15 22:01:45 2020 -0500
Remote install of sub-cloud controller-0
This update extends the remote sub-cloud deployment to include
the installation of controller-0, which provides a complete ZTP
solution. This is an optional capability that leverages
Redfish Virtual Media Controller(rvmc).
Optional install-value parameters, are added to the dcmanager
subcloud add command, which provides the data required by the
rvmc tool, and update-iso.sh script.
Once install-values are provided, the dcmanager prepares for the
installation and performs the following:
. Downloads an iso image from the url provided, and creates a new
bootable image based on the install values.
The new image contains essential info to config a bootstrap ip
interface that is used to reach the system controller
. Creates a config file for the rvmc tool
. Creates an ansible override file which is used by the install
playbook
In the next step, the dcmanager runs the install playbook to
install the controller-0 of the subcloud. Once the installation
is completed, the bootstrapping of the sub-cloud would continue.
Story: 2006980
Task: 37715
Depends-On: https:/ /review. opendev. org/#/c/ 702786/ da51cd54253bdb7 7e1d729327e
Change-Id: Id3a1b97adb83a0
Signed-off-by: Tao Liu <email address hidden>
commit 86d536ac52efb3c dbb5430ac88ccc3 8384194a9c
Author: Bart Wensley <email address hidden>
Date: Mon Jan 20 14:11:20 2020 -0600
Restructure subcloud audit to audit subclouds in parallel
Restructuring the dcmanager subcloud audit to audit subclouds
in parallel by creating a greenthread for each subcloud as it
is audited. This reduces the impact on the audit time when
a particular subcloud audit takes a longer amount of time
(e.g. when the subcloud is powered down).
Also updated the EndpointCache class to use the configured connect_ timeout (10s) when creating a keystone session.
http_
This reduces the amount of time it takes to timeout a
failed connection to 10s from several minutes.
Finally, added a significant number of unit tests for the
dcmanager subcloud audit.
Change-Id: Ic56470d2f5232c 1481730fe4782d2 7b34089395b
Closes-Bug: 185494
Signed-off-by: Bart Wensley <email address hidden>
commit 54ed99eb3cf5778 8cdd7caeedb3d02 883b99b01c
Author: Kristal Dale <email address hidden>
Date: Wed Jan 15 15:23:45 2020 -0800
Update landing pages for docs, api-ref, and release notes:
- Use updated project name in titles/text es/api- ref
- Correct text for link to Storyboard (docs)
- Correct capitalization in section headings
- Correct formatting for section headings
- Update project name in link to release notes, api-ref
- Update project name in config for docs/releasenot
Story:2007193
Task:38342
Change-Id: I65d4b92deef90c 09f7c1f309bf79e 454c570c8a1
Signed-off-by: Kristal Dale <email address hidden>