Description of problem:
In OSP-d 7.x, we was able to spawn a stack without Controller with success in case of you provide the puppet variable needed
Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-0.8.14-11.el7ost.noarch
How reproducible:
time openstack overcloud deploy \
--templates templates/ \
-t 120 \
--control-scale 0 \
--compute-scale 1 \
--ceph-storage-scale 0 \
--block-storage-scale 0 \
--swift-storage-scale 0 \
[...]
Steps to Reproduce:
1. Try to deploy
Actual results:
Deploying templates in the directory /usr/share/openstack-tripleo-heat-templates
ERROR: Parameter 'ControllerCount' is invalid: 0 is out of range (min: 1, max: None)
Additional info:
Fix it with this patch
--- /usr/share/openstack-tripleo-heat-templates/overcloud.yaml 2016-05-10 15:31:19.000000000 -0400
+++ overcloud.yaml 2016-06-13 10:48:40.254967549 -0400
@@ -385,7 +385,7 @@
type: number
default: 1
constraints:
- - range: {min: 1}
+ - range: {min: 0}
controllerExtraConfig:
default: {}
description: |
I believe this is operating as intended to avoid folks from accidentally creating a cloud with no control plane.
Can you describe the use case where this type of behavior is desirable?
Hi Cyril. The original behavior was more a bug since we never supported deployments without Control plane. If this is needed, we would need to gather requirements and use cases and add it as an RFE request for future release. Please send me an e-mail with more info if we there is a need for this feature.
I just posted this patch upstream:
https://review.openstack.org/344739
It partially reverts this patch:
https://review.openstack.org/#/q/Ib4917843f3e4770f0260db72719ed6af0ee8dc13
Where I added the contraint to ensure at least one controller, otherwise there's no control plane and the resulting deployment isn't functional.
Clearly this use-case isn't what we expected, but I see no reason to enforce that contraint if it's causing problems.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2016-1786.html
Description of problem: In OSP-d 7.x, we was able to spawn a stack without Controller with success in case of you provide the puppet variable needed Version-Release number of selected component (if applicable): openstack-tripleo-heat-templates-0.8.14-11.el7ost.noarch How reproducible: time openstack overcloud deploy \ --templates templates/ \ -t 120 \ --control-scale 0 \ --compute-scale 1 \ --ceph-storage-scale 0 \ --block-storage-scale 0 \ --swift-storage-scale 0 \ [...] Steps to Reproduce: 1. Try to deploy Actual results: Deploying templates in the directory /usr/share/openstack-tripleo-heat-templates ERROR: Parameter 'ControllerCount' is invalid: 0 is out of range (min: 1, max: None) Additional info: Fix it with this patch --- /usr/share/openstack-tripleo-heat-templates/overcloud.yaml 2016-05-10 15:31:19.000000000 -0400 +++ overcloud.yaml 2016-06-13 10:48:40.254967549 -0400 @@ -385,7 +385,7 @@ type: number default: 1 constraints: - - range: {min: 1} + - range: {min: 0} controllerExtraConfig: default: {} description: |