10 Commits

Author SHA1 Message Date
waleed mousa
77ae5a61a0 Replacing the count with loop.index for indexing
Replacing the count with loop.index in all-nodes-config.j2.yaml
after the Jinja changes

Change-Id: Id703f6c85f27cdde0b2d48b18e938e55d31a491a
Closes-Bug: #1754679
2018-03-11 09:46:12 -04:00
Oliver Walsh
37a339d2b0 Add support for libvirt VNC TLS
Configures certs/key for nova-novnc vencrypt when TLS is enabled on the
internal network. A dedicated IPA sub-CA can be used to restrict access,
however by default the main IPA CA is used.

Depends-On: Ic73bcbdbecc1bc05f43acdd5480370f37ead3fb8
Change-Id: I67ffd847dc2d1949833a9d7039ad51e4364e02da
2018-02-22 15:46:39 +00:00
Lee Yarwood
3d8f47a71a ffu: Allow FASTFORWARDUPGRADE as a StackUpdateType
This change allows FASTFORWARDUPGRADE to be fed to puppet-tripleo
allowing mainifests to act according when applied during FFU.

Change-Id: I8792937c2524c31becfb8a9f28047b73617c0fc3
2018-02-13 10:53:55 -05:00
Jan Provaznik
96b82d149e Add support for ceph-nfs manila backend
If ceph-nfs (ganesha) service is enabled, it's set up by ceph-ansible
and it can be used as a manila backend. Manila can be configured to use
ceph either directly (manila-cephfsnative-config-docker.yaml env file)
or through ganesha (environments/manila-cephfganesha-config-docker.yaml
env file).

Change-Id: Ib408c7827e5fba0c1b01388db26363806fc64370
Partially-Implements: blueprint nfs-ganesha
2018-02-06 19:04:39 +00:00
Bob Fournier
f75f429ef4 Set cloud_name hiera parameter for composable networks
This sets the cloud_name hiera parameter using jinja for all
networks including any custom networks.

It also cleans up hiera parameters for virtual ips that are no
longer being used due to https://review.openstack.org/#/c/531037/.
The internal_api_virtual_ip parameter must be kept because its
used for contrail.

Change-Id: I876263d374804e9f032f511112baa5fa7e67b49b
Closes-Bug: 1740953
2018-01-11 17:04:38 -05:00
Bob Fournier
749a99a5cd Add composable network VIPs for puppet configuration
Adds new hiera parameters for VIPs for all isolated networks including
any custom composable networks.  The existing hard-coded network parameters
can be removed when the puppet-tripleo change
https://review.openstack.org/#/c/531037 merges that no longer uses them.

The new network_virtual_ips paramater contains the network name, vip, and
an index used to generate the vrouter_id in puppet-tripleo.

Change-Id: If8d3219a0714e3db34980e884dce84912a837865
Partial-Bug: 1741129
2018-01-04 16:48:28 -05: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
Juan Antonio Osorio Robles
365230af46 Dynamically generate VIP hiera entries
These were hardcoded, even though the rest of the network-related bits
were dynamically generated with jinja.

This will end up creating the same entries as before, skipping the VIP
for the Tenant network and the Management network (which is not included
in the default roles). Also, the external network will now have an extra
hiera entry called external_virtual_ip, besides the public_virtual_ip.
They will have the same value, however, external_virtual_ip is
automatically generated as opposed to the public_virtual_ip. Hopefully
we can remove the instance of public_virtual_ip at some point and rely
on the automatically generated entries only.

Change-Id: I7f5285e2936b2158a4a8a5edc97a6a09f891fb1a
Related-Bug: #1732457
2017-11-17 15:00:30 +00:00
Oliver Walsh
61fcfca045 Refactor cellv2 host discovery logic to avoid races
The compute service list is polled until all expected hosts are reported or a
timeout occurs (600s).

Adds a cellv2_discovery flag to puppet services. Used to generate a list of
hosts that should have cellv2 host mappings.

Adds a canonical fqdn and that should match the fqdn reported by a host.

Adds the ability to upload a config script for docker config instead of using
complex bash on-liners.

Closes-bug: 1720821
Change-Id: I33e2f296526c957cb5f96dff19682a4e60c6a0f0
2017-11-08 23:20:46 +00:00
Steven Hardy
ef1768e40c Fix some missed hard-coded network references
These got missed in the refactoring to support composable networks.

Change-Id: I5c97df08ae84e9c383175687428fb00143d171ff
Closes-Bug: #1720849
2017-10-03 16:49:32 +01:00