Since we added a tripleoclient.v2 namespace, we need to update the auto
doc namespace so it finds the commands.
Change-Id: I7b5266e00af68e1d6efc9cc022fb97d002f5241b
Closes-Bug: #1866410
On CentOS8 we can fail with:
unable to pull image: Error initializing source docker://undercloud-0.ctlplane.redhat.local:8787/rh-osbs/rhosp16-openstack-cinder-volume:20200305.1: error pinging docker registry undercloud-0.ctlplane.redhat.local:8787: Get http://undercloud-0.ctlplane.redhat.local:8787/v2/: dial tcp: lookup undercloud-0.ctlplane.redhat.local: no such host
The reason for that is a wrong entry in /etc/hosts:
$ grep undercloud-0 controller-0/etc/hosts
b'192.168.24.1 undercloud-0.ctlplane.redhat.local undercloud-0.ctlplane\n'
The reason for this is that we invoked 'getent hosts' without passing
'universal_newlines=True' to subprocess.Popen()
Tested this and I correctly get past the issue that was observed
(seen for the first time via rhbz#1810898)
Change-Id: I2f13885a3056dd7690e9a00e2b1f7bc6aa78fff7
Closes-Bug: #1866313
This change removes all of mistral from the validate_nodes workflow
by calling the required functions directly.
Story: 2007212
Task: 38440
Change-Id: Ic340fad0d7305188cf3bf33a73d36cd20fca4f6b
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This is a partial revert of bcc9c66747.
The change broke using non-fully qualified paths for the overcloud
deploy command. This puts the code back that fixes using a local
environment file during the deployment.
Change-Id: Ia0fc3ef70a1f3938ccccfd778cec24628bbee1fe
Closes-Bug: #1866249
This change fixes the delete plan function which was building context
incorrectly and raising a soon to be irrelevant exception in the event
of a failure.
Change-Id: I063cecaeb89b7103938fd9545c5fb976e7e17e95
Closes-Bug: #1866247
Signed-off-by: Kevin Carter <kecarter@redhat.com>
heat_resource_tree_params is returning a KeyError.
Probably this was not caught before because it always had this key.
If the key doesn't exist, returning a empty dictionary because of
several for loops used and NoneType is not iterable.
Change-Id: I745c43b8b4461ae2f60834a262ab358a7434efeb
Closes-Bug: #1866184
Allow for bypassing check_stack_network_matches_env_files()
when --disable-validations is provided.
Change-Id: Ie24163a39a68ec73ae8ea5ad1011eb3789961077
Closes-Bug: #1866155
Similar to Ib1928b60ba7b03983f303577a53df078d32d2b1b, ensure that
DeployIdentifier is empty if --skip-deploy-identifier is used.
Change-Id: I1eaa845bfc18b1c77e8463582ee13c173b62bb38
Related-Bug: #1866135
The generated certificates are located:
/etc/pki/tls/private/overcloud_endpoint.pem
Because in environments/ssl/enable-tls.yaml, we can find:
DeployedSSLCertificatePath: /etc/pki/tls/private/overcloud_endpoint.pem
Update the doc, so there is no confusion.
Change-Id: I974167d0d2d04a94dc8a82a361a9ca1425364935
When creating clouds.yaml, ensure that ~/.config remains owned by the
deployment user.
Change-Id: Ibf211ad83b4fbe9d790c710bf1338eff9727b4c6
Closes-Bug: #1864940
Remove the mistral indirection and Use the tripleo-common
infrastructure directly when creating an overcloudrc file.
Story: 2007212
Task: 38426
Change-Id: Iaf6a401f510b768f26f3ff95a9c47d2d1dced71d
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This change removes all of mistral from the check_deprecated_parameters
function by calling the required functions directly.
Story: 2007212
Task: 38424
Change-Id: Ib76dac4e0d11c66fe90c30db19788af1cb4694f6
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This patch makes the VALIDATION_GROUPS list constants dynamic by getting
them from the 'groups.yaml' file. This file comes from
tripleo-validations and is present on the Undercloud at the location [1].
[1] => /usr/share/openstack-tripleo-validations
Change-Id: Ide8cba32a0ea14086714094291f1a8866b669491
Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
This patch adds logging support for validations. It introduces two new
Tripleo Validator commands to allow the user to get the executions
history and get the details of them.
Change-Id: Ie80318a7fa684adb7c3bf7c99d526b0de64b0904
Depends-On: I502c38d3f27db3c6f62a47190136dd03627956bc
Depends-On: I0cb2743d1d4d118320a799c6820d48f9b917498f
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
tripleoclient unit tests fail due to timezone no UTC.
TestFileImageClientAdapter.test_get_image
MismatchError: '2019-11-14T01:33:39' != '2019-11-14T02:33:39'
Closes-Bug: #1864828
Change-Id: I076f786e8d5ca756e5d73d04e84c4084ec24c579
Though it works, it's better to pass boolean value to avoid
confusion with the nested_depth parameter.
Change-Id: I4b40356413c201314bf859dd4141bf995aac4965
It's been reported that we still failing too quickly for some
environments with a mix of vms and physical hardware. Let's increase the
default ssh port timeout to 600 seconds to work around this.
See also: https://bugzilla.redhat.com/show_bug.cgi?id=1805429
Related-Bug: #1805725
Change-Id: I95ddc0b7cb6342c367772b0cf296ee372dbb92dd