Commit Graph

11 Commits

Author SHA1 Message Date
Don Penney 9531b76af1 Move content to subdir to support relocated packaging
Change-Id: Id4f645de23b9f0aec1914edbaef11cdb6e6dc0af
Story: 2006166
Task: 37337
Depends-On: https://review.opendev.org/692861
Signed-off-by: Don Penney <don.penney@windriver.com>
2019-11-04 13:57:02 -05:00
Zuul 7fb781c7b5 Merge "Allow subcloud to use central-cloud's local registry" 2019-10-30 17:22:36 +00:00
Tao Liu 20a06bded7 Allow subcloud to use central-cloud's local registry
To address a requirement change that exposes the 'registry.central'
on the OAM interface, it must add the system controller OAM
subnet to the subcloud override file in the dcmanager.

Depends-On: https://review.opendev.org/#/c/690082/
Change-Id: I9ee6f0f99a940d5d2cc2f245977ffb9f207916c5
Partial-Bug: 1846799
Signed-off-by: Tao Liu <tao.liu@windriver.com>
2019-10-27 15:04:38 -04:00
Tyler Smith 96db1d7ee0 Distributed Cloud enhancements for Horizon
- Adding endpoints for the subcloud's platform services to the central
  keystone.  This was done so horizon can reach all subclouds
- Allowing version requests to bypass the authtoken validator in the
  dcorch proxy.  version requests do not require authentication and
  they are required by horizon to work in the SystemController region

Change-Id: I508e0168e77d1f46b8f5720fd16047177b4920c2
Partial-Bug: 1846239
Signed-off-by: Tyler Smith <tyler.smith@windriver.com>
2019-10-18 16:57:16 -04:00
Andy Ning 28aa599715 dcmanager for containerized openstack services - service
This update enhanced dcmanager to be able to manage containerized
openstack services of subclouds that have openstack application
deployed.

dcmanager audit query subcloud periodically to check whether
stx-openstack application is installed or not. If it's installed from
previous uninstalled, the subcloud's "openstack_installed" field will be
updated from "False" to "True", openstack sync endpoint types will be
added into subcloud sync endpoint type list, and notify dcorch to update
its sync threads. If it's uninstalled from previous installed, the
subcloud's "openstack_installed" field will be updated from "True" back
to "False", openstack sync endpoint types will be removed from subcloud
sync endpoint type list, and notify dcorch to update its sync threads.

The endpoint type sync status of openstack services will be available
to dcmanager commands such as "dcmanager subcloud list".

Change-Id: I651bebbef0f0a4dd39ec2371a7397c066c747622
Story: 2004766
Task: 36261
Signed-off-by: Andy Ning <andy.ning@windriver.com>
2019-10-10 09:29:29 -04:00
Tyler Smith 36702d225c Adding arbitrary deploy playbook execution to subcloud add command
This commit introduces the ability to pass a playbook and playbook
values file to the dcmanager subcloud add command.  The deployment
is now split into two phases: bootstrapping, where the bootstrap
ansible playbook is run with the supplied bootstrap values yaml file,
and deploying, where the specified ansible playbook is executed with
the given yaml values file pointing to the subcloud.

Change-Id: I2ff3034b1db88d9da89e634220a394ab9dfce64b
Story: 2004766
Task: 36712
Signed-off-by: Tyler Smith <tyler.smith@windriver.com>
2019-09-23 11:01:11 -04:00
Tyler Smith 9c5727995f IPv6 Distributed Cloud: update to bootstrap overrides formatting
Some bootstrap overrides were being written to the subcloud yaml file
as unicode strings, including ipv6 dns addresses, which causes ansible to
fail when parsing the yaml during the subcloud bootstrapping

Change-Id: I43f1776a9f2d8a7d45221946e62dc31ac9f6d1d9
Partial-Bug: 1844190
Signed-off-by: Tyler Smith <tyler.smith@windriver.com>
2019-09-17 14:59:08 -04:00
Tyler Smith 9217e03a62 Subcloud goes offline after managing
Formatting of the passwords was incorrect leading to
authentication issues

Change-Id: If181e38f07dc66b6e4b12bf0b5a7fb123d75fbb2
Closes-Bug: 1839377
Signed-off-by: Tyler Smith <tyler.smith@windriver.com>
2019-08-23 10:54:23 -04:00
Tyler Smith 8c2bd5fa14 Zero Touch Provisioning changes for subcloud configuration
- Adding logic to automatically deploy subclouds via ansible when
  they are added, as well as a 'deploy' field to subcloud entity to
  report status
- Converting subcloud fields to take underscored
  parameters instead of dashed to match ansible variable style
- Adding checks to OAM network parameters
- Removing generate subcloud config logic

Depends-On: https://review.opendev.org/#/c/670321/
Depends-On: https://review.opendev.org/#/c/670325/
Change-Id: Ib7fe2f4a42fffb7bd5082e6e851cb9136edf5a00
Story: 2004766
Task: 35756
Signed-off-by: Tyler Smith <tyler.smith@windriver.com>
2019-07-17 13:30:04 -04:00
Andy Ning 67215f30fe Keystone DB sync - update dcorch to use dcdbsync
This commit updates dcorch to use the newly introduced dbsync service
APIs to synchronize identity resources from central cloud to subclouds.
The following identity resources are synced:

- users (local users only)
- user passwords
- projects
- roles
- project role assignments
- token revocation events

Story: 2002842
Task: 22787

Signed-off-by: Andy Ning <andy.ning@windriver.com>
(cherry picked from commit e9096c7a23)

Depends-On: https://review.opendev.org/#/c/655921
Depends-On: https://review.opendev.org/#/c/655773
Depends-On: https://review.opendev.org/#/c/655776
Depends-On: https://review.opendev.org/#/c/655927
Change-Id: I77c2cc712a1c3dc8a228883c3fea1423e5207dea
2019-04-30 14:50:55 -04:00
Scott Little e82c7b4336 StarlingX open source release updates
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-08-07 11:51:21 -04:00