For networks in role.default_route_networks use get_attr
to fetch the gateway_ip of the port's subnet and pass
it to the nic-config template.
Changes the default in nic-config templates to ''.
Closes-Bug: #1821046
Change-Id: Ic07a3166fafba3aa307a9e1953b3e3be2594a6f5
UpgradeRemoveUnusedPackages is not used anymore. All packages are
supposed to be removed on undercloud upgrade to 14.
Change-Id: Ie6b739390ec0ae0c5773a5a6c63b49422195623a
We were bind-mounting those directories when public TLS was enabled...
it needed to be in the internal TLS conditional.
Change-Id: I7487c0f3b495dce2f5ce3028e8516cc3c215f896
Closes-Bug: #1820577
In addition port 6789, open port 3300 too for ceph monitors.
As per the Ceph documentation:
"Ceph monitors now bind to IANA-assigned port 3300 (ce4h or 0xce4)
for the new v2 protocol, while also binding to the old default
port 6789 for the legacy v1 protocol."
Change-Id: Ib9a69cc9379e84a47bdc00a175ee33bfac4119eb
Closes-Bug: #1820359
Include python-panko client in openstack-clients,
untill panko is removed from osp.
Change-Id: I47a17c0fd79d13058a317563c2b691efc3ce9555
Closes-Bug: #1816469
The defaults in environments/undercloud.yaml will be
merged with what the was defined in undercloud.conf.
If the 'ctlplane-subnet' is not used in undercloud.conf
the default is merged, and we end up with an additional
subnet that was not requested by the undercloud installed.
This change set the default to {} in:
environments/undercloud.yaml
Also add's a comment to hightlight that there should be
a empty dict default.
Closes-Bug: #1820330
Change-Id: Idc17154b2e1e143ba4e84b9b96f5355fc9230172
If nova-manage command was triggered on a host for the first time as root
(usually manual runs) the nova-manage.log gets created as root user. On
overcloud deploy runs the nova-manage command is run as nova user. In such
situation the overcloud deploy fails as the nova user can not write to the
nova-manage.log. With this change we run the chown of the logs files on
every overcloud deploy to fix the nova-manage.log file permissions.
Closes-Bug: #1820590
Change-Id: Iaa8db09712da6c0d9553fab39d7d5b50fa7cf287
For the undercloud we can specify memcache that can be shared by all the
services. Additionally because we need to still allow folks to configure
UndercloudExtraConfig we set it to deep_merge
Change-Id: I07f9a8e9c454a5e41d0a8b766d5d754f63126b90
Closes-Bug: #1820342
Overlcloud deployment fails during the "Reload services" TASK:
TASK [Reload services] *********************************************************
Friday 15 March 2019 07:51:43 +0000 (0:00:00.560) 0:02:53.361 **********
skipping: [controller-0] => (item=rsyslogd) => {"changed": false, "item": "rsyslogd", "skip_reason": "Conditional result was False"}
skipping: [controller-0] => (item=crond) => {"changed": false, "item": "crond", "skip_reason": "Conditional result was False"}
skipping: [controller-1] => (item=rsyslogd) => {"changed": false, "item": "rsyslogd", "skip_reason": "Conditional result was False"}
skipping: [controller-1] => (item=crond) => {"changed": false, "item": "crond", "skip_reason": "Conditional result was False"}
skipping: [controller-2] => (item=rsyslogd) => {"changed": false, "item": "rsyslogd", "skip_reason": "Conditional result was False"}
skipping: [controller-2] => (item=crond) => {"changed": false, "item": "crond", "skip_reason": "Conditional result was False"}
failed: [compute-0] (item=rsyslogd) => {"changed": false, "item": "rsyslogd", "msg": "Could not find the requested service rsyslogd: host"}
....
Checking "compute-0" it looks like the service name is "rsyslog":
root@compute-0 ~]# systemctl |grep rsys
rsyslog.service
Simply renaming the service is not sufficient, as the unit file does not
support the reload OP:
[Service]
Type=notify
EnvironmentFile=-/etc/sysconfig/rsyslog
ExecStart=/usr/sbin/rsyslogd -n $SYSLOGD_OPTIONS
UMask=0066
StandardOutput=null
Restart=on-failure
Lacking better options we need to restart rsyslog.
Change-Id: I3f666455a9c5d95536ec801cee86f83bef80fa81
Closes-Bug: #1820166
The octavia ansible playbooks restart the octavia containers to pickup
generated configuration so this needs to be passed into the tasks.
Depends-On: I6ef5ae0cf8c8acdb6e9a9ab78e0deddd0ea968ec
Change-Id: I1ba5e2fc96f6a9e2cad44e1b18f32612919fd796
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: Ifa8bcc1c1c29551a0ff80edc82699028c8305fe6
Closes-Bug: #1801657
Using "cp -a" in a container might lead to SELinux failures, since this option
is a shortcut for "-dR --preserve=all". The "all" has the context, and we do
not allow SELinux relabelling within containers.
Splitting the "-a" to "-dR --preserve" will provide the same end results, but
without the relabelling, preventing audit.log to fill up during the deploy.
Closes-Bug: #1819459
Change-Id: Ic280ad8e95fcc32986987f5abaa524f171d7c13b
We should be running a python3 job for tripleo-heat-templates and since
we dropped the old 3.5 job, let's add the correct 3.6 job.
Change-Id: I93bd7bf988c881496ecee0c5d4e2bc97a5047571
We are running the regular jobs with constraints now so we don't need to
be running this job. Additionally it's not functioning correctly with
the switch to bionic
Change-Id: I41bf5002bd40654d55456a5cdafcef6b76b1f62e
It's hard to find the actual root cause of the container configurations
when looking in the logs because the error messages are just WARNINGs.
Let's raise the messages where the real error message is to an ERROR
level.
Change-Id: Icb7138de7f6065c758cd39cb0e433c6412442b1c
Closes-Bug: #1819931
Switch to use ansible's timezone module for timezone management of the
overcloud and undercloud systems. This change deprecates using puppet to
manage the timezone configuration.
Change-Id: Ie1a92ca5677833f302daa71cba42c5091302b2aa
This should fix tripleo-ci-centos-7-scenario012-standalone
which is failing in CI.
We don't need to pass ML2HostConfigs to the base resource.
Change-Id: I19f6bff7b8b75ca0f48edd2a94c2f46ec96eb44a