In preparation for trainsition from composable networks
managed by heat, to composable networks managed with other
tooling.
The upgrade prepare step need to set this to 'retain', so
that networks are not deleted when running converge.
Change-Id: Ib65d74a2005fbc13cbc7916e646da65d99410adb
Currently initialization of db is implemented as an independent task
in tripleo-heat-templates and not triggered by puppet.
In puppet, all of sync db jobs are implemented by exec resources but
"exec" is not included in puppet_tags enabled, so these implementations
in puppet are never triggered.
This patch removes sync_db parameters from templates because they are
ineffective and misleading.
Change-Id: Id231c612d8ef0ebc27bf87e0b2acbb76d89c9801
Currently there in no heat parameter available to specify optional
volumes for nova_libvirt container.
This patch will allow to attach optional volumes to the nova_libvirt
container through 'NovaLibvirtOptVolumes' heat parameter.
Change-Id: I0651b93fe1e05ca674a3d349a114b980c2005eff
Closes-Bug: #1897265
This adds a new script to convert jinja rendered nic config
templates to use OS::Heat::Value.
There is lots of duplication of code as tht is not installed
as a python package and can also be extended later to handle
multiple files if required.
Change-Id: I06ef54f70ffcd4fc1e501bf9c8395bbede1c6dda
This patch changes undercloud and standalone roles to
generate network config with only ansible and
not depend on downloaded network config from
heat stack.
Depends-On: https://review.opendev.org/#/c/753958/
Change-Id: Ibcb0f0a65cfd04d677a4b861d9f647af13611b24
Add HorizonSessionTimeout parameter for configuring the session timeout
of horizon in seconds.
Closes-Bug: #1897197
Change-Id: I1bfd645ed9e1823a626d6972ab00893ca49bba83
Add the attributes of ctlplane network and subnets to
the output of the Networks resource.
Also, set 'ctlplane_mtu' in group_vars. Follow-up changes
will add other ctlplane subnet attributes to group_vars.
The ctlplane attributes are added to the plan environment
by the depends-on tripleoclient change.
Depends-On: https://review.opendev.org/753195
Change-Id: Ic1772b384ad5b2003563b4e3d41a4a2f0e82f8e6
The new ansible os_net_config does not replace the interface_name
and bridge_name variables in net config. This replaces those
variables beforehand.
Though it would have been good to handle it in module itself, in
the proposed way to generate these configs with ansible would
allow us to replace them with group_vars.
Change-Id: I2049d3ce2ad10507fd846d3876e20cc3ec4b9fbe
Closes-Bug: #1896829
In the Networks resource tempaltes add the full resource
attributes to net_attributes_map.
Use the attributes to build per-role GroupVars.
Change-Id: I603521bd00dc100e03c765c25503b5e01f3383e4
The newly added GlanceDiskFormats parameter is meant to configure
a list of disk formats allowed in Glance; the service default is
used unless the list is explicitly set.
Depends-On: I0f343321d43efa5e4a4274f01a4592a8fcd92417
Change-Id: If38194902463557e184a8297a0a02f873d6a2a2d
Facts gathering comes next after clearing the cached ones. Facts
will be gathered if --tags facts was specified. But cached facts get
cleared always, even w/o that tag.
In DCN deployments that may bring errors that can be avoided with
ansible-playbook-command.sh --tags facts. That is because fact caching
needs to be updated when running outside of the overcloud.
Fix this inconsistency so that the facts never cleared nor gathered
until the facts tag has been used explicitly.
Change-Id: I0ef544a18ec868321ebf51a99051b1ed982cd677
Related-bug: #1896620
Related-bug: #1884654
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
There are known issues with stale pid file handling in rsyncd [1],
which by consequence cause Swift to not start.
This change disables use of pid file completely when deployed by
the swift-storage conainer and depends on the addition of such
a feature in the puppetlabs-rsync module [2]
1. https://www.mail-archive.com/rsync@lists.samba.org/msg32735.html
2. https://github.com/puppetlabs/puppetlabs-rsync/pull/120
Closes-Bug: 1896605
Change-Id: I81ad92793b8f115c046a678f4b2cc51d1014e3b6
This removes the run-os-net-config.sh script and uses
OS::Heat::Value for the NetworkConfig resources.
Depends-On: https://review.opendev.org/#/c/751713/
Change-Id: Ic3a0234d36525cdd6f415c77733d05a39bbeb3c2
This uses the new ansible module for network configuration
on the nodes. Aso, converts the net-config-multinode.yaml to
use os-net-config.
Next patch in this series would change the NetworkConfig
resource type to OS::Heat::Value and drop run-os-net-config.sh.
Depends-On: https://review.opendev.org/748754
Change-Id: Ie48da5cfffe21eee6060a6d22045d09524283138