14 Commits

Author SHA1 Message Date
Emilien Macchi
dc9fcd3c4a Align zaqar max_messages_post_size with undercloud
When deploying a containerized undercloud, we need the same
configuration as we used to have in instack-undercloud.

For max_messages_post_size, we used to have 1048576 due to the high size
of the messages with config-download.

Let's sync the config here, so we can deploy an overcloud with
config-download when a containerized undercloud is used.

Change-Id: Ib43c811d9ea4e71558c15c78cfb9999f738b8098
2018-02-15 10:15:03 +00:00
Lukas Bezdicka
0cb5c847f3 Always evaluate step first in conditional
If we use variables defined in later step in conditional before
checking which step are we on we will fail.

Resolves: rhbz#1535457
Closes-Bug: #1743764
Change-Id: Ic21f6eb5c4101f230fa894cd0829a11e2f0ef39b
2018-02-09 17:12:29 +01:00
marios
dec003def8 Convert tags to when statements for Q major upgrade workflow
This converts "tags: stepN" to "when: step|int == N" for the direct
execution as an ansible playbook, with a loop variable 'step'.
The tasks all include the explicit cast |int.

This also adds a set_fact task for handling of the package removal
with the UpgradeRemovePackages parameter (no change to the interface)

The yaml-validate also now checks for duplicate 'when:' statements

Q upgrade spec @ Ibde21e6efae3a7d311bee526d63c5692c4e27b28
Related Blueprint: major-upgrade-workflow
[0]: 394a92f761/tripleo_common/utils/config.py (L141)
Change-Id: I6adc5619a28099f4e241351b63377f1e96933810
2018-01-08 13:57:47 +02:00
Carlos Camacho
927495fe3d Change template names to queens
The new master branch should point now to queens instead of pike.

So, HOT templates should specify that they might contain features
for queens release [1]

[1]: https://docs.openstack.org/heat/latest/template_guide/hot_spec.html#queens

Change-Id: I7654d1c59db0c4508a9d7045f452612d22493004
2017-11-23 10:15:32 +01:00
Zuul
fabbbbbfdf Merge "Add constraints to service Debug flags" 2017-11-13 22:23:50 +00:00
Zuul
b710ca034a Merge "Allow configuration Zaqar with Redis" 2017-11-12 17:59:28 +00:00
Juan Antonio Osorio Robles
2f7888c2c5 Add constraints to service Debug flags
The service debug flags (e.g. BarbicanDebug), allow the deployer to set
the verbose logging for a specific service. They are strings to allow
folks to set it up regardless of the global Debug flag being set.

This commit adds a constraint to set the allowed values for these
parameters. It is based on a subset of the underlying implementation
that sets this flag (which uses any2bool).

Change-Id: I35e7a7ee35aefb7108ec6b0bb8f3124610fb97ee
2017-11-06 08:23:21 +02:00
Dan Prince
41a3194901 Set notification_bind on zaqar websocket
Don't let zaqar websocket listen to notifications on all interfaces:
otherwise, it uses the hostname as a subscription target, and it doesn't
work when the host is set as an IPv6 host. Ultimately this should be
fixed in Zaqar, but this will work around it for now.

Change-Id: Ib7ece313371660ea02bef314bf5b5d2c4121a884
Related-Bug: #1727406
2017-11-01 08:49:50 -04:00
Thomas Herve
7e49ed6c5e Allow configuration Zaqar with Redis
This adds a new redis password parameter to Zaqar and configure the
messaging store properly.

Change-Id: I6f03e0618901aa64ade7afb23dfada630be849ee
2017-10-09 12:22:44 +02:00
Ade Lee
c9b7091536 Ensure Debug is a boolean
Oslo does not like it when Debug is not a proper python boolean
Closes-Bug: 1719929

Change-Id: Ib6c3969d4dd75d5fb2cc274266c060acff8d5571
2017-09-27 13:22:07 -04:00
Jenkins
e80b2f0191 Merge "Use list_concat in place of yaql" 2017-09-01 18:27:28 +00:00
Thomas Herve
8008089de2 Use list_concat in place of yaql
Where applicable, use list_concat instead of yaql to build new lists: it
should be more resilient to errors, easier to debug, and less expensive.

Change-Id: I6d3dbc7ee8eac50f46023a35af4ec7f2d378fd87
Related-Bug: #1714005
2017-08-30 15:43:16 +02:00
Thomas Herve
e1b1b5654d Configure Zaqar trust notifier
Change-Id: Id7d5967370a5d3fa0183359349f502f32a0109da
2017-08-28 10:37:29 +02:00
Juan Antonio Osorio Robles
8cb4da7a1e Zaqar: Match service name with service-net-map
This is required for t-h-t to generate the appropriate hieradata.

Change-Id: I9b451eac4427a52ad8eec62ff89acc6c6d3ab799
Closes-Bug: #1712328
2017-08-22 15:36:25 +03:00