This commit updates the argument --bootstrap-values and
--deploy-playbooks for the command subcloud add to accept
a URL in addition to a local file path.
Tested:
- arguments with URL and local path
- exceptions
Change-Id: I5f2128ce35284499f1b3cecd9f1535111a08d775
Closes-Bug: 1848539
Signed-off-by: Angie Wang <angie.wang@windriver.com>
In remote cli both OS_PROJECT_ID and OS_PROJECT_NAME are set. dcmanager
complains that 'Only project name or project id should be set'. This
checking is unneccessary so this update removed this checking.
Change-Id: I7a538d9e1c604e2e6582e441421d8498e3530cc6
Story: 2004766
Task: 37127
Signed-off-by: Andy Ning <andy.ning@windriver.com>
This commit adds command-line arguments to pass a deploy playbook and
deploy values files to the dcmanager subcloud add command
Depends-On: https://review.opendev.org/#/c/683230
Change-Id: Ief859472bbceb6b456d7d53fdb0b1cae3f07ff18
Story: 2004766
Task: 36712
Signed-off-by: Tyler Smith <tyler.smith@windriver.com>
The dcmanager failed to create patch strategy for sub-clouds.
This problem is caused by keyword argument name mismatch in the
vim interfaces that used by the dcmanager.
The argument names that have compute reference have been
changed to worker on the vim side while the dcmanager
still uses the old names.
This update changes all compute references to worker in
dcmanagerclient.
Closes-Bug:1821081
Depends-On: https://review.openstack.org/#/c/645011/
Change-Id: I04488623ef601422352f77372259e4a514c11681
Signed-off-by: Tao Liu <tao.liu@windriver.com>
Add cluster IP parameters to dcmanager client
Story: 2004766
Task: 30023
Change-Id: Ide5533a4f96ad0783cac181db6884310bccedc2f
Signed-off-by: Tao Liu <tao.liu@windriver.com>
Pep8 and py27 tests are now passing
Both are voting in zuul on check and gate
Story: 2003862
Task: 26692
Change-Id: Idf8bb3cbe139ac8fbf3755a25f9efd7c76e45d72
Signed-off-by: Lachlan Plant <lachlan.plant@windriver.com>